mattermost-mobile/app/actions/websocket
Elias Nahum d35eac8bd3
Gekidou servers (#5960)
* Servers logout and websocket state

* addNewServer uility and rename file

* add LaunchType for add new server

* added time to LaunchProps type

* Remove unnecessary props for launchToHome

* Fix local action updateLastPostAt

* Batch fetchProfilesPerChannels requests in chunks of 50

* WS handleUserAddedToChannelEvent to return early if no channelId is set

* WS handleNewPostEvent to batch update last_post_at

* add common actions to sync other servers

* Entry actions to sync other servers data

* Do not attempt to fetch notification data if payload does not contain a channelId

* Set database as default at the end of the login flow

* Handle logout when other servers remain

* Handle Server options

* Show alert when logging out from the account screen

* Add workaround to have Lottie animate the loading component

* Fix badge position in ServerIcon component

* Server screen to support adding new server

* Fix login screen to display error when credentials do not match

* add localization strings

* fix DatabaseProvider to update on server switch

* Fix home icon and server icon subscriptions and badge display

* Add dependencies to onLogout callback

* feedback

* Only updateLastPostAt if needed
2022-02-14 16:39:29 -03:00
..
channel.ts Gekidou servers (#5960) 2022-02-14 16:39:29 -03:00
index.ts [Gekidou] various fixes (#5951) 2022-02-10 11:46:35 -03:00
posts.ts Gekidou servers (#5960) 2022-02-14 16:39:29 -03:00
preferences.ts [Gekidou] Add Draft Upload Manager (#5910) 2022-02-01 17:26:26 +01:00
reactions.ts [Gekidou MM-3972] Websocket Events - Reaction and emojis (#5920) 2022-02-03 11:14:08 +01:00
roles.ts [Gekidou MM-39726] - Websocket Events - Roles (#5859) 2022-02-01 09:14:49 -03:00
system.ts [Gekidou MM-39729] Websocket Events - hello, license, config (#5926) 2022-02-10 08:16:25 -03:00
teams.ts [Gekidou MM-39724] - Teams Websocket Events (#5858) 2022-02-01 08:59:24 -03:00
users.ts [Gekidou] Fix & small refactor to the app entry logic and WS reconnection (#5937) 2022-02-09 12:49:37 -03:00