mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-13 15:12:09 +00:00
Implement instant websocket room updates
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Project Rules Index
|
||||
|
||||
Before planning or editing, find the row whose globs match the file's path and read that rule file.
|
||||
|
||||
| Applies to | Rule file |
|
||||
| --- | --- |
|
||||
| {app/Events/**,app/Services/Rooms/**,resources/js/composables/**} | .ai/rules/js-composables.md |
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
paths:
|
||||
- '{app/Events/**,app/Services/Rooms/**,resources/js/composables/**}'
|
||||
---
|
||||
|
||||
# Js Composables
|
||||
|
||||
## Never broadcast hidden room votes
|
||||
Room table updates are delivered as synchronous WebSocket state payloads without polling or Inertia reloads. Before a round is revealed, broadcast only has_voted and keep every player's vote null; actual vote values may enter the shared payload only after reveal. State-changing commands remain server-authorized HTTP requests.
|
||||
Reference in New Issue
Block a user