Commit graph

42 commits

Author SHA1 Message Date
07d96a68f8 Spread folders: pick from a list, nesting, keep empty folders, Recent
- Move to folder is a submenu of existing folders (+ No folder, New folder…);
  typed names match existing folders without regard to case.
- Folders nest ("Traveller/Worlds"); each folder has New spread here… and
  Rename folder….
- When the last spread leaves a folder, ask Keep / Remove it; kept empty
  folders have Remove folder.
- Recent spreads at the top of the switcher.
- List view's "folders" are called groups in the UI (+ Group).
- TestBase gets the shared _wipe helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:19:47 -06:00
f6b1f644f0 DESIGN.md: playtest fixes merged and pushed; spread links untested
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 15:31:55 -06:00
168a326002 Docs: playtest plan done; module map for the new files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 14:45:22 -06:00
a2f0d3a016 DESIGN.md: interface items done
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 14:40:23 -06:00
323e033d88 DESIGN.md: roll features done
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 14:25:21 -06:00
1162f9150d DESIGN.md: theme fixes done
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 14:00:01 -06:00
c341790d1a Roll timing tool (tests/perf_roll.gd, outside the suite)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:48:08 -06:00
ac85122541 Roll speed: skip restyling unchanged rows and cells, reuse Earlier rows
On the Perilous Void spread a fast roll's screen update took 3.4 s (the
roll logic itself ~3 ms). Every relight restyled every row and column
cell, and the Earlier tab rebuilt every history row. Now about 240 ms,
and it no longer grows with each roll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:47:03 -06:00
d9638500ba Docs: size audit batch 2 map
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:30:56 -06:00
dba3f6514e Docs: playtest findings (2026-11-14), size audit batch 1 map, Morgan bug fixed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:21:35 -06:00
5592c3d134 DESIGN.md: Morgan colour bug details, status and next steps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:48:41 -06:00
3d0ba9c6b8 Nine more built-in themes: Web 1.0 and the eight suggested (Case File, Eldritch Archive, Comic Panel, Brass & Gears, Chrome Street, Star Chart, Cartographer, Storybook)
Generated stand-in art and sounds, ten more OFL fonts, PNG tiles in the theme generator; untrack __pycache__.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:40:10 -06:00
7c6c5a4b3b DESIGN.md: Morgan colour bug report, editor preview and file pickers for later, Web 1.0 mockup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:22:02 -06:00
61a548902f Theme tiers 1-2: theme folders, mascot recolour, background scene and tile, frame sets, picture threads, sounds; nine new built-in themes
- ThemeAssets loads a theme's files; FrameSet + GradientMap (3-stop) generalise the card frame;
  ThreadStrip draws threads from a picture; BoardBackdrop draws scene and tile; MascotArt
  recolours Morgan by role (logo SVG now uses the Keep File importer); SoundBoard plays
  roll / card turn / thread / click / ambient with View > Sound levels.
- Vaporwave, Synthwave, Cozy Autumn, Rustic, Woodsy, Sky Blue, Frutiger Aero, Gothic, Terminal:
  generated art (tools/theme_art), sounds (tools/theme_sounds), settings (tools/theme_defs).
- Ten OFL fonts; --theme=<id> flag; docs/THEMES.md format spec; test_theme_assets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:05:40 -06:00
d491224949 Mascot named Morgan Fortuna; inner_line layer fixes see-through beak lines; theme tier plan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:47:45 -06:00
c009021ac3 Descriptive names rule; first fix in TableCardHeader._make_go_button
DESIGN.md §5: no one- or two-letter names (loop counters and math
coordinates excepted); old names are fixed when the code is touched.
Rename b -> go_button and rn/rh/rp -> normal_style/hover_style/
pressed_style. Also note where Coderstanding is now installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:18:54 -06:00
baaffbdf31 DESIGN.md: roll hitch noted; Stage II features merged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 10:52:47 -06:00
66c9df1f2d DESIGN.md: Perilous Void Stage II built; the new book-table features
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 09:17:28 -06:00
050a64014d Spread switcher tooltip says Spreads; DESIGN.md: 2026-11-11 status
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:41:30 -06:00
3cba805ec4 UI: the Collection card kind is now called Ledger
Code names and JSON keys stay "collection".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:39:07 -06:00
16ad73adfb Group marks: member cards' top-right corner in the group's colour
Groups get an optional colour (Colour menu on the group); uncoloured
groups use the theme token GROUP. The group frame's border matches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:36:13 -06:00
37f32076be Docs: fonts, deck reveal, entry handles, open items
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:23:42 -06:00
fe883cbeda DESIGN.md: book tables merged; next steps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 21:36:12 -06:00
764811b858 Docs: book-tables status, history §12, size-audit list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 21:27:39 -06:00
650e24e9b7 Docs: DESIGN.md as a current-state page; 2026-11-10 history and module map
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 20:36:02 -06:00
99f4d21911 DESIGN.md: merged to main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 20:15:27 -06:00
c97a87d9c9 DESIGN.md: audits done; remaining size candidates; TestBase
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 19:57:08 -06:00
4a4dc62c3d DESIGN.md: all twelve plan steps done on tarot; decisions waiting on the user
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 19:25:06 -06:00
61395fa573 DESIGN.md: plan status after steps 7-9; suggested audits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 19:15:28 -06:00
1199fafcf9 DESIGN.md: plan status after steps 1-6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 18:43:31 -06:00
0c9ab1aa71 Slim DESIGN.md to a status page; add parallel test runner
DESIGN.md (read every session) keeps status, names and the agreed plan;
architecture and history move to ARCHITECTURE.md and HISTORY.md, read on
demand. tools/run_tests.sh runs the suites in parallel and fails on SCRIPT
ERROR as well as on a missing PASS line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 18:03:10 -06:00
97305889b9 Let ranged results pipe into several cards (fan-out)
Dropping a pipe from a range on a ranged table replaced the range's
existing pipe. Ranges now add pipes like weighted results do, so one
result can feed several tables in one roll. DESIGN.md records the
change and the decision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 12:22:56 -06:00
85ec548425 DESIGN.md: record the UI pass merge commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:36:43 -06:00
8f16d337cf UI pass: striped rows, View/Help menus, zoom control, card ⋯ menu, fuller sample
- Striped result rows (parchment tint, on by default, `striped_rows` setting).
- Top bar: View ▾ (Plain words / Rule text, Collapse/Expand all, Striped rows,
  Minimap) and a "− 90% ▾ +" zoom control replace the Plain|Text switch,
  Collapse all, −/Fit/+ and Map. Arrange ▾ folds into Board ▾; Search is an icon.
