Repository navigation
feat(tracker): shared ConsoleShell, header bar, banners and buttons - #5467
Conversation
Why Tracker kept its own frame on top of console-ui: a hand-composed ShellFrame and Sidebar, its own page header, a phone bottom bar with a More sheet, and its own banner, error and empty markup. Its element defaults sat in a top-level `tracker.elements` layer, which CSS orders after all of console-ui's `ui` layer, so Tracker's bare `button`, field and heading rules outranked console-ui's components. Every other console navigates through ConsoleShell's top bar and drawer, so Tracker looked and moved differently on a phone. This is T1 of the console-ui plan (FM-263) and fixes AI-941 items 1 and 6. What - Shell: Tracker renders console-ui's ConsoleShell (switcher mark "T", Workspace, Views, Teams and Projects groups declared once, a footer with identity, Settings and shortcuts above the theme row). The sidebar and top-bar search buttons open Tracker's own palette through a command-palette store that mirrors the shell's overlay state. - Phone: the bottom navigation and More sheet are gone; the shell's top bar and drawer replace them, and New issue moves into the top bar. Drawer links, and the footer's identity and shortcut buttons, shut the drawer first. Saved-view actions always show on touch screens. - Header: every page starts with console-ui's HeaderBar (title, live indicator, New issue). The forum's header is now its only h1 and the page shows an intro line with New post (AI-941 #1); issue and forum thread pages keep their own h1 and the bar's title is plain text. - Panel fill: console-ui's panel is a flex column and Tracker's main fills it, so detail.css's `calc(100dvh - 67px)` is gone (AI-941 #6). - Pieces: the read-only notice is a Banner, ErrorNotice is an error Banner with role=alert, empty states are State, and the shell, forum, identity form and empty-list buttons are console-ui Buttons. - Cascade: bare element defaults live in console-ui's reserved `ui.app` layer, between its reset and components, so console-ui's pieces win over them; the headings, `kbd`, `pre` and phone sizes that were unlayered join it. Tracker declares no layer names of its own. Class-qualified rules (the action buttons' edge) are unlayered at element specificity. Fields take console-ui's one focus ring. Letter-spacing, the theme-preview hex colours (now token values set per preview) and the pill radius are gone. - Theme: the store uses the shared `ops-theme` key and keeps the theme-color metas itself. A preference saved under the old `tracker.theme` key moves onto `ops-theme` once on load (unit tested), and the pre-paint script reads both keys during the move. - Uses console-ui's `sidebarFooter` as a function of the drawer's `close`, HeaderBar `titleAs="p"` for pages that own their h1, and the flex-column `.ui-panel` (all from CU1-CU4; this commit changes no console-ui code). - Conformance allowlist: 26 entries / 251 violations to 19 / 232; every change is a reduction, no new entries. Verification - bun install --frozen-lockfile; bunx turbo run build typecheck test lint --filter=@shepherdjerred/tracker --filter=@shepherdjerred/console-ui: 17/17 tasks passed (console-ui 638 tests, Tracker 290 tests). - bun --bun vitest run src/client/conformance.test.ts (Tracker): passed. - Tracker Playwright (bun run test:e2e): 218 passed (desktop and mobile), including the axe accessibility suite. - Pre-commit hooks passed. - Not run: CI, deployment, live acceptance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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
|
|
@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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 99661a9ef3
ℹ️ 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".
| search={() => { | ||
| setOverlay("palette"); | ||
| }} | ||
| <ConsoleShell |
There was a problem hiding this comment.
Offset sticky issue groups below the new phone top bar
At widths of 900px or less, ConsoleShell introduces a 52px sticky top bar at top: 0 with z-index 10, but Tracker's .group-sticky in styles/controls.css still sticks at top: 0 with z-index 5. When scrolling a grouped issue list, its sticky group heading is therefore hidden behind the navigation bar, including the collapse and create-in-group controls. Apply the top-bar offset to the sticky group heading at the same breakpoint so grouped-list navigation remains visible and usable.
Useful? React with 👍 / 👎.
Why
Tracker had its own header, banners, buttons and phone bottom bar. This moves it onto the shared console-ui
ConsoleShell, header bar, banners and buttons so Tracker matches the other consoles (T1 of the console-ui plan, FM-263). Fixes AI-941 items 1 and 6.What
ConsoleShell; on a phone the bottom bar is replaced by the shared top bar and a navigation drawer.?peek=panel, j/k and live updates are unchanged.Demo
desktop / light / issues
desktop / light / detail
desktop / light / forum
desktop / dark / issues
desktop / dark / detail
desktop / dark / forum
phone / light / issues
phone / light / detail
phone / light / forum
phone / light / drawer
phone / dark / issues
phone / dark / detail
phone / dark / forum
phone / dark / drawer
Desktop is visually near-identical by design. On a phone the bottom bar becomes the shared top bar (menu, search, new issue, theme) and the drawer holds all navigation. Minor: the Browser Automation identicon differs between loads (random per actor).
Verification
bun install --frozen-lockfilebunx turbo run build typecheck test lint --filter=@shepherdjerred/tracker: 14/14 tasks passed (290 unit tests, architecture lint clean)cd packages/tracker && bun run test:e2e: 218 passed (desktop + mobile, incl. axe)🤖 Generated with Claude Code