focalboard/mattermost-plugin/webapp
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
..
i18n Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
loaders Unfurl Focalboard Link (#1081) 2021-10-22 12:13:31 -04:00
src Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
tests ci: test & lint mattermost-plugin (#3156) 2022-07-13 08:28:13 +02:00
.eslintignore Adding support for embed the webapp into the plugin (#597) 2021-07-29 20:08:39 +02:00
.eslintrc.json ci: test & lint mattermost-plugin (#3156) 2022-07-13 08:28:13 +02:00
.gitignore Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
.npmrc Changing mattermost-auth method to work based on shared database access (#335) 2021-05-24 19:06:11 +02:00
babel.config.js npm dependency upgrade (#470) 2021-05-25 13:22:28 +02:00
package-lock.json ci: test & lint mattermost-plugin (#3156) 2022-07-13 08:28:13 +02:00
package.json Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00
tsconfig.json Adding support for embed the webapp into the plugin (#597) 2021-07-29 20:08:39 +02:00
webpack.config.js Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00