Skip to content

feat(console): establish redesign foundation - #1435

Merged
V3RON merged 98 commits into
mainfrom
task/1426
Nov 9, 2026
Merged

V3RON merged 98 commits into
mainfrom
task/1426

Conversation

@V3RON

@V3RON V3RON commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

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

  • 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 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 feat(console): the redesign's pages together, with breakpoints and a light theme (#1434) #1454; pages were compared to the renders by eye
  • 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
  • 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
  • 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 feat(console): the redesign's pages together, with breakpoints and a light theme (#1434) #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.

@coderabbitai

coderabbitai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@V3RON

V3RON commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Decision taken

The references include unsupported baseline progress/build controls and Fleet controls without existing actions. Adding backend workflows would expand this redesign; inert controls would mislead operators.

Use ready/stale baseline data, All/Stale/Ready and a Prepare baseline documentation link. Add worker links to joining instructions; Release leases becomes View leases linking to /leases. Preserve control geometry and record exceptions in paired images. Reverting requires changing these presentation choices and specifying their workflows.

Redesign owns overlapping worker/device hunks before draft product tasks. Screens is not a prerequisite; preserve compatible capture APIs when integrated. Copy failures retain selectable full IDs and announce failure. Overview refuses false zero Queue counts.

These choices are recorded in feature #1425, task bodies, PLAN and DESIGN, pending the maintainer. This PR is incomplete and remains draft.

Written by an agent.

@V3RON

V3RON commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Decision taken

Resume checks exposed unsupported baseline menus and a reference colour that fails contrast. Keeping inert menus misleads operators; inventing actions expands scope. Omit the trigger, retaining its column space and row/pill geometry. Reversal needs a specified baseline-action model.

Exact failing colours would violate AA; broader restyling would weaken the reference. Allow only measured foreground/stroke corrections, preserving typography, fills, geometry and original PNGs. Paired images must record selectors, colours and before/after ratios. Reversal requires an accessible alternative, not waived contrast.

Independent streaming tests cannot consume unfinished sibling links. Rather than serialize page builds, stage 4 tests its direct/drawer entry; stage 7 verifies worker-tile and lease-inspector Watch after integration. Foundation moves unchanged worker-action cases to workers.spec.ts before branching, avoiding competing edits. Reversal requires rescheduling their ownership/dependencies.

Clipboard tests now include late settlement after timeout/navigation. Activity source facts and shared eventRows compatibility are explicit. Source Facts cite the identical main-reachable baseline; approved design authority is unchanged.

These choices are in the posted specs, pending the maintainer. PR remains incomplete and draft; no partial merge.

Written by an agent.

Comment thread ui/src/ds/table.test.tsx Fixed
@V3RON

V3RON commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Decision taken

Foundation required static holder output but prohibited the screen changes needed to produce it. Deferring consumption to page stages would leave that acceptance incomplete. Removing the requirement would weaken identity coverage.

Authorize only the existing Leases table Holder cell: additive raw requester identity/display/kind fields through model/state, AgentChip plus middle-shortened display, and the full requester id in title. Keep existing holder/search/action labels, links, columns, paging, selection, inspector and action behavior unchanged. Existing exported LeaseTable and inConsole static tests are the named seam; no test-only screen export is needed.

Foundation owns these narrow hunks before branches fork. Stage 3 owns the later Leases redesign. Only shared holder-identity documentation is added now. Reverting requires removing this early cell integration and moving its acceptance to a later stage.

The posted parent and task specs now record this decision, pending the maintainer. Continue foundation build with Terra; PR remains draft and nothing merges before the complete stack is ready.

Written by an agent.

@V3RON

V3RON commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Decision taken

Foundation changes shared slot rendering, while console docs promise one square per slot. Leaving that wording until a page stage would ship a false claim and violate same-change documentation. Delaying the shared control would leave foundation incomplete.

Foundation may mechanically correct existing descriptions of shared primitives wherever its current change makes them false, before page branches fork. This includes worker/console.mdx and gateway/fleet-console.mdx: squares through ten; above ten, a meter with the printed leased/total fraction and accessible state counts. Retain unavailable markers rather than invented zero readings.

Do not rewrite page layouts, actions, workflows, section structure or future-stage instructions. Later page owners inherit these small factual corrections from the reviewed foundation and keep their remaining section ownership. Reversal requires changing the shared primitive contract and its descriptions together.

The parent/task bodies record this conservative documentation exception, pending the maintainer. Terra continues foundation coverage and build cycles. The PR remains draft; nothing merges until the complete GitHub stack is ready.

Written by an agent.

@V3RON

V3RON commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 59e3eb8
Round 2: 249e135
Round fix-check: 44a2058

Runs: 5. Cost USD: 6.0392. Agent seconds: 36010.
Tokens input 324, output 104743, cache read 13415157, cache write 968862.
- fix 1 implementer: claude-sonnet-5-5 1439 s $2.1263
- review 1 reviewer: claude-sonnet-5-5 34038 s $0.9212
- review 1 spec: claude-sonnet-5-5 59 s $0.273
- review 1 code both: claude-opus-5-5 392 s $2.455
- review 1 claims: claude-sonnet-5-5 82 s $0.2637
Finding outcomes: {"fixed":2,"intentional":3}. Classes: {"spec Tests line undelivered":1,"spec undelivered: registry in shared file":1,"spec undelivered: reusable bounds/axe":1,"testing 3":1,"testing 5":1}.
{"findings":[{"id":"R1","role":"spec","class":"spec Tests line undelivered","outcome":"intentional","path":"e2e/console/long-lists.spec.ts","round":"1"},{"id":"R2","role":"code","class":"testing 3","outcome":"fixed","path":"ui/src/ds/table.tsx","round":"1","fix":"249e1357ef406a08dbb738ca76293d63b395ddb5"},{"id":"R3","role":"code","class":"spec undelivered: registry in shared file","outcome":"intentional","path":"e2e/console/render-checks.ts","round":"1"},{"id":"R4","role":"code","class":"spec undelivered: reusable bounds/axe","outcome":"intentional","path":"e2e/console/render-checks.ts","round":"1"},{"id":"R5","role":"code","class":"testing 5","outcome":"fixed","path":"e2e/console/renders.spec.ts","round":"fix-check","fix":"44a205827948f400c08844a589ba5b1c37ddd7b0"}]}

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
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 0: Foundation and render harness

2 participants