mirror of
https://github.com/supabase/supabase.git
synced 2026-05-23 19:13:13 +08:00
## Problem We want to reduce the code we ship and maintain. ## Solution Migrate old `<Radio />` usage to the new Shadcn component. ## Screenshots ### Database functions Before: <img width="587" height="228" alt="image" src="https://github.com/user-attachments/assets/2b95fc36-f338-4a11-a537-c8956e13b38d" /> After: <img width="576" height="195" alt="image" src="https://github.com/user-attachments/assets/fb8a32e3-397e-4dc8-b7e2-c309800774ca" /> ### Storage policies Before: <img width="1169" height="644" alt="image" src="https://github.com/user-attachments/assets/06950f4b-9edc-457d-a7cc-fabe3ed573ba" /> After: <img width="1171" height="647" alt="image" src="https://github.com/user-attachments/assets/3445f38d-fb52-4ba7-8933-20005be25334" /> ### Custom domain Before: <img width="668" height="350" alt="image" src="https://github.com/user-attachments/assets/87f48b29-3b8f-466e-8db0-c9418aaee026" /> After: <img width="669" height="339" alt="image" src="https://github.com/user-attachments/assets/b66b432a-e4ac-4b80-b98e-47b2ba948df4" /> ### PITR Before: <img width="767" height="659" alt="image" src="https://github.com/user-attachments/assets/22508934-02f1-4600-93d9-ba77a955f450" /> After: <img width="767" height="565" alt="image" src="https://github.com/user-attachments/assets/bb4b88c0-bd81-4086-a4f4-715cee37f20e" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Replaced legacy radio controls across the app with modern card-style and stacked selection components—radio options now render as selectable cards or stacked items with richer label/content support, consistent sizing, and cleaner selection behavior for a more polished, accessible UI. * Legacy radio styling and old radio module removed to consolidate the updated control and theme. <!-- end of auto-generated comment: release notes by coderabbit.ai -->