mattermost-mobile/app/screens/settings
Andre Vasconcelos a114b19ecc
MM-18455 Replace search bar component (#3998)
* Initiated basic migration to react-native-elements

- Search bar receives all right props without custom animations being necessary
- Need to test on different layouts and cases
- May be possible to unify android and iOS components. Attempt later

* Removing separated android/ios files

- Adding implementation of android searchbar 
- updating test snapshots

* WIP: Integrating leftComponent and adding focus animations

* Adding animations to left component on focus and blur events

* Removing repeated styles and useless props

* Updating snapshots

* Ensuring clearIcon renders when tapping search suggestions

- Also makes sure it prioritizes custom color attributes over default values for the search input

* Refactoring styles, removing clear icon animations

- Also removed useless ternary operations since the library itself already checks whether the search input is empty

* Replacing icon components with props whenever possible

- Removing useless styles

* memoizing styles, adding default props/values

* Memoize searchBarStyle with params

* Fixing backgroundColor

* Removing minWidth for cancel button

* Fixing styling issues on both iOS and android

* Updating snapshots post merge

* Making sure showCancel can be controlled by props

* Updating snapshots

* Fix clipped edges on iOS & cancel icon on Android

* Fixed radius, memoized styles

* Fixing styling issues found on Android

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-03-26 16:53:25 -03:00
..
advanced_settings [MM-20950] Don't reset the navigation root when clearing data (#3929) 2020-02-27 17:15:45 -03:00
clock_display MM-10193 Apply SafeAreaView to Landscape views (#3003) (#3081) 2019-08-09 11:14:38 -04:00
display_settings MM-23179 Avoid unnecessary Overdraws (#4025) 2020-03-13 11:22:43 -07:00
general MM-23179 Avoid unnecessary Overdraws (#4025) 2020-03-13 11:22:43 -07:00
notification_settings MM-23179 Avoid unnecessary Overdraws (#4025) 2020-03-13 11:22:43 -07:00
notification_settings_auto_responder MM-22385 RN: iOS - Automatic Replies custom message SafeAreaView fix (#4001) 2020-03-05 12:12:55 -07:00
notification_settings_email MM-23179 Avoid unnecessary Overdraws (#4025) 2020-03-13 11:22:43 -07:00
notification_settings_mentions MM-23179 Avoid unnecessary Overdraws (#4025) 2020-03-13 11:22:43 -07:00
notification_settings_mentions_keywords MM-23179 Avoid unnecessary Overdraws (#4025) 2020-03-13 11:22:43 -07:00
notification_settings_mobile MM-23179 Avoid unnecessary Overdraws (#4025) 2020-03-13 11:22:43 -07:00
settings_item MM-10193 Apply SafeAreaView to Landscape views (#3003) (#3081) 2019-08-09 11:14:38 -04:00
sidebar Performance improvements (#3911) 2020-02-17 21:18:09 -07:00
theme MM-23179 Avoid unnecessary Overdraws (#4025) 2020-03-13 11:22:43 -07:00
timezone MM-18455 Replace search bar component (#3998) 2020-03-26 16:53:25 -03:00
section.js MM-18791 (#3347) 2019-10-12 01:30:59 -04:00
section_item.js Deps update (#3806) 2020-01-20 13:20:03 -03:00