mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
chore: add flag for project list filter updates (#6825)
This PR adds the flag for the project list filter feature we're working on at the moment.
This commit is contained in:
parent
e6ec78fdac
commit
1a05bdad2e
@ -82,6 +82,7 @@ export type UiFlags = {
|
||||
projectOverviewRefactorFeedback?: boolean;
|
||||
featureLifecycle?: boolean;
|
||||
scimApi?: boolean;
|
||||
projectListFilterMyProjects?: boolean;
|
||||
};
|
||||
|
||||
export interface IVersionInfo {
|
||||
|
@ -132,6 +132,7 @@ exports[`should create default config 1`] = `
|
||||
"migrationLock": true,
|
||||
"outdatedSdksBanner": false,
|
||||
"personalAccessTokensKillSwitch": false,
|
||||
"projectListFilterMyProjects": false,
|
||||
"projectOverviewRefactor": false,
|
||||
"projectOverviewRefactorFeedback": false,
|
||||
"queryMissingTokens": false,
|
||||
|
@ -57,7 +57,8 @@ export type IFlagKey =
|
||||
| 'disableShowContextFieldSelectionValues'
|
||||
| 'bearerTokenMiddleware'
|
||||
| 'projectOverviewRefactorFeedback'
|
||||
| 'featureLifecycle';
|
||||
| 'featureLifecycle'
|
||||
| 'projectListFilterMyProjects';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
|
||||
@ -283,6 +284,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_FEATURE_LIFECYCLE,
|
||||
false,
|
||||
),
|
||||
projectListFilterMyProjects: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_PROJECTS_LIST_MY_PROJECTS,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
@ -55,6 +55,7 @@ process.nextTick(async () => {
|
||||
variantDependencies: true,
|
||||
projectOverviewRefactorFeedback: true,
|
||||
featureLifecycle: true,
|
||||
projectListFilterMyProjects: true,
|
||||
},
|
||||
},
|
||||
authentication: {
|
||||
|
Loading…
Reference in New Issue
Block a user