feat(wiki): a draft says the page's GM-only text is kept (#1195) #1198
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/1195-gm-text-kept"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
:::gmblock, 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:Players' suggestions don't show it.
Tests in
Draft.test.jsx:hasGmTextcovers a block at the start or later in the page, a:::gmmentioned 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.jsxpass.🤖 Generated with Claude Code