Skip to content

[Replace yup] Refactor deprecated components in DiskSizeConfigurationModal#2530

Closed
everettbu wants to merge 3 commits into
masterfrom
chore/refactor-disk-size-configuration-modal
Closed

[Replace yup] Refactor deprecated components in DiskSizeConfigurationModal#2530
everettbu wants to merge 3 commits into
masterfrom
chore/refactor-disk-size-configuration-modal

Conversation

@everettbu

Copy link
Copy Markdown

Mirror of supabase/supabase#38139
Original author: Saeris


This builds on #38075 and is extracted from #37886, refactoring the DiskSizeConfigrationModal used in the Database Settings -> Disk Management section and the Project -> Reports -> Database page.

It replaces yup with zod and all deprecated UI components except for useProjectDiskResizeMutation which I'm not sure what to use instead. It now self-contains it's trigger and permissions checking, so it's usage is now just a one-liner.

Because this is branched off of #38075 it will remain in draft mode until that branch is reviewed and merged.

@everettbu

Copy link
Copy Markdown
Author

Upstream PR was closed or merged. Code is synced via branch mirror.

@everettbu everettbu closed this Mar 17, 2026
@everettbu everettbu deleted the chore/refactor-disk-size-configuration-modal branch March 17, 2026 14:14
@everettbu everettbu restored the chore/refactor-disk-size-configuration-modal branch March 17, 2026 16:09
@everettbu everettbu deleted the chore/refactor-disk-size-configuration-modal branch March 17, 2026 17:13
@everettbu everettbu restored the chore/refactor-disk-size-configuration-modal branch March 17, 2026 20:00
@everettbu everettbu deleted the chore/refactor-disk-size-configuration-modal branch March 17, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants