Miguel Alatzar
2d81b497cf
[MM-23520] Port mattermost-redux ( #4088 )
...
* Remove mattermost-redux
* Move mm-redux files into app/redux
* Add @redux path to tsconfig.json
* Fix imports
* Install missing dependencies
* Fix tsc errors
* Fix i18n_utils test
* Fix more imports
* Remove redux websocket
* Fix tests
* Rename @redux
* Apply changes from mattermost-redux PR 1103
* Remove mattermost-redux mention in template
* Add missing imports
* Rename app/redux/ to app/mm-redux/
* Remove test file
* Fix fetching Sidebar GM profiles
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-17 21:12:09 -07:00
Miguel Alatzar
459801d10b
[MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal ( #3298 )
...
* Patch react-native-navigation
* Make navigation actions regular functions
* Fix unhandled promise rejection warning
* Missing semicolons
* Mock navigation actions
* Add unit tests for navigation actions
* Place all patches in patches directory
* Fix channel_info snapshot test
2019-09-25 15:23:45 -07:00
Miguel Alatzar
5eee2b7652
[MM-16139] [MM-16140] [MM-16141] Update the remaining screens/components ( #2920 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
* Update SettingsSidebar and children
* Update EditProfile screen
* Update SettingsSidebar
* Keep track of latest componentId to appear
* Track componentId in state to use in navigation actions
* Update FlaggedPosts and children
* Update RecentMentions
* Update Settings
* Store componentIds in ephemeral store
* Update AttachmentButton
* Remove unnecessary dismissModal
* Fix typo
* Upate NotificationSettings
* Update NotificationSettingsAutoResponder
* Update NotificationSettingsMentions
* Update NotificationSettingsMobile
* Update CreateChannel and children
* Update MoreChannels
* Update ChannelPeek and children
* Update ChannelNavBar and children
* Update ChannelPostList and children
* Update ChannelInfo and children
* Update ChannelAddMembers
* Update ChannelMembers
* Update EditChannel
* Fix setting of top bar buttons
* Update Channel screen and children
* Update PinnedPosts
* Update LongPost
* Update PostOptions
* Update PostTextboxBase
* Update EditPost
* Check-styles fix
* Update DisplaySettings
* Update Timezone
* Update SelectTimezone
* Update IntlWrapper and Notification
* Update InteractiveDialog and children
* Update ExpandedAnnouncementBanner
* Update ClientUpgradeListener
* Update MoreDirectMessages
* Update SelectorScreen
* Update UserProfile
* Update Thread
* Update About
* Update ImagePreview
* Update TextPreview
* Update AddReaction
* Update ReactionList and children
* Update Code
* Update TermsOfService
* Update Permalink
* Update Permalink
* Update ErrorTeamsList
* Update Search
* Remove navigator prop
* Fix setButtons calls
* Remove navigationComponentId
* Fix test
* Handle in-app notifs in global event handler
* Fix in-app notification handling
* Fix typo
* Fix tests
* Auto dismiss in-app notif after 5 seconds
* Fix typo
* Update overlay dismissal
* Animate in-app notif dismissal and allow gesture dismissal
2019-07-08 10:03:31 -07:00
Sudheer
5fb9b5427e
MM-12199 Add a check for loading on threads ( #2146 )
2018-09-21 19:24:23 +05:30
Martin Kraft
0d0dfb1057
MM-11070: Adds ability to view archived channels. ( #1927 )
...
* MM-11070: Adds ability to view archived channels.
* MM-11070: Switches to existing selector.
* MM-11070: Uses boolean prop instead of object.
* MM-11070: Reuses web translations.
* MM-11070: Adds archived message to thread view. Switches to selector for postIDs of archived channels.
* MM-11070: Removed unused import.
* MM-11070: Removes edit and delete options from longpress of archived posts.
* MM-11070: Moves closure variable.
* MM-11070: Switch from hard-coded to theme color.
* MM-11070: Hides actions in header of archived channels.
* MM-11070: Updates Redux.
* MM-11070: Re-adds the 'Leave Channel' option for archived channels.
2018-07-31 15:27:38 -04:00
Jesse Hallam
8372e95d4a
add eslint-plugin-header, and --fix all ( #1726 )
2018-06-19 19:14:50 -04:00
Elias Nahum
80dd9366a1
Update Dependencies ( #1641 )
...
* Update dependencies including react-native
* Update react-native-circle-progress dependency
* Fix prop warnings and possible crashes
2018-04-27 17:49:09 -04:00
Elias Nahum
2f27121824
Fix mobile app to use latest Mattermost redux ( #1563 )
...
* Fix mobile app to use latest Mattermost redux
* Feedback review
2018-04-02 10:45:16 -04:00
Jesse Hallam
58b72302d6
update eslint's comma-dangle rule to always-multiline ( #1457 )
...
* update eslint's `comma-dangle` rule to `always-multiline`
* add check and fix scripts to package.json
* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
2018-02-23 09:06:02 -05:00
enahum
27713322e3
Fixed Search bugs and avoid re-renders ( #1047 )
...
* Fixed Search and avoid re-renders
* Feedback review
* Feedback review
2017-10-24 17:02:09 -04:00
Harrison Healey
0e4f9d5825
Changed to pass IDs to PostList instead of posts ( #1036 )
...
* Moved PostList to take a list of postIds instead of posts
* Removed usage of selectors that return posts from ChannelPostList and Thread
* Fixed search and switched to use getPostIdsAroundPost selector
* Removed use of selectors that returned posts from emoji reactions
* Updated makePreparePostIdsForPostList to be better memoized
* Fixed filter of join/leave messages
* Added unit tests for makePrepaprePostIdsForPostList
* Check if post edit/delete should be enabled more often
* Updated mattermost-redux version in yarn.lock
2017-10-20 18:58:44 -03:00
Harrison Healey
a9489dcc5f
Replace getTheme selector with one from mattermost-redux ( #1013 )
2017-10-12 08:45:17 -07:00
enahum
dabad3eca6
Improving Performance Part 1 ( #1009 )
...
* Dispatch retry failed action | fix refreshing state | change postVisibility to 15
* Improve channel switching
* Improve handling of visible tooltip
* Improve watching for status bar height changes
* Remove unnecessary mapStateToProps from code screen
* Use drawer native functions to open/close instead of state
* Feedback review
2017-10-11 14:33:26 -03:00
Chris Duarte
e4b86518a9
RN-342 Refactor post textbox component ( #915 )
...
* RN-342 Refactor post textbox component
* Rebase
* Review feedback
2017-09-20 16:40:40 -04:00
enahum
4995a76f2c
Add Landscape support for both platforms ( #909 )
...
* Landscape support
* Fix image rotation on Android
* Fix landscape mode for login and login options
* Fix previewer will receive props
* Move device dimensions and others to redux
* Fix unit tests
* Include orientation and tablet in the store
2017-09-20 12:54:24 -07:00
enahum
7dbac06983
Fix sentry found issues ( #699 )
2017-07-03 18:09:04 -04:00
enahum
248dafbe0e
RN-97 Changed navigation from NavigationExperimental to ReactNative Navigation ( #540 )
...
* Add react-navigator dependency
* Add react-native-navigation dependency
* react-native-navigation, ios and android config
* update react-native-navigation
* New navigation and code cleanup
* Set ScreenBackgroundColor
* Fix channel drawer event issue
* Applied RNPN non-working popInitial notification
* Android navbar and back button
* packages and notices
* MM-redux update
* Fix draft on team switch
* Remove custom NavBar
2017-05-16 11:19:46 -04:00