Lane 11 PR 12: the stat block on its page — Show the table, Take it back, Make a block, the block card at the table (#737) #982

Merged
claude-bot merged 15 commits from build/lane11-12-block into main 2026-09-30 21:00:44 +00:00
Collaborator

Lane 11 PR 12 (#737): the stat block drawn on its wiki page, and the table's card of it.

What it adds

  • The block on its page, for the GM (lines marked GM-only with a crossed-eye icon, not colour alone) and for the party (only what has been shown).
  • Show the table… picks groups of lines to show. It is shown at the table now, or on the page from now on when no session is being played. Take it back undoes it. The dialog's footer stays in view while its list scrolls.
  • Make a block, and the rule card's resources (routes #15–#19). Migration 11d4e5f6a7b8 adds shelf_reveals.kind and follows 11c3d4e5f6a7 (PR 8).
  • The block card on the board. It shows the level and traits, then the hit points and conditions at its default size; the rest sits behind Show more. A showing made from the page reads as shown on the card, on the stage, in the shelf's count and in the Shown panel. A repeat show adds no second showing.
  • Figures a condition moved say so: "AC 17 … (frightened −2)".
  • PF2e action costs print as ◆ ◇ ↺ glyphs, named for screen readers, on the block and in the sheet's tables.

Render-check fixes (390×844 coarse and 1440, both themes, e2e stack):

  • The level is right-aligned in the block heading.
  • The 390 action row no longer staggers.
  • The sheet's plain rows tables (a creature's strikes) scroll inside their card.
  • The phone search popover stays on screen.
  • The card's hot buttons have an edge.
  • The article no longer 404s on GET /draft: the page now carries has_draft.

The final re-render had no page overflow, no non-2xx API calls and no console errors. A party member sees exactly the shown lines. Per D252, a member with no character is outside the party.

Tests: backend tests/sheets and the related modules 757/757; vitest for sheet, table, wiki and ui 837/837 after merging main; ruff 0.4.4 clean.

🤖 Generated with Claude Code

Lane 11 PR 12 (#737): the stat block drawn on its wiki page, and the table's card of it. **What it adds** - The block on its page, for the GM (lines marked GM-only with a crossed-eye icon, not colour alone) and for the party (only what has been shown). - **Show the table…** picks groups of lines to show. It is shown at the table now, or on the page from now on when no session is being played. **Take it back** undoes it. The dialog's footer stays in view while its list scrolls. - **Make a block**, and the rule card's resources (routes #15–#19). Migration `11d4e5f6a7b8` adds `shelf_reveals.kind` and follows `11c3d4e5f6a7` (PR 8). - **The block card on the board.** It shows the level and traits, then the hit points and conditions at its default size; the rest sits behind Show more. A showing made from the page reads as shown on the card, on the stage, in the shelf's count and in the Shown panel. A repeat show adds no second showing. - Figures a condition moved say so: "AC 17 … (frightened −2)". - PF2e action costs print as ◆ ◇ ↺ glyphs, named for screen readers, on the block and in the sheet's tables. **Render-check fixes** (390×844 coarse and 1440, both themes, e2e stack): - The level is right-aligned in the block heading. - The 390 action row no longer staggers. - The sheet's plain rows tables (a creature's strikes) scroll inside their card. - The phone search popover stays on screen. - The card's hot buttons have an edge. - The article no longer 404s on `GET /draft`: the page now carries `has_draft`. The final re-render had no page overflow, no non-2xx API calls and no console errors. A party member sees exactly the shown lines. Per D252, a member with no character is outside the party. **Tests:** backend `tests/sheets` and the related modules 757/757; vitest for sheet, table, wiki and ui 837/837 after merging main; ruff 0.4.4 clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A handout piece a GM calls "Stat block" still opens its page: only kind says
a reveal is a stat block's. The one-head pin moves to the reveal tests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
# Conflicts:
#	webapp/backend/app/reference/import_service.py
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Finishes the WIP commit before it: tests updated for the card that shows the
level and traits, then hit points and conditions, with the other lines behind
Show more; an unknown eslint-disable rule removed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Lane 11 PR 12: ruff 0.4.4 format
All checks were successful
CI / Bot/backend version sync (pull_request) Successful in 34s
CI / Backend lint (ruff) (pull_request) Successful in 36s
CI / Docker image build (pull_request) Successful in 38s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Does this change touch the recording path? (pull_request) Successful in 39s
CI / Feedback site tests (pull_request) Successful in 52s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 2m38s
CI / Bot tests and audit (pull_request) Successful in 4m15s
CI / End-to-end journeys (phone) (pull_request) Successful in 7m11s
CI / End-to-end journeys (keyboard) (pull_request) Successful in 7m40s
CI / End-to-end journeys (desktop) (pull_request) Successful in 7m46s
CI / Frontend (shard 2/2) (pull_request) Successful in 15m25s
CI / Frontend (shard 1/2) (pull_request) Successful in 21m6s
CI / Backend migration, tests, and audit (pull_request) Successful in 40m29s
2cf1a2cff2
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.