diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts index 7ccf976eeb..9a873673ee 100644 --- a/frontend/src/interfaces/uiConfig.ts +++ b/frontend/src/interfaces/uiConfig.ts @@ -92,6 +92,7 @@ export type UiFlags = { crDiffView?: boolean; changeRequestApproverEmails?: boolean; eventGrouping?: boolean; + timestampsInChangeRequestTimeline?: boolean; reportUnknownFlags?: boolean; lifecycleGraphs?: boolean; }; diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 9fb52ba978..3217aaa06f 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -63,6 +63,7 @@ export type IFlagKey = | 'paygTrialEvents' | 'eventGrouping' | 'paygInstanceStatsEvents' + | 'timestampsInChangeRequestTimeline' | 'lifecycleGraphs'; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; @@ -291,6 +292,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_PAYG_INSTANCE_STATS_EVENTS, false, ), + timestampsInChangeRequestTimeline: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_TIMESTAMPS_IN_CHANGE_REQUEST_TIMELINE, + false, + ), lifecycleGraphs: parseEnvVarBoolean( process.env.UNLEASH_EXPERIMENTAL_LIFECYCLE_GRAPHS, false, diff --git a/src/server-dev.ts b/src/server-dev.ts index 4b9d10a5ff..579bce6495 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -59,6 +59,7 @@ process.nextTick(async () => { crDiffView: true, eventGrouping: true, paygTrialEvents: true, + timestampsInChangeRequestTimeline: true, lifecycleGraphs: true, }, },