Repository navigation
fix(app): restore top edge dragging with vertical tabs - #48619
tianhaotian wants to merge 1 commit into
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
3eb1987 to
bd9b926
Compare
|
Rebased onto current Resolved the shell conflict while preserving upstream's current Titlebar API and the macOS vertical-tabs drag region. Validation: root |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #48422
Rebased onto current
dev(b474b842595c) on 2026-10-14. The main shell still lacks this drag region; the linked issue remains open.Type of change
What does this PR do?
Vertical tabs hide the macOS titlebar, leaving the empty top edge above the main content without a drag region. Cover the existing 8px shell inset with a native drag region for desktop macOS windows using vertical tabs outside fullscreen. The layout stays unchanged, and the shared CSS disables dragging when a modal hides the root.
How did you verify your code works?
bun run testinpackages/app: 749 unit tests and 173 browser-condition tests passed on the rebased head (2026-10-14).bun run checkpassed lint and all 36 typecheck tasks. Prettier andgit diff --checkpassed.nonetodrag, measures 1000×8px, and leaves the content below unchanged. Checked horizontal tabs, other platforms, fullscreen, and the modal visibility guard.noWindowsAvailable. Please manually drag the empty top edge on macOS with vertical tabs to confirm.Screenshots / recordings
Before and after show the unchanged layout; the change is the top edge's native hit region.
Checklist