From e2c466ffa16b61cd10ae53f8b9292c7186c98dbc Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Tue, 31 Mar 2026 16:58:05 +0800 Subject: [PATCH] fix(inbox): add key to IssueDetail to reset state on issue switch Without a key, React reuses the IssueDetail component instance when switching between inbox items. This causes stale internal state (e.g. TaskRunHistory tasks) from the previous issue to persist, showing execution history from a different issue. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/web/app/(dashboard)/inbox/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/app/(dashboard)/inbox/page.tsx b/apps/web/app/(dashboard)/inbox/page.tsx index a4743a14..8d22445b 100644 --- a/apps/web/app/(dashboard)/inbox/page.tsx +++ b/apps/web/app/(dashboard)/inbox/page.tsx @@ -387,6 +387,7 @@ export default function InboxPage() {
{selected?.issue_id ? (