Skip to content

Sources: follow one sample through the flow (#104) - #113

Merged
phornstein merged 11 commits into
mainfrom
feat/104-follow-sample
Nov 2, 2026
Merged

phornstein merged 11 commits into
mainfrom
feat/104-follow-sample

Conversation

@phornstein

Copy link
Copy Markdown
Collaborator

Phase 2 of the flow UX plan approved in #104. Stacked on #112.

Click a sample in the tray to follow it through the flow:

  • The steps it passed get an accent border, and the connections it took are drawn in the accent colour, animated.
  • The step that dropped it turns red and says why on the card (for example "Dropped here: no mapping rule matched it"); one that held it, a tracker waiting for its scan, says so in amber.
  • The steps it never reached fade.
  • The tray shows Following #n with a remove ×. Clicking the row again also stops following.

sampleTrail in lib/trace.ts reads the trail from the dry run's trace (tested).

Checked (dev server): tsc -b, oxlint 0 errors, vitest 70/70. Headless on 8091 with ais-stream:

🤖 Generated with Claude Code

phornstein and others added 5 commits October 27, 2026 19:19
The dry run (/sources/validate) answers with steps: {id: {in, out}}, what
each step took and passed on over all the stored samples: frames and
records for the input, records or observations for the rest, and what an
output delivered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…onnections (#104)

- The selected step's samples are in a Tray along the bottom of the
  workspace: a RecordTable, one row per sample, with what the step added
  or changed tinted and what it removed struck through, beside what
  reached it; or each sample as JSON. The settings panel holds settings
  only.
- Each step shows in → out from the dry run, and each connection what
  crossed it; a step that takes samples and passes none on is amber.

Needs stareSDK 0.2.32 (Tray, RecordTable).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Map makes observations out of records, so every field would show as
changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the tray (#104)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clicking a sample in the tray follows it: the steps it passed light up,
the connections it took are drawn in the accent colour, the step that
dropped or held it says why, and the steps it never reached fade. The
tray says which sample is followed; clicking it again, or the badge's
remove, stops.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@phornstein phornstein added ui Web UI sources Sources, transports, codecs, pipelines labels Oct 28, 2026
phornstein and others added 2 commits October 27, 2026 19:51
Tray and RecordTable (0.2.32), RecordTable draggableColumns (0.2.33).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@phornstein
phornstein marked this pull request as ready for review October 28, 2026 01:08
Base automatically changed from feat/104-samples-tray to main November 2, 2026 16:42
# Conflicts:
#	ui/src/index.css
#	ui/src/lib/trace.test.ts
#	ui/src/lib/trace.ts
#	ui/src/pages/sources/SourceEditor.tsx
#	ui/src/pages/sources/flow/SamplesTray.tsx
#	ui/src/pages/sources/flow/StepNode.tsx
@phornstein
phornstein merged commit 2665835 into main Nov 2, 2026
3 checks passed
@phornstein
phornstein deleted the feat/104-follow-sample branch November 2, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sources Sources, transports, codecs, pipelines ui Web UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant