Project list view could benefit from having constant updates through WebSocket.
These are three possible solutions:
The view should join/leave channels for each of the projects in the listing. Then it would be possible to handle the needed events. The downside would be that this room would send a lot of information that is not needed.
Join/leave the special shallow room for the project. The server-side part would be transmitting some events to both rooms. The downside would be the creation of additional rooms, both approaches would also be joining a lot of rooms at once.
Join/leave a special room for user (all user sockets would be there). The back-end side would know to transmit some events to private rooms of every project member. The downside would be creation of these rooms and a need to transmit to multiple rooms. Although, it has a benefit of only joining one room on the front-end.
The simplest approach could be implemented first and switched to something more appropriate if ever needed.
Project list view could benefit from having constant updates through WebSocket.
These are three possible solutions:
The simplest approach could be implemented first and switched to something more appropriate if ever needed.