Skip to content

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

feat(ui): notification for code evals launch (#13894)

Jannik Maierhöfer5714d41b2ea9
diff --git a/web/src/components/nav/sidebar-notifications.clienttest.tsx b/web/src/components/nav/sidebar-notifications.clienttest.tsx
index 5ecaab6456..6b244d1243 100644
--- a/web/src/components/nav/sidebar-notifications.clienttest.tsx
+++ b/web/src/components/nav/sidebar-notifications.clienttest.tsx
@@ -1,12 +1,25 @@
import { render, screen } from "@testing-library/react";
-import { SidebarNotifications } from "./sidebar-notifications";
+import { SidebarNotifications, notifications } from "./sidebar-notifications";
+
+const GITHUB_STAR_ID = "github-star";
+
+const mockState = vi.hoisted(() => ({ dismissed: [] as string[] }));
vi.mock("../useLocalStorage", () => ({
__esModule: true,
- default: () => [["lw5-1", "lw5-2", "lw5-3"], vi.fn()],
+ default: () => [mockState.dismissed, vi.fn()],
}));
describe("SidebarNotifications", () => {
+ beforeEach(() => {
+ // Dismiss every notification except the GitHub star one so it surfaces
+ // as the front card regardless of how many launch-week notifications
+ // are added over time.
+ mockState.dismissed = notifications
+ .filter((n) => n.id !== GITHUB_STAR_ID)
+ .map((n) => n.id);
+ });
+
it("renders the GitHub stars badge with social style query params", () => {
render(<SidebarNotifications />);
diff --git a/web/src/components/nav/sidebar-notifications.tsx b/web/src/components/nav/sidebar-notifications.tsx
index 38bd413c6a..d6e1cc4f57 100644
--- a/web/src/components/nav/sidebar-notifications.tsx
+++ b/web/src/components/nav/sidebar-notifications.tsx
@@ -26,7 +26,7 @@ type SidebarNotification = {
ttlMs?: number;
};
-const notifications: SidebarNotification[] = [
+export const notifications: SidebarNotification[] = [
{
id: "lw5-1",
title: "Launch Week: Day 1",
@@ -48,11 +48,20 @@ const notifications: SidebarNotification[] = [
{
id: "lw5-3",
title: "Launch Week: Day 3",
- description: "Fast full-text search on observation i/o via the UI and API",
+ description: "Fast full-text search on observation I/O via the UI and API",
link: "https://langfuse.com/changelog/2026-05-27-clickhouse-full-text-search-fast-mode",
linkTitle: "Learn more",
createdAt: "2026-05-27",
},
+ {
+ id: "lw5-4",
+ title: "Launch Week: Day 4",
+ description:
+ "Code evaluators let you score observations and experiments with Python/TypeScript checks.",
+ link: "https://langfuse.com/changelog/2026-05-28-code-evaluators",
+ linkTitle: "Learn more",
+ createdAt: "2026-05-28",
+ },
{
id: "github-star",
title: "Star Langfuse",