mattermost-mobile/share_extension/android
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
..
actions Add custom rule to prevent passing getState into dispatch (#4010) 2020-03-06 17:07:20 -05:00
extension_channels MM-18455 Replace search bar component (#3998) 2020-03-26 16:53:25 -03:00
extension_post Deps update (#3806) 2020-01-20 13:20:03 -03:00
extension_teams add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
extension.js Deps update (#3806) 2020-01-20 13:20:03 -03:00
index.js Re-enable ram-bundles (#3907) 2020-02-10 11:20:45 -07:00
navigation.js [MM-16593] Upgrade to RN 0.61.2 (#3455) 2019-10-28 15:04:24 -07:00