fix(desktop): make inbox category filters clickable

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Thomas Petersen
2026-05-12 11:32:14 -04:00
parent fe2c9307cb
commit 36afb5f02e
2 changed files with 17 additions and 8 deletions

View File

@@ -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<

View File

@@ -37,10 +37,7 @@ export function InboxListPane({
}: InboxListPaneProps) {
return (
<section className="flex min-h-0 min-w-0 flex-col overflow-hidden border-r border-border/70 bg-background">
<div
className="border-b border-border/70 px-4 pb-4 pt-3"
data-tauri-drag-region
>
<div className="border-b border-border/70 px-4 pb-4 pt-3">
<div className="relative">
<Search className="pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" />
<Input