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>
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>
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>