mirror of
https://github.com/supabase/supabase.git
synced 2026-09-11 12:28:45 +08:00
## Context Another pass on refactoring the ETL code, specifically for `DestinationForm/index.tsx` Splits out the validation + pipeline submission logic into its own hook `useDestinationForm.ts` so the main file is broken into smaller pieces <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Streamlined the database replication destination form by centralizing validation and save/submission workflow in a dedicated hook. * Improved the validation flow so failed validations guide users by scrolling to the inline validation section, and warning confirmations submit through the standard pipeline flow. * Updated form reset behavior when the panel opens to ensure validation state clears consistently. * **Bug Fixes** * Corrected autogenerated S3 key “description” to derive from the selected warehouse when using Analytics Bucket destinations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->