Commit graph

1537 commits

Author SHA1 Message Date
Mattermost Build
5aee08e85e Automated cherry pick of #3457 (#3470)
* Store insets in ephemeral store

* Address PR review
2019-10-25 15:23:39 +03:00
Mattermost Build
8b8a375c21 Automated cherry pick of #3382 (#3456)
* Refactor custom push notification code

* Use react-native-notifications 2.0.6 and patch for scheduled notifs

* Fix patch

* iOS changes

* Fix delete

* Fix setting of badge number on Android

* Undo Reflect removal

* Undo removal of didReceiveRemoteNotification

* Use min importance for push notifs received while app is active

* Correctly set badge number after push notificaiton reply

* Fix tests

* Localize reply action text

* Add getDeliveredNotifications

* Fix identifier check and failing test

* Fix local push notif test for Android > 9
2019-10-24 09:29:05 +03:00
Mattermost Build
10c9ff90ef Automated cherry pick of #3380 (#3453)
* MM-18790 Fix Keyboard Color Flash

Resolved the autoresponder keyboard flash by adding a 500ms delay to the keyboard focus, allowing for a smooth keyboard interaction without the color flash.

* MM-18790 Used CreateRef

Updated the reference to React.createRef

* Update app/screens/settings/notification_settings_auto_responder/notification_settings_auto_responder.js

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* MM-18790 Added check for current

Updated the focus check to validate current is truthy
2019-10-22 17:10:22 +03:00
Miguel Alatzar
1a516ff19e Manual cherry pick of #3413 (#3449)
* [MM-18983] Listen to safeAreaInsetsForRootViewDidChange over Dimension change (#3413)

* Listen to safeAreaInsetsForRootViewDidChange over Dimension change

* Add snapshots

* Resolve conflict
2019-10-21 22:20:50 +03:00
Mattermost Build
0b4a03e3b8 Automated cherry pick of #3415 (#3450)
* Apply theme change for all components when theme changes

* Remove unnecessary snapshot test
2019-10-21 12:17:02 -07:00
CJ
6beb40783b
MM-18829 Updated Channel Header SafeAreaView (#3370)
Removed the RN SafeAreaView and applied the padding for our iOS X specific setting.
2019-10-17 18:06:35 +03:00
Mattermost Build
dd1436503c Rename IOSX_TOP_PORTRAIT (#3441) 2019-10-17 18:01:56 +03:00
Mattermost Build
f094f68c34 Automated cherry pick of #3349 (#3432)
* Update message count string

* Update defaultMessage
2019-10-17 18:01:32 +03:00
Mattermost Build
41dc1a8c95 MM-18935 (#3439)
Added SafeAreaView padding for the SSO screen
2019-10-17 17:57:23 +03:00
Mattermost Build
79c573e932 Automated cherry pick of #3351 (#3438)
* MM-18054:

Added a check for previousPost to use in validating new messages in thread to check if we should display Commented On message.

* MM-18054 Updated

Updated the check for Commented line to validate the previous thread was one that the post user commente on.

* MM-18054 Fixed Eslint Issues

Fixed Eslint Issues

* MM-18054 Fixed Eslint Issues

Missed a space...

* MM-18054 Cleanup

Cleaned up some code from suggestions
2019-10-17 17:57:04 +03:00
Mattermost Build
ff2b1697b1 MM-18791 (#3437)
Added marginHorizontal spacing to the footer for sections.
2019-10-17 17:56:43 +03:00
Mattermost Build
252cbf929e MM-18173 Removed getState from Add Channel Member method (#3436)
Removed getState from Add Channel Member method since the Redux store is not looking for it. 3rd param for this method is a postRootID, which is not sent from this request.
2019-10-17 17:56:25 +03:00
Mattermost Build
7d1cabe2f5 Automated cherry pick of #3362 (#3435)
* Add unit tests

* Await dismissModal
2019-10-17 17:56:08 +03:00
Mattermost Build
1a2292ec50 MM-17157 Only send notification receipt if server url and session token are set (#3434) 2019-10-17 17:55:47 +03:00
Mattermost Build
1bb89e1809 only focus search box when we enter through the search icon in navbar (#3433) 2019-10-17 17:55:28 +03:00
Michael Kochell
d15420ae54 [MM-19307] Make LHS channel item display name not overlap with mention count (#3417)
* make channel item display name more narrow, so it does not run into the mention count

* Update snapshot
2019-10-15 09:53:51 -04:00
Mattermost Build
08fe8e529b Automated cherry pick of #3402 (#3420)
* MM-19286 Disable Haptic Feedback

Added a check for iOS version <=9 and for iPhones 5/6/SE versions that don't support haptic feedback.

* MM-19286 Fixed the Fix

Misread the repo for the haptic feedback so fixing the fix.

* MM-19286 Removed line in device.js

Removed line in device.js
2019-10-15 10:35:44 +03:00
Mattermost Build
9eb1aa1ad0 disable add reaction for read only channels (#3407) 2019-10-11 08:47:05 -06:00
Mattermost Build
5d923f3c4a Not show the guest badge for system messages (#3406) 2019-10-11 15:27:48 +02:00
Miguel Alatzar
01eb3ce8b6 Manual cherry pick of #3372 (#3400)
* Fixing mention text color (#3372)

* Fixing mention text color

* Updating snapshots

* Update package-lock.json

* Adding highlight link color to other highlight types

* Fix snapshot test
2019-10-09 16:14:56 -04:00
Mattermost Build
95f321c518 MM-19180 - Updating spacing for mentiosn component (#3394) 2019-10-09 11:33:33 -04:00
Jesús Espino
5ec12c8784
Fixing DMs guest label behavior (#3383) (#3391)
* Fixing DMs guest label behavior

* Adding tests

* Addressing PR review comments
2019-10-09 12:02:41 +02:00
Mattermost Build
993143b0f8 Pass fileInfoContainer style directly to Touchable (#3390) 2019-10-08 19:00:10 -07:00
Mattermost Build
fdc894c00f Automated cherry pick of #3368 (#3388)
* MM-19185 Fix tab for UnreadIndicator on Android

* update snapshots
2019-10-08 18:21:56 +03:00
Mattermost Build
04bedbc954 Fix running mm-i18n that crashes on conditional operators (#3386) 2019-10-08 15:15:37 +03:00
Miguel Alatzar
9d28eb043c
Update total to reflect number of children (#3367) (#3369) 2019-10-04 15:20:37 -07:00
Mattermost Build
3eb8d3857b Set Sidebar channel item display name opacity as 0.6 (same as webapp) (#3364) 2019-10-02 21:34:58 +03:00
Mattermost Build
e9e1dc0541 Automated cherry pick of #3343 (#3363)
* MM-18999 Fix search in: modifier to show the appropriate badge when needed for DM/GM

* feedback review

* fix eslint

* fix eslint disable rule
2019-10-02 21:34:41 +03:00
Mattermost Build
c55dcaf598 Automated cherry pick of #3353 (#3361)
* Use updated react-native-keyboard-tracking-view

* Use updated react-native-device-info

* Use updated react-native-device-info and add new pod dependency
2019-10-02 08:38:39 -07:00
Mattermost Build
d5dd4380d9 MM-18997 Fix More unread overlay preventing interactions (#3354) 2019-10-01 22:55:55 +03:00
Mattermost Build
486917d692 Automated cherry pick of #3344 (#3345)
* Fix channel navbar title displayName variable

* Fix snapshots
2019-09-28 19:44:52 +03:00
Mattermost Build
53657536fc Automated cherry pick of #3332 (#3340)
* MM-18603 Fix post header to prevent overlaps

* Export BotTag and GuestTag
2019-09-28 10:01:30 +03:00
Mattermost Build
cd12480577 Automated cherry pick of #3335 (#3341)
* MM-18464

Updated Dialog Items to support isLandscape for SafeArea View

* MM-18464 Updated SafeAreaView

Updated Autoselector Component

* MM-18464 Resolved Issues

Resolved issues for MM-18464

* MM-18464 Resolved Snapshot

Resolved snapshots
2019-09-27 14:47:21 -07:00
Mattermost Build
d3b5281ecb MM-18176 Fix network indicator stock after re-connect (#3336) 2019-09-27 21:02:51 +03:00
Mattermost Build
d5ea75171c Revert long post as ScrollView instead of View (#3334) 2019-09-27 01:35:49 +03:00
Mattermost Build
73d20fdcdf Automated cherry pick of #3293 (#3330)
* Add (you) suffix to self DM channel title

* Use FormattedText component
2019-09-26 07:54:45 -07:00
Miguel Alatzar
2eb723a6dc
Manual cherry pick of #3298 (#3328) 2019-09-25 15:53:05 -07:00
Elias Nahum
5fafe376fa
MM-18236 Prevent the post menu from triggering when using the back gesture (#3319)
* MM-18236 Prevent the post menu from triggering when using the back gesture in the thread screen

* Update snapshots

* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js

Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>

* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js

Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>

* Update app/components/post/post.js

Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>

* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js

* Fix eslint
2019-09-26 00:22:37 +03:00
Mattermost Build
0818489b47 MM-18740 Sync app badge number when opening a push notification (#3324) 2019-09-26 00:08:30 +03:00
Mattermost Build
41bcc75df9 MM-18542 Fix file attachment scroll on tablets, MM-18732 Slow scroll in landscape & MM-18836 settings sidebar width (#3323) 2019-09-25 20:29:56 +03:00
Mattermost Build
03692f1975 Fix paste files with multiple instances of post textbox (#3320) 2019-09-25 17:23:20 +08:00
Mattermost Build
bd4a119c05 Automated cherry pick of #3310 (#3318)
* Reset moment local on logout

* Update app/selectors/i18n.js

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
2019-09-25 16:06:06 +08:00
Mattermost Build
6b4b4ce75f Null check on current (#3316) 2019-09-24 17:33:43 -07:00
Mattermost Build
5f2d840f27 Automated cherry pick of #3289 (#3304)
* Properly determine if channel is archived

* Remove check on ownProps.channelIsArchived
2019-09-24 12:35:47 -07:00
Mattermost Build
4dbdf42ebd MM-18758 Fix channel info row to be toggleable or with an chevron (#3303) 2019-09-24 19:40:25 +03:00
Mattermost Build
cf2262dbc1 MM-18752 Rename constant to handle iPhone X and new iPhone 11 insets (#3300) 2019-09-23 22:19:26 +02:00
Mattermost Build
478bf42b62 Call scrollToIndex only when ref is set and index is in range (#3286) 2019-09-19 12:41:38 -07:00
Mattermost Build
80282c6df1 Ensure onAppStateChange runs only after GlobalEventHandler is configured (#3271) 2019-09-18 10:04:29 -07:00
Mattermost Build
f99d260628 Force drawer to open to channel menu when new teams are added (#3269) 2019-09-18 09:58:44 -04:00
Patrick Kang
2bd67deeea Adds support for 'radio' type in interactive dialogs (#3212) 2019-09-18 15:37:38 +02:00