Skip to content

feat(tracker): shared ConsoleShell, header bar, banners and buttons - #5467

Merged
shepherdjerred merged 1 commit into
mainfrom
tracker-t1-console
Nov 28, 2026
Merged

shepherdjerred merged 1 commit into
mainfrom
tracker-t1-console

Conversation

@shepherdjerred

@shepherdjerred shepherdjerred commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

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

  • Tracker's shell is the shared ConsoleShell; on a phone the bottom bar is replaced by the shared top bar and a navigation drawer.
  • Tracker's own header, banners and buttons use the shared components; the duplicate page title under the header bar is gone.
  • Virtualised list, drag and drop, ?peek= panel, j/k and live updates are unchanged.

Demo

desktop / light / issues

Before After

desktop / light / detail

Before After

desktop / light / forum

Before After

desktop / dark / issues

Before After

desktop / dark / detail

Before After

desktop / dark / forum

Before After

phone / light / issues

Before After

phone / light / detail

Before After

phone / light / forum

Before After

phone / light / drawer

Before After

phone / dark / issues

Before After

phone / dark / detail

Before After

phone / dark / forum

Before After

phone / dark / drawer

Before After

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-lockfile
  • bunx 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)
  • Not run: live deployment checks (ArgoCD / runtime); no extended-tier steps in Tracker affected beyond the above.

🤖 Generated with Claude Code

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>
@shepherdjerred

Copy link
Copy Markdown
Owner Author

@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 99661a9 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:22.866415Z 99661a9 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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@shepherdjerred
shepherdjerred merged commit 003990b into main Nov 28, 2026
3 of 7 checks passed
@shepherdjerred
shepherdjerred deleted the tracker-t1-console branch November 28, 2026 20:15
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