DESIGN.md: plan status after steps 7-9; suggested audits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ef1dc846d1
commit
61395fa573
1 changed files with 23 additions and 13 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Table Tarot (repo: TableTower) — Status and Plan
|
||||
|
||||
**Engine:** Godot 4.7.2 (GDScript) · **Started:** 2026-11-08 · **Last updated:** 2026-11-10 (plan steps 1–6 done on `tarot`)
|
||||
**Engine:** Godot 4.7.2 (GDScript) · **Started:** 2026-11-08 · **Last updated:** 2026-11-10 (plan steps 1–9 done on `tarot`)
|
||||
|
||||
The short page to read at the start of every session. Everything else is read only when needed:
|
||||
- `docs/ARCHITECTURE.md`: feature summary, file map, key implementation facts, data/storage, known gaps.
|
||||
|
|
@ -57,24 +57,34 @@ Work is on branch `tarot` (not merged yet). Done items say so; details in `git l
|
|||
Other formats submenu, plain Test spread hints.
|
||||
6. **Deck mode: done.** Faded drawn results, inspector Deck mode section, Wait for Shuffle with
|
||||
an Empty result (`deck_empty_text`), Shuffle all decks.
|
||||
7. **Nested groups**, then **List view** (folders = groups; reorder; own search; thread icons with
|
||||
tooltips), then the **mobile layout** (List view default; Android export template download OK'd;
|
||||
two-finger pan, long-press menus).
|
||||
8. **Book and Pages.** Library of reusable results (name, BBCode text, details, tags, image),
|
||||
searchable, with an editor; drag a Page onto a table slot. Pages are **linked** (edit once,
|
||||
updates everywhere; "unlink"). Same linking mechanism as linked templates. Stored in the spread
|
||||
file so exports keep them. Closable; open from top bar or background right-click.
|
||||
9. **Roll features.** "Roll N times, then: keep all / add / highest / lowest / let me choose"
|
||||
(one feature; "keep all" from a card = batches). **Pause**: a thread can wait; the paused roll
|
||||
is set aside as a "Continue ▸" chip in the tray. **Costs** on choice options (greyed out with
|
||||
a reason when unaffordable). **Adjust later rolls**: plain builder over values/modifiers for
|
||||
"next roll on X gets +3 / at least Medium / results below X become Y" (engine already can).
|
||||
7. **Nested groups, List view, phone layout: done.** `TableGroup.parent` nests groups
|
||||
(`TowerBoard.tables_in/groups_in/hidden_by`); `ListView` + `ListTree` + `ListOrder` (folders =
|
||||
groups, drag to reorder/move, own search, thread counts with tooltips); `MobileLayout`
|
||||
(`--mobile` to try) and `TouchInput` (long press = right-click, two-finger pan/pinch).
|
||||
Android export templates installed (checksum verified). **Not done:** the Android SDK
|
||||
(build-tools, platform-tools) isn't installed, so no APK yet: ask the user before downloading;
|
||||
no Android preset in `export_presets.cfg` (the user has uncommitted edits there).
|
||||
8. **Book and Pages: done.** `BookPage` in the spread file (`"book"`), `TableEntry.page` links a
|
||||
result (edit the page → every copy changes; editing the result's own text unlinks). `BookPanel`
|
||||
+ `PageEditor`; drop a page on a result or a card (handled on drag end, since text fields eat
|
||||
drops). Undo covers the Book. **Not done:** images on pages (step 11).
|
||||
9. **Roll features: done.** `RollCombine` (thread "then": keep all / add / highest / lowest /
|
||||
let me choose; Roller.OP_COMBINE), `BatchRoll` (Roll several times…), pause (`pipe_pause`,
|
||||
Roller.OP_PAUSE, `RollPauses` chips with set-aside and Continue), `RollCosts` (option costs,
|
||||
greyed out when unaffordable), roll floor/ceiling (`roll_floor`, `roll_ceiling`: "adjust later
|
||||
rolls"). Open question for the user: should a "reroll" result that comes up during its own
|
||||
reroll be ignored and rolled again (common table rule)? Not implemented.
|
||||
10. **Sheets**: easier building, export as Text / Markdown / HTML (no PDF).
|
||||
11. **Images** in details/tables, embedded in the spread file (downscaled, size-capped); imported
|
||||
BBCode may only use embedded images.
|
||||
12. **Help**: document major features, hotkey cheat sheet, per-topic "Try a demo" spreads that open
|
||||
unsaved and don't appear in the spread list.
|
||||
|
||||
**Suggested size audit (files grew past ~400 lines):** inspector.gd (789; split the thread box,
|
||||
cost row and Book line into helpers), choice_dialog (698), main.gd (664), table_card (629),
|
||||
edit_history (609), describe (~760). **Suggested test audit:** 35 suites repeat the same
|
||||
boilerplate (_init/_frames/_check); a shared base would cut lines and tokens.
|
||||
|
||||
**Still open from before:** repo privacy on Forgejo (waiting on the user: Niles/sock's username +
|
||||
token); hands-on playtest; size audit of `core/describe.gd` (731 lines) and the other files over
|
||||
~530 lines (list in ARCHITECTURE.md §3); known gaps in ARCHITECTURE.md §7.
|
||||
|
|
|
|||
Loading…
Reference in a new issue