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

chore: strategy variant flag removed #4603

Merged
merged 5 commits into from
Sep 4, 2023
Merged

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Sep 4, 2023

About the changes

Strategy variants going into GA

Important files

Discussion points

@vercel
Copy link

vercel bot commented Sep 4, 2023

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

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2023 11:06am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Sep 4, 2023 11:06am

@@ -1226,7 +1222,7 @@ class FeatureToggleService {
segments: [],
title: strategy.title,
disabled: strategy.disabled,
// FIXME: Should we return sortOrder here, or adjust OpenAPI?
sortOrder: strategy.sortOrder,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixing a test after removing strategyVariant flag

Copy link
Member

@Tymek Tymek left a comment

Choose a reason for hiding this comment

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

LGTM. Non-blocking comments :)

@@ -267,11 +267,7 @@ export const FeatureEnvironmentVariants = () => {
}
>
<VariantInfoAlert mode="feature" />
<ConditionallyRender
condition={Boolean(uiConfig?.flags?.strategyVariant)}
Copy link
Member

Choose a reason for hiding this comment

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

uiConfig is unused

@@ -11,7 +11,7 @@ let db: ITestDb;

beforeAll(async () => {
db = await dbInit('advanced_playground', getLogger, {
experimental: { flags: { strategyVariant: true } },
experimental: { flags: {} },
Copy link
Member

Choose a reason for hiding this comment

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

do we need this to be explicitly here but empty?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nope, removing

Copy link
Contributor

@FredrikOseberg FredrikOseberg left a comment

Choose a reason for hiding this comment

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

LGTM

@kwasniew kwasniew merged commit 45e089f into main Sep 4, 2023
12 of 15 checks passed
@kwasniew kwasniew deleted the remove-strategy-variant-flag branch September 4, 2023 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants