fix: improve popup blocked error message for Safari users#2506
Conversation
Replace the developer-facing error "Should be able to open a popup in an iFrame" with a user-friendly message that explains the issue and guides users to allow pop-ups in their browser settings. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2506 +/- ##
==========================================
- Coverage 22.18% 22.18% -0.01%
==========================================
Files 326 326
Lines 36275 36276 +1
Branches 1193 1193
==========================================
Hits 8047 8047
- Misses 28210 28211 +1
Partials 18 18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Claude finished @broody's task —— View job Documentation Analysis
Analysis ResultNo documentation updates required. Rationale: This PR improves an internal error message shown when popup blockers prevent social authentication. While the error message is user-facing, it does not change:
Existing Documentation Coverage: The
The improved error message simply provides better UX when popups fail—the fallback behavior and troubleshooting steps documented are already correct and sufficient. Per documentation rules: "DEFAULT TO NO CHANGES. Internal refactors, test changes, CI changes, and dependency bumps need nothing. Only proceed if there is a concrete user-facing change (new API, changed behavior, new feature, removed feature, changed configuration)." This is an internal error message improvement with no documentation impact. |
Summary
"Should be able to open a popup in an iFrame"with a user-friendly message whenwindow.open()returns null during social authenticationTest plan
🤖 Generated with Claude Code