Commit Graph

12 Commits

Author SHA1 Message Date
alan fb1935a62d Keep graph edge labels clear of nodes and other labels
The linear layout used by the definition and run graphs placed each
outcome label at the middle of its widest run with no collision check,
and the run graph measured only the label text while rendering an order
badge in front of it, so taken labels ran into the next node.

Labels now try positions along their own route (horizontal runs above
and below, sliding along, then vertical runs) and take the first whose
box stays 4px clear of every node and earlier label, preferring spots
off other wires. If a label finds no spot, the layout widens its column
gaps and lanes and runs again; a last-resort shelf below the drawing
never overlaps. The run graph measures the exact badge+label widget it
renders, keyed by edge id.
2026-10-31 16:36:48 +00:00
alan 480f8843eb Polish adaptive app chrome 2026-10-31 06:02:02 +00:00
alan 0582bfc34f feat(app): segmented glass top bar across the app
Extract the chat's segmented bar into lib/ui/adaptive (SegmentedBar,
GlassPill, SegmentedBarOverlay) and use it for the shell bar, DetailPane
and every page-level bar. Pieces are frosted glass over a fading scrim;
only pills take taps. Actions keep their natural width so the title gives
way before a model name. The chat transcript scrolls behind its header.
2026-10-31 00:21:27 +00:00
alan b44cecf35c feat(app): section titles read as dividers; one Rendered/Raw switch per definition; schedule rows with labelled facts and a status pill 2026-10-23 22:09:46 +01:00
alan f258d8a30c feat(app): pipeline source and stage prompts switch between raw and rendered markdown 2026-10-23 20:08:48 +01:00
alan 15f83c19dd feat(app): graphs draw stages in one row with Failure and Success below, as the web and TUI 2026-10-23 16:02:15 +01:00
alan 407551b8bb feat(app): pulse the run graph's recorded current stage
Mark the run's recorded current stage on the run graph while it executes. The
halo is a foreground painter outside the node box, so it adds no size, hit
target or semantics, and it is derived only from RunGraphState.activeStage,
which is non-null only while the run reports executing. Reduced motion keeps a
still ring instead of animating.

Widget tests cover the sole active node, a finished run with no halo or ticker,
reduced motion, toggling it at runtime and unchanged node extents.
2026-10-22 17:17:39 +01:00
alan cc7eba59b6 feat(app): graph pan, zoom and expanded view 2026-10-22 02:05:20 +01:00
alan 5b833e721e feat(app): add run-mode graph with recorded-visit evidence 2026-10-21 23:42:46 +01:00
alan d88213deb4 feat(app): add native authored stage definition pane 2026-10-21 22:26:34 +01:00
alan bf378c94ca feat(app): finish measured native graph canvas and clear labels from wires 2026-10-21 21:06:57 +01:00
alan e63b01154b feat(app): add native content-sized graph stage node
One content-sized stage node as an ordinary native control. Material uses
stock Card.outlined/Card.filled inside an InkWell; Cupertino uses
CupertinoButton.tinted/filled. onSelected reports the definition key
verbatim, one merged button semantics node carries the exact label and
selected state, recorded status is shown only when the caller supplies it,
and invisible U+200B break opportunities reproduce the web's anywhere
wrapping. Painted-boundary and painted-surface tests cover the UI-review
2x outline and Cupertino container defects.
2026-10-21 18:44:18 +01:00