- Help ▾ and F1 open a Help window; the 17 topics live in help/topics.txt.
- Build cards get a ⋯ menu (settings, template, collapse, delete) instead of
  the gear and footer Delete, sharing Style.overflow_button with group cards.
  Row × buttons show only on hover, focus or selection.
- Sample: Luck value card, Make Camp (pick card) and Search the Ruins
  (1d6 + Luck, with results only a modifier reaches).
- New test suite test_top_bar; Canvas/GraphML round-trip tests compare plain
  tables only, since logic keys are JSON-only.
- DESIGN.md: open items, including the Card Mode UI redesign.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:36:38 -06:00
540f995e2b DESIGN.md: open items after the roll-modifier merge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:01:21 -06:00
33913889da Roll modifiers and resizable tray/inspector
- Ranged roll tables take a modifier (dice_mod, e.g. @luck). Ranges may run
  past the dice (-3 to 24 on a d20); totals past the ends use the end result.
- Range and chance code moved from RollTable into RollRange; chances follow
  the modifier's current value; plain wording and Why lines name it.
- ModifierEditor builds modifiers in plain words for roll and check cards;
  the inspector's roll section is now InspectorRoll.
- The Earlier tab scrolls; the tray and inspector resize with drag handles
  (PanelSplitter), sizes kept in local settings.
- Demo Room check uses 2d6 + Luck with a luck-only vault; new test_modifier
  suite; docs updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:01:10 -06:00
e5d3873cb2 DESIGN.md: open items, terminology decisions, Coderstanding how-to
Open items for the next session (repo privacy waiting on the user, a
playtest of the renamed build, a stale worktree), the glossary as a
decision, built-in templates, the next files to split, uninvestigated
scanner warnings, and the parallel-split agent brief.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 09:18:15 -06:00
5e34592fec Terminology pass: one set of kind and choice names, 2d6, result/change wording
- Describe.kind_label / choice_label / choice_labels replace six drifting
  label tables. Search no longer calls Check and Router cards "Table", and
  a Check card's dialog is titled "Check settings".
- Choice types read "Which option / How many / Open ended" everywhere
  (menu, settings, inspector, card, preview, details).
- Plain dice read "2d6" / "d6" instead of the 2D-game "2D" / "1D".
- The built-in "2D skill check" template becomes "Skill check (2d6 vs
  target)" (builtin:skill-check), a real Check card with Success and Failure.
- User text says "result" and "change" instead of "entry", "row" and "effect"
  (Test board, settings dialog, lint, variables panel, pipe options).
- Pipes are deleted (link, toast, undo label), like cards and results; the
  reset statement reads "Reset" in the builder and "Reset all X" for
  prefixes. "Clear" stays for a value that really was erased.
- The template-saved toast points at "+ Card ▾".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 09:14:30 -06:00
6208e42f75 Docs: architecture map for the split files, shared builders, history
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 08:21:46 -06:00
f3912fb026 Rewrite DESIGN.md as the project's status and handover document
Covers what TableTower is and its product principles, the feature set
on main, the architecture and key implementation facts, storage, how
to run tests, the simulator and background test windows, decisions on
record, known gaps, the private Traveller test board, ranked
improvement ideas and a short history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 21:43:30 -06:00
9cd1f1ea95 Groups and templates: docs, export filter and screenshot flags
Ship templates/*.json in exports, document groups and templates in the
README and design doc, and add --group-menu, --drag-demo, --insert-form,
--save-group-template and --clear-result for screenshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 17:08:22 -06:00
cf1d8a6f1e Add design document
Covers roll tables, chained triggers and inline references, Card mode,
chain and persistent variables, hover details, BBCode formatting,
graph layout, import/export formats, and milestones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:13:57 -06:00