Skip to content

Home nav redesign: defaults capsule — one row at every panel width - #23

Merged
kateebonner merged 1 commit into
local/amicodefrom
kate/nav-defaults-capsule
Jul 15, 2026
Merged

Home nav redesign: defaults capsule — one row at every panel width#23
kateebonner merged 1 commit into
local/amicodefrom
kate/nav-defaults-capsule

Conversation

@kateebonner

@kateebonner kateebonner commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

What

Part-by-part redesign of the home chrome strip, decided with Kate on the interactive proposal (artifact 9d64bc98) and iterated live in the installed extension. The old strip was six things at one altitude wrapped by accident — at ~500px the wrapped solver row painted under the dashboard cards; at 360px solver/sessions/customize were unreachable.

The fresh bar: brand | defaults capsule · sessions · settings — ≈350px worst case, one row from 360px to full-screen. The only responsive rule is the wordmark fading below 400px.

  • Defaults capsule (new amicode-defaults-capsule.tsx): model + solver in one compact control. Face shows the current pair (Auto · Piccolo ▾); popover holds the full model select (existing AmicodeDefaultModel, unchanged semantics: global pin + VS Code-setting mirror) and a solver radio pair on solver-toggle.tsx's persistence. HP mode puts an accent border on the face — the PRO funnel survives every width. No emoji, no marketing caption (Kate: tacky); the PRO pill carries the tier. Click-outside + Escape dismiss.
  • Settings gear → far right (identity left, actions right).
  • customize → no standing button anywhere: editing starts from the card in hand. Hover/focus any widget → a appears in its corner (host-side above the sandboxed frame, same layering trick as the edit-mode pill); its menu carries direct actions (move up/down, configure, remove) plus Arrange dashboard… which opens the existing full edit mode (scrim, control pills, add-back tray, Done). Every menu action reuses the grid's existing operations — no new state machinery.
  • Pills follow the amicode design-system spec (media/ui/atoms/pill.ts in the amicode repo): fully-round, 1px currentColor border, 10% currentColor tint background, colored text carrying state, 600 weight / 0.5px tracking, line-height: 1 with 4px/7px padding (Kate-tuned live). Applied to the sessions count badge and the PRO tier pill.

Verification

  • bun turbo typecheck (app+ui) clean; bun test ui 221 / app 388, 0 fail
  • Live width sweep at 360/500/768/1200 via the installed extension: one row at every width, wordmark yields at 360, no overlap at 500 (previously broken)
  • Every iteration reviewed live by Kate in the installed VSIX; final vendor stamp local 2bbce6947 = this branch tip

🤖 Generated with Claude Code

@kateebonner
kateebonner force-pushed the kate/nav-defaults-capsule branch 10 times, most recently from e3899c1 to 2bbce69 Compare July 15, 2026 02:47
… width

The chrome strip put six unrelated things at one altitude (identity, app
settings, a chat default, a solve default, navigation, page editing) and
relied on accidental flex-wrap: at ~500px the wrapped solver row painted
UNDER the dashboard cards; at 360px solver/sessions/customize were
unreachable. Design walked part-by-part with Kate (artifact:
claude.ai/code/artifact/9d64bc98-4109-4f19-a8b9-47c49b9a6529); her calls:

- DEFAULTS CAPSULE (new amicode-defaults-capsule.tsx): model + solver
  consolidate into one compact control — face reads the current pair
  ("Auto · Piccolo ▾"), popover holds the full model select (the existing
  AmicodeDefaultModel, unchanged: global pin + VS Code-setting mirror)
  and a solver radio pair sharing solver-toggle.tsx persistence. With the
  ⚡ HP solver on, the face wears the bolt + accent border — the PRO
  funnel stays visible at every width. Click-outside + Escape dismiss.
- Settings gear moves to the FAR RIGHT (identity left, actions right).
- "customize" has NO standing button anywhere (second-round rethink):
  editing is initiated from the card in hand. Hover/focus any widget →
  a ⋯ appears in its corner (host-side above the sandboxed frame, like
  the edit-mode pill); its menu carries direct actions (move up/down,
  configure, remove) plus "Add widget…" and "Arrange dashboard…", which
  open the existing full edit mode (scrim, control pills, add-back
  tray, Done). All menu actions reuse the grid's existing operations.
- The bar is now brand | capsule · sessions · gear ≈ 350px worst case:
  ONE row from 360px to full-screen. The only responsive rule left is
  the wordmark fading below 400px (amicode.css).

The show-only AmicodeSolverToggle strip is no longer mounted (component
and its exports stay; the capsule reuses loadSolverMode/saveSolverMode).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kateebonner
kateebonner force-pushed the kate/nav-defaults-capsule branch from 2bbce69 to e603a49 Compare July 15, 2026 03:17
@kateebonner
kateebonner merged commit 8df48a1 into local/amicode Jul 15, 2026
0 of 4 checks passed
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