feat(wiki): a draft says the page's GM-only text is kept (#1195) #1198

Merged
claude-bot merged 1 commit from fix/1195-gm-text-kept into main 2026-10-14 20:54:33 +00:00
Collaborator

This is the second half of #1195. A wiki draft is the table's view of the page: the server leaves GM-only blocks out of it and puts each back on approve, but the screen never said so, and a GM-only note looked dropped.

When the page has a :::gm block, the draft now shows one line under its heading. The wording is the owner's, approved on the Wording Review page as row e-001:

Your GM-only text isn't shown here. It stays on the page when you approve.

Players' suggestions don't show it.

Tests in Draft.test.jsx:

  • the line shows for a page with GM-only text, and not for a page without;
  • hasGmText covers a block at the start or later in the page, a :::gm mentioned mid-line (no), an empty page and a missing one.

On docker-test, eslint is clean on both files and all 38 tests in Draft.test.jsx pass.

🤖 Generated with Claude Code

This is the second half of #1195. A wiki draft is the table's view of the page: the server leaves GM-only blocks out of it and puts each back on approve, but the screen never said so, and a GM-only note looked dropped. When the page has a `:::gm` block, the draft now shows one line under its heading. The wording is the owner's, approved on the Wording Review page as row e-001: > Your GM-only text isn't shown here. It stays on the page when you approve. Players' suggestions don't show it. Tests in `Draft.test.jsx`: - the line shows for a page with GM-only text, and not for a page without; - `hasGmText` covers a block at the start or later in the page, a `:::gm` mentioned mid-line (no), an empty page and a missing one. On docker-test, eslint is clean on both files and all 38 tests in `Draft.test.jsx` pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(wiki): a draft says the page's GM-only text is kept (#1195)
All checks were successful
CI / Backend lint (ruff) (pull_request) Successful in 38s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 55s
CI / Bot/backend version sync (pull_request) Successful in 26s
CI / Feedback site tests (pull_request) Successful in 50s
CI / Docker image build (pull_request) Successful in 26s
CI / Does this change touch the recording path? (pull_request) Successful in 19s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Bot tests and audit (pull_request) Successful in 2m4s
CI / Which journeys does this change need? (pull_request) Successful in 26s
CI / Frontend (shard 2/2) (pull_request) Successful in 7m37s
CI / Frontend (shard 1/2) (pull_request) Successful in 9m7s
CI / End-to-end journeys (desktop) (desktop) (pull_request) Successful in 14m21s
CI / Backend migration, tests, and audit (pull_request) Successful in 28m22s
8b7bafe069
The owner's wording, approved on the Wording Review page (e-001).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude-bot deleted branch fix/1195-gm-text-kept 2026-10-14 20:54:34 +00:00
Sign in to join this conversation.
No description provided.