Skip to content

feat(console): the redesign's pages together, with breakpoints and a light theme (#1434) - #1454

Merged
V3RON merged 124 commits into
task/1426from
task/1434
Nov 9, 2026
Merged

V3RON merged 124 commits into
task/1426from
task/1434

Conversation

@V3RON

@V3RON V3RON commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1434

Status

The redesigned pages (Overview, Inbox, Fleet, worker, streaming, Leases, Queue, Baselines, Activity, Usage, Settings), breakpoints, the light theme, and the console test refactor (single-page browser specs moved to DOM tests). Supersedes stage PRs #1447 to #1452 and #1455.

Done when

  • Every Tests line is covered at its named seam; relevant model/unit tests and touched Chromium page specs pass. The browser lane uses faked drivers, not native hardware. — unit, ui-dom and the touched Chromium specs pass; the lane runs on the fake driver
  • Capture this stage's pages through pnpm test:console --project=chromium e2e/console/renders.spec.ts (page-specific --grep permitted). Compare current PNGs to all eight reference states plus Inbox, Queue, Usage, sign-in and not found; record the explicit Baselines filter/link amendment, then inspect every other non-data difference and fix/rerun until none remain except the explicit Baselines/Fleet, preserved-collapse header-control and evidence-backed WCAG-AA colour amendments recorded in PLAN. The PR includes paired images for each reference page and lists remaining data differences; no-render pages include current images. Do not commit generated current/ or prototype/screens/. — superseded by the maintainer: captures come from pnpm console:screenshots; every page compared to its render and reviewed live in the demo
  • Check the same pages at 1440×900, 1280×800 and 390×844: no horizontal page scroll, card escape or text collision. Axe in both light and dark has no WCAG AA violations and actually evaluates color contrast. Per-page verification is required in this stage, not deferred to stage 7. — breakpoints.spec.ts and browser-checks.spec.ts cover every page in both themes
  • Update website pages describing this stage in the same change. Ownership: Own final consolidation, intros, screenshots and cross-page navigation; preserve per-stage factual edits. Run pnpm --dir website install && pnpm --dir website build && node website/scripts/check-openapi.mjs when the website changes. — console.mdx and gateway/fleet-console.mdx describe the final pages; website build and OpenAPI check pass
  • Every page/state has dark/light evidence at the integrated head; DESIGN/manual/website agree, unused DS and WorkersTable are removed after import search, and hook/CI Fallow results are clean. Whole-feature stack remains intact for the parent merge gate. — dark and light captures at the head; DESIGN.md, ui/AGENTS.md and the website agree; Fallow clean in hooks and CI

Assumptions

none

Review

Spec review: 0 blocking, 2 fixed, 0 notes. Code review: 0 blocking, 9 fixed, 2 notes. Claims review: 0 blocking, 4 fixed, 0 notes.
Rounds: 3. Tokens: 62.7M.
Assessment: complete

Written by an agent.

