-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix: bypass Notion image proxy for external bookmark URLs #306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…okmark images - External HTTPS URLs now bypass the notion.so image proxy, fixing broken bookmark covers - Added onError handling to bookmark icon and cover images to hide them on load failure - Added tests for defaultMapImageUrl external URL handling Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
📝 WalkthroughWalkthroughThis PR introduces image error handling across components, adds URL validation logic to prevent unnecessary proxy usage, extends the LazyImage component API, updates a build dependency, and adds comprehensive test coverage for URL mapping behavior. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
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
notion.so/image/proxy, fixing broken bookmark cover/icon imagesonErrorhandling to bookmark images inLazyImageto hide broken images gracefullydefaultMapImageUrlexternal URL handlingTest plan
map-image-url.test.tstests pass🤖 Generated with Claude Code
Summary by CodeRabbit