Skip to content

[2301 by GPT-6 Astra] Desktop macOS: integrate the white title-bar strip with the desktop chrome - #2304

Merged
integry merged 2 commits into
1950-epic-cross-platform-dskfrom
2301/gpt-6-astra-desktop-macos-integrate-t-20260910-2343-pcu
Sep 11, 2026
Merged

integry merged 2 commits into
1950-epic-cross-platform-dskfrom
2301/gpt-6-astra-desktop-macos-integrate-t-20260910-2343-pcu

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #2301

Branch: 2301/gpt-6-astra-desktop-macos-integrate-t-20260910-2343-pcu
Commits: ✅ Changes committed (3e409e3)


AI Processing Completed

Execution Details:

Summary:
Implemented macOS-only styling in desktop.css:

  • Removed the separate welcome title-bar strip.
  • Unified sidebar and toolbar tint.
  • Preserved title-bar height, traffic-light inset, and drag behavior.
  • Left Linux and Windows styling unchanged.

All 47 targeted tests passed. Renderer checks passed and three previews were captured. Native Mac verification remains with root.

Detailed Logs:

  • Conversation: 48 messages
  • Session: 01a08db5-a356-7ca1-8d02-929de2777bb8

Log files stored at:

  • conversation: /tmp/claude-logs/issue-2301-2026-09-10T23-49-21-641Z-conversation.json
  • output: /tmp/claude-logs/issue-2301-2026-09-10T23-49-21-641Z-output.txt
Latest 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)

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)

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

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.

…le-bar strip

Implemented by ProPR AI using gpt-6-astra model.

Implementation completed successfully.
@integry

integry commented Sep 10, 2026

Copy link
Copy Markdown
Owner

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.

@propr-dev

propr-dev Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 1598bbf

Summary of Changes

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:

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.

Visual preview

macOS connected: logo clears the 80px traffic-light area

macOS connected: logo clears the 80px traffic-light area

Chromium 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 region

macOS entry: continuous gradient through the drag region

Chromium renderer only; native controls are not rendered: production desktop components using the Electron adapter's macos platform. Isolated fixture account.

Suggested agent tools

  • macOS Electron with Screen Recording permission: Run PROPR_DESKTOP_MAC_CHROME_TEST=1 node --test apps/desktop/scripts/macos-window-chrome.test.mjs to verify native titlebar pixels before merge.

🤖 Implementation Details

  • Model: GPT-6 Astra (high)
  • Requested By: @integry
  • Time: 7m 24s
  • Tokens: 1,995,211 (1,984,503 in / 10,708 out)
  • Cost: $3.24
  • Subscription usage: Weekly +2%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5627109506✓

@integry

integry commented Sep 10, 2026

Copy link
Copy Markdown
Owner

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
@propr-dev

propr-dev Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @integry

Analysis Summary

Already fixed on this branch in 1598bbfd1:

  • All affected selectors use macos.
  • Traffic-light exclusion has an 80px minimum.
  • Regression coverage uses the real adapter and checks logo geometry.

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

  • Model: GPT-6 Astra (high)
  • Time: 1m 56s
  • Tokens: 244,700 (243,366 in / 1,334 out)
  • Cost: $0.56
  • Subscription usage: Weekly +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5627127048✓

@integry

integry commented Sep 11, 2026

Copy link
Copy Markdown
Owner

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.

@propr-dev

propr-dev Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @integry

Analysis Summary

The branch is already at 1598bbfd; the latest comment reports successful verification and requests no code changes. Working tree remains unchanged.

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

  • Model: GPT-6 Astra (high)
  • Time: 1m 25s
  • Tokens: 95,147 (94,392 in / 755 out)
  • Cost: $0.24

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5627247201✓

@integry

integry commented Sep 11, 2026

Copy link
Copy Markdown
Owner

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.

@integry
integry merged commit dcd76e6 into 1950-epic-cross-platform-dsk Sep 11, 2026
24 of 32 checks passed
@propr-dev

propr-dev Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @integry

Analysis Summary

No further code changes were needed.

  • Renderer geometry regression passed locally.
  • All 24 focused style and adapter tests passed.
  • Native capture was skipped locally; your independent packaged Mac verification remains the native evidence.

#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

  • Model: GPT-6 Astra (high)
  • Time: 1m 56s
  • Tokens: 183,775 (182,674 in / 1,101 out)
  • Cost: $0.38
  • Subscription usage: Weekly +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5627272890✓

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant