mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 05:39:11 +03:00
## What kind of change does this PR introduce? This PR enables io2 block express in additional regions: `eu-central-2`, `eu-west-3`, and `sa-east-1` as it is [now available](https://aws.amazon.com/about-aws/whats-new/2025/07/amazon-ebs-io2-block-express/) in all the regions as of 22 July, 2025 Depends on platform PR: https://github.com/supabase/platform/pull/33440 ## What is the current behavior? Currently IO2 block express is not available for these regions: `eu-central-2`, `eu-west-3`, and `sa-east-1` ## What is the new behavior? You can use io2 block express in additional regions: `eu-central-2`, `eu-west-3`, and `sa-east-1` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Disk management features are now available in three additional AWS regions: eu-central-2 (Central Europe), eu-west-3 (Western Europe), and sa-east-1 (South America). Users in these regions can now access storage management capabilities. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Writing components
Where to create your components
- For components that declare the general structure and layout of a page:
/components/layouts/xxx
- For components that are tightly coupled to a specific interface:
/components/interfaces/xxx
- For components that are meant to be reusable across multiple pages:
/components/ui/xxx
- Note: We're gradually moving files out of the
to-be-cleanedfolder into the respective folders as we refactor
Component structure
- If a component has constants and utility methods that are tightly coupled to itself, keep them close to the component and enclose them in a folder with an
index.tsxas an entry point - Otherwise it can just be a file on its own
- For example:
-
components/ui - SampleComponentA - SampleComponentA.tsx - SampleComponentA.constants.ts - SampleComponentA.utils.ts - SampleComponentA.types.ts - index.ts - SampleComponentB.tsx
-
Template for building components
// Declare the prop types of your component
interface ComponentAProps {
sampleProp: string
}
// Name your component accordingly
const ComponentA = ({ sampleProp }: ComponentAProps) => {
return <div>ComponentA: {sampleProp}</div>
}
export default ComponentA