focalboard/webapp/src/store
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
..
boards.ts Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
cards.ts Porting the card limits frontend to main branch (#3174) 2022-06-20 20:39:20 +02:00
channels.ts Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00
clientConfig.ts User updates (#3244) 2022-07-08 08:43:43 -06:00
comments.ts Fixing the sorting of cards taking into consideration the last comment date (#2663) 2022-03-29 13:59:11 +02:00
contents.ts Upgrading most of the webapp dependencies. (#2642) 2022-03-25 17:07:49 -06:00
globalError.ts Migrate webapp global state to redux (#737) 2021-08-02 17:46:00 +02:00
globalTemplates.ts Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
hooks.ts Sample using @reduxjs/toolkit (#646) 2021-07-14 21:22:40 +02:00
index.ts Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00
initialLoad.ts Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
language.ts Sample using @reduxjs/toolkit (#646) 2021-07-14 21:22:40 +02:00
limits.ts Porting the card limits frontend to main branch (#3174) 2022-06-20 20:39:20 +02:00
searchText.ts Migrate webapp global state to redux (#737) 2021-08-02 17:46:00 +02:00
sidebar.ts Sorted categories on modification or creation (#2856) 2022-04-22 10:48:49 -06:00
teams.ts Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
users.ts Fixed a bug where rmeoved board members showed up in comment list (#3223) 2022-07-05 09:54:31 +02:00
views.ts Upgrading most of the webapp dependencies. (#2642) 2022-03-25 17:07:49 -06:00