* fixes MM-37294 MM-37296 MM-37297
* Added conditions to check for post & thread existence
* Update app/mm-redux/selectors/entities/threads.ts
Co-authored-by: Kyriakos Z. <3829551+koox00@users.noreply.github.com>
* type fix
* Never disabling Mark All as unread
* Added follow/unfollow message for not yet thread posts
* Test case fix for mark all as unread enabled all the time
* Removed hardcoded condition
* Fixed MM-37509
* Updated snapshot for sidebar
* Global thread actions init
* Added options
* Update post_options.js
* Test cases fix
* Added border bottom for each thread option
* Update test case
* Reverting snapshot
* Updated snapshot
* Moved options to screens & removed redundants translations
* Reusing post_option for thread_option
* Component name changed to PostOption from ThreadOption
* Snapshot updated
* Removed factory
* Update app/screens/thread_options/index.ts
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Update app/screens/thread_options/index.ts
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Kyriakos Z. <3829551+koox00@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* New messages line in threads & Pull to refresh for global threads
* Updated snapshot
* Using postlist's RefreshControl component
* Updated threadlist snapshot
* Reverting snapshot
* Updated Snapshots
* Snapshots updated
* Added 'thread last viewed at' to handle new messages line correctly
* Lint fix
* Updated snapshots
* Reverted comparision check
* Remove unused code
* Batching actions
* Do not add new message line for self messages
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add plugin oauth support
* Fix types
* Switch go to screen by show modal
* Add content width metadata to show correctly the sites
* Remove unneeded metadata
* Fix tsc
* Fix lint
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Ensure post options always have the bindings for its channel
* Mimic webapp model
* Address feedback
* Add return to validate bindings
* Address feedback
* Use empty bindings constant to avoid rerenderings
Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
* Add multiteam mentions and saved posts
* Minor fix
* Fix long names
* Add tests, improve separation styling, revert changes on the flagged posts client, and omit the team name when the user only belongs to one team
* Fix separator on iOS
* Update snapshot
* Fix separator
* Fix snapshot
* Differentiate styling between iOS and Android
* Change channelTeamName to teamName
* Further cleanup and fixes
Tests clean-up
Tests fixed?
Plays nicely with threads
Tests fixed
Fixes ESR and show experimental flags
Failing test fixed
DM Fix
WIP: Bottom bar UX
Fixes for unreads
Failing test
Always show current channel
Create a channel in a category!
* Unreads on top
* Various fixes
* Improves category collapsing
* Passes correct ID through
* Tests cleanup
* Redo unreads and unread-button
* Reverts to just using ids
* More unreads back to using ids
* Uses appropriate selectors for pref updates
* Unreads sorted by recency
* Fixes test for recency
* Fixes re-rendering bug
* Code review updates, websocket event debounced
* MM-37781: Only check deprecated config settings if server is older than v6.
* Feedback review
* Add isMinimumServerVersion helper for iOS Native
* MM-37781: Adds missing parameters.
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* new themes and theme type updates
* update theme processing
port newer functionality from webapp
* update theme UI
including new svg-based thumbnail
* lint fixes
* update snapshots and tests
* update theme tile border approach
* remove unused path component
* remove old variable typo
* remove old variable type from theme type
* lint and snapshot updates
* update snapshots
Participants no longer include the thread starter,
thread starter is included only if the user has replied.
This commit changes the ordering of participants to reverse so that the
latest replier is placed first and so forth.
Also the thread starter is not included in the channel view, but is
included in the global threads view.
* invert colours for teams button
"fixes" the starkness of the button when using a light sidebar background colour
* update snapshots
* white background for team image
Summary
Be consistent with query parameter names: use `per_page` instead of `pageSize` for the Thread API. The server will continue to support the `pageSize` parameter until version 6.0 of the server becomes the minimum server version required for the mobile app.
Related PRs:
[MM-36792] limit number of threads returned from SQL store mattermost-server#18260
[MM-36792] Consistent query param names mattermost-webapp#8700
Ticket Link
https://mattermost.atlassian.net/browse/MM-36792
* MM-36980: Opens the thread on push notification
This commit enables tapping on a push notification for a reply to open
the thread.
This is done only if the user has CRT set to 'on'.
* Refactor, and handle in app notifications
* Minor change
* Fixes erroneous check
* Fixes on dismiss in app notification
* Fixes in app push notification for CRT
* Adds CRT notification settings for android
Adds support for CRT (*_threads) notification settings (notify_props).
Adds android comoponents to toggle those settings for push notifications
and email notifications.
* Adds CRT notification settings for iOS
Adds iOS components to toggle those CRT notifications settings
for push notifications and email notifications.
* Fixes bad JSON and intl ids
* Fixes i18n ids
* Fixes tests
* Adds email_threads to the default notify_props
* Fixes push_threads notify_prop default value
* Fixes style, and channel missing on thread open
* Fixes test
* Fixes click notification to open thread
Previous handling of opening the thread on notification clicked fell
into an infinite loop when the app was closed.
This commit fixes that by adding the post to selectedPostId reducer and
then emitting an event to open the thread on channel_base, and only if
the app was started by the notification.
When the app is in the background emitting the event from
handleNotification works just fine.
When the app is in the foreground the notification clicked gets handled
elsewhere and this commit does not change that.
* Removes reply settings when CRT is ON
"Mentions and Replies" section becomes just "Mentions" when the user has
the Collapsed Reply Threads set to "ON".
* Fixes prop types
Co-authored-by: Kyriakos Ziakoulis <koox00@Kyriakoss-MacBook-Pro.local>
* Handle user and channel provider from the app parser
* Do not process mapStateToProps on appsTakeOver
* Fix tsc
* Address feedback
* Fix broken reference
* Address feedback and fix tests
* Fix i18n
* Use instantiated teamID on parser context
* Address feedback
* Fix test
* Address feedback
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* MM-37840 do not mark channel as read when clearing push notifications
* MM-37841 prevent from setting the edit post screen buttons with every key press
* Fix keep mention for channel A when opening a push notification on channel B
* properly fix race condition
* Load channels and channel members when opening the app from a push notification