Skip to content
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

🪟 🎉 Re-validate connection edit form after schema refresh to highlight any missing keys or cursors #20327

Merged
merged 2 commits into from Dec 12, 2022

Conversation

edmundito
Copy link
Contributor

What

This change ensures that the form highlights any areas that may have gone missing after the schema was refreshed. For example, the primary key and the cursor.

image

How

This uses a hook component that sets the form as touch and revalidates after the schema has been refreshed. Sets the catalog to touched so that the changes are immediately cancelable.

@edmundito edmundito requested a review from a team as a code owner December 9, 2022 20:17
@octavia-squidington-iv octavia-squidington-iv added area/platform issues related to the platform area/frontend Related to the Airbyte webapp labels Dec 9, 2022
Copy link
Contributor

@teallarson teallarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I suppose at this point the form is "touched". We could also choose to just run validation directly. I support this way of doing things though!

@edmundito edmundito merged commit 6f63e76 into master Dec 12, 2022
@edmundito edmundito deleted the edmundito/validate-form-after-refresh branch December 12, 2022 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp area/platform issues related to the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants