Miguel Alatzar
c278614ca1
[MM-16137] Update post related screens ( #2916 )
...
* 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
* Remove navigationComponentId
2019-06-26 18:10:41 -04:00
Miguel Alatzar
b65ce5d283
[MM-16136] Update channel related screens ( #2915 )
...
* 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
* Fix typo
* Use goToScreen for Android too
* Remove navigationComponentId
2019-06-26 16:46:05 -04:00
Miguel Alatzar
150253d392
[MM-16012] [MM-16084] Update screens related to settings sidebar + update SearchResultPost screen and its children ( #2913 )
...
* 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
* Check-style fix
* Address review comments
2019-06-24 12:52:08 -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
Miguel Alatzar
0f948f650d
Merge branch 'master' into rnn-v2
2019-06-18 09:58:35 -07:00
Elias Nahum
6546dfdfd2
Set post list data and timestamp based on the user timezone if available ( #2888 )
2019-06-17 15:24:28 -04:00
Eli Yukelzon
056d5a91b7
MM-15486 - Archived channels appear incorrectly on mobile ( #2882 )
...
* properly separate archived channels from 'other'
* make sure fetch is performed to display full list
* reverted unneeded change
* corrected display behaviour
* code cleanup
* redux commit reference updated
2019-06-17 10:22:36 -04:00
Miguel Alatzar
7d67f1214e
[MM-16008] Update setNavigatorStyles and replace setOnNavigatorEvent ( #2877 )
...
* Update setNavigatorStyles
* Replace navigator.setOnNavigatorEvent and callbacks
* Update unit tests
* Save user notify props on componentWillUnmount
* Add TODOs about removing componentDidAppear/setNavigatorStyles
* check-styles fix
* Fix eslint errors
2019-06-14 08:14:26 -07:00
Sudheer
d3b2759c36
MM-16228 Add compatibility for removal of ExperimentalEnablePostMetadata flag from config ( #2883 )
2019-06-13 16:29:35 -04:00
Elias Nahum
29240b9c6f
MM-16061 Keep unread channels in place on Tablets ( #2865 )
2019-06-06 15:15:40 -04:00
Elias Nahum
2abf044193
Show broken image for inline images without dimensions ( #2868 )
2019-06-06 15:14:32 -04:00
Elias Nahum
cdfc1a8317
Fix image preview width on tablets ( #2867 )
2019-06-06 21:03:17 +08:00
Elias Nahum
4d664f6654
Fix file upload not completing ( #2866 )
...
* Fix file upload not completing
* Update snapshots
2019-06-06 08:39:06 -04:00
Elias Nahum
bb8f524983
MM-16070 Fix channel sidebar state while filtering ( #2864 )
2019-06-05 19:33:23 -04:00
Elias Nahum
e5dab98a8e
Fix opengraph image on tablet to account for the sidebar ( #2863 )
2019-06-05 17:58:28 -04:00
Elias Nahum
89c2e66dfd
MM-16013 make paperplain animation faster ( #2860 )
2019-06-05 11:06:29 -04:00
Woolim Cho
b81cd49fb4
[MM-13879] Add Edit profile button to RHS menu and own profile pop-over ( #2832 )
...
* Add Edit Profile button to right panel menu
* Make user info of right panel menu opens the users own profile
* Add an Edit button of the users own profile
* handle transitions
* Add commandType to propTypes
* Update test codes
* add unit tests for user_profile
* Assign commandType manually
* Remove async, set delay to 0
2019-06-05 16:11:42 +08:00
Elias Nahum
1e8a1307af
Update netInfo to check for internet connectivity ( #2850 )
...
* Update netInfo to check for internet connectivity instead of using apple.com as a reference
* Fix network indicator position on tablets
2019-05-31 13:33:56 -04:00
Elias Nahum
9bddbe6642
MM-15912 Fix uploads stuck at 100% ( #2847 )
2019-05-30 11:57:15 -07:00
Elias Nahum
de37a2aa7a
Fix autocomplete showing behind the keyboard on iOS and not working on Android ( #2830 )
...
* Fix autocomplete showing behind the keyboard on iOS and not working on Android
* Unbundle config for Android
* Dismiss keyboard on post long press, fix scroll to bottom on new message and update tests
* Add a timeout before scrolling to give time to render the last post
* Fix crash on Android
2019-05-27 19:18:43 -04:00
Miguel Alatzar
b1bdd2b07c
Add unit test for PostBody's measurePost ( #2833 )
2019-05-25 11:58:49 -04:00
Miguel Alatzar
f444b70f4f
Allow updating of isLongPost after editing message ( #2829 )
2019-05-24 14:49:44 -07:00
Miguel Alatzar
a8eb25c965
[MM 15552] Determine number of placeholder rows from height ( #2827 )
...
* Calculate maxRows in ChannelLoader component
* Update rn-placeholder
* Fix style check
2019-05-24 12:01:02 -04:00
Elias Nahum
ecfeee78a2
Allow drawer pan responder when switching teams ( #2823 )
2019-05-23 09:00:48 -07:00
Elias Nahum
f7f56e958b
MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal ( #2799 )
...
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard
* Fix tests
* feedback review
* add new line at the end of file
* feedback review and added todo list
* Track interactive dismiss keyboard and set scrollview bounds natively
* Fix snapshots
* Fastlane default to current branch when no BRANCH_TO_BUILD is set
* Set NODE_OPTIONS in ios build script
* Rebind scrollview when channel gets first set of posts
* Keep scrolling momentum on keyboard close
* Update react-native-keyboard-tracking-view
* Fix ScrollView offset with keyboard-tracking
* Fix offset while dragging the keyboard
* Allow action on channel drawer on tablets
* Fix typo
Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>
* Fix indentation
2019-05-20 12:02:00 -04:00
Elias Nahum
2b4574885b
Keep the channel drawer opened on tablets ( #2793 )
...
* Keep the channel drawer opened on tablets
* update en.json after running mmjstool
* Set the channel drawer to width 220
* feedback review
* PM Review
* Fix snapshots
2019-05-16 20:40:32 -04:00
Elias Nahum
d0071c21b0
MM-15282 Fix cutoff placeholder on Android ( #2798 )
...
* MM-15282 Fix cutoff placeholder on Android
* Feedback review
2019-05-16 17:35:09 -07:00
Elias Nahum
f36ee37402
Upgrade to RN 0.59.6 and dependencies ( #2777 )
...
* Upgrade to RN 0.59.6 and dependencies
* Remove channel loader unused style
* Update to the latest netInfo that fixes a crash
* Do not set default timezone with moment
* Use RN 0.59.8
2019-05-13 13:33:18 -04:00
scott lee davis
6cf8d1a9e8
MM-15442 Filtered list not showing bot account icon ( #2787 )
...
* handle channel.isBot undefined state gracefully
* Use Boolean for is isBot check
Co-Authored-By: Christopher Speller <crspeller@gmail.com>
2019-05-13 08:45:51 -07:00
Jason Blais
d51d4e4c9c
Update help text for at-here, at-channel, at-all ( #2790 )
...
* Update help text for at-here, at-channel, at-all
https://community.mattermost.com/core/pl/kqmabdzqb3df7xx5xjsaosozir
* Update at_mention.js
2019-05-13 11:13:39 -04:00
Miguel Alatzar
45e5bae8da
Avoid possible reading of length property on undefined ( #2783 )
2019-05-10 09:34:23 -07:00
Miguel Alatzar
c91bf75b09
[MM-14887] Include all png, jpeg, and bmp MIME types ( #2781 )
...
* Include all png, jpeg, and bmp MIME types
* Update snapshot
2019-05-09 14:18:24 -07:00
Saturnino Abril
c450c530a7
add lastPostIndex props to Thread and Permalink, and add markers for those screens ( #2780 )
2019-05-09 07:39:58 -07:00
scott lee davis
b819867b50
MM-15228 consecutive bot posts maintain the profile image ( #2746 )
...
* do not group consecutive bot posts
* fixes from make check-style
2019-05-08 09:38:18 -07:00
Saturnino Abril
e086d66ec2
[MM-13955] Add telemetry for Android ( #2719 )
...
* add markers for Android profiling
* update per comments
* Remove beta build flag
* update per comment, latest change on telemetry server and others
* rebase and fix merge conflicts, and update per comments
* update commit hash of mattermost-redux
2019-05-08 00:23:59 +08:00
Elias Nahum
5ce9208d32
MM-14958 Scroll to bottom when posting a new message ( #2761 )
2019-05-07 13:28:16 +05:30
Elias Nahum
a16c98b34e
MM-15428 Return empty object for native managed configuration when not set ( #2770 )
2019-05-06 09:20:08 -07:00
Elias Nahum
08df256c1d
MM-14921 Fix iPad layout including safeAreaInsets ( #2748 )
...
* MM-14780 and MM-14921 Fix iPad layout including safeAreaInsets
* Fix unit tests
2019-05-03 17:42:32 -04:00
Miguel Alatzar
19c493ff6e
[MM-15401] Fix setting of extension when caching files ( #2762 )
...
* Get extension from Content-Disposition first
* User ImageCacheManager.cache over getCacheFile
* Add unit tests for ImageCacheManager.getCacheFile
* Add unit tests for ImageCacheManager.cache
* Use exports and require to be able to mock isDownloading
* Chain mockReturnValueOnce calls
* Fix getExtensionFromContentDisposition and its unit tests
2019-05-03 09:24:40 -07:00
Elias Nahum
6eeb830662
Use of cached managed config in components ( #2758 )
2019-05-01 18:34:09 -04:00
Harrison Healey
1173ca3d97
MM-14030 Don't show large gifs in posts ( #2750 )
...
* MM-14030 Don't show large gifs in posts
* Re-add default argument
2019-05-01 09:34:45 -04:00
Joram Wilander
df2ecf3409
Add native module to reset TextInput to fix bad cursors in some Android keyboards ( #2753 )
2019-05-01 09:27:21 -04:00
scott lee davis
5a70bedcbe
MM-15161 show icon for bot instead of system icon in ephemeral post ( #2740 )
...
* show icon for bot instead of system icon in ephemeral post
* added check for if user is null
2019-05-01 09:08:50 -04:00
Elias Nahum
2d48215bf1
fix mattermostManaged event name ( #2754 )
2019-04-30 11:12:28 -04:00
Courtney Pattison
ce5c30e9ca
[MM-9454] Added fade to send button ( #2677 )
...
* [MM-9454] Added jest-enzyme to devDependencies
* [MM-9454] Refactored SendButton as component
* [MM-9454] Added fade to SendButton
* [MM-9454] Changed Fade to PureComponent
2019-04-29 07:54:00 -07:00
Miguel Alatzar
cb0e4e225a
[MM-14887] Allow only jpeg, png, and bmp profile image uploads ( #2715 )
...
* Allow only for jpeg, png, and bmp profile image uploads
* Add file type if missing and update error id
* Update mattermost-redux commit hash
* Point mattermost-redux to latest master commit
2019-04-25 14:27:06 -07:00
Miguel Alatzar
dc554bdfa7
Delay PostTextbox animation on iOS when clearing text ( #2739 )
2019-04-25 07:51:47 -07:00
Miguel Alatzar
89c0d1b5f9
Increase Typing animation duration and remove handleScrollToRecentPost ( #2730 )
2019-04-23 14:49:15 -07:00
Miguel Alatzar
10196d5fad
MM-14541 Fix search bar animation stutter in main search bar ( #2672 )
...
* Do not expand drawer on search start
* Add state.searching for determining showTeams
* Add leftComponent prop to SearchBar to render SwitchTeamsButton
* Update snapshot tests
* Use native driver when possible and fix start calls
2019-04-22 19:01:17 -07:00
Chris Duarte
2ca87f7ac4
Reminder message (/remind) do not show message text on mobile. ( #2710 )
2019-04-22 21:56:26 -04:00