Repository navigation
[2301 by GPT-6 Astra] Desktop macOS: integrate the white title-bar strip with the desktop chrome - #2304
Conversation
…le-bar strip Implemented by ProPR AI using gpt-6-astra model. Implementation completed successfully.
|
Real-Mac verification needs another correction before merge. Root applied exact3e409e3 CSS to source82d5816d plus signingPR2303, rebuilt on actual ARM64 Mac, then launched new copied app. Entry screenshot STILL shows white rectangular strip to right of traffic lights, so CSS-only change did not resolve native output. Compiled renderer CSS includes your transparent rule; inspect possible native titleBarOverlay/background painting rather than assuming renderer preview proves fix. User also reports authenticated logo overlapping top-left minimize/maximize/close controls. Existing padding-left:max(1rem,env(titlebar-area-x,5rem)) may reserve only1rem if environment returns0; ensure a real minimum traffic-light exclusion area on Mac and test actual logo geometry. Root10 existing chrome/layout tests pass but no regression test yet proves these two real issues. Keep Linux untouched. User currently entering login in Mac app, root will preserve that session. Please provide bounded fix and regression coverage; do not merge yet. |
|
✅ Applied the requested follow-up changes in commit 1598bbf Summary of ChangesFixed the selector mismatch: the app emits 26 tests pass. Regression checks reproduce both old failures. Added isolated native Mac capture coverage; it remains unverified here on Linux. Run on Mac before merge: PROPR_DESKTOP_MAC_CHROME_TEST=1 node --test apps/desktop/scripts/macos-window-chrome.test.mjsLinux unchanged. Renderer previews generated. Nothing committed or merged. Visual previewmacOS connected: logo clears the 80px traffic-light areaChromium renderer only; native controls are not rendered: production desktop components using the Electron adapter's macos platform. Isolated fixture account. macOS entry: continuous gradient through the drag regionChromium renderer only; native controls are not rendered: production desktop components using the Electron adapter's macos platform. Isolated fixture account. Suggested agent tools
🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
Root identified concrete cause of native/preview mismatch: propr-ui/src/desktop/electronAdapters.ts platform() returns "macos" (not "darwin") for navigator.platform MacIntel; DesktopExperience/ConnectedExperience build class desktop-platform-${adapters.platform}. Therefore actual Electron DOM is desktop-platform-macos and BOTH existing traffic-light padding and your new desktop-platform-darwin CSS NEVER MATCH. Preview injected darwin unlike real adapter type. Correct selectors using actual DesktopPlatform macos and add test driven through real adapter or actual typed platform fixture, plus minimum traffic-light exclusion. No native overlay rework should be assumed necessary until this selector mismatch is fixed. Root verified running ASAR really contains current transparent rule, so not stale build. |
…he CSS targeted `darwin`. Added an 80px minimum traffic-light inset. Fixed the selector mismatch: the app emits `macos`, while the CSS targeted `darwin`. Added an 80px minimum traffic-light inset. 26 tests pass. Regression checks reproduce both old failures. Added isolated native Mac capture coverage; it remains unverified here on Linux. Run on Mac before merge: ```sh PROPR_DESKTOP_MAC_CHROME_TEST=1 node --test apps/desktop/scripts/macos-window-chrome.test.mjs ``` Linux unchanged. Renderer previews generated. Nothing committed or merged. PR: #2304 Comment by: @integry (ID: 5627109506) Model: gpt-6-astra
|
ℹ️ Analyzed the follow-up request by @integry Analysis SummaryAlready fixed on this branch in
Verification: 31 tests passed; native macOS capture skipped on Linux. Linux styling is unchanged. No additional edits, commits, or previews were needed. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
Root real-Mac verification of 1598bbf: production ARM64 package built successfully with the integrated signing hook; strict deep signature verification passed. Launched using the existing paired user-data profile; integry remained connected. Native OS screenshot confirms all three traffic lights clear the logo and the connected titlebar is now a continuous surface. Evidence: https://github.com/integry/propr/blob/07fb17f764943bb28a4d4beb2a287e60238a8e76/docs/desktop-acceptance/mac-header-fixed-2304.png . Six style tests passed on Mac. The new automated native fixture could not capture through its separate Electron binary (Screen Recording permission absent); this is not claimed as a pass. Actual packaged app screenshot used the already-authorized screencapture route. Keeping subsequent Mac updates batched: different ad-hoc build cdhash requirements cause renewed Keychain prompts, so avoid unnecessary repeated installs. |
|
ℹ️ Analyzed the follow-up request by @integry Analysis SummaryThe branch is already at Per root’s report, the packaged ARM64 build, strict signature verification, connected session, native appearance, and six style tests passed. The automated native capture remains unverified because its Electron binary lacks Screen Recording permission. No builds, installs, tests, or previews were rerun. Future Mac updates should remain batched. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
Root renderer geometry regression now PASSED using installed Playwright Chromium: real MacIntel adapter, entry transparency, actual logo bounds at 1280/880 widths with absent/zero/120px safe-area cases. Native capture fixture remains permission-limited; actual packaged Mac screenshot passed independently. Linux package CI failure is separate acceptance fixture mismatch tracked in #2309: renderer-only revoked response while native confirmation still returns 200. Production Linux packaged smoke passes 4/4. Visual change is ready to integrate without weakening credential protections. |
|
ℹ️ Analyzed the follow-up request by @integry Analysis SummaryNo further code changes were needed.
#2309 remains separate. Credential protections are unchanged. Working tree is clean; no commits or previews were created. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |


AI Implementation Summary
Closes #2301
Branch:
2301/gpt-6-astra-desktop-macos-integrate-t-20260910-2343-pcuCommits: ✅ Changes committed (3e409e3)
AI Processing Completed
Execution Details:
Summary:
Implemented macOS-only styling in desktop.css:
All 47 targeted tests passed. Renderer checks passed and three previews were captured. Native Mac verification remains with root.
Detailed Logs:
01a08db5-a356-7ca1-8d02-929de2777bb8Log files stored at:
/tmp/claude-logs/issue-2301-2026-09-10T23-49-21-641Z-conversation.json/tmp/claude-logs/issue-2301-2026-09-10T23-49-21-641Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #2301.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
macOS Connect to ProPR (1280px)
Actual desktop React renderer with the macOS platform selected and isolated empty profiles. The welcome gradient continues through the drag region. Chromium CSS preview; native traffic lights and Mac window behavior require verification on macOS.
macOS Connect to ProPR (880px)
Actual desktop React renderer with the macOS platform selected and isolated empty profiles. The welcome gradient continues through the drag region. Chromium CSS preview; native traffic lights and Mac window behavior require verification on macOS.
macOS connected toolbar
Actual desktop sidebar and content toolbar share a soft tint and aligned divider; 56px row and traffic-light inset retained. Isolated fixture profile. Chromium renderer preview, without native macOS window controls.