Repository navigation
feat(delivery): move the overview and pipelines pages onto the shared console look - #5555
shepherdjerred wants to merge 2 commits into
Conversation
|
This change is part of the following stack: Change managed by git-spice. |
|
Automatic reviews are disabled for this repository. Configure in Code Review Settings. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
…e look Why Delivery's status, badge, pill, notice, facts, disclosure, time, pager and confirm dialog were local copies of pieces console-ui now owns, and its list pages, activity and commits were padded cards with hand-rolled tables. D2 of the console look rollout moves them onto the shared pieces. What - Status renders console-ui's StatusGlyph (glyph plus word; running turns, queued and awaiting approval keep their own glyphs). Badges become Chip, env-pills become linked ui-chips, notices become Banner (Notice), facts become DescriptionList (Facts), Disclosure, RelativeTime/ExactTime/Duration (Elapsed, Deadline, ClockTime wrap Delivery's wording) and Pager. - ConfirmButton owns a console-ui Dialog and renders it only while it asks; focus returns to the button, or to the page heading when the button leaves mid-answer. The page-wide ConfirmDialogProvider is gone. - Deployments, Approvals, Artifacts, Activity, Pipelines, Commits (list and detail) and the service executions tab are Sections with .ui-table; the filters are ui-toolbar Fields. Times are Pacific, as console-ui sets. - Fixes the deployment summary line that dropped the spaces between its parts. - Conformance allowlist counts only go down (151 to 102). - Playwright and unit specs that selected by class (.status, ol.activity, .facts, dialog, .notice ...) select by role, label or data attribute, one assertion for one. Verification - bunx turbo run typecheck lint --filter=@shepherdjerred/delivery - vitest src/client: 328 passed - playwright (desktop, mobile, model-desktop, model-mobile): 406 passed - Not run: live acceptance; the PR changes no server or API code. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cd362c5 to
55a007a
Compare
|
@codex review Automated re-review request for |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
… console look Why D3 of the console look rollout. The overview was a grid of padded tiles with severity borders, a hand-rolled filter form and panel cards; the promotion graph and attention list carried their own colour edges, spacing tokens and buttons. What - Overview: a FigureStrip (services, healthy, running, waiting, failing), "Needs attention" as a Section with the shared Button for "Show all", the filters as the shared FilterForm/Field toolbar with the "N of M services" count, and one Section per catalog kind holding a ui-table of services (nested Sections for groups). Environment chips become plain environment links built from StatusGlyph, Revision and RelativeTime; phones keep the healthy fold. - Pipelines: attention and the list sit in the page's full-bleed sections; the filter uses FilterForm. - Promotion graph: Section "Promotion"; stage nodes, transitions and actions rebuilt on --ui-* tokens with no colour edges (the glyph and word carry state); "Promote..." is a ButtonLink. - Conformance allowlist: overview.css and pipeline.css entries gone, components.css bare-element-selector 38 to 29. - Specs select by role, label or table instead of tile/chip classes, one for one. Verification - bunx turbo run build typecheck test lint --filter=@shepherdjerred/delivery - Playwright (desktop, mobile, model-desktop, model-mobile): all passed (402 in the full run plus the 4 attention.model specs re-run after fixing their local tile helper). - Not run: live deployment acceptance. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fa13207 to
55a007a
Compare
Why
D2 of the console look rollout. Delivery's status, badge, pill, notice, facts, disclosure, time, pager and confirm dialog were local copies of pieces console-ui now owns, and its list pages, activity and commits were padded cards with hand-rolled tables.
What
StatusrendersStatusGlyph(glyph plus word; running turns, queued and awaiting approval keep their own glyphs). Badges becomeChip, env-pills linkedui-chips, noticesBanner(Notice), factsDescriptionList(Facts), plus the sharedDisclosure,RelativeTime/ExactTime/DurationandPager. Times are Pacific, as console-ui sets.ConfirmButtonowns a console-uiDialogand renders it only while it asks. "Keep as is" takes focus first; focus returns to the button, or to the page title when the button leaves mid-answer. The page-wideConfirmDialogProvideris gone.Sections with.ui-table(data-stackon a phone); filters areui-toolbarFields.delivery.spec.tsasserts it..status,ol.activity,.facts,dialog,.notice,.environment-notice...) select by role, label or data attribute, one assertion for one.expect(counts per spec are unchanged exceptlists.spec.ts(93 to 94: the time-zone check became a lede check plus aPTtitle check) and the new summary-line assertion indelivery.spec.ts(25 to 26).bleed-panel,bleed-page).Demo
Rendered in Chromium (Playwright) against the e2e harness, before from
origin/mainand after from this branch. The environment page is a D4 page: it shows the shared primitives (glyphs, facts, banners) inside today's panels.Verification
bun run typecheck,bun run lintinpackages/delivery: clean.vitest src/client: 328 passed (includes the conformance scan).bun run jscpdandbun scripts/checks/check-directory-file-counts.ts: pass.bunx turbo run test:extended --filter=@shepherdjerred/delivery): 75 files, 482 tests passed. The broaderverify:extended --filter='...[origin/main...HEAD]'was started and stopped when it began unrelated the-storm JVM suites; delivery has no dependants that run extended steps.🤖 Generated with Claude Code