* Remove redux-offline and configure redux-persist
* Fix typo
* Fix configure store
* Upgrade to redux-persist 6.0.0
* Add migration from redux-persist v4 to v6
* Replace AsyncStorage with MMKVStorage to boost storage speed
* Mock RNFastStorage
* Fix reactions test
* Fix clearing the store on logout
* Remove the need for LOGOUT_SUCCESS
* No need to pass persistConfig to middlewares()
* Remove unused imports
* Export connection
Accidentally removed this export.
* Add batch action name
Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
* Add batch action name
Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
* Add batch action name
Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
* Add batch action name
Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
* Fix delete post
* Fix leave channel
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Port WebSocket from mm-redux and batch actions
* Update mm-redux and fix tests
* Change action name
* Naming batch actions
* Fix unit tests
* Dispatch connection change only if its different
* Remove comment
* Add Lint to TypeScript and fix linting errors
* Add WebSocket Unit Tests
* Revert from unwanted RN 0.62
* Improve sidebar performance on first load
* Initial work for switch channel
* Revert android changes
* Split Sidebar per Platform
* Fix waitForHydration executing the callback more than once
* Fix custom emoji not showing on Android
* Finalize Channel Switch
* Enable Android Ram Bundles
* Select the right team for lastChannelForTeam
* Channel loading post indicator
* Fix main sidebar base intl provider
* Update mm-redux
* No need to request configAndLicense on launch
* Load channel member roles
* Rename closeChannelDrawer to closeMainSidebar
* do not throw errors when console is called while running tests
* constant for LOADING_POSTS_HEIGHT
* Remove show more if a long post is edited and no longer long
* Update mm-redux#batch-actions branch
* Code review
* Clear notifications if channel was switched
* Import Platform
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Introduced large number of unnecessary re-renders when opening channels, and ideally should not be a part of the channel switching/opening code path. Although this was discovered while trying to investigate an [Android-specific issue](https://mattermost.atlassian.net/browse/MM-22253), this extra code path made it difficult to see what Android is potentially doing differently than iOS.
Functionality originally introduced in #1203.
Conversation for removal is [here](https://community.mattermost.com/core/pl/hfcogf6pr7rw8k3ryq14c69c7e)
* initial working code
* minimum changes for main sidebar working
* add settings sidebar back in
* fix visual bug with sidebar showing underneath
* fix bug for android
* cleanups
* minor cleanups and update snapshot
* add basic test
* fix style errors
* review changes
* sidebar lists displays past bottom safe area insets
* Sidebar animation speed
* Sidebar improvements
* Add status icons and avatars to mattermost font
* Bot icon the same size as other channel icons
* improvements to the channel badge
* Badge color and border
* More precision when showing more unread above
* Improve GM icon
* Fix badge on team sidebar
* Align channel sidebar badges
* alignments
* Fix tests
* Remove unnecessary isLandscape in main sidebar connector
* Support keyboardAppearance theme parameter
* Change approach of keyboardAppearance to auto-detect
* Fix style
* Update snapshots
* Add unit test for getKeyboardAppearanceFromTheme
* Update snapshot
* Fix failing test
* MM-10193 for landscape Feature
Commit for MM-10193 to the landscape feature with latest pull.
This is the initial commit with SafeAreaView in place, but should not be merged into master as this is step one and not suitable for production.
Another commit will be following with adjustments to allow SafeAreaView to display correctly for users.
* MM-10193 for landscape Feature
Commit for MM-10193 to the landscape feature with latest pull.
This is the initial commit with SafeAreaView in place, but should not be merged into master as this is step one and not suitable for production.
Another commit will be following with adjustments to allow SafeAreaView to display correctly for users.
* MM-10193 Extend design elements for iPhoneX SafeAreaViews
This is the second portion of the MM-10193 changes for the landscape feature. This item was to extend the design elements for the application into the SafeAreaView so the application looks uniform on the iPhoneX.
* MM-10193 Patch for Snapshot tests and eslint
* MM-10193 Re-Patch
These chanbes mistakenly got reverted from last Patch
* MM-10193 Updates for PR
Fixed the 4 screens from the text box that were missed.
Updated the padding to run from a method.
* Revert "MM-10193 Updates for PR"
This reverts commit fe8d650ce3ca2828d8c94e4af470649aa2582ec1.
* MM-10193 Updates for PR
This reverts commit 4966d83d5401720d26ca22a55cf8f92f1657b7e2.
Applied Updated Snapshots
* MM-10193 Updated Modifier for iphone_x_spacing
Updated Modifier for iphone_x_spacing
* MM-10193 Updates for Review
Review changes for Post Textbox and a few states that were unavailable.
* MM-10193 Fix Longpress padding
Fixed longpress padding for Channel Info and Edit Post views.
* MM-10193 Update isLandscape
Updated isLandscape to pull directly from dimensions.
Updated padding for Recent Mentions and Flagged Posts.
* MM-10193 Updates for review longpost
Updated for longpost padding.
Fixed issue with notifications not padding right correctly.
* MM-10193 Update with Cleanup
Reverted Cocoapods back to 1.5.3.
Cleaned up spacing in two files.
* MM-10193 Merge Conflict Updates
Updates to resolve merge conflicts
* MM-17588 Remove navigation component from stack
* MM-175986 Fix Clock Display Settings on iOS
* Fix markdown and team icon currentServerUrl
* Fix closing permalink logs out the user
* Fix file attachment document ref
* Fix applyTheme when changing a theme in the app
* Feedback review
* remove / when fetching the image on the markdown table on relative paths
* MM-15059: Restict the permissions for guests (#2791)
* MM-15057: Adding guest badge to identify guest users (#2774)
* MM-15057: Adding guest badge to identify guest users
* Adding Guest tags in the channel title
* Adding i18n translations
* Adding DM and GM guest warnings
* Fixing check-style
* Adding and fixing tests
* Adding i18n text
* Only showing the subtitle when there is enough space
* Addressing new design changes
* Fixing eslint
* Addressing PR comments
* Moving getChannelStats to the handleSelectChannel action
* Adding the guest info in android landscape channel headers
* simplified the guest warning text generation
* Fixing i18n
* Fixing leaving channel behavior for guests (#2989)
* Fixing leaving channel behavior for guests
* Fixing tests and adding a new one
* fixing typo
* Addressing PR comments
* Addressing PR comments
* Fixing tests
* properly separate archived channels from 'other'
* make sure fetch is performed to display full list
* reverted unneeded change
* corrected display behaviour
* code cleanup
* redux commit reference updated
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard
* Fix tests
* feedback review
* add new line at the end of file
* feedback review and added todo list
* Track interactive dismiss keyboard and set scrollview bounds natively
* Fix snapshots
* Fastlane default to current branch when no BRANCH_TO_BUILD is set
* Set NODE_OPTIONS in ios build script
* Rebind scrollview when channel gets first set of posts
* Keep scrolling momentum on keyboard close
* Update react-native-keyboard-tracking-view
* Fix ScrollView offset with keyboard-tracking
* Fix offset while dragging the keyboard
* Allow action on channel drawer on tablets
* Fix typo
Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>
* Fix indentation
* Keep the channel drawer opened on tablets
* update en.json after running mmjstool
* Set the channel drawer to width 220
* feedback review
* PM Review
* Fix snapshots
* Upgrade to RN 0.59.6 and dependencies
* Remove channel loader unused style
* Update to the latest netInfo that fixes a crash
* Do not set default timezone with moment
* Use RN 0.59.8