+ {/* Search + New task beside it. */}
+
+
+
+
+ {/* Column filter — defaults to the current task's column on open. */}
+
+ {STATUSES.map((s) => (
+
+ ))}
+
+
+ {t("chat.taskPill.empty")}
+
+ {taskItems
+ .filter((item) => item.status === statusFilter)
+ .map((item) => {
+ const StatusIcon = STATUS_CONFIG[item.status].icon;
+ return (
+ {
+ setOpen(false);
+ if (item.id !== currentItem?.id) void openItem(item);
+ }}
+ >
+
+
+ {item.title || untitled}
+
+ {item.id === currentItem?.id && (
+
+ )}
+
+ );
+ })}
+
+
+
+