Skip to content

Runs mobile row card: collapse to the approved two-line anatomy — drop … - #1146

Merged
jayminwest merged 10 commits into
mainfrom
warren/run_4m3ftfv4vzj7
Aug 27, 2026
Merged

jayminwest merged 10 commits into
mainfrom
warren/run_4m3ftfv4vzj7

Conversation

@warren-run-bot

Copy link
Copy Markdown
Collaborator

Summary

feat(ui): collapse runs mobile row card to the approved two-line anatomy (warren-f8a2)

Run

  • Warren run: run_4m3ftfv4vzj7
  • Agent: pi
  • Cost: $2.35 (81.8k in / 35.2k out / 8.0M cache-r)

Seeds

  • warren-f8a2 — Runs mobile row card: collapse to the approved two-line anatomy — drop the meta third row, trim the subline to agent · project · one contextual extra, route cancelled to the neutral tone, tint near-cap cost (runs-cards.tsx:41-72 on the reworked InventoryRowCard)

Commits (4)

  • 352819a feat(ui): collapse runs mobile row card to the approved two-line anatomy (warren-f8a2)
  • 830d111 mulch: update expertise
  • b94f144 seeds: sync 2026-08-27
  • ea4c185 mulch: update expertise

Files changed

scripts/bundle-size-budgets.json                 |  13 +-
 scripts/file-size-budgets.json                   |   3 +-
 src/db/repos/dispatch-context.test.ts            |  18 ++
 src/db/repos/dispatch-context.ts                 |  18 +-
 src/server/handlers/runs.projection.test.ts      |  23 +-
 src/server/handlers/runs/lifecycle.ts            |  26 +-
 src/ui/src/api/types.ts                          |   6 +-
 src/ui/src/components/console/console-shell.tsx  |  62 +----
 src/ui/src/components/console/console-topbar.tsx |  24 --
 src/ui/src/pages/dispatch-plan/walk-form.tsx     |  33 +--
 src/ui/src/pages/dispatch/dispatch-form.tsx      |  32 +--
 src/ui/src/pages/event-explorer.tsx              |  36 +--
 src/ui/src/pages/runs.tsx                        | 160 ++++++++++-
 src/ui/src/pages/runs/runs-card.helpers.test.ts  | 124 +++++++++
 src/ui/src/pages/runs/runs-card.helpers.ts       | 115 ++++++++
 src/ui/src/pages/runs/runs-cards.tsx             |  56 +---
 src/ui/src/pages/runs/runs-filter-bar.tsx        | 332 -----------------------
 17 files changed, 522 insertions(+), 559 deletions(-)

Prompt

Show prompt
Work seeds issue warren-f8a2. First run `sd show warren-f8a2 --json` from the repo root — the issue body is the spec; this summary is only a digest.

Context: pl-4ab6 mobile conformance. Your blocker warren-e1af MERGED to main: InventoryRowCard now supports the mock card contract (optional dot-only state column, optional meta row, px-3 py-2.5 padding, reachable neutral tone, warning-tinted CardFigureNote). Build on current main.

Scope: collapse the /runs mobile row card (runs-cards.tsx) to the approved two-line anatomy on the reworked InventoryRowCard — drop the meta third row, trim the subline to agent · project · one contextual extra, route cancelled to the neutral tone, tint near-cap cost. Note the ticking-duration work (warren-b610 useNow) merged — preserve it. Verify with `bun run build:ui`.

Quality gates are terminal: `bun run check:all` must be green before you commit and report done.

BUNDLE BUDGET RULE: if check:bundle-size fails on growth, run `rm -rf src/ui/node_modules` FIRST, then `bun run check:bundle-size --update` — a stale src/ui/node_modules produces a build ~1.3KB gzip cooler than CI. Commit only the budget diff alongside your change.

Several sibling mobile-conformance fixes are running IN PARALLEL on other branches. Keep your diff tightly scoped — no reformatting, renames, or drive-by fixes outside your scope.

This is MOBILE work: changes are gated below md (or sm); desktop rendering must be pixel-identical to before. The approved 375px artboards live in docs/ui-revamp/screens/mobile/*.jsx — read the relevant one before coding.

When verified green: close the issue with `sd close warren-f8a2 --reason "<one-line evidence-citing reason>"`, then commit everything (including .seeds changes).

🤖 Opened by warren run run_4m3ftfv4vzj7

…omy (warren-f8a2)

Drop the meta third row, trim the subline to agent · project · one
contextual extra picked by state relevance (PR ref, commits, cap %,
stop reason), route cancelled to the neutral tone with short state
words (cancel / merged / PR open), and warning-tint the cost note
near the cap. To feed the cap math, the runs list overlays each row
with the dispatch-context spend cap (spectators never see it); the
ticking-duration now prop from warren-b610 is preserved. Pure
cell/subline logic lives in runs-card.helpers.ts so it stays testable
under the repo-root bun test. Bundle budgets re-baselined on a clean
src/ui/node_modules build.
# Conflicts:
#	scripts/bundle-size-budgets.json
@jayminwest
jayminwest enabled auto-merge (squash) August 27, 2026 22:43
@jayminwest
jayminwest merged commit bb8cdf4 into main Aug 27, 2026
5 of 6 checks passed
@jayminwest
jayminwest deleted the warren/run_4m3ftfv4vzj7 branch August 27, 2026 23:28
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.

2 participants