Miguel Alatzar
2d81b497cf
[MM-23520] Port mattermost-redux ( #4088 )
...
* Remove mattermost-redux
* Move mm-redux files into app/redux
* Add @redux path to tsconfig.json
* Fix imports
* Install missing dependencies
* Fix tsc errors
* Fix i18n_utils test
* Fix more imports
* Remove redux websocket
* Fix tests
* Rename @redux
* Apply changes from mattermost-redux PR 1103
* Remove mattermost-redux mention in template
* Add missing imports
* Rename app/redux/ to app/mm-redux/
* Remove test file
* Fix fetching Sidebar GM profiles
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-17 21:12:09 -07:00
Miguel Alatzar
d1add3c743
[MM-23241] Use expanded link from state ( #4029 )
...
* Get expanded link from state
* No need to await getRedirectLocation
2020-03-13 15:03:37 -03:00
Chris Dobson
e1cf5ac960
MM-14622 Use post id when retrieving opengraph data from mattermost-redux ( #3516 )
...
* Use post id when retrieving opengraph data from mattermost-redux
* Updated package.json with the appropriate PR for mattermost-redux
* Switch mattermost-redux back to master
2019-12-18 09:51:31 -05:00
Miguel Alatzar
459801d10b
[MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal ( #3298 )
...
* Patch react-native-navigation
* Make navigation actions regular functions
* Fix unhandled promise rejection warning
* Missing semicolons
* Mock navigation actions
* Add unit tests for navigation actions
* Place all patches in patches directory
* Fix channel_info snapshot test
2019-09-25 15:23:45 -07:00
Miguel Alatzar
1b9b1e3f39
Merge branch 'master' into rnn-v2
2019-07-05 15:56:56 -07:00
Maxim Zaks
bf3f0be37e
Don't show preview if remove_link_preview is set to true ( #2939 )
...
* Don't show preview if remove_link_preview is set to true
* remove white spaces
2019-07-03 01:44:29 +05:30
Miguel Alatzar
150253d392
[MM-16012] [MM-16084] Update screens related to settings sidebar + update SearchResultPost screen and its children ( #2913 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
* Update SettingsSidebar and children
* Update EditProfile screen
* Update SettingsSidebar
* Keep track of latest componentId to appear
* Track componentId in state to use in navigation actions
* Update FlaggedPosts and children
* Update RecentMentions
* Update Settings
* Store componentIds in ephemeral store
* Update AttachmentButton
* Remove unnecessary dismissModal
* Fix typo
* Check-style fix
* Address review comments
2019-06-24 12:52:08 -07:00
Jesús Espino
acb87ebad1
Fixing no parseable (by the i18n extractor) optional chaining construction ( #2387 )
2018-11-28 12:37:23 -03:00
Elias Nahum
24db914fd4
Keep postlist scroll position on iOS and fix opengraph ( #2369 )
2018-11-23 20:31:14 +05:30
Elias Nahum
f522df7a2e
Refactor postlist to include Android Pie fixes and smoother scrolling ( #2161 )
2018-09-26 10:43:33 -04:00
Harrison Healey
3005a39f07
MM-12109 Switch to using server API to determine redirect location ( #2097 )
...
* Switch to using server API to determine redirect location
* Update redux to add version check for getRedirectLocation
2018-09-11 18:06:13 -03:00
Jesse Hallam
8372e95d4a
add eslint-plugin-header, and --fix all ( #1726 )
2018-06-19 19:14:50 -04:00
Jesse Hallam
58b72302d6
update eslint's comma-dangle rule to always-multiline ( #1457 )
...
* update eslint's `comma-dangle` rule to `always-multiline`
* add check and fix scripts to package.json
* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
2018-02-23 09:06:02 -05:00
enahum
7bd55e96dc
[ICU-536] Fix link previews preference ( #1364 )
...
* Fix link previews preference
* Fixed grammar in a comment
2018-01-22 13:37:15 -03:00
Harrison Healey
a9489dcc5f
Replace getTheme selector with one from mattermost-redux ( #1013 )
2017-10-12 08:45:17 -07:00
enahum
f50b2b9412
Improving Performance Part 3 ( #1011 )
...
* Update mattermost-redux
* Tap on Deleted post to remove it
* Improvements when rendering post additional content
* Avoid unnecessary re-renders on the post list component
* Avoid unnecessary re-renders on the channel post list component
* Avoid unnecessary re-renders on the channel screen
* Feedback review
2017-10-11 14:54:13 -03:00
enahum
c3726b316d
Fix post additional content ( #962 )
...
* Fix post additional content
* Feedback review
2017-10-02 16:03:13 -03:00
enahum
757387a4de
Only load post body additional content when needed ( #927 )
...
* Only load post body additional content when needed
* Feedback review
2017-09-22 08:04:29 -07:00
enahum
4995a76f2c
Add Landscape support for both platforms ( #909 )
...
* Landscape support
* Fix image rotation on Android
* Fix landscape mode for login and login options
* Fix previewer will receive props
* Move device dimensions and others to redux
* Fix unit tests
* Include orientation and tablet in the store
2017-09-20 12:54:24 -07:00
enahum
7aebcbd52e
Link Previews ( #890 )
...
* Link previews, Image previews and YouTube
* Install cocoapods dependencies
2017-09-12 15:06:19 -03:00