mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
chore: add flagOverviewRedesign flag (#8653)
https://linear.app/unleash/issue/2-2916/create-a-new-flag-for-the-new-feature-flag-overview-page-redesign Adds the `flagOverviewRedesign` feature flag, allowing us to toggle the new feature flag overview page redesign.
This commit is contained in:
parent
b00d449c72
commit
16e136e42c
@ -94,6 +94,7 @@ export type UiFlags = {
|
|||||||
'enterprise-payg'?: boolean;
|
'enterprise-payg'?: boolean;
|
||||||
simplifyProjectOverview?: boolean;
|
simplifyProjectOverview?: boolean;
|
||||||
productivityReportEmail?: boolean;
|
productivityReportEmail?: boolean;
|
||||||
|
flagOverviewRedesign?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface IVersionInfo {
|
export interface IVersionInfo {
|
||||||
|
@ -60,7 +60,8 @@ export type IFlagKey =
|
|||||||
| 'releasePlans'
|
| 'releasePlans'
|
||||||
| 'productivityReportEmail'
|
| 'productivityReportEmail'
|
||||||
| 'enterprise-payg'
|
| 'enterprise-payg'
|
||||||
| 'simplifyProjectOverview';
|
| 'simplifyProjectOverview'
|
||||||
|
| 'flagOverviewRedesign';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -301,6 +302,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_SIMPLIFY_PROJECT_OVERVIEW,
|
process.env.UNLEASH_EXPERIMENTAL_SIMPLIFY_PROJECT_OVERVIEW,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
flagOverviewRedesign: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_FLAG_OVERVIEW_REDESIGN,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
@ -57,6 +57,7 @@ process.nextTick(async () => {
|
|||||||
webhookDomainLogging: true,
|
webhookDomainLogging: true,
|
||||||
releasePlans: false,
|
releasePlans: false,
|
||||||
simplifyProjectOverview: true,
|
simplifyProjectOverview: true,
|
||||||
|
flagOverviewRedesign: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user