fix(onboarding): stop duplicate permission prompts (v1.14.3)#37
Conversation
…vacy pane on deny - Microphone: branch on AVCaptureDevice.authorizationStatus — open the Privacy_Microphone pane when denied instead of waiting silently. - Accessibility: if grant is still missing after the native prompt, deep-link to Privacy_Accessibility so the user has a visible next step. - Screen recording: drop the duplicate NSAlert in ensureScreenRecordingPermission and call requestScreenRecordingPermission directly — macOS already shows the 'Open System Settings' prompt and the extra alert stacked two pop-ups (the 'feels triggered twice' bug). - Buttons: add contentShape so the full pill is hit-testable, not just the label glyphs. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
🔖 On merge this PR will release v1.14.3 ( |
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughButton interactive areas are refined with clipped rounded rectangles. PermissionManager screen recording permission handling is changed to directly open System Settings. Onboarding permission request flows for microphone, accessibility, and screen recording are refactored to handle authorization status branching and explicit privacy pane navigation. ChangesPermission Request and UI Polish
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
authorizationStatus: opens the Privacy → Microphone pane on denied/restricted instead of waiting silently.ensureScreenRecordingPermission; we now callrequestScreenRecordingPermissiondirectly. The macOS TCC prompt is enough — stacking a custom alert on top was the "feels triggered twice" bug.contentShapeso the entire pill is hit-testable (not just label glyphs).Test plan
tccutil reset Microphone ua.com.rmarinsky.diduny && tccutil reset Accessibility ua.com.rmarinsky.diduny && tccutil reset ScreenCapture ua.com.rmarinsky.diduny🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes