Docs: Build UX round status and module map

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
RobinFiredrake 2026-11-15 12:50:39 -06:00
parent f2cd982e43
commit bf031f857c
2 changed files with 38 additions and 4 deletions

View file

@ -234,6 +234,23 @@ Each original file keeps one-line delegators, so callers are unchanged.
switcher's menu items run Callables (`CollectionSwitcher._calls`, id = index).
- **Timing:** `tests/perf_roll.gd` (not in the suite).
## 3g. Modules added 2026-11-15 (Build UX round)
- **Ranged cards:** `core/range_weights.gd` (Weights vs Ranges editing: `reflow`, `to_weights` turns
gaps into empty results, `sort_rows` = auto-sort, `total_problem`). `RollTable.ranged` keeps an
empty card ranged; `range_edit` ("ranges" for older files) and `auto_sort` are saved.
- **Inspector as one list:** `ui/inspector_list.gd` (sections for the card and each result; only
open ones build; `activate` points `selection`/`fields`/`effects` at the section clicked in),
`ui/inspector_range.gd` (a result's weight, range and position).
- **Dock tabs:** `ui/side_tabs.gd` (Build: Inspector | Lore Index; `BookPanel` is the Lore Index).
- **Rolling:** `ui/skip_animations.gd` (View ▾ setting); `ModalCard.animate_in` (pop-up entrance).
- **Look:** `ui/card_move_handle.gd` (Build grip on the header; `CardGrip` is the resize corner);
theme tokens `SELECTED` and `CARD_HEAD` (derived from CARD/CARD_SHADE when a theme omits it).
- **Build hint:** `ui/build_mode_hint.gd` (Play's greyed + Card, ☰ New card; `MainTopBar.toast_action`).
- **Spellcheck:** `core/spell_words.gd` (which words to check), `ui/spellcheck.gd` (Hunspell via the
Godot-Hunspell `SpellChecker` class if present; off on Android), `ui/spell_underline.gd` (wavy lines
and the right-click menu). Spread words: `TowerBoard.dictionary` ("dictionary" in the file).
`addons/hunspell/` holds the en_US dictionary; the native libraries are not in the repo yet.
## 4. Data and storage
- **Collections:** `user://collections/<id>.json`, format_version 2 (`{format_version, id,
name, tables, groups?}`). On Linux that's `~/.local/share/godot/app_userdata/TableTower/`.

View file

@ -1,7 +1,7 @@
# Table Tarot (repo: TableTower) — Status and Plan
**Engine:** Godot 4.7.2 (GDScript) · **Started:** 2026-11-08 · **Last updated:** 2026-11-14 (spread folders round 2
pushed to `main`)
**Engine:** Godot 4.7.2 (GDScript) · **Started:** 2026-11-08 · **Last updated:** 2026-11-15 (Build UX round on branch
`feature/build-ux`, not merged)
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 (§3b lists the 2026-11-10 modules), storage, known gaps.
@ -28,7 +28,7 @@ mascot, **Morgan Fortuna** ("Morgan"; they/them in any UI text, kept gender-neut
| Spread (a saved set of cards) | `TowerBoard`, `LibraryStore`, `collections/` |
| Thread | `pipes`, `PipeLayer` |
| Deck mode | `card_mode` |
| Book / Page (reusable results) | `book`, `BookPage`, `TableEntry.page` |
| Lore Index / Lore Entry (reusable results; was Book / Page) | `book`, `BookPanel`, `BookPage`, `TableEntry.page` |
| Branch / Repeat (card kinds) | `router` / `loop` |
| Ledger (card kind; "for the time being", user 2026-11-11) | variable card, `var_type: "collection"` |
Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminology".
@ -95,7 +95,24 @@ templates) is on the Theme Art Guide checklist.
**Spread folders round 2 (2026-11-14, pushed):** see §4 item 8. Hand-tested by the user: works.
**Next, likely:** the user tries spread links; new playtest reports. Older open items in §4.
**Build UX round (2026-11-15, branch `feature/build-ux`, not merged; all 50 suites pass).** From
the user's list and an approved mockup ("Workday Job Mockup" artifact,
https://claude.ai/code/artifact/2ba0bb3e-d6d1-46db-8b39-efd7e3665918). Built: View ▾ Skip
animations (+ Shift); questions animate like pauses; pop-ups fade in; ranged cards edit by
**Weights** (default for cards made ranged; gaps become empty results; total warning) or
**Ranges** (auto-sort on by default); whole rows drag; empty cards can switch Plain/Ranged;
Inspector is one list (card + each result, collapsible; spread clicks open one, hand-opened stay);
result weight/range/position in the Inspector; thicker coloured header (`CARD_HEAD`), Build move
handle, green selection glow (`SELECTED`, also on the inspected card); Play's greyed + Card and ☰
New card point to Build; Book → Lore Index / Lore Entries, a tab beside the Inspector in Build;
spellcheck (Hunspell; per-spread dictionary; off on Android). Modules: ARCHITECTURE §3g.
**Waiting on the user:** the Godot-Hunspell native libraries (prebuilt `.so/.dll/.dylib` from
github.com/brunogbrito/Godot-Hunspell, MIT) were not added: running a downloaded binary needs the
user's OK (or we build the Linux one from source; Windows needs mingw or MSVC). Until then
spellcheck stays off. Exports will also need `addons/hunspell/dictionaries/*` in `include_filter`
(export_presets.cfg holds uncommitted user edits: ask first). Not hand-tested yet.
**Next, likely:** the user hand-tests the Build UX branch; spread links; new playtest reports.
## 3b. Theme slots plan (2026-11-11, user-approved order)
Mockups: "Morgan's Wardrobe" artifact (https://claude.ai/code/artifact/136b4ce8-1ef7-47ca-a39a-a75eb34d64b7):