Daniel Espino García
a27c82da90
Refactor and cleanup of option item ( #9067 )
...
* Refactor and cleanup of option item
* Fix tests and minor cleanup
* Fix bug and address feedback
2025-08-19 14:01:56 +02:00
Rahim Rahman
9d67acb8cc
fix(MM-63596): custom theme cannot be reselected ( #8960 )
...
* initialTheme should not be a dependent of useCallback since its a ref
* a few cleanup on test to make it more clearer
* add a bit more description
* fix(MM-64710): changing themes repeatedly in rapid succession cause the theme to not register (#8980 )
* add more test, doubleTap prevention test
* changes based on comments
* remove the use of currentTheme
* consolidate handleSelectTheme with setThemePreference
* add comment to explain why we're storing customTheme in a state
2025-07-18 06:48:29 -06:00
Elias Nahum
d84a0afd3a
Avoid unnecessary re-renders ( #8673 )
...
* Only set the height on the message component if it ends up being greater than the maxHeight to avoid re-renders
* Cache the teams theme to avoid unnecessary computation and re-renders
* useDidUpdate instead of useEffect to avoid setting the theme preference without need
* add comment on clear cache
2025-03-13 21:28:48 +08:00
Elias Nahum
106324335c
MM-56542 fix custom theme selection ( #7762 )
2024-01-18 06:00:21 +08:00
Elias Nahum
edef4ec4a3
Update libraries and dependencies ( #7678 )
...
* update js dependencies
* update react-native libraries
* update watermelonDB
* update RN to 0.72.7
* update fastlane
* fix remove_markdown/at_mention import
* update mattermost libraries
* update fastlane deps
* remove haptic-feedback patch
* update okhttp to 4.12.0 and patch netinfo to accurately identify VPN connections
* create ImaegStyles intersection type
2023-11-25 07:46:13 +08:00
Harshal sanghvi
128be0994e
fixed theme save on android back button ( #7579 )
2023-10-30 09:17:00 -04:00
Elias Nahum
4a79147402
Fix re-selection of custom theme ( #7470 )
2023-07-26 12:48:14 -04:00
Elias Nahum
2fc1386b78
feat: Channel notification preferences ( #7160 )
...
* feat: Channel notification preferences
* feedback review
* use button color for the icon
2023-02-24 12:41:36 +02:00
Elias Nahum
64a59aad55
Filter unused preferences ( #7015 )
...
* small preferences refactor
* filter unused preferences and fix removal of preferences in the db
* Feedback review
2023-01-30 21:00:19 +02:00
Elias Nahum
7aa5bd0611
Update Dependencies and bug fixes ( #7000 )
...
* update dependencies
* update dependencies
* feedback review
* update @mattermost/react-native-turbo-mailer
2023-01-24 09:14:23 +02:00
Joseph Baylon
8d7b15da51
Detox/E2E: Edit Profile, Custom Status, and Settings e2e tests in Gekidou
2022-08-25 17:42:41 -07:00
Avinash Lingaloo
afa38ddee6
MM-46443 : Gekidou - removes save button on settings screens ( #6583 )
2022-08-24 08:54:40 -04:00
Joseph Baylon
25ae8fdb88
Detox/E2E: Account e2e tests in Gekidou ( #6584 )
...
* Detox/E2E: Account e2e tests in Gekidou
* Fix suite title
* Changed ldap port to number
* Fix testIDs for settings
* Added zephyr test case keys
2022-08-18 03:18:46 -07:00
Avinash Lingaloo
adde833ea9
MM-45221 - Gekidou Settings fixes - part 2 ( #6491 )
...
* modifying setting option
* navigates to email screen
* UI construction [in progress]
* hooking up withObservables
* email settings - need to save now
* adding a bit of paddings
* setting initial value
* Update notification_email.tsx
* UI Polish - main setting screen
* UI Polish - Mention
* UI Polish - Notification main screen
* code clean up
* code clean up
* UI Polish Notification
* UI Polish
* code clean up
* UI Polish - OOO
* fix observable for email interval
* fix ooo
* fix ooo
* added setting_row_label component
* further clean up
* UI Polish - Display - [ IN PROGRESS ]
* UI Polish - Display - [ IN PROGRESS ]
* UI Polish - Timezone Select [ IN PROGRESS ]
* Update index.test.tsx.snap
* Update app/screens/settings/notification_email/notification_email.tsx
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* refactor after review
* update option_item so that action can accept type React.Dispatch<React.SetStateAction
* UI - Polish - Display Theme
UI Polish - Display/Theme [ IN PROGRESS ]
UI - Polish - Display Save button
* UI - Polish - Display Clock
UI - Polish - Display Clock
* UI Polish - Display - Timezone
UI Polish - Display Timezone
added the save button
UI Polish - Display/TZ
UI Polish - Display Timezone
minor refactoring
code clean up
code clean up
* UI Polish - Adv Settings
* UI Polish - Settings/About
UI Polish - Settings/About
* UI Polish - Radio Button
UI Polish - Radio Button
* UI Polish - Android Polishing [ IN PROGRESS ]
* UI Polish - Timezone
fix timezone
fix timezone select
fix timezone select ui
Update index.tsx
* UI Polish - Display/Theme
UI Polish - Custom Theme - Checked Radio btn
* Update en.json
* tweaks to settings styles
* further tweaks to spacing
* Revert "Merge branch 'gekidou-settings-finale' of https://github.com/mattermost/mattermost-mobile into gekidou-settings-finale"
This reverts commit f1fd26987ee5b1854366573b5822c9d0b919d83a, reversing
changes made to 684ba6a19c5962353ce61add2cc9cf10c8f9d3d4.
* added space before 'default'
* Update index.test.tsx.snap
* Revert "Revert "Merge branch 'gekidou-settings-finale' of https://github.com/mattermost/mattermost-mobile into gekidou-settings-finale""
This reverts commit ce77127cb20a3668510a82122325f1642ec7bb60.
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2022-07-27 22:35:57 +04:00
Avinash Lingaloo
431406f09b
MM-45221 - Gekidou Settings fixes - part 1 ( #6472 )
...
* modifying setting option
* navigates to email screen
* UI construction [in progress]
* hooking up withObservables
* email settings - need to save now
* adding a bit of paddings
* setting initial value
* Update notification_email.tsx
* UI Polish - main setting screen
* UI Polish - Mention
* UI Polish - Notification main screen
* code clean up
* code clean up
* UI Polish Notification
* UI Polish
* code clean up
* UI Polish - OOO
* fix observable for email interval
* fix ooo
* fix ooo
* added setting_row_label component
* further clean up
* UI Polish - Display - [ IN PROGRESS ]
* UI Polish - Display - [ IN PROGRESS ]
* UI Polish - Timezone Select [ IN PROGRESS ]
* Update index.test.tsx.snap
* Update app/screens/settings/notification_email/notification_email.tsx
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* refactor after review
* update option_item so that action can accept type React.Dispatch<React.SetStateAction
Co-authored-by: Daniel Espino García <larkox@gmail.com>
2022-07-15 13:32:25 +04:00
Avinash Lingaloo
fe3f0cc892
MM-39711 - Gekidou Settings Timezone ( #6384 )
2022-06-24 06:52:05 -04:00
Avinash Lingaloo
c365ecea54
MM-39711 - Gekidou - Clock functionality [1] ( #6362 )
2022-06-13 08:07:03 -04:00
Avinash Lingaloo
bb02b1178a
MM-39711 - Gekidou - Theme functionality ( #6327 )
...
* added chevron to menu item component
* starting with the skeleton
* starting with the skeleton
* starting with the skeleton
* starting with the skeleton
* remove extra line
* tested on tablets
* some corrections
* corrections as per review
* starting with notification skeleton
* attached notification settings to navigation
* added auto responder
* update translation
* update snapshot
* updated snapshot
* correction after review
* removed unnecessary screen
* refactored
* updated the testIDs
* Update Package.resolved
* refactor
* removed Mattermost as default server name
* fix ts
* refactored settings constant
* display settings skeleton
- pending: query for allowed themes
* added 'allowedThemes' query
* added section item
* mention screen skeleton in place
* added section and sectionItem component
* added reply section to the mention screen
* update i18n
* rename screens properly
* update i18n
* Refactored to MentionSettings component
* Refactored to ReplySettings component
* style clean up
* textTransform uppercase
* rename Section/SectionItem to Block/BlockItem
* added mobile push notif screen - push status section
* adding text to those two components
* correction following review
* added mobile push notification section
* added mobile push notification thread section
* style fix
* code fix
* code fix
* added skeleton for auto responder
* code clean up
* display theme skeleton
* display theme skeleton
* now using selected theme
* clean up code
* showing custom theme
* setTheme implemented
* code clean up
* some corrections
* Gekidou - Replace BlockItem with OptionItem (#6352 )
* Replaced BlockItem component with OptionItem
* ui fix
* corrections from PR review
* code clean up
* correction from PR review
* fix - SettingsDisplay was wrongly removed from @screen/index
* fix dependencies
* corrections from peer review
2022-06-10 14:28:35 +04:00