Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix: auto-mark conversation read on task completion while viewing

Gus93a693bba07f
diff --git a/src/web/src/components/agent-chat/agent-chat-view.tsx b/src/web/src/components/agent-chat/agent-chat-view.tsx
index c55d26250..5bc1a597a 100644
--- a/src/web/src/components/agent-chat/agent-chat-view.tsx
+++ b/src/web/src/components/agent-chat/agent-chat-view.tsx
@@ -807,6 +807,10 @@ export function AgentChatView() {
if (pollRef.current) clearInterval(pollRef.current);
pollRef.current = null;
+ markInboxRead(conversationId, workspaceId)
+ .then(() => refreshInboxCount())
+ .catch(() => {});
+
const shouldScroll = isNearBottom.current;
try {
const [latest, arts] = await Promise.all([