Skip to content

Taller rows in the Settings and Admin menus - #2724

Merged
samjulien merged 1 commit into
mainfrom
claude/settings-admin-menu-rows
Dec 2, 2026
Merged

samjulien merged 1 commit into
mainfrom
claude/settings-admin-menu-rows

Conversation

@samjulien

@samjulien samjulien commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

What this changes

A design-system change, one concern: a new size on one primitive.

SidebarMenuButton gets size="page": 36px tall, with the default size's text-sm step and padding. shadcn's sm, default and lg are unchanged. The Settings menu and the Admin menu use it for their rows. The app's main sidebar keeps default (32px), and the "Back to app" header row is unchanged.

Why: the UX audit measured Settings menu rows at 32px. Claude's and ChatGPT's settings menus are about 36px. A page's own menu is read row by row, so it gets one step more height.

Also:

  • The count badge and the row action are centered on the new size (top-2), as they are for the other sizes.
  • ui-primitives-look.test.ts now holds shadcn's three sizes and the new one.
  • docs/design-system.md says a size of our own goes beside shadcn's, never in place of one, and names this one.

No token changes. Nothing Guido landed is changed.

Where it runs

Front end only. No server, database or API change.

  • New state that outlives a request? None.
  • What happens on the second replica? Nothing different.
  • Anything serialised? No.
  • Anything fanned out to a browser? No.
  • New listener, port, or schedule? No.

Boundary and audit

  • Every acting call still goes through the gateway: resolve, decide, audit, then act.
  • New refusals and new failures each write a row. (None added.)
  • Nothing new is trusted from the client that the server can resolve itself.

API and database

  • This changes nothing under api/, no app's requests, no database change and no release-policy.json.

Changelog

The look.

  • Menu rows are taller. The rows in the Settings and Admin menus are 36px, up from 32px. The
    app's main sidebar is unchanged.

Proof

  • bun run lint, bun run format:check and the app typecheck pass.
  • ui-primitives-look, ui-look-guard, ui-look-theme, design-tokens, settings-sidebar, settings-setup, teams, admin-request-notify and app-navigation tests pass.

Desktop workbench, 1280 × 820.

Settings

Before After

Admin

Before After

SidebarMenuButton gets a size of its own, `page`: 36px, with the default's
text step and padding, beside shadcn's sm, default and lg. Settings and
Admin use it for their menu rows. The app's main sidebar keeps default.
The count badge and the row action sit centered on it.

@davidmckayv davidmckayv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved; merge once CI is green. shadcn's sm, default and lg stay as they are, page (36px) sits beside them, design-system.md names it, ui-primitives-look.test.ts pins all four sizes, and it's used only in the Settings and Admin menus. Checked in Chromium and WebKit, light and dark, at 390px, 1000px and 1440px: no clipping, and the Apps badge stays centred. With #2710 there's no conflict, but #2710 also puts className=h-9 on the same Settings rows. Merge this first, then drop #2710's h-9 and its comment when rebasing.

@davidmckayv davidmckayv mentioned this pull request Dec 2, 2026
9 tasks done
@samjulien
samjulien added this pull request to the merge queue Dec 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 2, 2026
@samjulien
samjulien added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 27b3868 Dec 2, 2026
35 of 36 checks passed
@samjulien
samjulien deleted the claude/settings-admin-menu-rows branch December 2, 2026 05:56
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.

2 participants