Commit Graph
59 Commits
Author SHA1 Message Date
tim.mccarthyandClaude Fable 5 683c60fff9 Serve the rulebook as a static HTML page from FastAPI
Replace the SPA Rules route with a self-contained src/pirats/rules.html
served at GET /rules (registered before the SPA mount, included in
package data for the Nix build). Plain anchor links replace the
scrollIntoView workaround since there's no hash router to fight. The
corner Rules link and splash-page link now point at /rules, and the
Vite dev server proxies /rules to the backend like /api.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 01:35:04 -07:00
tim.mccarthyandClaude Fable 5 69e7d24e10 Add HTML rulebook page with always-available Rules link
New /#/rules route renders the full rulebook transcribed from
"Rats with Gats beta.pdf" (intro, character creation, gameplay,
obstacle charts, challenge resolution, example of play, and setting
info), with an in-page table of contents. A fixed corner link in
App.svelte opens it in a new tab from every page, and the splash
page's previously broken /rules link now points at the new route.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 01:30:00 -07:00
tim.mccarthyandClaude Fable 5 ed7900656d Replace copy-link alert() with inline button feedback
The lobby Copy buttons now flip to a transient "✓ Copied" label instead
of popping a modal alert, matching the admin page's copy buttons.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 01:18:48 -07:00
tim.mccarthyandClaude Fable 5 bc867c95a1 Add player re-join links to admin page
Each player row now has Open/Copy actions for their dashboard link, so
the creator can recover access for players who lose their URL.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 01:17:30 -07:00
tim.mccarthy 3a00774b50 Fable will fix it! Pt 3 2026-06-12 01:13:11 -07:00
tim.mccarthy a074ff77b1 Fable will fix it! Pt 2 2026-06-11 21:32:00 -07:00
tim.mccarthy a7cab7bcb6 Better technique suggestions 2026-06-11 15:59:52 -07:00
tim.mccarthy 443acd8400 Fable will fix it! 2026-06-11 15:57:08 -07:00
tim.mccarthy 58a7e4d4f1 Switch to Svelte 2026-06-11 14:39:41 -07:00