Review R4, the wiki and threads: room on an article, the party's history, the missing chapters, unread posts (#1020) #1022
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/1020-wiki-article-party"
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?
Part of #1020, the owner's 1 October review. Four items, in their words.
"Player view needs a little extra buffer at the top of the article… The GM's view also needs some buffer." (l8-article)
The Read / Talk / History tab strip had
margin-bottom: 0and nothing gave the Read tab space under it; the drawing has--sp-4. The Read tab now has that gap (16px), for a player and a GM at every width, and History's empty line gets it too. Talk already had it."The history of XP and gold can be truncated, with only the current numbers shown and maybe a small history link that pops up a full history." (l8-party)
The party page shows the XP and gold figures with a small History button beside each; the entries are in an ordinary modal ("XP history" / "Gold history"), newest first, with a GM's Remove and Undo working inside it. Award XP and Add gold stay on the page. No button when there is no history. Loot is untouched. Drawn in
lane6d.html; catalogue row IS-480."I'm noticing some categories seem to be missing in the wiki." (l8-audience)
"Pages are IDs so I can't navigate to a page I don't know the ID of as a player": nothing to build. The review item asked for something a player cannot do. What a player gets at an unshared page's address is covered by
test_the_not_shared_answer_says_nothing_about_the_pageandArticle.test.jsx("says the page isn't shared, and nothing else about it")."I didn't see any indicator of which posts were unread." (l7-thread)
There was none: the thread page had no unread flag, and the API marked the thread read as it built the view. Now:
GET /api/discussions/{id}returnsis_newon each post andread_throughon the thread, worked out against the reader's position before it advances (additive).lane6.html; catalogue row IS-481.Found on the way
A page that reaches a player only as a handout (#916) logged a console error: the page's map-markers request was refused although the page itself opened.
GET …/lore/{id}/markersnow answers for a reader the page is revealed to (with the markers they may see, usually none); a page neither visible nor revealed is still a 404.Checked
4cb2656d); eslint 0 errors, ruff 0.4.4 clean. After the small follow-ups and merging main: the touched vitest files (42 passed), the handout and maps tests (39 passed), discussions, level-waiting and notifications (159 passed); everycoverage/lane*.py, the changelog check and the single migration head pass.🤖 Generated with Claude Code