From 540f995e2b282c8fab32f14fc17f4eaede8c34b0 Mon Sep 17 00:00:00 2001 From: RobinFiredrake Date: Mon, 9 Nov 2026 10:01:21 -0600 Subject: [PATCH] DESIGN.md: open items after the roll-modifier merge Co-Authored-By: Claude Opus 5.5 --- docs/DESIGN.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/DESIGN.md b/docs/DESIGN.md index e983b69..7f49ad1 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -21,11 +21,15 @@ stand, and what's next. - **Needed from the user:** that exact username, plus an API token (repository read/write and user read, passed as `FORGEJO_TOKEN`), or they do it in the web UI themselves. - Don't go looking for stored credentials. -- **Hands-on playtest of roll modifiers and the resizable panels** (branch `roll-modifier`): - build a 1d20 + Luck table from −3 to 24 in the inspector, watch the chances move as Luck changes, - drag the tray and inspector edges. Only headless tests and screenshots have checked them. -- **Hands-on playtest** of the split/renamed build. The user had a first look after the file - splits ("looking fine so far"), but the terminology pass hasn't been tried by hand. +- **Hands-on playtest, then fix what feels wrong.** On `main` and not yet tried by hand: + - Roll modifiers: build a 1d20 + Luck table from −3 to 24 in the inspector, check that the + chances move as Luck changes, roll it, and read Why this?. + - The resizable tray and inspector: drag both edges, double-click to reset, restart the app to + check the sizes are kept, and fill Earlier with long rolls to check it scrolls. + - The terminology pass (the file splits had a first look: "looking fine so far"). +- **Suggested next: a size audit of `core/describe.gd`** (731 lines, now the largest file). Split + it by area (labels, effects/conditions, cards, why) with one-line delegators, as for main.gd. + The other files over ~530 lines are listed in §3 under "Keep files small". - **Stale worktree.** `.claude/worktrees/agent-aa27e470dd86ce971` (branch `split-table-card`) stayed locked by a finished agent. Its work is merged, so run `git worktree remove -f -f` on it, then delete the branch. @@ -371,7 +375,7 @@ templates/ built-in templates · examples/logic_demo.json (original demo board) - "result" and "change" replace "entry", "row" and "effect" in UI text. - Pipes are deleted, not removed; `reset` reads "Reset". -**2026-11-09: roll modifiers and resizable panels** (branch `roll-modifier`) +**2026-11-09: roll modifiers and resizable panels** (merged to `main` as 3391388) 11. Roll modifiers: `dice_mod` on ranged roll tables, results past the dice, the end results taking totals past the ends, live chances, plain wording and Why lines. The range and chance code moved from roll_table.gd into `RollRange`. The shared ModifierEditor serves roll and check