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

Fix lost schedule when editing connection name and ensure connection name is not cleared in other connection updates #13510

Merged
merged 2 commits into from
Jun 6, 2022

Conversation

edmundito
Copy link
Contributor

What

Fixes a few issues related to connection name:

  1. Editing the connection name would clear the connection schedule
  2. Editing anything but the connection name could clear the connection name

Related to #12803

How

Currently, the api used to edit the connection (/web_backend/connections/update) uses an all or nothing approach. We must dump the entire update state, otherwise, it will set those fields to null. The change ensures that all calls made to update the connection include all the fields.

Additionally, keyboard events in the name editor were causing the connection to update twice. This also resolves that issue.

edmundito added 2 commits June 6, 2022 14:36
Update updateConnection calls in ConnectionName component to include all required fields
@edmundito edmundito requested a review from a team as a code owner June 6, 2022 19:08
@github-actions github-actions bot added area/platform issues related to the platform area/frontend Related to the Airbyte webapp labels Jun 6, 2022
@edmundito edmundito added area/frontend and removed area/platform issues related to the platform labels Jun 6, 2022
@edmundito edmundito requested a review from pmossman June 6, 2022 19:09
Copy link
Contributor

@pmossman pmossman left a comment

Choose a reason for hiding this comment

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

LGTM!

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants