GeezerVison is showing github.com — fix(web): sidebar toggle no longer sits under the macOS window buttons by realhasanshoaib · Pull Request #18193 · pingdotgg/t3code
Conversation
realhasanshoaib
commented
Oct 11, 2026
•
edited by maria-rcks
Loading
Uh oh!
There was an error while loading. Please reload this page.
The narrow sidebar sheet rendered a second toggle over the fixed control, with a different size and position. The sheet now owns one toggle through opening and closing, matches the fixed control's size and inset, and receives the macOS window-controls inset across the portal.
Verified in the real web client at 390px, 600px, 767px and 900px: click, Ctrl+B, Escape, focus return, and resize with the sheet open. Light and dark layouts checked. The 90px desktop inset was checked as CSS geometry; native macOS Electron and OS window controls remain unverified.
Blacksmith: 5 existing sidebar tests, affected-file lint (zero errors; two preexisting warnings), and web typecheck passed. Two independent source reviewers approved b5b1466.
Before:

After:



Follow-up work by gpt-6.1-sol through the Codex harness in T3 Code on behalf of Maria.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
On macOS desktop a window narrower than 768 CSS px shows the sidebar as a
sheet. The sheet is portaled outside the sidebar provider, so its header
never saw the window-button inset and put its own toggle at the plain left
padding, under the red and yellow buttons.
Pass the inset to the sidebar itself and position the sheet's toggle by it.
Web, Windows, Linux and macOS fullscreen resolve the same variable to the
old 12px.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-11T11:06:56.233224Z |
b4f5396 |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at b5b1466
Macroscope's review found this PR approvable — This is a narrowly scoped sidebar layout bug fix that propagates an existing macOS inset into the mobile sheet and suppresses the duplicate fixed toggle during sheet transitions. Its shared-component changes are limited to lifecycle and styling plumbing, with no product-default, schema, infrastructure, security, or static-analysis suppression impact.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b4f5396dd1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 11, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
-
-
-
-
⚙️ Run configuration
-
-
-
-
- Configuration used: Path: .coderabbit.config.ts
- Review profile: CHILL
- Plan: Advanced
- Run ID:
c9526373-ad8c-4b10-81e7-71638d542d2d
📥 Commits
-
-
-
-
Reviewing files that changed from the base of the PR and between b4f5396 and b5b1466.
📒 Files selected for processing (3)
-
-
-
-
apps/web/src/components/AppSidebarLayout.tsx
apps/web/src/components/sidebar/SidebarChrome.tsx
apps/web/src/components/ui/sidebar.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
📝 Walkthrough
-
📝 Walkthrough
-
📝 Walkthrough
-
-
📝 Walkthrough
-
-
-
Walkthrough
The sidebar layout applies the macOS window-controls inset to both the provider and sidebar. The mobile sidebar trigger adjusts its position and visibility based on the mobile sheet state. Shared titlebar control sizing applies to the wrapper and mobile sidebar content.
Changes
Sidebar Control Alignment
| Layer / File(s) |
Summary |
Apply the window-controls inset apps/web/src/components/AppSidebarLayout.tsx |
The layout computes the inset for macOS windows that are not fullscreen and applies it to the provider and sidebar. |
Position and size mobile sidebar controls apps/web/src/components/sidebar/SidebarChrome.tsx, apps/web/src/components/ui/sidebar.tsx, apps/web/src/components/AppSidebarLayout.tsx |
The mobile header positions its trigger relative to workspace control offsets, safe-area insets, and a 1px border. The sidebar context tracks whether the mobile sheet is mounted, and the trigger container hides while the sheet remains mounted. The wrapper and mobile sidebar content use a shared titlebar control-size utility. |
Priority: ⬇️ Low
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Low
Suggested reviewers: juliusmarminge
Merge Risk: ⚪ Minimal · up to b5b14
The change addresses the reported macOS sidebar-control overlap, and no concrete regression was established. The PR reports targeted desktop and web viewport checks; no issue currently warrants blocking merge.
Security Architecture Review
-
-
-
-
Security architecture risk: ⚪ Minimal · up to b5b14
The changes coordinate sidebar controls and window spacing without introducing new access, permissions, or data exposure. No material security risk was identified in the changed behavior.
Retained concerns
No architecture-level concerns identified.
-
Security review details
-
-
-
Security Blast Radius
- inferred — The changed behavior is bounded to sidebar presentation in the current web and desktop composition. Sharing the header extends the alignment behavior across navigation variants, not across tenant, service or credential boundaries.
Trust Boundaries and Controls
- inferred — Passing the window inset into the portaled content bridges a CSS inheritance boundary. It does not transfer identity or privilege; the value remains conditioned on the existing macOS desktop and fullscreen state.
Pre-merge checks | 4
-
✅ Passed checks (4 passed)
-
| Check name |
Status |
Explanation |
| Linked Issues check |
 |
For [#12036], AppSidebarLayout passes the macOS window-controls inset to both the provider and the portaled Sidebar. SidebarChromeHeader positions the sheet trigger with the inset minus the safe… |
| Out of Scope Changes check |
 |
The changes are limited to the sidebar layout, sidebar header, and shared sidebar primitives. They pass the required inset to the sheet, position the affected trigger, and manage trigger visibility du… |
| Title check |
 |
The title clearly describes the main change: fixing the sidebar toggle’s overlap with macOS window controls. |
| Description check |
 |
The description explains the problem, the fix, and the verification performed. It includes before-and-after screenshots and a recording. It does not explicitly link a triaged issue or state why the fi… |
✨ Finishing Touches
-
-
-
-
🧪 Generate unit tests (beta)
-
-
-
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 12, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
macroscope-review
Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews
size:M
30-99 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|