-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the ability to block navigation when forms have not been saved #11831
Commits on Apr 18, 2022
-
Add navigation blocking when forms are dirty and not saved
* Add hooks to block and display prompt on navigation * Add components to indicate which form is blocking * Update connection replication and transformation components to block on edit * Update main page component to show prompt
Configuration menu - View commit details
-
Copy full SHA for 1d95d1f - Browse repository at this point
Copy the full SHA 1d95d1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78a1829 - Browse repository at this point
Copy the full SHA 78a1829View commit details -
FormNavigationBlocker -> FormChangesTracker
useFormNavigationBlocking -> useDiscardFormChangesConfirmation Update exports from default to module
Configuration menu - View commit details
-
Copy full SHA for 341f4dd - Browse repository at this point
Copy the full SHA 341f4ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 362d1aa - Browse repository at this point
Copy the full SHA 362d1aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c625690 - Browse repository at this point
Copy the full SHA c625690View commit details -
Move Form change tracking to a service pattern
Fix forms in replications and transformations not resetting the data Add types to import sorting and add Formik helper type for onSubmit functions
Configuration menu - View commit details
-
Copy full SHA for cd21133 - Browse repository at this point
Copy the full SHA cd21133View commit details -
Clear all form data after submission in ConnectionForm component
Update ConnectionForm submission to handle post submission result from callback
Configuration menu - View commit details
-
Copy full SHA for 2bd5419 - Browse repository at this point
Copy the full SHA 2bd5419View commit details -
ConnectionForm now clears its own form tracking
Add hook to generate unique form id Update form tracker component to use new hook if no id is specified
Configuration menu - View commit details
-
Copy full SHA for ba5b3b9 - Browse repository at this point
Copy the full SHA ba5b3b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d4fa10 - Browse repository at this point
Copy the full SHA 9d4fa10View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2a42af - Browse repository at this point
Copy the full SHA e2a42afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53fdc84 - Browse repository at this point
Copy the full SHA 53fdc84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69ba07b - Browse repository at this point
Copy the full SHA 69ba07bView commit details
Commits on Apr 19, 2022
-
Remove data-id from confirmation modal component
Update FormChangeTracker to useEffect over useLayoutEffect Memoize useConfirmationModalService hook Remove memoization of ConfirmationModalService provider Simplify useUniqueFormId
Configuration menu - View commit details
-
Copy full SHA for fae55d7 - Browse repository at this point
Copy the full SHA fae55d7View commit details
Commits on Apr 20, 2022
-
Update FormTrackerService check from reduce to some
Co-authored-by: Tim Roes <tim@airbyte.io>
Configuration menu - View commit details
-
Copy full SHA for 3c76502 - Browse repository at this point
Copy the full SHA 3c76502View commit details