1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/server/services
Miguel de la Cruz 3ae821d2e8
Refactor websockets state and lifecycle (#3315)
* Refactor websockets state and lifecycle

This PR moves the state of the authentication and subscriptions to the
websockets client, allowing for multiple components to communicate
with it and request subscriptions independently. With this change, the
lifecycle of the websockets client is now managed on a component, and
a hook is provided for easy access to it from individual components.

* Fix linter

* Integrating the new websockets in channels integration with the RHS and board selector

* Some small fixes around boards-channels relationship

* Make the boards unfurl to always use the current team

* Fixing weird behaviors in websockets and other small data related bugs in channel-board relationship

* Only warn if withWebSockets is used without a base connection

* Fix tests

* Fix linter

* Update snapshot

* Fixing plugin tests

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-07-14 12:31:51 +02:00
..
audit Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
auth CI updates: Speed up register / login, minimize Windows tests, and add Mac tests (#2784) 2022-04-13 15:36:20 -07:00
config User updates (#3244) 2022-07-08 08:43:43 -06:00
metrics Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
notify Cherry pick to main for add board link in bot notification (#3272) 2022-06-24 12:39:04 +05:30
permissions Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00
scheduler CI updates: Speed up register / login, minimize Windows tests, and add Mac tests (#2784) 2022-04-13 15:36:20 -07:00
store Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
telemetry use milliseconds for all timestamps (server) (#1447) 2021-10-07 07:51:01 -04:00
webhook