Skip to content

Commit

Permalink
chore: create the releasePlanChangeRequests feature flag (#9126)
Browse files Browse the repository at this point in the history
  • Loading branch information
daveleek authored Jan 21, 2025
1 parent e4eab45 commit 09872ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/interfaces/uiConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export type UiFlags = {
enableLegacyVariants?: boolean;
flagCreator?: boolean;
releasePlans?: boolean;
releasePlanChangeRequests?: boolean;
'enterprise-payg'?: boolean;
productivityReportEmail?: boolean;
showUserDeviceCount?: boolean;
Expand Down
5 changes: 5 additions & 0 deletions src/lib/types/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export type IFlagKey =
| 'originMiddlewareRequestLogging'
| 'webhookDomainLogging'
| 'releasePlans'
| 'releasePlanChangeRequests'
| 'productivityReportEmail'
| 'enterprise-payg'
| 'flagOverviewRedesign'
Expand Down Expand Up @@ -251,6 +252,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_RELEASE_PLANS,
false,
),
releasePlanChangeRequests: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_RELEASE_PLAN_CHANGE_REQUESTS,
false,
),
productivityReportEmail: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_PRODUCTIVITY_REPORT_EMAIL,
false,
Expand Down
1 change: 1 addition & 0 deletions src/server-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ process.nextTick(async () => {
originMiddlewareRequestLogging: true,
webhookDomainLogging: true,
releasePlans: false,
releasePlanChangeRequests: false,
showUserDeviceCount: true,
flagOverviewRedesign: false,
granularAdminPermissions: true,
Expand Down

0 comments on commit 09872ae

Please sign in to comment.