mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03: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 -->