Skip to content

Sources: samples in a tray, counts on steps and connections (#104) - #112

Merged
phornstein merged 6 commits into
mainfrom
feat/104-samples-tray
Nov 2, 2026
Merged

phornstein merged 6 commits into
mainfrom
feat/104-samples-tray

Conversation

@phornstein

Copy link
Copy Markdown
Collaborator

Phase 1 of the flow UX plan approved in #104.

What you see

  • Samples tray. The selected step's samples are in a resizable, collapsible tray along the bottom of the workspace (stareSDK Tray).
    • Table view: one row per sample (stareSDK RecordTable), with what the step added or changed tinted and what it removed struck through, compared with what reached it.
    • JSON view: each sample whole.
    • A dropped sample says where and why.
    • The input's and a Map's samples aren't tinted, since a Map turns records into observations and everything would differ.
  • Counts. Each step shows in → out from the dry run, and each connection is labelled with what crossed it. A step that takes samples and passes none on turns amber.
  • Settings only in the SideNav. Closing it keeps the step selected, with its samples still in the tray.

Underneath

  • /sources/validate answers with steps: {id: {in, out}}, counted over all stored samples. There's a new ot-source test for it.
  • sampleRows in lib/trace.ts builds the table rows (tested).

Draft until stareSDK 0.2.32 is published (Tray, RecordTable; kineticlogic-io/stareSDK#31 is merged and waiting for its release). The ui/package.json bump comes then.

Checked

  • Dev server, against the merged stareSDK build: tsc -b, oxlint 0 errors, vitest 69/69, vite build; clippy clean and the ot-source and API tests pass.
  • 8091, headless, with your ais-stream source: cards show 20 → 20, 20 → 19 and 19 → 19, connections are labelled, and the tray shows the Map's 5 samples with the unmatched one's reason.

🤖 Generated with Claude Code

phornstein and others added 4 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>
@phornstein phornstein added ui Web UI sources Sources, transports, codecs, pipelines labels Oct 28, 2026
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
@phornstein
phornstein merged commit 0270aa7 into main Nov 2, 2026
3 checks passed
@phornstein
phornstein deleted the feat/104-samples-tray branch November 2, 2026 16:42
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