From 37f32076be65d10abd25d3afe7cc3a1ecc07a31a Mon Sep 17 00:00:00 2001 From: RobinFiredrake Date: Wed, 11 Nov 2026 08:23:42 -0600 Subject: [PATCH] Docs: fonts, deck reveal, entry handles, open items Co-Authored-By: Claude Opus 5.5 --- docs/ARCHITECTURE.md | 9 +++++++-- docs/DESIGN.md | 20 +++++++++++--------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 965a7b7..8c5942e 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -142,6 +142,11 @@ templates/ built-in templates · examples/logic_demo.json (original demo board) ## 3b. Modules added 2026-11-10 - **Theme:** `ui/style.gd` (tokens, `fill_texture`, `panel_box`), `ui/theme_store.gd`, `ui/builtin_themes.gd`, `ui/theme_dialog.gd`, `ui/fill_editor.gd`, `ui/color_choice.gd`. + Fonts (2026-11-11): `ui/font_catalog.gd` lists the 13 bundled families (assets/fonts, licences + beside them) and builds faces; `Style.set_fonts` follows the theme's `font_body`/`font_display`. +- **2026-11-11:** `ui/deck_reveal.gd` (Deck mode: an animated roll's draws fade only when shown), + `ui/entry_handle.gd` (Build: drag handle to reorder results; `TableCardEditing.move_entry` + keeps ranges in place). PortLayer hides thread nodes under a card stacked above theirs. - **Card visuals and input:** `ui/card_frame.gd` (border + shader), `ui/card_grip.gd` (resize), `ui/card_shield.gd` (zoomed out), `ui/sparkles.gd`; TableCard helpers `table_card_skin/input/ geometry/list/kind_rows.gd` (next to header/rows/editing/value/text). @@ -195,8 +200,8 @@ templates/ built-in templates · examples/logic_demo.json (original demo board) - The Why pop-over opens above the tray and can cover the bottom of the board. - Not tried by hand yet: all of this was verified with headless tests and screenshots only. A hands-on playtest with a checklist is overdue. -- The Linux export preset exists, but the 4.7.2 export templates aren't installed. They're a - large download and the user hasn't approved it. There are no Windows or Mac presets. +- Linux and Windows export presets exist (both include `templates/*.json, help/*.txt`); no Mac + or Android preset yet. Both presets also pack `tests/` (harmless; could be excluded). - Loading a big board with every group expanded takes about 5 s (building `TableCard` nodes). - Group frames are rectangles, so a non-member card lying inside one looks like a member. Pipes into a collapsed group can't be clicked. diff --git a/docs/DESIGN.md b/docs/DESIGN.md index 6949d03..5b2be49 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -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 (the +**Engine:** Godot 4.7.2 (GDScript) · **Started:** 2026-11-08 · **Last updated:** 2026-11-11 (the 2026-11-10 plan and the book-tables features are finished and on `main`) The short page to read at the start of every session. Everything else is read only when needed: @@ -52,23 +52,25 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol Stage II (pp. 62–78: surface features, resource details, lifeforms) is not built yet; the user hasn't opened the spread in the app yet (only headless runs and one screenshot). +- **2026-11-11 (branch `fonts-and-fixes`):** 13 theme fonts with text/title pickers; Deck mode fade + waits for the animation; thread nodes hidden under higher cards; drag handles reorder results. + Reroll rule settled by the thread option "Roll again if it comes up". + **Next, likely:** the user's feedback on the Perilous Void spread; Stage II of it; a size audit (§4). ## 4. Open items **Waiting on the user** - Android: export templates are installed (checksum verified); the Android SDK (build-tools, platform-tools) is not. Ask before downloading. No Android preset yet. -- Fonts: the theme editor has no font choice until more OFL fonts are bundled. -- A UI name for the Collection card kind. -- Reroll rule: probably settled by the thread option "Roll again if it comes up" (a reroll thread - can skip its own result). Confirm with the user. +- A UI name for the Collection card kind (suggested 2026-11-11: Roster, Family, Ledger/Tally). +- Group frames: a non-member card inside a frame looks like a member. Options given 2026-11-11 + (push it out, hug the members, member colour band, dim the frame); waiting on the user's pick. - Thread string art (the user will draw it), then use it like `CardFrame` does for cards. - Repo privacy on Forgejo: needs Niles/sock's username and a token from the user. **Known, not urgent** -- `export_presets.cfg` has the user's uncommitted edits (a Windows preset). Its `include_filter` - is empty, so Windows builds lack `help/*.txt` and `templates/*.json` (the Linux preset has them). - Tell the user rather than editing their file. +- `export_presets.cfg` has the user's uncommitted Windows preset; its `include_filter` now matches + Linux (fixed 2026-11-11 at the user's request, still uncommitted with their edits). - Over ~400 lines: inspector_card (593), board_tester (505), main_cli, builder (499), expr (520), roller, tower_board, group_card, main_rolling (417), describe (408), inspector (407). A size audit is due. (roll_table was split: RollTableIO.) @@ -80,7 +82,7 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol ## 5. Working on it - **Godot:** `~/apps/Godot_v4.7.2-stable_linux.x86_64`. New `class_name` files need `godot --headless --path . --import` (the test runner does this). -- **Tests:** `tools/run_tests.sh [filter]`: 36 suites in parallel, ~35 s. One line per suite; a +- **Tests:** `tools/run_tests.sh [filter]`: 41 suites in parallel, ~35 s. One line per suite; a failing suite prints 8 lines; a compile error shared by many suites prints once. Suites extend `TestBase` (`tests/testbase.gd`, named so the `test_*.gd` glob skips it): `start_main()`, `require_sample()`, `_check`, `_eq`, `_frames`, `finish()`.