Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(views): clear agent live state when switching issues (#1389)
Bohan Jiang779c72e835c6
diff --git a/packages/views/issues/components/issue-detail.tsx b/packages/views/issues/components/issue-detail.tsxindex fa74af9a4c..f105a12341 100644--- a/packages/views/issues/components/issue-detail.tsx+++ b/packages/views/issues/components/issue-detail.tsx@@ -1273,12 +1273,14 @@ export function IssueDetail({ issueId, onDelete, defaultSidebarOpen = true, layo</div>{/* Agent live output — sticky inside the Activity section so it- stays pinned while scrolling through TaskRunHistory + comments. */}- <AgentLiveCard issueId={id} />+ stays pinned while scrolling through TaskRunHistory + comments.+ Keyed by issue id so switching issues remounts the card and+ clears any in-flight task state from the previous issue. */}+ <AgentLiveCard key={id} issueId={id} />{/* Agent execution history */}<div className="mt-3">- <TaskRunHistory issueId={id} />+ <TaskRunHistory key={id} issueId={id} /></div>{/* Timeline entries */}