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

🪟 🔧 Update auto-detect schema feature name #20591

Merged
merged 3 commits into from
Dec 16, 2022

Conversation

edmundito
Copy link
Contributor

What

Updates the name of the Auto-detect schema feature because it was not set up correctly in LaunchDarkly.

LaunchDarkly would not allow changing the type of the flag, so it needed to be archived and re-created with a new unique name.

@edmundito edmundito requested a review from a team as a code owner December 16, 2022 17:08
@octavia-squidington-iv octavia-squidington-iv added area/platform issues related to the platform area/frontend Related to the Airbyte webapp labels Dec 16, 2022
@edmundito edmundito force-pushed the edmundito/update-auto-detect-schema-feature-name branch from 1eb24de to a8b8712 Compare December 16, 2022 17:19
@edmundito
Copy link
Contributor Author

@tealjulia rebased and fixed the flag with in the SchemaChangesBackdrop

@@ -12,7 +12,7 @@ import { OctaviaYellowFlag } from "./OctaviaYellowFlag";
import styles from "./SchemaChangeBackdrop.module.scss";

export const SchemaChangeBackdrop: React.FC<React.PropsWithChildren<unknown>> = ({ children }) => {
const allowAutoDetectSchemaChanges = useFeature(FeatureItem.AllowAutoDetectSchemaChanges);
const allowAutoDetectSchemaChanges = useFeature(FeatureItem.AllowAutoDetectSchema);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const allowAutoDetectSchemaChanges = useFeature(FeatureItem.AllowAutoDetectSchema);
const allowAutoDetectSchema = useFeature(FeatureItem.AllowAutoDetectSchema);

to match the other spots we changed variable names

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.

Did not test locally. Left one suggestion for variable name to match the others.

@edmundito edmundito force-pushed the edmundito/update-auto-detect-schema-feature-name branch from a8b8712 to 3b4e8d8 Compare December 16, 2022 17:25
@edmundito edmundito merged commit 2c5d799 into master Dec 16, 2022
@edmundito edmundito deleted the edmundito/update-auto-detect-schema-feature-name branch December 16, 2022 18:51
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.

4 participants