Commit graph

634 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
Mattermost Build
bbb8a4f148 Reverted mention color to user linkColor (#3502) 2019-10-31 08:30:53 -07: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
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
41dc1a8c95 MM-18935 (#3439)
Added SafeAreaView padding for the SSO screen
2019-10-17 17:57:23 +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
7d1cabe2f5 Automated cherry pick of #3362 (#3435)
* Add unit tests

* Await dismissModal
2019-10-17 17:56:08 +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
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
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
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
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
03692f1975 Fix paste files with multiple instances of post textbox (#3320) 2019-09-25 17:23:20 +08: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
Patrick Kang
2bd67deeea Adds support for 'radio' type in interactive dialogs (#3212) 2019-09-18 15:37:38 +02:00
Saturnino Abril
4d8fa314d1
MM-14273 Add boolean element support to interactive dialog (#3239)
* add boolean element support to interactive dialog

* determine landscape orientation by Dimension
2019-09-17 09:39:12 +08:00
Elias Nahum
6853707ef2
MM-18335 Keep the icon badge in sync (#3246)
* MM-18335 Keep the icon badge in sync

* feedback review

* Update snapshot
2019-09-16 17:48:50 -03:00
Theo Gkourasas
30f91a3814 MM-15219 Added support for introduction text in interactive dialogs (#3222)
* MM-15219 Added support for optional introduction text in interactive dialogs

* Fixed margins in introduction text for interactive dialogs

* Created DialogIntroductionText component to render the introduction text.  Changed text color

* Changed DialogIntroductionText component to only render if a value is supplied
2019-09-16 09:22:59 -07:00
Elias Nahum
19e6b2a00e
[MM-18362] Sidebar improvements (#3223)
* sidebar lists displays past bottom safe area insets

* Sidebar animation speed

* Sidebar improvements

* Add status icons and avatars to mattermost font

* Bot icon the same size as other channel icons

* improvements to the channel badge

* Badge color and border

* More precision when showing more unread above

* Improve GM icon

* Fix badge on team sidebar

* Align channel sidebar badges

* alignments

* Fix tests

* Remove unnecessary isLandscape in main sidebar connector
2019-09-16 13:17:48 -03:00
Elias Nahum
cbb20d759f MM-18353 Do not update the theme when resetting the cache (#3250) 2019-09-13 09:38:44 -05:00
Miguel Alatzar
b795a0bba4 [MM-18361] Style text inputs and post options with theme (#3213)
* Style text inputs with theme

* Add snapshot test

* Use theme for post options background and text colors

* Use theme for post options icon color

* Use theme for reaction list

* Use theme for slide up indicator

* Fix post options localization

* PM Feedback review

* Slideup PM changes and channel edit

* fix tests

* Fix i18n
2019-09-13 10:24:36 -03:00
Joram Wilander
a6a1c725aa MM-18372 Fix edit profile screen being dismissed when removing profile picture (#3240)
* Fix edit profile screen being dismissed when removing profile picture

* Fix test
2019-09-12 11:26:41 -03:00
Asaad Mahmood
2b7df2307c MM-18330 - Updating arrow prop (#3248) 2019-09-12 21:00:09 +08:00
Ewe Tek Min
f6c9c950c5 MM-12879 Fix iOS photo/camera permission denied prompt (#2904)
* Update Github issues link

* Update GH issue to permalink

* Add missing comma

* Fix ios not prompting alert after denied photo or camera permission

* Rename permission var

* Update text

* Change to correct text

* Update text for attachement button

* Update text for image_preview

* Fix test

* Integrate react-native-android-open-settings for storage permission denied

* Move react-native-android-open-settings

* Change all default permission denied message

* Revert "Merge remote-tracking branch 'upstream/master'"

This reverts commit 65187f8f98de4943103bdab4b39bd7e1ebd5a220, reversing
changes made to daca425676503a57936a5539b5b5fa68a6c5427e.

* Revert "Revert "Merge remote-tracking branch 'upstream/master'""

This reverts commit c82fa628d5addc1262353539c32b76c6a1130e83.

* Add NSPhotoLibraryAddUsageDescription description

* Fix bad import

* Lazy load react-native-android-open-settings

* Fix indent
2019-09-11 01:18:53 -03:00
Elias Nahum
076e518b11
Update webview library to remove deprecated API (#3233)
* Update webview library to remove deprecated API

* Remove unnecessary timeout
2019-09-10 15:33:19 -03:00
Elias Nahum
49991a57d4 MM-18223 Fix channel actions on combined sidebar (#3221) 2019-09-09 21:12:23 +08:00
Elias Nahum
c71e35ba20
MM-17792 Do not show download option for files uploaded locally (#3163) 2019-08-26 10:14:22 -04:00
Saturnino Abril
49ae458944 fix test due to merge conflict (#3177) 2019-08-23 15:13:25 -04:00
Matheus Cardoso
73518da91e Make keyboard dark on dark themes (iOS only) (#3102)
* Support keyboardAppearance theme parameter

* Change approach of keyboardAppearance to auto-detect

* Fix style

* Update snapshots

* Add unit test for getKeyboardAppearanceFromTheme

* Update snapshot

* Fix failing test
2019-08-23 13:18:05 -04:00
Elias Nahum
d5338f5e39 MM-17886 Do not wait to cancel the video download (#3164) 2019-08-22 15:47:06 -04:00
Elias Nahum
ae17195425 Android screen right button colors (#3146) 2019-08-19 10:29:43 -07:00
Elias Nahum
9a16e05c54 Fix Regression right buttons color on Android navbar when enable (#3138) 2019-08-17 09:03:15 -07:00
Elias Nahum
fca9a6e609 Fix regression close/leave/archive channel redirect to channel screen on Android (#3139) 2019-08-17 09:02:07 -07:00
Hossein Ahmadian-Yazdi
ef8813f115 [MM-13843] Edit channel autocomplete is same as the posting message one (#3038)
* [MM-13843] Edit channle autocomplete is same as the posting message

* [MM-13843] Lint error fixes

* [MM-13843] Address nestedscrollenable warning comment

* [MM-13843] Added test case for edit_channel_info

* [MM-13843] nestedScrollEnabled on at_mention

* [MM-13843] Fix linting issue

* [MM-13843] Fixed test case

* [MM-13843] Address PR comments

* [MM-13843] Made prop not required
2019-08-15 21:22:32 -07:00