destogod/dist
type-two dabeb896e8 Group destinations, using the format's own idea of a group
Destinations were one flat list, so building a second set meant overwriting the
first. They now live in named groups, listed down the left: click a group and
its destinations appear.

This is not a new concept bolted on. The .td5 header carries a company count
with room for twelve, each with its own name and its own pointer table, the
.tp5 has "Company Sum:", and TP5's manual has you create a company before you
can add any destinations. A group is that company.

  - a saved project (.tp5) holds every group, which the old software can still
    open, and reloading one restores them all
  - a .td5 is written from the selected group, since one file is what goes on
    one SD card. That keeps every exported file the exact shape already proven
    against the bus, rather than a multi-company layout with no reference file
    to check against
  - deleting a group takes its destinations with it, so it is undoable too

state.destinations and state.company are now accessors onto the active group,
so everything built on the flat list keeps working untouched.

Also fixes the custom sign size inputs showing when a preset was selected:
.field sets display:flex, which beats the [hidden] attribute's display:none.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 13:57:00 +10:00
..
DestoGod.html Group destinations, using the format's own idea of a group 2026-08-21 13:57:00 +10:00