feat(webapp): browse the rules, stage 2 — the rules library and Browse on a pack (#1241) #1300
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/1241-rules-library"
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?
Closes #1241. Includes the design (lane 6f, D305–D309) from #1298, which this replaces.
What it adds
/rules: everything the server's own packs hold, per game system, outside any campaign. Campaign packs are never included./admin/packs/:id/browse): that pack's records by kind, at any status. A switched-off pack says so and offers "Switch it on".openURL parameter works on the campaign Rules page too.API
GET /api/reference/libraryGET /api/admin/content-packs/{id}/browse/kinds,/browse/pageand/browse/{entry_id}(admin)campaign_id, are the library and now apply D306.No migration. The bot contract is unchanged.
Checked so far
The new wording goes on the Wording Review page before this merges.
🤖 Generated with Claude Code
Render check (journeys stack, both starters loaded)
The run: 88 shots, signed in as Dana (admin) and Priya (player), at 1280×800 and 390×844, in light and dark.
Results
open=, which loads with that row open.Fixed here: the chosen game system's button didn't look pressed. Both systems looked alike. Fixed in
2494ac38, which gives them the pack filter's pressed style.Found, but already on main, so filed separately:
**bold**,---). This comes from stage 1, and the fix covers both pages.Not seen: "Link copied". The check ran over plain http, where the browser has no clipboard, so the fallback field showed, which is correct there. Dev and prod are https.