Skip to content

feat(delivery): shared ConsoleShell, header bar without eyebrows, route tabs - #5468

Merged
shepherdjerred merged 1 commit into
mainfrom
delivery-d1-console
Nov 28, 2026
Merged

shepherdjerred merged 1 commit into
mainfrom
delivery-d1-console

Conversation

@shepherdjerred

@shepherdjerred shepherdjerred commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Why

Delivery drew its own phone top bar, nav drawer, page header and route tabs beside console-ui's shared versions (FM-263, D1). Moving onto the shared pieces removes the local copies and the "Homelab CI/CD" eyebrow.

What

  • Shell: ConsoleShell replaces Topbar, the Base UI drawer and nav-drawer.ts. The Approvals link and live-feed indicator sit in the phone bar; feed and identity sit in the sidebar footer and drawer foot. @base-ui/react is no longer a Delivery dependency.
  • Theme: shared ops-theme key; a choice stored under delivery-theme moves over once.
  • PageHeader is an adapter over HeaderBar: h1#main-heading keeps focus after navigation, parent eyebrows become the lead link, generic eyebrows are dropped, the description is a muted line below the bar.
  • Service route tabs use NavTabs.
  • Element defaults move into console-ui's reserved @layer ui.app; the app-side layers.css and ui.delivery layer are gone.
  • Dead layout/tokens CSS removed; the conformance allowlist only shrinks (base.css 42 -> 5, layout.css 35 -> 29).
  • Playwright selectors move from .page-header/.eyebrow/.subtitle to [data-page-header]/[data-page-lede]; expect( counts per spec are unchanged (all 25 specs identical to main). The skip link now focuses #main without a URL fragment.
  • Rebased onto main after feat(console-ui): flag app CSS that outranks shared components #5461: only package.json/bun.lock conflicted (kept axe-core 4.14.1, dropped @base-ui/react).

Demo

Same Delivery e2e fixture served from main and from this branch, 1280px light/dark and 375px phone. The service page shows the new route tabs in the header bar and the eyebrow gone; the eyebrow lines on the other pages become the muted lead link. The missing spaces in the deployment summary line ("succeededdeployVersion set r2") appear identically before and after, so they are not part of this change.

Page Before (main) After (this PR)
Overview, light
Overview, dark
Overview, phone
Service page (route tabs), light
Service page (route tabs), dark
Service page (route tabs), phone
Environment, light
Environment, dark
Environment, phone
Deployment detail, light
Deployment detail, dark
Deployment detail, phone

Verification

  • bun install --frozen-lockfile; bunx turbo run build typecheck test lint --filter=@shepherdjerred/delivery: pass (18/18 tasks; 148 files, 1240 tests)
  • bunx turbo run test:extended --filter=@shepherdjerred/delivery: pass (74 files, 461 tests)
  • cd packages/delivery && bun run test:e2e (Playwright incl. axe): 402 passed
  • Not run: Woodpecker CI, deployment, live acceptance

🤖 Generated with Claude Code

@greptile-apps

greptile-apps Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Automatic reviews are disabled for this repository. Configure in Code Review Settings.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

@shepherdjerred
shepherdjerred marked this pull request as ready for review November 28, 2026 19:59
@shepherdjerred

Copy link
Copy Markdown
Owner Author

@codex review

Automated re-review request for 23a52dc from the CI review gate.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T20:02:16.029649Z 23a52dc Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 23a52dc4c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

…te tabs

Why
Delivery drew its own phone top bar, nav drawer, page header and route tabs
beside console-ui's shared versions (FM-263, D1). Moving onto the shared
pieces removes the local copies and the "Homelab CI/CD" eyebrow.

What
- Shell: ConsoleShell replaces Topbar, the Base UI drawer and nav-drawer.ts.
  Approvals link and live-feed indicator sit in the phone bar; feed and
  identity sit in the sidebar footer and drawer foot. @base-ui/react is no
  longer a Delivery dependency.
- Theme: shared ops-theme key; a choice stored under delivery-theme moves
  over once (index.html's pre-paint script reads both).
- PageHeader is an adapter over HeaderBar: h1#main-heading keeps focus after
  navigation, parent eyebrows become the lead link, generic eyebrows are
  dropped, the description is a muted line below the bar.
- Service route tabs use NavTabs.
- Element defaults move into console-ui's reserved `@layer ui.app`; the
  app-side `layers.css` order statement and the `ui.delivery` layer are gone.
- Dead layout/tokens CSS removed; conformance allowlist shrinks, including the
  layer rule's bare-element baseline (base.css 42 -> 5, layout.css 35 -> 29).
- Playwright selectors move from .page-header/.eyebrow/.subtitle to
  [data-page-header]/[data-page-lede]; expect() counts per spec unchanged.
  The skip link now focuses #main without a URL fragment.

Verification
- turbo build typecheck test lint --filter=@shepherdjerred/delivery: pass
  (18/18 tasks, rerun on CU2-4 + layer rule)
- turbo test:extended --filter=@shepherdjerred/delivery: 422 passed
- Playwright: 342 passed (desktop 106, mobile 106, model-desktop 65,
  model-mobile 65)
- jscpd baseline ratchet passed; knip clean for delivery/console-ui
- Not run: CI, deployment, live acceptance

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shepherdjerred
shepherdjerred merged commit 369ca51 into main Nov 28, 2026
0 of 7 checks passed
@shepherdjerred
shepherdjerred deleted the delivery-d1-console branch November 28, 2026 21:25
shepherdjerred added a commit that referenced this pull request Nov 28, 2026
Why
D1 (#5468) gave Delivery a copy of Tracker's theme.ts and theme.test.ts:
the same migrateLegacyTheme, browser wrapper and tests with only the old
key changed. main's jscpd ratchet now fails on that clone, and the
repo-wide pre-commit hook rejects every commit until it is gone.

What
- console-ui exports migrateLegacyTheme(legacyKey, storage) and
  migrateLegacyThemeInBrowser(legacyKey) beside createThemeStore; its tests
  cover carry-over, shared-key-wins and no-op.
- Delivery's and Tracker's theme.ts call it with their old key
  ("delivery-theme", "tracker.theme"); their duplicated tests are removed.

Verification
- `bun run jscpd`: baseline ratchet passed (failed on main 369ca51 before).
- `bunx turbo run build typecheck test lint --filter=@shepherdjerred/console-ui
  --filter=@shepherdjerred/delivery --filter=@shepherdjerred/tracker`: pass.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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