Repository navigation
Chore/migrate modals 1 - #46216
Chore/migrate modals 1#46216
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
📝 WalkthroughWalkthroughThis PR migrates the codebase from the deprecated Modal component to the Dialog component library. Documentation and examples for Modal are removed, and four consumer components (FeedbackModal, ExpandableVideo, PopupFrame, PrivacySettings) are refactored to use Dialog's trigger-based architecture with updated state and event handling patterns. ChangesModal to Dialog Component Migration
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 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 |
🎭 Playwright Test ResultsDetails
Flaky testsFeatures › realtime-inspector.spec.ts › Realtime Inspector › Basic Inspector UI › start/stop listening button works Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
Braintrust eval report
|
Problem
We still use the deprecated
Modalcomponent in many places.Solution
Migrate to the new
Dialogcomponent.Removed the design system page that was missing anyway: https://supabase.com/design-system/docs/fragments/modal
This PR focuses on the design system and docs related components.
How to test
Docs videos:
Feedback modal: not sure how to show it on staging but it should look identical
Privacy settings: not sure how to show it on staging but it should look identical
PopupFrame: this one is not used anywhere AFAIK. If confirmed I could delete it.Summary by CodeRabbit
Release Notes