Skip to content

Add room support for multi-session pointing poker#2

Open
rdlucas2 wants to merge 1 commit into
mainfrom
feature/rooms
Open

Add room support for multi-session pointing poker#2
rdlucas2 wants to merge 1 commit into
mainfrom
feature/rooms

Conversation

@rdlucas2

Copy link
Copy Markdown
Owner

Summary

  • Add normalized DB schema with rooms, room_players (junction table), and room-scoped stories tables with foreign keys
  • Users must provide both a name and room ID on the home page; missing either redirects back to /
  • SSE broadcasts are now scoped per-room — players only receive events from their own room
  • Timer and points visibility state are per-room instead of global

Test plan

  • Delete existing pointing.db before running (schema changed)
  • Verify home page requires both name and room ID fields
  • Join the same room from two browsers and confirm SSE events sync between them
  • Join different rooms from two browsers and confirm events are isolated
  • Verify duplicate names are rejected within the same room but allowed across rooms
  • Test clear, show/hide, observer toggle, and timer reset work per-room

🤖 Generated with Claude Code

Users must now provide both a name and room ID to join a session.
Missing either redirects to the home page. Each room has its own
story, player list, visibility state, timer, and SSE broadcast
channel. DB normalized into rooms, players, room_players (junction),
and room-scoped stories tables with foreign keys.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant