mirror of
https://github.com/block/buzz.git
synced 2026-11-07 18:01:06 +00:00
fix(desktop): make inbox category filters clickable
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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<
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user