Skip to content

Hide macOS window controls with sidebar state#355

Merged
BunsDev merged 1 commit intomainfrom
okcode/hide-closed-controls
Apr 7, 2026
Merged

Hide macOS window controls with sidebar state#355
BunsDev merged 1 commit intomainfrom
okcode/hide-closed-controls

Conversation

@BunsDev
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev commented Apr 7, 2026

Summary

  • Sync macOS window button visibility with the chat sidebar open state in the desktop shell.
  • Add a new desktop IPC bridge method and main-process handler to toggle the native window controls on Darwin only.
  • Remove the hard-coded left padding that was previously reserving space for the window controls in chat headers and the empty state.

Testing

  • Not run (PR content only).

- Add desktop IPC to toggle native window button visibility on macOS
- Sync visibility from the chat sidebar open state and restore it on cleanup
- Remove extra left padding now that the title bar controls are hidden
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 7, 2026 0:30am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 7, 2026 0:30am

@github-actions github-actions bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 7, 2026
@BunsDev BunsDev merged commit 7bd566c into main Apr 7, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant