1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

chore: add the projectListNewCards flag (#6898)

This PR adds the `projectListNewCards` flag to the constant defined in
`experimental.ts`. This should allow the API to pass that value to the
front end.
This commit is contained in:
Thomas Heartman 2024-04-22 12:50:21 +02:00 committed by GitHub
parent ef91a5a8da
commit b8380a0b5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -139,6 +139,7 @@ exports[`should create default config 1`] = `
"projectListFilterMyProjects": false, "projectListFilterMyProjects": false,
"projectOverviewRefactor": false, "projectOverviewRefactor": false,
"projectOverviewRefactorFeedback": false, "projectOverviewRefactorFeedback": false,
"projectsListNewCards": false,
"queryMissingTokens": false, "queryMissingTokens": false,
"responseTimeMetricsFix": false, "responseTimeMetricsFix": false,
"responseTimeWithAppNameKillSwitch": false, "responseTimeWithAppNameKillSwitch": false,

View File

@ -304,6 +304,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_APPLICATION_OVERVIEW_NEW_QUERY, process.env.UNLEASH_EXPERIMENTAL_APPLICATION_OVERVIEW_NEW_QUERY,
false, false,
), ),
projectsListNewCards: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_PROJECTS_LIST_NEW_CARDS,
false,
),
}; };
export const defaultExperimentalOptions: IExperimentalOptions = { export const defaultExperimentalOptions: IExperimentalOptions = {