Repository navigation
Keep New thread clear of the macOS traffic lights in the narrow sidebar drawer - #5495
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
brsbl
force-pushed
the
bb/debug-code-thr_u2zp68t9qb
branch
from
October 14, 2026 19:13
a068c47 to
2b1bba5
Compare
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
#5229 put the navigation rail inside the compact drawer and dropped the header's macOS start inset, so in windows under 768px New thread sat under the traffic lights and the sidebar toggle. Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl
force-pushed
the
bb/debug-code-thr_u2zp68t9qb
branch
from
October 15, 2026 00:03
2b1bba5 to
fde97d1
Compare
The compact macOS drawer padded New thread with a literal 88px, which assumes the sidebar toggle sits at the 84px reserve. When the traffic lights move, the toggle moves with --bb-macos-traffic-light-reserve, so compute the padding from it: New thread starts 4px after the 28px toggle whatever the reserve, rail padding or control size. Builds that don't set the reserve keep 84px, so the start stays at x=116 on the current layout. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 15, 2026
Merged
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Human comments
What was wrong
In macOS desktop windows narrower than 768px, New thread in the sidebar drawer sits under the traffic lights, and the sidebar toggle draws on top of it (reported on Discord after desktop-v0.46.0). #5229 (
ff9484883) moved the navigation rail into the compact drawer and dropped the macOS start inset fromSidebarTopReserveRow. The drawer's header row now starts right after the rail, at x=52. That is under the lights (x=18–78), and the sidebar toggle, fixed at x=84–112, overlaps it.What changed
SidebarTopReserveRow(apps/app/src/components/sidebar/SidebarChrome.tsx) pads the drawer's header row so New thread starts at x=116, just after the sidebar toggle. That is where it sat in 0.45.0.How you verified
SidebarChrome.test.tsx: the compact macOS drawer reserves the space, while the framed window and a compact browser window don't. CI failed with only the test (run 38601538235, app-8: "expected false to be true") and passes with the fix.main(before) and from this branch (after), with the same seeded thread. The window was resized natively to 700×800 with the sidebar drawer open, and to 1100×800.@get-bb/[email protected]was published to npm at 15:11 UTC today, and building the SDK frommainnow produces a differentdist/provider-bridge-testing.js. This PR doesn't touch the SDK. Every PR based on currentmainwithout a version bump fails the same way (for example Keep native Browser pages when switching servers #5490 and Never strip HTML when saving Docs #5443), and Show the hosting server's version in Updates #5492 passes because it bumps to 0.6.44. It clears once a bump lands onmainand this PR's CI reruns.Merge order with "Compact the macOS app frame and move headers into the title bar" (#5529)
Resolved: the PRs can merge in either order. #5495 used to pad the narrow-window drawer header with a literal
88px, which assumed the sidebar toggle sits at the 84px reserve; with #5529's wider reserve New thread would have started under the toggle (measured at an earlier 88px reserve: New thread at x=112 under the toggle at x=88–116). #5495 now includes5bd8c8b85, which derives that padding from--bb-macos-traffic-light-reserve(falling back to 84px), so New thread starts 4px after the toggle under either geometry. Measured on a real Mac at 700px:5bd8c8b85on main96084fc15+ #5495BB-Thread-ID: thr_eigbyjruhs
🤖 Generated with Claude Code