fix(webapp): a GM's stars and wishes, downtime edits and totals, and the last handout test (#122, #123, #124) #1210

Merged
claude-bot merged 1 commit from fix/122-124-leftovers into main 2026-10-17 09:04:13 +00:00
Collaborator

Closes the gaps left in #122, #123 and #124, which the redesign had otherwise built.

  • #122: the GM's Review tab gains a "Stars and wishes" section, using the existing GM endpoint. A name appears only where the player signed. When attendance is recorded (any attended=true row), only the players who attended are prompted and DMed. Without attendance, everyone is asked, as before.
  • #124: the party page's Downtime section gains:
    • edit, delete with Undo, and "Save and approve" for the GM;
    • edit and delete for a player's own pending entries;
    • "Days since Session N" per character, built from the server's totals, which now count approved days only, with pending days shown separately as "(+N waiting)". That is a change: the old sum included pending entries.
  • #123: a test that a reveal to the whole table publishes exactly one bot event.

Tests on docker-test:

  • backend: 121 passed;
  • Party, ReviewView and ReadView vitest: 138 passed, after rerunning load timeouts;
  • ruff, eslint (0 errors), version sync and the changelog check: clean.

search.test.js, auth.test.js and WhoWasThere.test.jsx timed out under load and were not rerun. This PR's CI run covers them.

🤖 Generated with Claude Code

Closes the gaps left in #122, #123 and #124, which the redesign had otherwise built. - **#122:** the GM's Review tab gains a "Stars and wishes" section, using the existing GM endpoint. A name appears only where the player signed. When attendance is recorded (any `attended=true` row), only the players who attended are prompted and DMed. Without attendance, everyone is asked, as before. - **#124:** the party page's Downtime section gains: - edit, delete with Undo, and "Save and approve" for the GM; - edit and delete for a player's own pending entries; - "Days since Session N" per character, built from the server's totals, which now count approved days only, with pending days shown separately as "(+N waiting)". That is a change: the old sum included pending entries. - **#123:** a test that a reveal to the whole table publishes exactly one bot event. Tests on docker-test: - backend: 121 passed; - Party, ReviewView and ReadView vitest: 138 passed, after rerunning load timeouts; - ruff, eslint (0 errors), version sync and the changelog check: clean. `search.test.js`, `auth.test.js` and `WhoWasThere.test.jsx` timed out under load and were not rerun. This PR's CI run covers them. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat: close the #122/#123/#124 leftovers (GM stars and wishes, attendance-only ask, downtime edit/undo, per-gap totals)
All checks were successful
CI / Does this change touch the recording path? (pull_request) Successful in 11s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 54s
CI / Which journeys does this change need? (pull_request) Successful in 11s
CI / Bot/backend version sync (pull_request) Successful in 1m21s
CI / Backend lint (ruff) (pull_request) Successful in 1m23s
CI / Feedback site tests (pull_request) Successful in 1m24s
CI / Bot tests and audit (pull_request) Successful in 2m5s
CI / Docker image build (pull_request) Successful in 6m7s
CI / Frontend (shard 2/2) (pull_request) Successful in 11m5s
CI / Frontend (shard 1/2) (pull_request) Successful in 13m40s
CI / End-to-end journeys (desktop) (desktop) (pull_request) Successful in 20m29s
CI / Backend migration, tests, and audit (pull_request) Successful in 39m15s
cb00897fd1
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 08:24:50 +00:00
Sign in to join this conversation.
No description provided.