fix(webapp): This week counts players, not the GM, in "Are you in?" (#1202) #1204

Merged
claude-bot merged 2 commits from fix/1202-this-week-answered-count into main 2026-10-17 07:13:13 +00:00
Collaborator

Fixes #1202.

This week's "Are you in?" line counted the GM. The session page was fixed in 4.5.1 (#1176), but only for its own layout. Both now count through one helper, answeredLine in components/session/roster.js, so they can't drift apart:

  • "4 of 5 players have answered" when some players have answered;
  • "No players have answered yet" when none has, even if the GM has;
  • nothing at all when there are no players.

One side effect: the session page now says "No players have answered yet" where it used to say "0 of 4 players have answered".

Tests: vitest on This week, components/session and pages/session (600 passed) on docker-test; eslint has 0 errors; the version sync and changelog checks pass.

🤖 Generated with Claude Code

Fixes #1202. This week's "Are you in?" line counted the GM. The session page was fixed in 4.5.1 (#1176), but only for its own layout. Both now count through one helper, `answeredLine` in `components/session/roster.js`, so they can't drift apart: - "4 of 5 players have answered" when some players have answered; - "No players have answered yet" when none has, even if the GM has; - nothing at all when there are no players. One side effect: the session page now says "No players have answered yet" where it used to say "0 of 4 players have answered". Tests: vitest on This week, `components/session` and `pages/session` (600 passed) on docker-test; eslint has 0 errors; the version sync and changelog checks pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(webapp): This week counts players only in the answered line, through one shared helper (#1202)
Some checks failed
CI / Backend lint (ruff) (pull_request) Successful in 26s
CI / Which journeys does this change need? (pull_request) Successful in 29s
CI / Does this change touch the recording path? (pull_request) Successful in 31s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Feedback site tests (pull_request) Successful in 42s
CI / Bot/backend version sync (pull_request) Successful in 57s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 59s
CI / Docker image build (pull_request) Successful in 1m36s
CI / Bot tests and audit (pull_request) Successful in 1m59s
CI / Frontend (shard 2/2) (pull_request) Successful in 7m19s
CI / Frontend (shard 1/2) (pull_request) Successful in 8m44s
CI / End-to-end journeys (desktop) (desktop) (pull_request) Failing after 21m23s
CI / Backend migration, tests, and audit (pull_request) Has been cancelled
96e30675ca
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude-bot scheduled this pull request to auto merge when all checks succeed 2026-10-17 06:07:29 +00:00
test(e2e): J1 reads the players-only count (#1202)
All checks were successful
CI / Backend lint (ruff) (pull_request) Successful in 36s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 1m7s
CI / Bot/backend version sync (pull_request) Successful in 26s
CI / Does this change touch the recording path? (pull_request) Successful in 24s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Which journeys does this change need? (pull_request) Successful in 24s
CI / Feedback site tests (pull_request) Successful in 1m26s
CI / Bot tests and audit (pull_request) Successful in 2m20s
CI / Docker image build (pull_request) Successful in 5m37s
CI / Frontend (shard 2/2) (pull_request) Successful in 9m47s
CI / Frontend (shard 1/2) (pull_request) Successful in 11m29s
CI / End-to-end journeys (phone) (phone) (pull_request) Successful in 13m2s
CI / End-to-end journeys (desktop) (desktop) (pull_request) Successful in 14m37s
CI / End-to-end journeys (keyboard) (keyboard) (pull_request) Successful in 18m6s
CI / Backend migration, tests, and audit (pull_request) Successful in 37m36s
c3ca689688
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.