Skip to content

ui(agents): light-theme overlays + draggable top strip#12

Merged
aletc1 merged 1 commit intodevfrom
claude/great-lederberg-7f6e99
Apr 17, 2026
Merged

ui(agents): light-theme overlays + draggable top strip#12
aletc1 merged 1 commit intodevfrom
claude/great-lederberg-7f6e99

Conversation

@aletc1
Copy link
Copy Markdown
Owner

@aletc1 aletc1 commented Apr 17, 2026

Overlays (Dropdown, Popover, ContextMenu, Select) used to hardcode a dark class on their content, producing a dark surface in the otherwise light UI. Replaced the hardcoded class with an opt-in forceDark prop (default false) across all four primitives, so every dropdown / popover / context menu / select follows the active theme by default.

Added a 32px draggable strip at the top of the main content pane in agents-layout.tsx so window dragging works from any view (previously only the sidebar top was draggable). Added -webkit-app-region: no-drag carve-outs to interactive elements that sit inside the strip — AgentsHeaderControls hamburger, NewChatForm mobile fallback, SubChatSelector tabs and Plus button, AutomationsView / InboxView / AutomationsDetailView headers — so buttons remain clickable while empty gaps stay draggable.

Overlays (Dropdown, Popover, ContextMenu, Select) used to hardcode a
`dark` class on their content, producing a dark surface in the otherwise
light UI. Replaced the hardcoded class with an opt-in `forceDark` prop
(default `false`) across all four primitives, so every dropdown / popover
/ context menu / select follows the active theme by default.

Added a 32px draggable strip at the top of the main content pane in
`agents-layout.tsx` so window dragging works from any view (previously
only the sidebar top was draggable). Added `-webkit-app-region: no-drag`
carve-outs to interactive elements that sit inside the strip —
AgentsHeaderControls hamburger, NewChatForm mobile fallback,
SubChatSelector tabs and Plus button, AutomationsView / InboxView /
AutomationsDetailView headers — so buttons remain clickable while empty
gaps stay draggable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aletc1 aletc1 merged commit f1f3e7e into dev Apr 17, 2026
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