diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts index 65070583ec71..9c62909e2e01 100644 --- a/frontend/src/interfaces/uiConfig.ts +++ b/frontend/src/interfaces/uiConfig.ts @@ -90,6 +90,7 @@ export type UiFlags = { archiveProjects?: boolean; projectListImprovements?: boolean; onboardingUI?: boolean; + eventTimeline?: boolean; }; export interface IVersionInfo { diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 09e56e2bc3eb..f72544ea73d1 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -63,7 +63,8 @@ export type IFlagKey = | 'addonUsageMetrics' | 'onboardingMetrics' | 'onboardingUI' - | 'projectRoleAssignment'; + | 'projectRoleAssignment' + | 'eventTimeline'; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; @@ -312,6 +313,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_PROJECT_ROLE_ASSIGNMENT, false, ), + eventTimeline: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_EVENT_TIMELINE, + false, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = { diff --git a/src/server-dev.ts b/src/server-dev.ts index be7e586391db..0ddf1f49977e 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -57,6 +57,7 @@ process.nextTick(async () => { addonUsageMetrics: true, onboardingMetrics: true, onboardingUI: true, + eventTimeline: true, }, }, authentication: {