Skip to content

fix(macos): real window title bar capture (1280×120) with strict validation - #4655

Closed
tyler-dane wants to merge 9 commits into
mainfrom
cursor/macos-title-bar-screencap-2ef3
Closed

tyler-dane wants to merge 9 commits into
mainfrom
cursor/macos-title-bar-screencap-2ef3

Conversation

@tyler-dane

@tyler-dane tyler-dane commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes mac-title-bar.png parity: the sidebar toggle now lays out in the top-right of the unified title bar (full-width HStack, matching web CalendarHeader).

Changes

  • RootView: titleBarChrome HStack uses .frame(maxWidth: .infinity) and top-leading alignment so the phosphor sidebar toggle pins to the trailing edge beside traffic lights, nav, and month title.
  • CI validation: record-macos-parity-captures.sh requires a dark-pixel icon cluster in the right ~60px × top 52px band (replaces loose score that passed empty regions).
  • XCUITest: Asserts sidebar toggle minX is in the right ~28% of the window frame.
  • Footer (fix(web): group sidebar footer icons and clarify reload tooltip #4638): Sidebar footer icon order unchanged (keyboard → settings → ⌘ → refresh).

Verification

Waiting on macos-capture after push. Prior run passed width/traffic lights but shipped a PNG without a visible toggle.

VERDICT: INCOMPLETE until macos-capture green with updated validation.

Open in Web Open in Cursor 

cursoragent and others added 8 commits October 20, 2026 22:04
Drop content compositing; crop XCUITest window screenshots only. Validate traffic lights, June nav text band, and reject footer/grid crops. Group sidebar footer icons on the leading edge per web #4638.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane tyler-dane added the agent-automerge Agent-loop finished; merge-guard may squash-merge label Oct 21, 2026
@tyler-dane
tyler-dane enabled auto-merge October 21, 2026 00:50
Expand title-bar HStack to the window width so the trailing sidebar
toggle matches web CalendarHeader layout. Harden mac-title-bar PNG
validation with a top-right icon cluster check and XCUITest position
assertions.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane
tyler-dane disabled auto-merge October 21, 2026 01:16
@tyler-dane

Copy link
Copy Markdown
Contributor Author

agent-loop: still conflicting after update-branch onto main. Closing so the issue can be relaunched.

@tyler-dane tyler-dane removed the agent-automerge Agent-loop finished; merge-guard may squash-merge label Oct 21, 2026
@tyler-dane tyler-dane closed this Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

agent-loop: staging smoke passed on https://staging.compasscalendar.com after #4668.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants