Commit graph

1548 commits

Author SHA1 Message Date
Mattermost Build
5677ac3c9e MM-19853 Fix iOS SafeAreaView for Server URL screen (#3520) 2019-11-04 15:02:57 -07:00
Mattermost Build
1b3c4d4c98 Ensure setNavigatorStyles is called with Channel componentId (#3517) 2019-11-03 12:08:10 -07:00
CJ
00387cb1eb Cherrypick of 3466 for release 1.25 (#3504) 2019-10-31 08:49:18 -07:00
Mattermost Build
bbb8a4f148 Reverted mention color to user linkColor (#3502) 2019-10-31 08:30:53 -07:00
Mattermost Build
a10edc865e Automated cherry pick of #3477 (#3495)
* MM-19731 Fix at-channel autocomplete to return out of channel mentions

* profiles not in channel test deleted use case

* fix typo
2019-10-31 06:38:38 +01:00
Mattermost Build
db63b59299 Automated cherry pick of #3445 (#3484)
* MM-19308 Fixed date wrapping

Updated the displayName to check for the reply button and bot tag. If seen the displayName container is set from 60% to 55% to allow for the extra space.

* MM-19308 Updated logic and added tests

Updated logic based on feedback.
Added Jest/Snapshots

* MM-19308 Apply change to other sections

Applied the change to autoresponder/webhook section.
2019-10-30 20:07:48 -04:00
Miguel Alatzar
700b2996a1 MM-19733 fix posts getting behing post text box in thread screen (#3480) (#3496)
* MM-19733 fix posts getting behing post text box in thread screen

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

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

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

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

* Small refactor

* Fix snapshot test after merge
2019-10-30 19:20:47 +01:00
Mattermost Build
f7d073aeb2 Automated cherry pick of #3491 (#3497) 2019-10-30 14:14:04 -04:00
Mattermost Build
e90392e9c1 Include previous notify props when saving new ones (#3494) 2019-10-29 16:50:36 -07:00
Mattermost Build
50484c10dd Automated cherry pick of #3357 (#3479)
* Map currentUser from state to props

* Fix ref warning

* Use optional chaining operator

* Use componentDidUpdate

* Don't forget to call super
2019-10-28 08:28:14 -07:00
Mattermost Build
89e85abc62 Automated cherry pick of #3462 (#3473)
* MM-18313 Fix update timezone automatically

* add unit tests
2019-10-25 08:06:14 -07:00
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