The page was placed in the middle of the canvas, so boxes could not be
dragged left of it. Design doc: Sheets status, open items, review list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- E1: Export ▾ (share file with embedded pictures, print/PDF web page,
PNG of the tab); Import a sheet file from Sheets and New sheet.
- E2: formatting toolbar (FormatMenu) in sheet text boxes; Lore links
([url=lore:ID]) with hover excerpt and the details panel.
- E3: Lore Index in Play and in sheets (shared LoreList); This spread |
My library; item sheets on Lore Entries; drag entries into lists,
slots and notes (copy, Shift keeps linked).
- E4: phone stacked view in phone order, Stacked | Canvas switch, 44 px
touch sizes, bottom panels; sheet CLI flags split out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A Sheet card can show a sheet file (sheet, prefix): first-tab preview,
Open sheet with a way back, the spread's Play/Build in the editor.
- Rolls read and write "Use in tables" boxes as @name or @prefix_name;
locked boxes and formulas/lists keep their values; changed boxes glow.
- A roll reaching the card shows the sheet's text (SheetText) in the
tray; text boxes also show spread values when on the spread.
- Old template Sheet cards migrate to a sheet with one text box (not in
Help demos). Card palette lists your sheets.
- Sheet canvas: tiled grid (smooth panning); boxes no longer overlap
(nearest free spot, drags stop short; Alt places freely).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 25 palette items over 23 kinds: basics, trackers (bars, ticks, clocks,
dots, step/usage dice, ladders), formulas and dice buttons (rule
language with sheet @names), lists (rows, mini table, chips, point pool
that may go negative, bonds), slots, conditions, spell slots, XP,
currency, heading, divider, picture.
- Per-kind settings in the inspector; hover excerpts and an in-app
details panel for list entries; live redraw of dependent boxes.
- Canvas: the page stays put after edits (boxes can go anywhere), a
screen of room past the boxes, drag-to-pan and edge scrolling.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Main menu (Spreads, Sheets, Settings, Quit) on the theme background,
with recent spreads and sheets; logo or ☰ returns to it.
- Sheets: data model, store, templates, snapshot undo; New sheet dialog
(blank or a template); editor with folder tabs, snap-grid canvas on the
spread background, field palette, inspector, Play/Build, status strip.
- Field kinds: Number, Text box (BBCode, live {@name}), Heading.
- PaletteList shared by the card and field palettes; shared top bar brand.
- Keys go to the screen that shows; theme reloads keep the screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CardCatalog: one list of card kinds for the palette, right-click New card
and new-card names; Dice table and Deck are their own items.
- LeftDock holds the palette and List view in the shared dock tab style.
- Play greys the palette under a Switch to Build notice (replaces the
greyed + Card button); + Card menu removed; Card palette button in Build.
- Templates dropped from the palette land where they are let go.
- Phones: + opens the palette full screen.
- docs/SHEETS.md: the Sheets and unified editor plan.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Profiling showed the delays come from Godot's own calls, not GDScript:
- Right-click format menus are made on the first right-click, not for
every text field at build time.
- Dashed reference threads draw all their dashes in one call.
- Inspector rebuilds keep the closed sections and only remake open ones.
- Card rows are styled before they join the card.
- A Play/Build switch rebuilds cards in view at once and the rest a few
per frame (CardRefreshQueue); threads redraw only now and then meanwhile.
Adds tests/perf_actions.gd, a timing tool for everyday actions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tools/run_tests.sh stops every run at 15 s and lists what was not run.
Suites are nodes run by tests/run_suites.gd, several per Godot process;
TestBase no longer compiles the app (AppTestBase does). Audit: fewer
repeats and less setup; 51 suites in about 12 s (was 45 s).
Fix a crash when a roll was still animating as its Main was freed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Card threads: a port on each card's bottom edge. Plain runs after any
result (once the result's own threads finish); Otherwise runs only when
no thread of the result ran. Saved as card_threads (LOGIC.md 3g).
- Typing on long cards no longer rebuilds the inspector or the card per
key (~175 ms -> ~7 ms). Timing tool: tests/perf_typing.gd.
- "+ Add result" scrolls to the new row and focuses it.
- Mouse wheel zooms; Shift+wheel pans sideways; scrolling lists keep it.
- "SPREAD" caption over the switcher; Morgan's first-run welcome.
- docs/MECHANICS.md: checklist of table mechanics for planning.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both presets' include_filter gains addons/hunspell/dictionaries/* so
spellcheck works in exported builds. The file also carries the user's
earlier preset edits (Windows preset matching Linux).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Prebuilt SpellChecker libraries for Windows, Linux and macOS from
Godot-Hunspell (MIT), approved by the user. Underlines of words scrolled
out of a narrow field no longer draw past its edge.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Titles, result text and details (card, inspector, Lore Entries) get red
wavy lines under misspelled words; right-click gives suggestions, Add to
dictionary (saved with the spread) and Ignore (this session). Uses the
Godot-Hunspell add-on's SpellChecker when it is installed; off on Android
and when the add-on is missing. English (en_US) dictionary included.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
UI words only: Book -> Lore Index, Page -> Lore Entry (code keeps book and
BookPage). In Build the Inspector and the Lore Index share the dock as two
tabs (SideTabs); selecting on the spread goes back to the Inspector. In
Play the Lore Index opens alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A greyed + Card in Play's top bar explains that cards are added in Build,
offers Switch to Build and pulses the Build switch. The ☰ menu shows New
card greyed with a tip. The toast's button can now run any action.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New theme colours: Card header (themes without it get a shade between the
card face and Card shading) and Selected (default Morgan's eye glint). The
card the inspector shows glows too, so one selected card is easy to see.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Selecting a card or result on the spread opens its section and closes the
rest; sections opened by hand stay open, and a click or focus inside one
makes it the section edits go to. Only open sections build their fields.
Result sections edit the weight or range and the position; the card
section picks Weights or Ranges and Auto-sort.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A ranged card now stores that it is ranged, so an empty card can switch
between Plain and Ranged. Cards made ranged are edited by weight (die faces
per result; ranges follow the row order); a gap becomes an empty result.
Ranges mode keeps typed ranges, rows drag with their range, and auto-sort
(on by default) keeps rows in roll order. Old cards load as Ranges.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
View > Skip animations makes every roll instant (Shift-click still does it
for one roll). A roll with a question now animates up to it and on after
the answer, instead of jumping to the end. Pause and question pop-ups fade
and grow in unless the roll skips animations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
A result's text can name a card in another spread, as "[[Treasure::Loot]]".
It rolls there (its own threads and references resolve in that spread)
and its changes apply to this spread's values. The inspector has
"+ Roll a card from another spread…" to pick one. Links show as
"Treasure › Loot" chips; nodes from there are marked so this spread's
cards aren't lit for them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A spread can be listed under a folder (saved in its file, kept by copies);
the switcher shows each folder as a submenu. The switcher's tooltip now
gives the card count, folder and what it does. Export menu: "Table Tarot
JSON… (full copy)" and "Export as a diagram (cards and threads only)".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every text field's right-click menu gains Format: Bold, Italic, Underline,
Strike-through, Colour, Size and Effect (Godot's wave, tornado, shake,
rainbow, pulse, fade plus the app's own sparkle, shimmer and flash, drawn
by RichTextEffects in ui/text_effects). The details toolbar adds U, S and
Effect.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A result that came up but was rolled again (a thread's roll again, Only
if) now flickers with a floating "rolled again" before the kept result
lights. main_rolling.gd hit 412 lines, so showing a roll at once moved to
MainRollingShow (delegators kept).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Costs to roll on any card: its roll button greys out (with the reason)
when there isn't enough, and pressing it pays. A thread that reaches it
asks first (Pay / Don't pay), reusing the pause question.
- A pause now plays the roll so far (dice, lights, threads), then pops up
Continue / Stop here / Later (the tray strip stays). After Continue the
rest animates instead of showing at once. Shift-click still skips it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With Let me choose, that's "roll three different ones and pick one".
The thread label says "no repeats"; saved in the file as "distinct".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>