Lane 8 page P2: an article, History, More, Recent changes, Deleted (#734) #905
Loading…
Reference in a new issue
No description provided.
Delete branch "build/lane8-p2-article"
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 #734 (lane 8). Frontend only, on main. Every endpoint it uses already existed.
What it builds
pages/wiki/Article.jsx):WikiText, which never filters; the server already did;?as_user=view, never a client filter;alert()delete (WK-049).POST …/versions/{id}/restore. A player's restore is her own merged save./wiki/:entryId,/history,/wiki/recentand/wiki/deleted./wiki/:entryId/editkeeps the old editor until P3.WikiArticle.jsx. It's now edit-only, and still carries relationship and owner editing, so GMs lose nothing before P3.[[wanted]]link's "new page" address is scoped to the campaign.Render check (real stack, as Dana and Priya)
:::gmblock and a:::partyblock. Priya had an active character, created with the product's own endpoint as a GM.CampaignCharacter, so she's outside "the party" until one is made. The journeys that assert party content will need that in the seed.Departures (for P3 and later)
:::for.Checks
coverage/lane6b.py: unclassified: none.🤖 Generated with Claude Code
WIKI-3, WIKI-5, WIKI-6, WIKI-17 and WIKI-18: a new src/pages/wiki/Article.jsx renders a page's body through P1's WikiText (never filtering client-side — the server already did), with "See it as" (?as_user=), W3's "This page isn't shared with you" screen, relationships, appearances, mentioned-in, references and a timeline. History.jsx restores through the server's own POST .../versions/{id}/restore, replacing the old page's plain PATCH, which was never called. ArticleMore.jsx is the article's ⋯ More menu (shelf, LLM drafts, convert stats, merge, delete with an undo). Recent.jsx and Deleted.jsx round out the wiki's remaining P1/P2 surfaces. The read half of WikiArticle.jsx is deleted; its edit half stays at /wiki/:entryId/edit until PR 3 rebuilds the editor. Lane 7's Read/Talk/History tab bar is kept, with History now a plain link to its own page. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>