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: wrong feature flag #3004

Merged
merged 1 commit into from
Dec 27, 2023
Merged

fix: wrong feature flag #3004

merged 1 commit into from
Dec 27, 2023

Conversation

cazala
Copy link
Contributor

@cazala cazala commented Dec 27, 2023

This PR fixes an issue with feature flags.

When both feature flags builder-create-scene-only-sdk7 and builder-sdk7-templates are OFF (as it is the case in PRD) everything is fine. When both flags are ON as they were in DEV and STG then everything is fine too.

The problem is when builder-sdk7-templates is ON and builder-create-scene-only-sdk7 is OFF, then the scene creation flow allows you to choose which SDK version to use, but it will always create the scene using SDK7... this was because the isSDK7TemplatesEnabled property was wrongly used in the submit handler of the scene creation flow..

This PR fixes that issue so the two feature flags can be used separately, which is necessary to release the SDK7 templates without disabling the creation of SDK6 scenes.

Copy link

vercel bot commented Dec 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
builder ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 27, 2023 2:39pm

@cazala cazala enabled auto-merge (squash) December 27, 2023 14:37
@coveralls
Copy link

Pull Request Test Coverage Report for Build 7339284056

  • 0 of 2 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 17.698%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/components/Modals/CustomLayoutModal/CustomLayoutModal.tsx 0 2 0.0%
Totals Coverage Status
Change from base Build 7289321361: 0.001%
Covered Lines: 3646
Relevant Lines: 16548

💛 - Coveralls

@cazala cazala merged commit d8620c6 into master Dec 27, 2023
7 checks passed
@cazala cazala deleted the fix/feature-flag branch December 27, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants