diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index 82302abce1..f120495342 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -181,6 +181,11 @@ async function loadWorkspaceState({ activeKind: "conversation" as const, activeTerminalTabId: null, lastTerminalTabIdByWorkspace: {}, + unseenIdleByWorkspace: {}, + lastSettledAtBySession: {}, + sessionOwnership: {}, + syncRevisionByWorkspace: {}, + tombstonedSessions: {}, }, }, }; diff --git a/apps/web/components/app-sidebar/app-sidebar-nav-item.tsx b/apps/web/components/app-sidebar/app-sidebar-nav-item.tsx index c6f3c79914..24b09c10d2 100644 --- a/apps/web/components/app-sidebar/app-sidebar-nav-item.tsx +++ b/apps/web/components/app-sidebar/app-sidebar-nav-item.tsx @@ -14,6 +14,7 @@ type AppSidebarNavItemProps = { href?: string; badge?: number; badgeVariant?: "primary" | "muted"; + dot?: boolean; onClick?: () => void; collapsed: boolean; /** Override the auto-derived active-state from pathname. */ @@ -76,6 +77,24 @@ function isPathActive(pathname: string, href: string | undefined, exactMatch: bo return hrefPathname !== "/" && pathname.startsWith(`${hrefPathname}/`); } +function renderUnseenDot(dot: boolean) { + if (!dot) return null; + return ( +