Skip to content

Commit

Permalink
[Gitar] Cleaning up stale flag: newEventSearch with value true (#8196)
Browse files Browse the repository at this point in the history
[![Gitar](https://raw.githubusercontent.com/gitarcode/.github/main/assets/gitar-banner.svg)](https://gitar.co)
  
  ---
This automated PR was generated by [Gitar](https://gitar.co). View
[docs](https://gitar.co/docs).

---------

Co-authored-by: Gitar <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 20, 2024
1 parent ebcdd67 commit bb32336
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion frontend/src/component/events/EventLog/EventLog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Placeholder = styled('li')({
export const EventLog = ({ title, project, feature }: IEventLogProps) => {
const { isOss, isEnterprise } = useUiConfig();
const eventTimeline = useUiFlag('eventTimeline') && !isOss();
const showFilters = useUiFlag('newEventSearch') && isEnterprise();
const showFilters = isEnterprise();
const {
events,
total,
Expand Down
1 change: 0 additions & 1 deletion frontend/src/interfaces/uiConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export type UiFlags = {
enableLegacyVariants?: boolean;
navigationSidebar?: boolean;
flagCreator?: boolean;
newEventSearch?: boolean;
archiveProjects?: boolean;
projectListImprovements?: boolean;
onboardingUI?: boolean;
Expand Down
5 changes: 0 additions & 5 deletions src/lib/types/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export type IFlagKey =
| 'extendedMetrics'
| 'removeUnsafeInlineStyleSrc'
| 'originMiddleware'
| 'newEventSearch'
| 'archiveProjects'
| 'projectListImprovements'
| 'useProjectReadModel'
Expand Down Expand Up @@ -282,10 +281,6 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_ORIGIN_MIDDLEWARE,
false,
),
newEventSearch: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_NEW_EVENT_SEARCH,
false,
),
archiveProjects: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_ARCHIVE_PROJECTS,
false,
Expand Down
1 change: 0 additions & 1 deletion src/server-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ process.nextTick(async () => {
enableLegacyVariants: false,
extendedMetrics: true,
originMiddleware: true,
newEventSearch: true,
projectListImprovements: true,
useProjectReadModel: true,
addonUsageMetrics: true,
Expand Down
2 changes: 1 addition & 1 deletion website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ module.exports = {
{
type: 'doc',
label: 'Gradual Rollout',
id: 'feature-flag-tutorials/use-cases/gradual-rollout',
id: 'feature-flag-tutorials/use-cases/gradual-rollout',
},
],
},
Expand Down

0 comments on commit bb32336

Please sign in to comment.