Skip to content

fix(macos): close panels on outside click and quiet accent colors - #2183

Merged
LHagfoss merged 1 commit into
mainfrom
fix/macos-panels-style
Oct 20, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
fix/macos-panels-style

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

Closes #2180

Changes

  • Click-away panels. Settings, Rename, /context and command answers were sheets, which ignore clicks outside. They are now clickAwayPanel overlays: dimmed window, click outside or Esc closes, closePanel environment action replaces dismiss. Toasts stay above them.
  • Bigger panels. Settings grows to up to 880×620 (shrinks with the window), rename/context panels and composer +/model/effort panels are a little wider.
  • Settings icons. Plain monochrome SF Symbols (brand when selected) instead of white glyphs on coloured tiles.
  • Yellow audit (style(macos): refine yellow borders and highlight colors #2180).
    • Permission and question cards: amber outline → neutral hairline on Liquid Glass (glassSurface).
    • Question header: brand instead of amber; single-choice answers are full-width hover rows instead of bordered buttons.
    • Kept amber where it is status: permission header icon, sidebar "waiting for answer" icon, warning toasts, error banner, context-usage warning level, find-match highlight.

Tests

swift build, swift test. Visual change: please check Settings open/close by clicking outside and Esc, rename (⏎/Esc), /context, and a question card in light and dark.

https://claude.ai/code/session_01SZ3DB3WXnKyfSuHppCNJFg

- Settings, rename, /context and command answers open as panels over the
  dimmed window that a click outside or Esc closes; Settings is larger.
- Settings sections use plain SF Symbols instead of coloured tiles.
- Approval and question cards use Liquid Glass with a neutral hairline
  instead of an amber outline; questions take the brand colour and list
  their choices as rows.
- Composer panels are a little wider.

Closes #2180

Claude-Session: https://claude.ai/code/session_01SZ3DB3WXnKyfSuHppCNJFg
@github-actions github-actions Bot added the fix A bug fix label Oct 20, 2026
@LHagfoss
LHagfoss merged commit 1f6900d into main Oct 20, 2026
7 checks passed
@LHagfoss
LHagfoss deleted the fix/macos-panels-style branch October 20, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

style(macos): refine yellow borders and highlight colors

1 participant