Skip to content

feat: run comparison - shared diff UI primitives - #2598

Draft
camielvs wants to merge 1 commit into
cmp-02-graph-summary-logicfrom
cmp-03-diff-ui-primitives
Draft

feat: run comparison - shared diff UI primitives#2598
camielvs wants to merge 1 commit into
cmp-02-graph-summary-logicfrom
cmp-03-diff-ui-primitives

Conversation

@camielvs

@camielvs camielvs commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Description

Third PR in the Compare Runs stack. Adds the small, shared UI building blocks that the later comparison views reuse, so they stay consistent. Nothing here is wired into a page yet.

  • CompareRunPicker — a list of recent runs used to pick a run for either side of the comparison.
  • DiffStatusBadge — the coloured Added / Removed / Changed / Unchanged badge.
  • RunTag / RunTags — the small "A" / "B" pills that mark which run a value belongs to.
  • FieldDiffRow — a single field's before/after values with expand-to-see-more for long values.
  • YamlDiffView — a side-by-side YAML diff of the two run specs (Monaco diff editor).

Related Issue and Pull requests

Part of the Compare Runs stack. Builds on #2597; the next PR (#2599) builds on this branch.

Type of Change

  • New feature

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Test Instructions

These are shared presentational components with no entry point of their own on this branch. They're exercised through the full feature.

Additional Comments

@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: cmp-03-diff-ui-primitives/cb9779a

camielvs commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant