Skip to content

fix(macos): tighten the link-browser tab header - #103469

Merged
steipete merged 1 commit into
mainfrom
claude/browser-tabs-tighter-header
Jul 10, 2026
Merged

steipete merged 1 commit into
mainfrom
claude/browser-tabs-tighter-header

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Related: #103334, follow-up to #103438

What Problem This Solves

After #103438 the link-browser sidebar's tab strip sat 32pt below the window top — a visible dead gap between the tabs and the title area, left over from the old drag-overlay clearance. Maintainer feedback: put the tabs higher; the sidebar does not need a large window-drag band.

Why This Change Was Made

The tab strip's top inset drops from 32pt to 12pt and the header shrinks from 98pt to 78pt. 12pt (not less) because the dashboard window's 12pt drag overlay extends into sidebars wider than 380pt; a smaller inset would let the overlay swallow clicks on the top sliver of the tabs. At 12pt every tab pixel stays clickable and the window's edge drag strip keeps working.

User Impact

The sidebar browser header is 20pt shorter with the tabs sitting right under the window edge — no more dead gap above the tab strip.

Evidence

  • swift build --package-path apps/macos --product OpenClaw — pass.
  • swift test --filter DashboardWindowSmokeTests — 18/18.
  • swiftformat --lint on the touched file — clean.
  • Autoreview (codex gpt-5.5, high): first iteration used an 8pt inset; review correctly flagged that the top 4pt of tabs would fall under the window's 12pt drag overlay on wide sidebars (verified against the overlay constraints in DashboardWindowController.makeWindow). Fixed to 12pt; rerun clean ("no accepted/actionable findings").
  • Screenshot (captured during iteration at the 8pt inset; the landed 12pt differs by 4pt): tight header

Drop the 32pt drag-overlay clearance above the sidebar tab strip to a
12pt inset - just enough to clear the window's 12pt drag overlay so
every tab pixel stays clickable - and shrink the header from 98pt to
78pt. Follow-up to #103438 per maintainer feedback.
@openclaw-barnacle openclaw-barnacle Bot added app: macos App: macos size: XS maintainer Maintainer-authored PR labels Jul 10, 2026
@steipete
steipete merged commit 6025aa5 into main Jul 10, 2026
65 of 68 checks passed
@steipete
steipete deleted the claude/browser-tabs-tighter-header branch July 10, 2026 06:37
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 10, 2026
Drop the 32pt drag-overlay clearance above the sidebar tab strip to a
12pt inset - just enough to clear the window's 12pt drag overlay so
every tab pixel stays clickable - and shrink the header from 98pt to
78pt. Follow-up to openclaw#103438 per maintainer feedback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant