Fix widget text invisible when desktop dimming enabled - #17
Conversation
Removes the rollbar-apple SPM dependency, RollbarNotifier import and setup in AppDelegate, Info.plist token, pbxproj package references, Package.resolved pin, CI/CD ROLLBAR_ACCESS_TOKEN injection, and the release workflow steps for dSYM upload and deploy notification. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
macOS desktop widgets render in vibrant mode. When "Dim widgets on desktop" is enabled, the system applies an additional alpha multiplier. Hierarchical styles like .secondary/.tertiary already have reduced opacity in vibrant mode, so after the dimming multiplier they fall to near-zero contrast and become invisible — only shapes and SF Symbols remain visible. Add a widgetForeground helper that substitutes .primary with explicit opacity values in vibrant mode, keeping text readable in both dimmed and un-dimmed states while preserving the original hierarchical styles in full-color mode (sidebar/Notification Center). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
💤 Files with no reviewable changes (4)
📝 WalkthroughWalkthroughRemoves Rollbar error tracking integration from the project across CI workflows, project configuration, and application code. Additionally, updates widget views with environment-aware foreground styling to improve visual consistency across different widget rendering modes. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 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
.foregroundStyle(.secondary)and lower hierarchical styles below the visibility threshold in vibrant rendering modewidgetForegroundhelper that uses.primarywith explicit opacity in vibrant mode, preserving original styles in full-color mode (sidebar)Test plan
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Summary by CodeRabbit
Chores
Style