Harrison Healey
3e0189430b
MM-18762 Remove some usage of deprecated lifecycle methods ( #3299 )
...
* MM-18762 Remove some usage of deprecated lifecycle methods
* Only load ProgressiveImage when a URI changes
2019-09-27 09:16:21 -04: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
Miguel Alatzar
913f05e131
[MM-16011] Update screens related to main sidebar ( #2907 )
...
* 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
2019-06-24 10:58:15 -07:00
Sudheer
c6ea5e6024
MM-11603 Add a retry screen when fetching teams fails ( #2085 )
2018-09-06 20:35:50 -03:00
Saturnino Abril
3a70e5c43f
add extra protection to those channel/object followed immediately by accessing its "channel_id" field ( #1960 )
2018-08-01 13:04:58 -04:00
Harrison Healey
154def4af8
Only update Client4.setAcceptLanguage when locale changes ( #1942 )
2018-07-26 07:54:33 -04:00
Jesse Hallam
8372e95d4a
add eslint-plugin-header, and --fix all ( #1726 )
2018-06-19 19:14:50 -04:00
Elias Nahum
fb9760b5a6
MM-9921 Load select team screen when user has no teams ( #1527 )
...
* MM-9921 Load select team screen when user has no teams
* Revert to PureComponent
2018-03-22 10:08:03 -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
cd80cdfdf4
Fix race condition preventing the app opened from a PN to go to the correct channel ( #1398 )
...
* Fix race condition preventing the app opened from a PN to go to the correct channel
* Feedback review
2018-01-31 11:02:02 -05:00
enahum
b761872c59
Fix reset to channel view when push notification is tapped ( #1201 )
2017-11-23 18:48:50 -05:00
enahum
c69bf5a950
Remove unneded ownProps ( #1177 )
2017-11-21 12:35:03 -03:00
Harrison Healey
a9489dcc5f
Replace getTheme selector with one from mattermost-redux ( #1013 )
2017-10-12 08:45:17 -07:00
Harrison Healey
98abbd6dca
RN-345 Additional improvements to channel switching ( #926 )
...
* RN-345 Only show refreshing indicator when channel is actually refreshing
* Added getCurrentLocale selector
* Added SwitchTeams component to channel drawer to reduce rerenders
* Reduced number of props passed from ChannelsList into children
* Removed unused prop from FilteredList
* Moved visible post calculation out of render function
* Don't set the channel to loading when not switching channels
* Added most of channel view state to blacklist
2017-09-22 11:48:30 -07:00
enahum
19502f9aaa
RN-344 open push notifications faster ( #899 )
2017-09-13 12:00:33 -03:00
enahum
088ecad2b5
Split Post component into smaller components and prevent re-rendering ( #740 )
...
* Split Post component into smaller components and prevent re-rendering
* Feedback review
* Fix render reply bar
* Remove eslint-disable-line
2017-07-13 17:48:45 -04:00
enahum
8d72c0a020
Fix localization + setting the token for APIv3 ( #674 )
2017-06-26 15:49:28 -04:00
enahum
56b8f6e479
Handle the cases when a user with no teams ( #621 )
2017-06-14 10:04:41 -04:00
enahum
ecf39f61dd
Various fixes & improvements ( #611 )
...
* RN-166 follow user prefs for join/leave messages
* RN-158 Fix Android input textbox offscreen issue
* RN-181 Use device locale as default locale
* Upgrade mattermost-redux
* Fix TouchableHighlight in the channel drawer items
* Update channel title when switching channels
* Fix channel name title when switching teams
* Fix unit test
2017-06-08 15:40:29 -04:00
enahum
c285a6f553
Fix push notifications ( #596 )
2017-06-05 16:15:00 -04:00
enahum
516d184916
Improve in-app notifications design ( #561 )
2017-05-22 21:38:45 -04:00
enahum
844c654fda
Update RN to 0.44.0 and project dependencies ( #546 )
2017-05-16 21:13:44 -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
enahum
7a3c99c267
Move to mattermost-redux master branch ( #484 )
2017-04-21 14:20:52 -03:00
enahum
cdff304be1
RN-64 Ability to open the app in offline mode ( #479 )
2017-04-13 11:57:19 -03:00
Harrison Healey
43e4c5e2f2
PLT-5860 Updated copyright date ( #476 )
2017-04-10 11:33:35 -03:00
Chris Duarte
d206ea68de
PLT-6173: Offline redux store ( #471 )
...
* PLT-6173: Offline redux store
* Review feedback
2017-04-09 21:51:47 -03:00
enahum
422474a0d2
* Fix markdown issue with renderHardBreak's ( #438 )
...
* Fix issue when tapping on a push notification
* Fix splash screen dismissal
2017-03-30 23:44:52 -03:00
enahum
5d997ae22b
PLT-5931 Adds splash screen ( #413 )
...
* Adds splash screen
* Increase font size for IOS modal options
2017-03-28 23:29:08 -03:00
enahum
4a53d47887
PLT-5598 Android back button support ( #388 )
...
* Add shadow to the drawer
* PLT-5964 open a DM with someone outside the team
* PLT-5598 Android back button support
2017-03-23 19:10:48 -03:00
enahum
9fec29aa92
PLT-5501 Confirm server version is compatible with the app version ( #385 )
2017-03-23 17:25:33 -03:00
enahum
c049cb0f9d
Various UI Fixes ( #384 )
...
* Various UI Fixes
* ability to scroll through teams
* Fix drawer when not logged in
* fix channel info DM status
* channel drawer spacing of icons made equal
* address feedback
2017-03-23 10:36:35 -03:00
enahum
548633f5c0
PLT-5857 replace the service folder with mattermost-redux library ( #348 )
2017-03-14 10:52:24 -03:00
enahum
31d89c37fe
PLT-5506 Record user agent/device type in the active sessions list ( #342 )
...
* Add user info and userAgent
* notice
2017-03-13 13:39:35 -03:00
enahum
6324f22095
PLT-5630 Implement push notifications and unread badge on app icon ( #338 )
...
* enable ios push notifications
* enable android push notifications
* NOTICE for push notification and message bar
* include message in noty
* re-wording notices
* feedback review
2017-03-13 09:51:21 -04:00
enahum
2fe69cacef
Move periodic status check to channel scene ( #318 )
2017-03-03 20:32:51 -03:00
enahum
e6547c6970
PLT-5502 Update statuses ( #302 )
2017-02-27 14:10:39 -05:00
enahum
c1318fe834
PLT-5589 Reload configuration when the server config changes ( #301 )
2017-02-27 13:15:51 -05:00
Harrison Healey
1319f1fcf8
Added KeyboardLayout to automatically use a KeyboardAvoidingView as necessary ( #263 )
...
* Renamed layouts/root_layout to components/root
* Added KeyboardLayout to automatically use a KeyboardAvoidingView when necessary
2017-02-16 09:19:48 -05:00