mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
Add timestampsInChangeRequestTimeline flag (#10399)
Adds flag to OSS for the new timestamps in CR timeline capability. We might not need them in the UI, but might as well add it in case.
This commit is contained in:
parent
299ed65ef7
commit
64050121db
@ -92,6 +92,7 @@ export type UiFlags = {
|
||||
crDiffView?: boolean;
|
||||
changeRequestApproverEmails?: boolean;
|
||||
eventGrouping?: boolean;
|
||||
timestampsInChangeRequestTimeline?: boolean;
|
||||
reportUnknownFlags?: boolean;
|
||||
lifecycleGraphs?: boolean;
|
||||
};
|
||||
|
@ -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,
|
||||
|
@ -59,6 +59,7 @@ process.nextTick(async () => {
|
||||
crDiffView: true,
|
||||
eventGrouping: true,
|
||||
paygTrialEvents: true,
|
||||
timestampsInChangeRequestTimeline: true,
|
||||
lifecycleGraphs: true,
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user