Skip to content

Commit

Permalink
chore: add the projectListNewCards flag (#6898)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
thomasheartman committed Apr 22, 2024
1 parent ef91a5a commit b8380a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/__snapshots__/create-config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ exports[`should create default config 1`] = `
"projectListFilterMyProjects": false,
"projectOverviewRefactor": false,
"projectOverviewRefactorFeedback": false,
"projectsListNewCards": false,
"queryMissingTokens": false,
"responseTimeMetricsFix": false,
"responseTimeWithAppNameKillSwitch": false,
Expand Down
4 changes: 4 additions & 0 deletions src/lib/types/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_APPLICATION_OVERVIEW_NEW_QUERY,
false,
),
projectsListNewCards: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_PROJECTS_LIST_NEW_CARDS,
false,
),
};

export const defaultExperimentalOptions: IExperimentalOptions = {
Expand Down

0 comments on commit b8380a0

Please sign in to comment.