diff --git a/web/src/app/(app)/dashboard/page.tsx b/web/src/app/(app)/dashboard/page.tsx index 40dc5d3..e98cb80 100644 --- a/web/src/app/(app)/dashboard/page.tsx +++ b/web/src/app/(app)/dashboard/page.tsx @@ -98,6 +98,27 @@ export default function DashboardPage() { return "/reviews"; } + const summaryCards = [ + { + id: "summary-workspaces", + label: "Active workspaces", + value: workspaces.length, + href: "/workspaces", + }, + { + id: "summary-notes", + label: "Tracked notes", + value: notes.length, + href: "/search", + }, + { + id: "summary-reviews", + label: "Pending review surfaces", + value: pendingReviewCount, + href: "/reviews", + }, + ] as const; + return ( Operational shell} >
-
-
Active workspaces
-
{workspaces.length}
-
-
-
Tracked notes
-
{notes.length}
-
-
-
Pending review surfaces
-
{pendingReviewCount}
-
+ {summaryCards.map((card) => ( + +
{card.label}
+
{card.value}
+ + ))}