Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat(filters): make the sessions search bar generally available (#16726)

Nikita Kabardinc502f992dd68
diff --git a/web/src/__tests__/server/organization-feature-flags.servertest.ts b/web/src/__tests__/server/organization-feature-flags.servertest.ts
index bc6a7dedc3..06af6722f2 100644
--- a/web/src/__tests__/server/organization-feature-flags.servertest.ts
+++ b/web/src/__tests__/server/organization-feature-flags.servertest.ts
@@ -203,7 +203,6 @@ describe("organization feature preview defaults", () => {
).toEqual({
modernSession: false,
compactTimeline: true,
- sessionsSearchBar: false,
});
});
@@ -435,7 +434,6 @@ describe("organization member feature preview overrides", () => {
expect(row?.featurePreviews).toEqual({
modernSession: false,
compactTimeline: true,
- sessionsSearchBar: false,
});
expect(row?.user).not.toHaveProperty("featureFlags");
expect(row).not.toHaveProperty("organizationIds");
diff --git a/web/src/components/table/use-cases/sessions.tsx b/web/src/components/table/use-cases/sessions.tsx
index d98b19777e..bf33b13437 100644
--- a/web/src/components/table/use-cases/sessions.tsx
+++ b/web/src/components/table/use-cases/sessions.tsx
@@ -64,7 +64,6 @@ import { TableSelectionManager } from "@/src/features/table/components/TableSele
import { useScoreColumns } from "@/src/features/scores/hooks/useScoreColumns";
import { scoreFilters } from "@/src/features/scores/lib/scoreColumns";
import { BatchExportTableButton } from "@/src/components/BatchExportTableButton";
-import useIsFeatureEnabled from "@/src/features/feature-flags/hooks/useIsFeatureEnabled";
import { SESSIONS_FIELD_REGISTRY } from "@/src/features/filters/config/sessionsSearchRegistry";
import { toObservedOptions } from "@/src/features/search-bar/lib/observed-options";
import { DEFAULT_SEARCH_TYPE } from "@/src/features/search-bar/lib/commit";
@@ -303,10 +302,10 @@ export default function SessionsTable({
// each other with no explicit sync. Off on the user-detail mount, which is
// page-scoped by a userId filter the bar must not fight (same embedded
// opt-out as EventsTable).
- const sessionsSearchBarEnabled =
- useIsFeatureEnabled("sessionsSearchBar", { enableForAdmins: false }) &&
- isBetaEnabled &&
- !userId;
+ // Generally available on the v4 sessions table. Still off on the user-detail
+ // mount, which is page-scoped by a userId filter the bar must not fight (the
+ // same embedded opt-out EventsTable applies).
+ const sessionsSearchBarEnabled = isBetaEnabled && !userId;
const observedOptions = useMemo(
() => toObservedOptions(newFilterOptions, isSidebarFilterLoading),
[newFilterOptions, isSidebarFilterLoading],
diff --git a/web/src/features/feature-flags/available-flags.ts b/web/src/features/feature-flags/available-flags.ts
index 6d210d1e4a..d88ec0063b 100644
--- a/web/src/features/feature-flags/available-flags.ts
+++ b/web/src/features/feature-flags/available-flags.ts
@@ -3,7 +3,6 @@ import { assertUnreachable } from "@langfuse/shared";
export const featurePreviewFlags = [
"modernSession",
"compactTimeline",
- "sessionsSearchBar",
] as const;
export type FeaturePreviewFlag = (typeof featurePreviewFlags)[number];
@@ -20,7 +19,6 @@ export const filterFeaturePreviewFlags = (
export const featurePreviewLabels = {
modernSession: "Compact Session View",
compactTimeline: "Compact Timeline",
- sessionsSearchBar: "Sessions Search Bar",
} satisfies Record<FeaturePreviewFlag, string>;
export type FeaturePreviewAvailabilityContext = {
@@ -39,13 +37,6 @@ export const isFeaturePreviewAvailable = (
return true;
}
- if (flag === "sessionsSearchBar") {
- // Reads the events-backed sessions table, so it depends on v4 exactly as
- // modernSession does — without this, staff who get previews by default
- // would see the tile checked but disabled.
- return context.v4BetaEnabled;
- }
-
return assertUnreachable(flag);
};
diff --git a/web/src/features/feature-flags/components/UserFeaturePreviewsPopover.clienttest.tsx b/web/src/features/feature-flags/components/UserFeaturePreviewsPopover.clienttest.tsx
index da9b773d5b..767d4a99d9 100644
--- a/web/src/features/feature-flags/components/UserFeaturePreviewsPopover.clienttest.tsx
+++ b/web/src/features/feature-flags/components/UserFeaturePreviewsPopover.clienttest.tsx
@@ -124,7 +124,6 @@ describe("UserFeaturePreviewsControl", () => {
featurePreviews: {
modernSession: false,
compactTimeline: false,
- sessionsSearchBar: false,
},
management: {
allowed: false,
@@ -152,7 +151,6 @@ describe("UserFeaturePreviewsControl", () => {
featurePreviews: {
modernSession: false,
compactTimeline: false,
- sessionsSearchBar: false,
},
management: { allowed: true },
});
@@ -189,7 +187,6 @@ describe("UserFeaturePreviewsControl", () => {
featurePreviews: {
modernSession: false,
compactTimeline: false,
- sessionsSearchBar: false,
},
management: { allowed: true },
});
@@ -217,7 +214,6 @@ describe("UserFeaturePreviewsControl", () => {
featurePreviews: {
modernSession: false,
compactTimeline: false,
- sessionsSearchBar: false,
},
management: { allowed: true },
});
diff --git a/web/src/features/feature-flags/types.ts b/web/src/features/feature-flags/types.ts
index 20a33fb04d..32c0ab9fa1 100644
--- a/web/src/features/feature-flags/types.ts
+++ b/web/src/features/feature-flags/types.ts
@@ -2,13 +2,9 @@ import { type availableFlags } from "./available-flags";
export type Flag = (typeof availableFlags)[number];
export type Flags = {
- [key in Exclude<
- Flag,
- "modernSession" | "compactTimeline" | "sessionsSearchBar"
- >]: boolean;
+ [key in Exclude<Flag, "modernSession" | "compactTimeline">]: boolean;
} & {
// Optional while older sessions and test fixtures roll across new flags.
modernSession?: boolean;
compactTimeline?: boolean;
- sessionsSearchBar?: boolean;
};
diff --git a/web/src/features/feature-previews/assets/sessions-search-bar-dark.svg b/web/src/features/feature-previews/assets/sessions-search-bar-dark.svg
deleted file mode 100644
index 6cdf952ade..0000000000
--- a/web/src/features/feature-previews/assets/sessions-search-bar-dark.svg
+++ /dev/null
@@ -1,107 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="650" height="300" viewBox="0 0 650 300">
- <defs>
- <linearGradient id="barGlow" x1="62" y1="52" x2="595" y2="104" gradientUnits="userSpaceOnUse">
- <stop offset="0" stop-color="hsl(246, 55%, 70%)" stop-opacity="0.14"/>
- <stop offset="0.58" stop-color="hsl(217.2, 32.6%, 18%)" stop-opacity="0.72"/>
- <stop offset="1" stop-color="hsl(188, 53%, 63%)" stop-opacity="0.08"/>
- </linearGradient>
- <linearGradient id="rowGlow" x1="255" y1="173" x2="574" y2="196" gradientUnits="userSpaceOnUse">
- <stop offset="0" stop-color="hsl(246, 55%, 70%)" stop-opacity="0.2"/>
- <stop offset="1" stop-color="hsl(217.2, 32.6%, 16%)" stop-opacity="0.74"/>
- </linearGradient>
- </defs>
-
- <rect width="650" height="300" fill="hsl(222.2, 84%, 4.9%)"/>
-
- <g stroke="hsl(210, 40%, 83%)" stroke-width="1.5" fill="none" opacity="0.4">
- <path d="M14 32 V14 H32"/>
- <path d="M636 32 V14 H618"/>
- <path d="M14 268 V286 H32"/>
- <path d="M636 268 V286 H618"/>
- </g>
-
- <g opacity="0.22" fill="none" stroke="hsl(217.2, 32.6%, 36%)" stroke-width="1">
- <path d="M83 41 L584 40 L610 77 L560 118 L118 110 L55 76 Z"/>
- <path d="M153 41 L124 111"/>
- <path d="M321 41 L304 109"/>
- <path d="M476 40 L514 113"/>
- </g>
-
- <rect x="48" y="54" width="554" height="54" rx="10" fill="url(#barGlow)" stroke="hsl(217.2, 32.6%, 30%)"/>
- <polygon points="87,60 158,54 133,108 63,104" fill="hsl(246, 55%, 70%)" fill-opacity="0.06"/>
- <polygon points="420,54 589,54 559,108 455,108" fill="hsl(188, 53%, 63%)" fill-opacity="0.05"/>
-
- <circle cx="77" cy="78" r="7" fill="none" stroke="hsl(210, 40%, 83%)" stroke-width="2.2"/>
- <path d="M82 83 L90 91" stroke="hsl(210, 40%, 83%)" stroke-width="2.2" stroke-linecap="round"/>
-
- <g font-family="'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace" font-size="12" font-weight="600" letter-spacing="0.01em" text-anchor="middle">
- <rect x="112" y="69" width="108" height="25" rx="6" fill="hsl(246, 55%, 70%)" fill-opacity="0.16" stroke="hsl(246, 55%, 70%)" stroke-opacity="0.8"/>
- <text x="166" y="86" fill="hsl(246, 72%, 85%)">tags<tspan fill-opacity="0.5">:</tspan>urgent</text>
-
- <rect x="230" y="69" width="86" height="25" rx="6" fill="hsl(217.2, 32.6%, 17.5%)" stroke="hsl(217.2, 32.6%, 36%)"/>
- <text x="273" y="86" fill="hsl(210, 40%, 86%)">env<tspan fill-opacity="0.5">:</tspan>prod</text>
-
- <rect x="326" y="69" width="100" height="25" rx="6" fill="hsl(217.2, 32.6%, 17.5%)" stroke="hsl(217.2, 32.6%, 36%)"/>
- <text x="376" y="86" fill="hsl(210, 40%, 86%)">duration<tspan fill-opacity="0.5">&gt;</tspan>30</text>
-
- <rect x="436" y="69" width="86" height="25" rx="6" fill="hsl(217.2, 32.6%, 17.5%)" stroke="hsl(217.2, 32.6%, 36%)"/>
- <text x="479" y="86" fill="hsl(210, 40%, 86%)">score<tspan fill-opacity="0.5">&gt;</tspan>.8</text>
-
- <rect x="534" y="75" width="3" height="18" rx="1.5" fill="hsl(210, 40%, 83%)" opacity="0.85"/>
- </g>
-
- <g stroke="hsl(210, 40%, 83%)" stroke-width="1" stroke-dasharray="3 6" opacity="0.28" fill="none">
- <path d="M166 108 C 156 124, 139 135, 122 151"/>
- <path d="M273 108 C 277 129, 269 145, 274 165"/>
- <path d="M376 108 C 393 133, 411 149, 452 167"/>
- <path d="M479 108 C 487 131, 506 148, 540 168"/>
- </g>
-
- <g font-family="'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace">
- <rect x="54" y="135" width="160" height="115" rx="8" fill="hsl(222.2, 84%, 4.9%)" stroke="hsl(217.2, 32.6%, 29%)"/>
- <polygon points="54,135 214,135 183,169 72,176" fill="hsl(217.2, 32.6%, 15%)" fill-opacity="0.4"/>
- <path d="M86 135 L122 250" stroke="hsl(217.2, 32.6%, 28%)" opacity="0.6"/>
- <path d="M183 135 L154 250" stroke="hsl(217.2, 32.6%, 24%)" opacity="0.6"/>
-
- <text x="72" y="156" font-size="9.5" font-weight="600" letter-spacing="0.16em" fill="hsl(215, 20.2%, 62%)">FILTER FIELD</text>
- <line x1="72" y1="168" x2="194" y2="168" stroke="hsl(217.2, 32.6%, 27.5%)"/>
-
- <circle cx="82" cy="194" r="4" fill="hsl(246, 55%, 70%)"/>
- <text x="100" y="198" font-size="12" font-weight="500" fill="hsl(210, 40%, 86%)">tags</text>
- <polygon points="150,184 190,184 198,204 155,204" fill="hsl(246, 55%, 70%)" fill-opacity="0.16" stroke="hsl(246, 55%, 70%)" stroke-opacity="0.68"/>
- <text x="173" y="198" font-size="10" font-weight="600" letter-spacing="0.04em" text-anchor="middle" fill="hsl(246, 72%, 85%)">VIP</text>
-
- <circle cx="82" cy="228" r="4" fill="hsl(215, 20.2%, 55%)"/>
- <text x="100" y="232" font-size="12" font-weight="500" fill="hsl(215, 20.2%, 66%)">environment</text>
- </g>
-
- <g font-family="'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace">
- <rect x="244" y="135" width="352" height="115" rx="8" fill="hsl(222.2, 84%, 4.9%)" stroke="hsl(217.2, 32.6%, 29%)"/>
- <polygon points="244,135 596,135 574,167 256,171" fill="hsl(217.2, 32.6%, 15%)" fill-opacity="0.34"/>
- <path d="M430 135 L406 250" stroke="hsl(217.2, 32.6%, 25%)" opacity="0.6"/>
- <path d="M550 135 L525 250" stroke="hsl(217.2, 32.6%, 24%)" opacity="0.6"/>
-
- <text x="266" y="156" font-size="9.5" font-weight="600" letter-spacing="0.16em" fill="hsl(215, 20.2%, 62%)">MATCHED SESSION</text>
- <line x1="266" y1="168" x2="574" y2="168" stroke="hsl(217.2, 32.6%, 27.5%)"/>
-
- <path d="M262 180 H574 L566 208 H262 Z" fill="url(#rowGlow)" stroke="hsl(246, 55%, 70%)" stroke-opacity="0.7"/>
- <rect x="262" y="217" width="304" height="22" rx="5" fill="hsl(222.2, 84%, 4.9%)" stroke="hsl(217.2, 32.6%, 28%)"/>
-
- <circle cx="282" cy="194" r="4" fill="hsl(246, 55%, 70%)"/>
- <text x="302" y="198" font-size="12" font-weight="500" fill="hsl(210, 40%, 87%)">checkout-0012</text>
- <text x="434" y="198" font-size="12" font-weight="600" fill="hsl(246, 72%, 85%)">alice</text>
- <text x="502" y="198" font-size="12" font-weight="500" fill="hsl(210, 40%, 80%)">2.4s</text>
- <polygon points="544,187 572,187 568,203 540,203" fill="hsl(246, 55%, 70%)" fill-opacity="0.22"/>
- <text x="556" y="198" font-size="10.5" font-weight="600" letter-spacing="0.02em" text-anchor="middle" fill="hsl(246, 72%, 85%)">.91</text>
-
- <circle cx="282" cy="228" r="3.5" fill="hsl(215, 20.2%, 55%)"/>
- <text x="302" y="232" font-size="12" font-weight="500" fill="hsl(215, 20.2%, 66%)">refund-0007</text>
- <text x="434" y="232" font-size="12" font-weight="500" fill="hsl(215, 20.2%, 62%)">bob</text>
- <text x="502" y="232" font-size="12" font-weight="500" fill="hsl(215, 20.2%, 62%)">1.7s</text>
- </g>
-
- <g opacity="0.72">
- <path d="M214 195 C 226 194, 234 192, 244 190" stroke="hsl(246, 55%, 70%)" stroke-dasharray="3 5" fill="none"/>
- <circle cx="214" cy="195" r="3.5" fill="hsl(246, 55%, 70%)"/>
- </g>
-</svg>
diff --git a/web/src/features/feature-previews/assets/sessions-search-bar-light.svg b/web/src/features/feature-previews/assets/sessions-search-bar-light.svg
deleted file mode 100644
index e130794031..0000000000
--- a/web/src/features/feature-previews/assets/sessions-search-bar-light.svg
+++ /dev/null
@@ -1,107 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="650" height="300" viewBox="0 0 650 300">
- <defs>
- <linearGradient id="barGlow" x1="62" y1="52" x2="595" y2="104" gradientUnits="userSpaceOnUse">
- <stop offset="0" stop-color="hsl(243, 75.4%, 58.6%)" stop-opacity="0.14"/>
- <stop offset="0.58" stop-color="hsl(210, 40%, 94%)" stop-opacity="0.72"/>
- <stop offset="1" stop-color="hsl(188, 60%, 42%)" stop-opacity="0.08"/>
- </linearGradient>
- <linearGradient id="rowGlow" x1="255" y1="173" x2="574" y2="196" gradientUnits="userSpaceOnUse">
- <stop offset="0" stop-color="hsl(243, 75.4%, 58.6%)" stop-opacity="0.2"/>
- <stop offset="1" stop-color="hsl(210, 40%, 95%)" stop-opacity="0.74"/>
- </linearGradient>
- </defs>
-
- <rect width="650" height="300" fill="hsl(0, 0%, 100%)"/>
-
- <g stroke="hsl(222.2, 47.4%, 11.2%)" stroke-width="1.5" fill="none" opacity="0.4">
- <path d="M14 32 V14 H32"/>
- <path d="M636 32 V14 H618"/>
- <path d="M14 268 V286 H32"/>
- <path d="M636 268 V286 H618"/>
- </g>
-
- <g opacity="0.22" fill="none" stroke="hsl(214.3, 31.8%, 82%)" stroke-width="1">
- <path d="M83 41 L584 40 L610 77 L560 118 L118 110 L55 76 Z"/>
- <path d="M153 41 L124 111"/>
- <path d="M321 41 L304 109"/>
- <path d="M476 40 L514 113"/>
- </g>
-
- <rect x="48" y="54" width="554" height="54" rx="10" fill="url(#barGlow)" stroke="hsl(214.3, 31.8%, 86%)"/>
- <polygon points="87,60 158,54 133,108 63,104" fill="hsl(243, 75.4%, 58.6%)" fill-opacity="0.06"/>
- <polygon points="420,54 589,54 559,108 455,108" fill="hsl(188, 60%, 42%)" fill-opacity="0.05"/>
-
- <circle cx="77" cy="78" r="7" fill="none" stroke="hsl(222.2, 47.4%, 11.2%)" stroke-width="2.2"/>
- <path d="M82 83 L90 91" stroke="hsl(222.2, 47.4%, 11.2%)" stroke-width="2.2" stroke-linecap="round"/>
-
- <g font-family="'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace" font-size="12" font-weight="600" letter-spacing="0.01em" text-anchor="middle">
- <rect x="112" y="69" width="108" height="25" rx="6" fill="hsl(243, 75.4%, 58.6%)" fill-opacity="0.16" stroke="hsl(243, 75.4%, 58.6%)" stroke-opacity="0.8"/>
- <text x="166" y="86" fill="hsl(243, 75.4%, 45%)">tags<tspan fill-opacity="0.5">:</tspan>urgent</text>
-
- <rect x="230" y="69" width="86" height="25" rx="6" fill="hsl(210, 40%, 96.1%)" stroke="hsl(214.3, 31.8%, 82%)"/>
- <text x="273" y="86" fill="hsl(222.2, 47.4%, 11.2%)">env<tspan fill-opacity="0.5">:</tspan>prod</text>
-
- <rect x="326" y="69" width="100" height="25" rx="6" fill="hsl(210, 40%, 96.1%)" stroke="hsl(214.3, 31.8%, 82%)"/>
- <text x="376" y="86" fill="hsl(222.2, 47.4%, 11.2%)">duration<tspan fill-opacity="0.5">&gt;</tspan>30</text>
-
- <rect x="436" y="69" width="86" height="25" rx="6" fill="hsl(210, 40%, 96.1%)" stroke="hsl(214.3, 31.8%, 82%)"/>
- <text x="479" y="86" fill="hsl(222.2, 47.4%, 11.2%)">score<tspan fill-opacity="0.5">&gt;</tspan>.8</text>
-
- <rect x="534" y="75" width="3" height="18" rx="1.5" fill="hsl(222.2, 47.4%, 11.2%)" opacity="0.85"/>
- </g>
-
- <g stroke="hsl(222.2, 47.4%, 11.2%)" stroke-width="1" stroke-dasharray="3 6" opacity="0.28" fill="none">
- <path d="M166 108 C 156 124, 139 135, 122 151"/>
- <path d="M273 108 C 277 129, 269 145, 274 165"/>
- <path d="M376 108 C 393 133, 411 149, 452 167"/>
- <path d="M479 108 C 487 131, 506 148, 540 168"/>
- </g>
-
- <g font-family="'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace">
- <rect x="54" y="135" width="160" height="115" rx="8" fill="hsl(0, 0%, 100%)" stroke="hsl(214.3, 31.8%, 88%)"/>
- <polygon points="54,135 214,135 183,169 72,176" fill="hsl(210, 40%, 96.1%)" fill-opacity="0.4"/>
- <path d="M86 135 L122 250" stroke="hsl(214.3, 31.8%, 91.4%)" opacity="0.6"/>
- <path d="M183 135 L154 250" stroke="hsl(214.3, 31.8%, 88%)" opacity="0.6"/>
-
- <text x="72" y="156" font-size="9.5" font-weight="600" letter-spacing="0.16em" fill="hsl(215.4, 16.3%, 46.9%)">FILTER FIELD</text>
- <line x1="72" y1="168" x2="194" y2="168" stroke="hsl(214.3, 31.8%, 91.4%)"/>
-
- <circle cx="82" cy="194" r="4" fill="hsl(243, 75.4%, 58.6%)"/>
- <text x="100" y="198" font-size="12" font-weight="500" fill="hsl(222.2, 47.4%, 11.2%)">tags</text>
- <polygon points="150,184 190,184 198,204 155,204" fill="hsl(243, 75.4%, 58.6%)" fill-opacity="0.16" stroke="hsl(243, 75.4%, 58.6%)" stroke-opacity="0.68"/>
- <text x="173" y="198" font-size="10" font-weight="600" letter-spacing="0.04em" text-anchor="middle" fill="hsl(243, 75.4%, 45%)">VIP</text>
-
- <circle cx="82" cy="228" r="4" fill="hsl(215.4, 16.3%, 55%)"/>
- <text x="100" y="232" font-size="12" font-weight="500" fill="hsl(215.4, 16.3%, 46.9%)">environment</text>
- </g>
-
- <g font-family="'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace">
- <rect x="244" y="135" width="352" height="115" rx="8" fill="hsl(0, 0%, 100%)" stroke="hsl(214.3, 31.8%, 88%)"/>
- <polygon points="244,135 596,135 574,167 256,171" fill="hsl(210, 40%, 96.1%)" fill-opacity="0.34"/>
- <path d="M430 135 L406 250" stroke="hsl(214.3, 31.8%, 88%)" opacity="0.6"/>
- <path d="M550 135 L525 250" stroke="hsl(214.3, 31.8%, 88%)" opacity="0.6"/>
-
- <text x="266" y="156" font-size="9.5" font-weight="600" letter-spacing="0.16em" fill="hsl(215.4, 16.3%, 46.9%)">MATCHED SESSION</text>
- <line x1="266" y1="168" x2="574" y2="168" stroke="hsl(214.3, 31.8%, 91.4%)"/>
-
- <path d="M262 180 H574 L566 208 H262 Z" fill="url(#rowGlow)" stroke="hsl(243, 75.4%, 58.6%)" stroke-opacity="0.7"/>
- <rect x="262" y="217" width="304" height="22" rx="5" fill="hsl(0, 0%, 100%)" stroke="hsl(214.3, 31.8%, 91.4%)"/>
-
- <circle cx="282" cy="194" r="4" fill="hsl(243, 75.4%, 58.6%)"/>
- <text x="302" y="198" font-size="12" font-weight="500" fill="hsl(222.2, 84%, 4.9%)">checkout-0012</text>
- <text x="434" y="198" font-size="12" font-weight="600" fill="hsl(243, 75.4%, 45%)">alice</text>
- <text x="502" y="198" font-size="12" font-weight="500" fill="hsl(215.4, 16.3%, 35%)">2.4s</text>
- <polygon points="544,187 572,187 568,203 540,203" fill="hsl(243, 75.4%, 58.6%)" fill-opacity="0.22"/>
- <text x="556" y="198" font-size="10.5" font-weight="600" letter-spacing="0.02em" text-anchor="middle" fill="hsl(243, 75.4%, 45%)">.91</text>
-
- <circle cx="282" cy="228" r="3.5" fill="hsl(215.4, 16.3%, 55%)"/>
- <text x="302" y="232" font-size="12" font-weight="500" fill="hsl(215.4, 16.3%, 46.9%)">refund-0007</text>
- <text x="434" y="232" font-size="12" font-weight="500" fill="hsl(215.4, 16.3%, 46.9%)">bob</text>
- <text x="502" y="232" font-size="12" font-weight="500" fill="hsl(215.4, 16.3%, 46.9%)">1.7s</text>
- </g>
-
- <g opacity="0.72">
- <path d="M214 195 C 226 194, 234 192, 244 190" stroke="hsl(243, 75.4%, 58.6%)" stroke-dasharray="3 5" fill="none"/>
- <circle cx="214" cy="195" r="3.5" fill="hsl(243, 75.4%, 58.6%)"/>
- </g>
-</svg>
diff --git a/web/src/features/feature-previews/components/ControlledFeaturePreviewModal.tsx b/web/src/features/feature-previews/components/ControlledFeaturePreviewModal.tsx
index 17120d239c..e7c1f4e3c7 100644
--- a/web/src/features/feature-previews/components/ControlledFeaturePreviewModal.tsx
+++ b/web/src/features/feature-previews/components/ControlledFeaturePreviewModal.tsx
@@ -62,21 +62,6 @@ export function ControlledFeaturePreviewModal({
onToggle: onToggle("modernSession"),
isToggling: setFeaturePreviewEnabled.isPending,
},
- sessionsSearchBar: {
- enabled:
- authSession.data?.user?.featureFlags.sessionsSearchBar === true ||
- authSession.data?.environment.enableExperimentalFeatures === true,
- disabled:
- !isBetaEnabled ||
- authSession.data?.environment.enableExperimentalFeatures === true,
- warningReason: !isBetaEnabled
- ? `The sessions search bar reads the events-backed sessions table. Turn on ${V4_PREVIEW_LABEL} to enable it.`
- : authSession.data?.environment.enableExperimentalFeatures === true
- ? "This preview is enabled by LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES, so a per-user opt-out does not disable it."
- : undefined,
- onToggle: onToggle("sessionsSearchBar"),
- isToggling: setFeaturePreviewEnabled.isPending,
- },
compactTimeline: {
enabled:
authSession.data?.user?.featureFlags.compactTimeline === true ||
diff --git a/web/src/features/feature-previews/components/FeaturePreviewModal.tsx b/web/src/features/feature-previews/components/FeaturePreviewModal.tsx
index 4583cccbe6..8a3945dfb2 100644
--- a/web/src/features/feature-previews/components/FeaturePreviewModal.tsx
+++ b/web/src/features/feature-previews/components/FeaturePreviewModal.tsx
@@ -18,8 +18,6 @@ import {
} from "@/src/features/feature-flags/available-flags";
import compactTimelineDarkIllustration from "../assets/compact-timeline-dark.svg";
-import sessionsSearchBarDarkIllustration from "../assets/sessions-search-bar-dark.svg";
-import sessionsSearchBarLightIllustration from "../assets/sessions-search-bar-light.svg";
import compactTimelineLightIllustration from "../assets/compact-timeline-light.svg";
import modernSessionDarkIllustration from "../assets/modern-session-dark.svg";
import modernSessionLightIllustration from "../assets/modern-session-light.svg";
@@ -83,19 +81,6 @@ const PREVIEW_REGISTRY: PreviewRegistryItem[] = [
alt: "A whole trace as dense coloured lines, one per observation, cascading across a time axis.",
},
},
- {
- flag: "sessionsSearchBar",
- description:
- "Filter sessions by typing instead of clicking — the same query bar the observations table uses, now over the sessions table.",
- details:
- "One keyboard-driven bar over the sessions table: type `userIds:alice`, `tags:(billing AND urgent)`, `duration:>30`, `metadata.region:eu`, or `scores.helpfulness:>0.8` and press Enter. Autocomplete suggests fields and the values your project has actually recorded. The facet sidebar stays and stays in sync — the bar is an additional editor over the same filters, so saved views keep working from either side.",
- feedbackUrl: "https://github.com/orgs/langfuse/discussions",
- illustration: {
- light: sessionsSearchBarLightIllustration,
- dark: sessionsSearchBarDarkIllustration,
- alt: "A query bar above the sessions table with typed filter pills and an autocomplete list.",
- },
- },
];
const FEATURE_PREVIEW_MODAL_TITLE = "Feature Preview";
diff --git a/web/src/features/search-bar/README.md b/web/src/features/search-bar/README.md
index 5d00cb0257..423a16dcdc 100644
--- a/web/src/features/search-bar/README.md
+++ b/web/src/features/search-bar/README.md
@@ -1,8 +1,7 @@
# Search Bar
Grammar-based query bar shared by the observations (v4 events) table,
-evaluation-rule observation filters, and the sessions table (Feature Preview,
-`sessionsSearchBar`). On the events table it does NOT replace
+evaluation-rule observation filters, and the sessions table. On the events table it does NOT replace
the facet sidebar — it is an ADDITIONAL keyboard-driven editor that coexists
with the sidebar and stays in sync with it. The facet sidebar's `FilterState`
(+ the table's full-text search) remains the single source of truth; the bar
@@ -398,7 +397,7 @@ adapter, serializer, completion planner, token projection, store, and AI prompt
all take an injected `FieldRegistry`. `EVENTS_FIELD_REGISTRY` remains the default
for existing call sites; evaluation rules pass `RULE_FIELD_REGISTRY`, which is
derived from the same `eventsEvalFilterColumns` used by backend validation, and
-the sessions table passes `SESSIONS_FIELD_REGISTRY`
+the v4 sessions table passes `SESSIONS_FIELD_REGISTRY`
(`features/filters/config/sessionsSearchRegistry.ts`).
**Pass the registry to BOTH halves.** `registry` is an optional prop defaulting