DESIGN.md: plan status after steps 1-6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f00f36b598
commit
1199fafcf9
1 changed files with 28 additions and 26 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Table Tarot (repo: TableTower) — Status and Plan
|
# Table Tarot (repo: TableTower) — Status and Plan
|
||||||
|
|
||||||
**Engine:** Godot 4.7.2 (GDScript) · **Started:** 2026-11-08 · **Last updated:** 2026-11-10
|
**Engine:** Godot 4.7.2 (GDScript) · **Started:** 2026-11-08 · **Last updated:** 2026-11-10 (plan steps 1–6 done on `tarot`)
|
||||||
|
|
||||||
The short page to read at the start of every session. Everything else is read only when needed:
|
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.
|
- `docs/ARCHITECTURE.md`: feature summary, file map, key implementation facts, data/storage, known gaps.
|
||||||
|
|
@ -32,32 +32,34 @@ The Collection *card kind* needs a new UI name (not "List", not "Collection"); u
|
||||||
Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminology".
|
Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminology".
|
||||||
|
|
||||||
## 3. Plan (agreed 2026-11-10, in order)
|
## 3. Plan (agreed 2026-11-10, in order)
|
||||||
1. **Theme system first.** `Style` constants become a runtime theme (tokens + gradients), so
|
Work is on branch `tarot` (not merged yet). Done items say so; details in `git log`.
|
||||||
per-card/per-thread colours are overrides of the same tokens. Options menu theme editor:
|
1. **Theme system: done.** `Style` colours are static-var tokens named by role; `ThemeStore`
|
||||||
colours (cards, threads, background, panels, text…), gradients for large areas, font, logo,
|
applies sets (built-ins in `BuiltinThemes`: Tarot default, Felt), saves user sets in
|
||||||
background pattern; save themes as sets. Ship two: **Tarot** (default: dark jewel-tone purple
|
`user://themes/`; View ▾ → Theme… (`ThemeDialog`, `FillEditor` for gradients). Applying
|
||||||
cloth with a faint gradient shine, colours from `assets/art/fortune_teller.svg` and
|
reloads the scene (`ThemeStore.carry_board` keeps the open spread). Per-card
|
||||||
`assets/ui/frame_*.svg`) and **Felt** (inspired by the current green/copper look).
|
(`RollTable.color`) and per-thread (`TableEntry.pipe_color`) colours via `ColorChoice` and
|
||||||
2. **Rename and reskin.** Table Tarot text, mascot/logo/icon `assets/art/fortune_teller.svg`,
|
right-click Colour ▸. **Not done:** font choice (only Atkinson + Rokkitt are bundled; add
|
||||||
scaling card borders from `assets/ui/frame_border.svg` + `frame_corner.svg`. Magical particles
|
OFL fonts first), card/thread art per theme beyond the frame on/off.
|
||||||
on the thread glow and the selected-result glow (CPUParticles2D for mobile). Thread string art
|
2. **Rename and reskin: done.** UI text only (code names, JSON keys and the project's internal
|
||||||
comes later (user hasn't drawn it).
|
name, so `user://`, unchanged). Logo `assets/art/fortune_teller_logo.svg` (the art minus its
|
||||||
3. **Board interaction.** Remove the drag walls. Empty-space drag = selection box (groups can be
|
background square), app icon = mascot. `CardFrame` draws the beaded border (shader recolours
|
||||||
box-selected and moved together even if not groupable). Pan = middle-drag, Space+drag
|
to TRIM or the card colour). `Sparkles` (CPU particles) on the thread pulse and on landing
|
||||||
fallback, two fingers on touch. Cards resizable in width and height (results scroll inside).
|
results. Thread string art: waiting on the user's drawings.
|
||||||
4. **One menu system.** Right-click menus for cards, threads and background (create card/group,
|
3. **Board interaction: done** except two-finger touch pan (do with mobile). No walls; Build
|
||||||
search, shuffle all, list view, Book…), shared with the card ⋯ menu, mobile long-press, and a
|
drag on empty = selection box (Ctrl/Shift adds); middle-drag / Space+drag pans (Play: plain
|
||||||
top-bar menu button (keep a visible button: more intuitive than right-click for some).
|
drag pans too); `MainSelection` box-selects groups and drags the whole selection; `CardGrip`
|
||||||
Zoomed-out Build: names become tooltips, only drag + right-click; Play: click rolls.
|
resizes cards (`RollTable.width`, `list_height`).
|
||||||
5. **Small UI items.** Tray chips show the source card name clearly (bold/contrast). Inspector
|
4. **One menu system: done.** `Actions` builds card/thread/group/background menus for
|
||||||
lists threads in (from where) and out (to where). Range low > high: warning + disabled roll,
|
right-click, the ⋯ buttons and the top bar's ☰. Below 45% zoom `CardShield` covers cards
|
||||||
no auto-fix. Template "Update template" (edit existing). Export menu: odd formats under
|
(name tooltip, drag, right-click, Play click rolls). Long-press on touch: with mobile.
|
||||||
"Other formats…". Test board explains "lint".
|
5. **Small UI items: done.** Bold chip sources, Threads in/out in the inspector
|
||||||
6. **Deck mode.** Rename; show drawn-out options on the card; surface Reshuffle-vs-Stop (exists:
|
(`InspectorThreads`), backwards ranges warn and block rolling, template Replace and Edit…,
|
||||||
RollTable "When the deck runs out"); Stop gives a custom result (default
|
Other formats submenu, plain Test spread hints.
|
||||||
"Empty"); Shuffle all (menu + right-click).
|
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
|
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).
|
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),
|
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,
|
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
|
updates everywhere; "unlink"). Same linking mechanism as linked templates. Stored in the spread
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue