diff --git a/desktop/src/features/home/lib/inbox.ts b/desktop/src/features/home/lib/inbox.ts index 1c5f6a4242..83ccc019c8 100644 --- a/desktop/src/features/home/lib/inbox.ts +++ b/desktop/src/features/home/lib/inbox.ts @@ -250,10 +250,22 @@ export function buildInboxItems({ } const feedItems = [ - ...feed.feed.mentions, - ...feed.feed.needsAction, - ...feed.feed.activity, - ...feed.feed.agentActivity, + ...feed.feed.mentions.map((item) => ({ + ...item, + category: "mention" as const, + })), + ...feed.feed.needsAction.map((item) => ({ + ...item, + category: "needs_action" as const, + })), + ...feed.feed.activity.map((item) => ({ + ...item, + category: "activity" as const, + })), + ...feed.feed.agentActivity.map((item) => ({ + ...item, + category: "agent_activity" as const, + })), ]; const threadGroups = new Map< diff --git a/desktop/src/features/home/ui/InboxListPane.tsx b/desktop/src/features/home/ui/InboxListPane.tsx index 1ec7f2c725..ab1a1a0716 100644 --- a/desktop/src/features/home/ui/InboxListPane.tsx +++ b/desktop/src/features/home/ui/InboxListPane.tsx @@ -37,10 +37,7 @@ export function InboxListPane({ }: InboxListPaneProps) { return (
-
+