mattermost-mobile/app
Jyoti Patel b6920770f1
[GH-15185][MM-5973] Add Channel Settings > Notification Preferences. (#4730)
* Add Channel Settings > Notification Preferences.

Fixes #15185

* Make newly added strings mmjstool compatible.

mmjstool seems to be looking for specific patterns in AST like called with
`formatMessage` and `t()` [1]. Looks like `t()` is just for that purpose.

[1]: a83581379d/mmjstool/src/i18n_extract.js (L97):L100

* Pass only required props to NotificationPreference & ChannelNotificationPreference.

* Fix style issues/nits from code review.

* Use radio button for channel notifications on android, and checkmarks on iOS.

Also changes style according to figma spec.

* Fix missing prop error.

For some reason, `npm run fix` didn't catch this. But `npm run check` did during CircleCI.

* Fix missing i18n strings by passing strings through `t()`.

mmjstool really needs to be smarter to understand these types of cases.

* Address comments from UX code review.

* Remove remnant from merge conflict.

* Fix UI in iOS landscape mode.

* Use SafeArea view for ios landscape view

* Use paddingHorizontal for SafeArea view for iOS landscape mode
2020-09-12 00:53:29 -03:00
..
actions MM-28295 Do not remove the Channel screen from the stack tracking (#4793) 2020-09-09 13:15:09 -03:00
client MM-15758 Update dependencies including Fastlane (#4272) 2020-05-18 11:24:47 -07:00
components Save draft when post input unmounts (#4785) 2020-09-09 12:03:07 -03:00
constants MM-28295 Do not remove the Channel screen from the stack tracking (#4793) 2020-09-09 13:15:09 -03:00
i18n MM-23570 Migrate from Segment to Rudder (#4293) 2020-05-13 16:54:07 -04:00
init Fix iOS AppSetting timeout (#4801) 2020-09-10 16:50:44 -03:00
mattermost_bucket iOS Native Share Extension (Swift) (#2575) 2019-02-26 14:31:57 -03:00
mattermost_managed MM-24446 Fix Crash on iOS with EMM enabled (#4203) 2020-04-23 06:03:10 -04:00
mm-redux Always load the thread & modify thread selector (#4771) 2020-09-08 13:09:46 -03:00
notification_preferences Deps update (#3806) 2020-01-20 13:20:03 -03:00
push_notifications MM-26749 Fix race condition when open from PN (#4556) 2020-07-10 16:24:09 -04:00
reducers [MM-23761] [MM-25766] Add "More Messages" button (#4526) 2020-07-09 13:30:30 -07:00
screens [GH-15185][MM-5973] Add Channel Settings > Notification Preferences. (#4730) 2020-09-12 00:53:29 -03:00
selectors [MM-15477][MM-27540][MM-27541]: fix search inconsistencies using in:@ / in: (#4704) 2020-09-01 10:08:17 -07:00
store MM-28295 Do not remove the Channel screen from the stack tracking (#4793) 2020-09-09 13:15:09 -03:00
styles MM-22155 ESLint configuration updates part 1 (#4311) 2020-05-20 08:27:27 -07:00
telemetry MM-15758 Update dependencies including Fastlane (#4272) 2020-05-18 11:24:47 -07:00
utils Fix soft crash for edge emoji formatting (#4705) 2020-08-20 14:48:48 -04:00
mattermost.js MM-28295 Do not remove the Channel screen from the stack tracking (#4793) 2020-09-09 13:15:09 -03:00
mattermost.test.js Fix event typo (#4516) 2020-07-01 17:11:15 -07:00