You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(web): keep Inbox reset button clickable and visible with right panel open - #140
On Inbox threads with the right panel open in Electron, WorkspaceTitlebarControls is rendered at the root while the sibling <header className="drag-region"> only punched out a fixedw-46.5no-drag region (sized before ChatInboxResetButton was added). In pane strip mode, the controls switch to absolute while the punch-out stayed fixed, and in narrow/sheet mode with the right panel open (rightPanelControlsInPanel), ChatInboxResetButton was omitted from layoutControls. As a result, clicks on the Inbox reset button could be swallowed by the window drag region or the button was not shown at all.
Widened the Electron no-drag punch-out on Inbox threads (w-54.5) and positioned it absolute in pane strip mode, marked InboxResetIconButton's tooltip trigger wrapper [-webkit-app-region:no-drag], and rendered <ChatInboxResetButton> in the sheet layoutControls alongside {panelToggleControls}.
Low Risk
UI-only Electron title-bar and right-panel layout tweaks; no auth, data, or API changes.
Overview
Fixes Inbox reset usability when the right panel is open, especially in the Electron desktop client.
The native window drag region no-drag punch-out is wider on Inbox threads (w-54.5 vs w-46.5) to cover the extra reset control, switches to absolute positioning in pane-strip mode (was always fixed), and InboxResetIconButton marks its tooltip wrapper with [-webkit-app-region:no-drag] so clicks are not eaten by the title bar.
ChatInboxResetButton is now rendered in the right-panel sheet layoutControls next to maximize and panel toggles, so it appears when controls move into the panel on narrow layouts (rightPanelControlsInPanel).
Reviewed by Cursor Bugbot for commit 1278aaf. Bugbot is set up for automated code reviews on this repo. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Inbox threads with the right panel open in Electron,
WorkspaceTitlebarControlsis rendered at the root while the sibling<header className="drag-region">only punched out afixedw-46.5no-dragregion (sized beforeChatInboxResetButtonwas added). In pane strip mode, the controls switch toabsolutewhile the punch-out stayedfixed, and in narrow/sheet mode with the right panel open (rightPanelControlsInPanel),ChatInboxResetButtonwas omitted fromlayoutControls. As a result, clicks on the Inbox reset button could be swallowed by the window drag region or the button was not shown at all.Widened the Electron
no-dragpunch-out on Inbox threads (w-54.5) and positioned itabsolutein pane strip mode, markedInboxResetIconButton's tooltip trigger wrapper[-webkit-app-region:no-drag], and rendered<ChatInboxResetButton>in the sheetlayoutControlsalongside{panelToggleControls}.Gemini 4 Neon via Antigravity