V3RON added 30 commits November 8, 2026 15:48
# Conflicts:
#	e2e/console/layout.spec.ts
#	e2e/console/renders.spec.ts
#	e2e/console/views.spec.ts
#	e2e/console/workers.spec.ts
#	ui/src/ds/visuals.css
A panel lead, compact buttons, a bare ring, a capped worker tile, a column bar row and a legend subset.
Banner, six linked tiles, worker wall, Leases held chart, Capacity rings, Queue, Ending soon and Requests waiting bars. A refused requests read shows the queue as unavailable, not empty.
V3RON added 8 commits November 9, 2026 06:49
…t that they could not be (#1434)

R13: only a refused /v1/leases read says "The leases could not be read."
…in a title (#1434)

R14: the lease list's device line, Activity's event name and subject, the
Overview banner's detail, the feed and log rows of the Fleet, worker page and
lease inspector, the Inbox's subject and event lines, the worker page's load
note and warm-pool runtime, mode and origin, and every page title.
R15: the Fleet row's slot counts are literals over leased iOS and Android
devices; the square cap is checked at eleven slots; Problems only is checked
with a warn event; Undrain is asserted in a drained worker's menu on a
gateway (the static test that never could is dropped); the worker page's
event tests are named for the section they read; the menu-order check runs on
a lost worker's three-entry menu with no guard.
…orker and the narrow worker list (#1434)

R16: the palette check reads rgb()/rgba() tokens too; the Overview case with
one reporting and one starting worker is back; a click on a narrow-layout
worker list row opens the worker.
…1434)

R17: page headers have no subtitle; a kbd's edge is --kbd-border; the
Baselines page has no disk card, group rows show the count only and a stale
reason is a popover on the pill; the range comment says a range equal to the
operator's default is left out of the URL.
# Conflicts:
#	docs/internal/console-redesign/PLAN.md
#	e2e/console/render-cases/activity.ts
#	e2e/console/render-cases/screen.ts
#	e2e/console/render-fixtures.ts
…Baselines docs and two test titles say what the console draws (#1434)
@V3RON V3RON mentioned this pull request Nov 9, 2026
5 tasks done
@V3RON

V3RON commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: b154898
Round 2: 248e016
Round fix-check: 53f7017

Runs: 14. Cost USD: 26.108. Agent seconds: 40664.
Tokens input 1198, output 371313, cache read 59912035, cache write 2383315.
- review 1 reviewer: claude-sonnet-5-5 36024 s $2.6277
- review 1 spec: claude-sonnet-5-5 83 s $0.3917
- review 1 code behaviour: claude-opus-5-5 392 s $2.1256
- review 1 code tests: claude-opus-5-5 699 s $3.6295
- review 1 claims: claude-sonnet-5-5 98 s $0.3127
- review 2 spec: claude-sonnet-5-5 229 s $1.053
- review 2 code behaviour: claude-opus-5-5 424 s $2.0161
- review 2 code behaviour: claude-opus-5-5 560 s $3.0989
- review 2 code tests: claude-opus-5-5 878 s $4.9459
- review 2 code tests: claude-opus-5-5 545 s $2.7955
- review 2 claims: claude-sonnet-5-5 159 s $0.5807
- review fix-check code behaviour: claude-opus-5-5 197 s $0.835
- review fix-check code tests: claude-opus-5-5 330 s $1.4392
- review fix-check claims: claude-sonnet-5-5 46 s $0.2565
Finding outcomes: {"duplicate":1,"fixed":15,"incorrect":1,"intentional":2,"nonblocking":2}. Classes: {"URL drops operator default":1,"documentation contradicts code":2,"documentation names deleted spec or removed entry":1,"false statement shown to operator":1,"manual theme ignored by contrast tokens":1,"spec scope":2,"stage 4 copy rule not followed":1,"stored preference contradicts operator pick":1,"test title names a tab that does not exist":1,"testing 10":1,"testing 3":7,"testing 4":1,"ui architecture look: title on cut text":1}.
{"findings":[{"id":"R1","role":"code","class":"testing 3","outcome":"fixed","path":"src/http/app.ts","round":"1","fix":"54a67bb43"},{"id":"R2","role":"code","class":"manual theme ignored by contrast tokens","outcome":"fixed","path":"ui/src/ds/foundation.css","round":"1","fix":"667b5a2eb"},{"id":"R3","role":"code","class":"stored preference contradicts operator pick","outcome":"fixed","path":"ui/src/state/settings.ts","round":"1","fix":"3cc3fdeea"},{"id":"R4","role":"code","class":"testing 3","outcome":"fixed","path":"ui/src/state/settings.ts","round":"1","fix":"e406ca28c"},{"id":"R5","role":"code","class":"testing 3","outcome":"fixed","path":"e2e/console/workers.spec.ts","round":"1","fix":"21548a2b5"},{"id":"R6","role":"claims","class":"documentation names deleted spec or removed entry","outcome":"fixed","path":"docs/internal/console-redesign/PLAN.md","round":"1","fix":"c290c0c24"},{"id":"R7","role":"claims","class":"documentation contradicts code","outcome":"fixed","path":"docs/internal/DESIGN.md","round":"1","fix":"a403af841"},{"id":"R8","role":"code","class":"spec scope","outcome":"intentional","path":"ui/src/screens/settings/index.tsx","round":"1"},{"id":"R9","role":"code","class":"testing 4","outcome":"nonblocking","path":"src/test-lanes.test.ts","round":"1"},{"id":"R10","role":"spec","class":"testing 3","outcome":"duplicate","canonicalId":"R1","path":"src/http/app.ts","round":"1"},{"id":"R11","role":"spec","class":"stage 4 copy rule not followed","outcome":"fixed","path":"ui/src/screens/fleet/streaming-page.tsx","round":"2","fix":"44d3d8d200fd08f39adaaec377cb325b03811724"},{"id":"R12","role":"spec","class":"testing 3","outcome":"fixed","path":"ui/src/screens/fleet/streaming.dom.test.tsx","round":"2","fix":"1e4249680 1de6e91ec bf47428d1 0c758822b c9adc05ca"},{"id":"R13","role":"code","class":"false statement shown to operator","outcome":"fixed","path":"ui/src/model/overview.ts","round":"2","fix":"7e2a7959b fdd39e04d"},{"id":"R14","role":"code","class":"ui architecture look: title on cut text","outcome":"fixed","path":"ui/src/screens/leases/summary.tsx","round":"2","fix":"25b697ab5"},{"id":"R15","role":"code","class":"testing 10","outcome":"fixed","path":"ui/src/model/worker-page.test.ts","round":"2","fix":"82fb70872"},{"id":"R16","role":"code","class":"testing 3","outcome":"fixed","path":"ui/src/ds/contrast.test.ts","round":"2","fix":"d2c0eba3c"},{"id":"R17","role":"claims","class":"documentation contradicts code","outcome":"fixed","path":"website/src/content/docs/docs/worker/console.mdx","round":"2","fix":"44d3d8d200fd08f39adaaec377cb325b03811724"},{"id":"R18","role":"spec","class":"spec scope","outcome":"intentional","path":"ui/src/screens/baselines/index.tsx","round":"2"},{"id":"R19","role":"code","class":"testing 3","outcome":"incorrect","path":"ui/src/ds/menu.tsx","round":"2"},{"id":"R20","role":"code","class":"URL drops operator default","outcome":"nonblocking","path":"ui/src/model/range.ts","round":"2"},{"id":"R21","role":"claims","class":"test title names a tab that does not exist","outcome":"fixed","path":"e2e/console/feed.spec.ts","round":"fix-check","fix":"44d3d8d200fd08f39adaaec377cb325b03811724"}]}

Written by an agent.

@V3RON
V3RON added this pull request to stack #1459 November 9, 2026 07:06
@V3RON
V3RON marked this pull request as ready for review November 9, 2026 07:06
# Conflicts:
#	e2e/console/fixtures.ts
#	e2e/console/workers.spec.ts
#	src/tool-guard.test.ts
#	website/src/content/docs/docs/worker/console.mdx
@V3RON
V3RON merged commit caa5b4e into main Nov 9, 2026
33 checks passed
@V3RON
V3RON deleted the task/1434 branch November 9, 2026 07:19
V3RON added a commit that referenced this pull request Nov 9, 2026
Closes #1426

### Status

Foundation of the console redesign: tokens, shared components, holder
helpers and device paths. It merges together with #1454, the top of this
stack.

## Done when

- [x] Every Tests line is covered at its named seam; relevant model/unit
tests and touched Chromium page specs pass. The browser lane uses faked
drivers, not native hardware. — unit, ui-dom and the touched Chromium
specs pass; the lane runs on the fake driver
- [x] Capture this stage's pages through `pnpm test:console
--project=chromium e2e/console/renders.spec.ts` (page-specific --grep
permitted). Compare current PNGs to 1-overview.png (shell/header/card
crop); inspect every non-data difference, fix/rerun until none remain
except the explicit Baselines/Fleet, preserved-collapse header-control
and evidence-backed WCAG-AA colour amendments recorded in PLAN. The PR
includes paired images for each reference page and lists remaining data
differences; no-render pages include current images. Do not commit
generated current/ or prototype/screens/. — superseded by the
maintainer: the pixel-comparing harness is removed and captures come
from `pnpm console:screenshots` in #1454; pages were compared to the
renders by eye
- [x] Check the same pages at 1440×900, 1280×800 and 390×844: no
horizontal page scroll, card escape or text collision. Axe in both light
and dark has no WCAG AA violations and actually evaluates color
contrast. Per-page verification is required in this stage, not deferred
to stage 7. — checked at 1440, 1280 and 390 in the breakpoint and axe
browser specs, both themes
- [x] Update website pages describing this stage in the same change.
Ownership: Shared navigation/account and holder-identity wording, plus
mechanical factual corrections under the shared-primitive documentation
exception; do not rewrite individual page structures or workflows. Run
`pnpm --dir website install && pnpm --dir website build && node
website/scripts/check-openapi.mjs` when the website changes. — shared
navigation and holder wording updated in `console.mdx`; website build
and OpenAPI check pass
- [x] The reviewed foundation exposes all shared APIs/case discovery and
current pages still render; pin its reviewed SHA as the page baseline,
retain the PR open in the stack. The ready DATA substitution is
verified/captured in existing-table fixture evidence and documented;
identical replacement row/pill geometry and page filter/link/menu
acceptance belong to stage 5. — the PR stays open in the stack and
merges with #1454

## Assumptions

none

## Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 0 blocking, 2
fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 3. Tokens: 14.5M.
Assessment: complete

*Written by an agent.*
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.

Console redesign stage 7: Breakpoints, themes and final docs

1 participant