mattermost-mobile/patches
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
..
react-native+0.61.5.patch Deps update (#3806) 2020-01-20 13:20:03 -03:00
react-native-elements+1.2.7.patch MM-18455 Replace search bar component (#3998) 2020-03-26 16:53:25 -03:00
react-native-haptic-feedback+1.9.0.patch Upgrade Dependencies (#4034) 2020-03-18 19:05:49 -03:00
react-native-image-picker+2.3.1.patch Upgrade Dependencies (#4034) 2020-03-18 19:05:49 -03:00
react-native-keyboard-tracking-view+5.6.1.patch MM-21276 & MM-22419 Fix PostList insets and Channel Intro (#3921) 2020-02-27 17:06:04 -03:00
react-native-local-auth+1.6.0.patch Upgrade Dependencies (#4034) 2020-03-18 19:05:49 -03:00
react-native-navigation+6.3.0.patch Upgrade Dependencies (#4034) 2020-03-18 19:05:49 -03:00
react-native-notifications+2.0.6.patch Use JobIntentService over IntentService (#3913) 2020-02-12 09:50:12 -03:00
react-native-passcode-status+1.1.2.patch MM-21476 Fix iOS inAppPinCode (#3773) 2020-01-07 09:04:40 +08:00
react-native-vector-icons+6.6.0.patch MM-23014 Keep Android cache for vector icons (#4011) 2020-03-05 13:23:39 -03:00
react-native-youtube+2.0.0.patch MM-20729 & MM-20731 Fix YouTube playback and rotation (#3621) 2019-11-28 00:19:12 -05:00
rn-fetch-blob+0.12.0.patch Fix casting crash in RNFetchBlob (#3952) 2020-02-21 17:33:50 -05:00