mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 04:45:08 +03:00
Adds entitlements check to the `DiskSizeConfiguration` and `DiskSizeConfigurationModal` components ## Testing ### Database Settings - You'll need an Org in the Pro Plan with spend cap disabled, and a Project with Fly as the cloud provider. - Head to `/project/_/database/settings` - Assert that the Disk Size configuration section is visible: <img width="707" height="459" alt="image" src="https://github.com/user-attachments/assets/ce98ed20-cab7-44db-a118-b84d9f9f935c" /> - With a Free Project with Fly as the cloud provider, assert that the Disk Size configuration is gated: <img width="707" height="260" alt="image" src="https://github.com/user-attachments/assets/23374b03-7981-42cd-b928-0e8808d128b1" /> ### Observability > Database - You'll need an Org in the Pro Plan with spend cap disabled, and a Project with Fly as the cloud provider. - Head to `project/_/observability/database`, and scroll to the `Database Size` section - Assert that clicking the `Increase disk size` button shows this modal: <img width="829" height="469" alt="image" src="https://github.com/user-attachments/assets/ae121e3f-a68b-4de6-803d-aff8462e0c7c" /> - With a Free Project with Fly as the cloud provider, assert that the increase size modal doesn't allow you to increase the size <img width="707" height="398" alt="image" src="https://github.com/user-attachments/assets/3e97ce27-4ecd-4152-80a0-d5e0d141f44b" />