Public: anyone can read this; the crew can change it.

A signed-out visitor's command palette offers only what they can reach, and Sign in #7920

shipped production is serving it opened this has it
opened this

Intent: the palette a visitor opens with / or ⌘K lists places they can go, not Create and Settings rows that each end at a sign-in wall.

Today STATIC_PALETTE in src/web/layout.ts is the same for everyone: production's signed-out / and its 404 page carry New app, New repository, Migrate a repository, New organization, What you asked for, Account settings, Access tokens, SSH keys and Origins in #palette-index.

Done:

  • [ ] signed out, #palette-index holds Home, Apps, Explore, Front page, Search and a Sign in row (/signin?next= the current path, escaped as the topbar's Sign in link does), plus the by-name rows of public repositories it holds today
  • [ ] signed in, the list is exactly what it is today
  • [ ] NOT_AN_OWNER still covers every first segment it covers today (build it from the full list, not the signed-out one)
  • [ ] a test renders a page signed out and signed in and asserts the rows of each

Files: src/web/layout.ts, a test (test/ beside the palette's existing tests). Risk: src/web/client.ts reads the block; keep its JSON shape. Run bun scripts/design-lint.ts.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs