Skip to content

Order poker roster, expand distribution cards, add coffee break - #41

Draft
malpou wants to merge 1 commit into
mainfrom
poker-roster-order-and-coffee-break
Draft

Order poker roster, expand distribution cards, add coffee break#41
malpou wants to merge 1 commit into
mainfrom
poker-roster-order-and-coffee-break

Conversation

@malpou

@malpou malpou commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Three planning-poker changes.

Deterministic roster order. Seats sorted A–Z by name (id breaks ties) instead of whatever order the rows came back in, so the list stops jumping between polls. In the revealed phase it re-sorts by the card each seat played — low to high, specials after the numerals, seats with no card last — so the spread reads straight off the roster.

Expandable distribution cards. Each stack under the agreement signal is a native <details>: card + ×count as the summary, the voters' names beneath. No JS, works on touch and keyboard. The landing-page demo passes its four seats through too.

Coffee break, any time. New break_called_by column (migration 0015) plus a break command that any token can send in any phase — the ☕ card only reaches the table during a voting round, and a break is a human signal, not a control action. Anyone can call it, anyone can end it; opening the next item or closing the room clears it. Advisory: it blocks nothing.

Deploy note: migration 0015_poker_break.sql needs applying to remote D1.

Spec, colocated Playwright tests and DESIGN.md updated in the same change: new "Call a coffee break" requirement, amended roster-order requirement, 4 new e2e tests, 2 new unit tests. Full suite green (242 e2e, 143 unit).

- roster sorts A-Z, and by card low-to-high once revealed
- distribution cards expand to name who played them
- anyone can call or end a coffee break in any phase
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