From 8b37edbbb1fc8df32669311e256c92c17cd63a3f Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Fri, 29 May 2026 19:51:19 +0800 Subject: [PATCH] fix(issues): move agent live bar back into the activity section (#3533) PR #3517 moved the AgentLiveCard out of the activity section to a sticky bar above the editable title. This restores its original placement (after LocalDirectoryHint, above the timeline) and reverts the container margin from mb-4 back to mt-4 that suited the top slot. Everything else from #3517 is kept: the single-container multi-agent accordion, the lifted cancel-confirmation dialog, and the dropped parked/running background variant. Co-authored-by: Claude Opus 4.8 (1M context) --- .../views/issues/components/agent-live-card.tsx | 2 +- .../views/issues/components/issue-detail.tsx | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/views/issues/components/agent-live-card.tsx b/packages/views/issues/components/agent-live-card.tsx index 481cd7188..f7521fd63 100644 --- a/packages/views/issues/components/agent-live-card.tsx +++ b/packages/views/issues/components/agent-live-card.tsx @@ -292,7 +292,7 @@ export function AgentLiveCard({ issueId }: AgentLiveCardProps) { // thread scrolls under it. One bordered container in every state: the // single row, the collapsed summary, and the expanded list all share it, // so the bar reads at one consistent width. -
+
{isMulti ? ( <> diff --git a/packages/views/issues/components/issue-detail.tsx b/packages/views/issues/components/issue-detail.tsx index e34720a70..fb931539f 100644 --- a/packages/views/issues/components/issue-detail.tsx +++ b/packages/views/issues/components/issue-detail.tsx @@ -1728,14 +1728,6 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr className="relative flex-1 overflow-y-auto" >
- {/* Agent live status — sticky bar at the top of the main content, - above the editable title. Keyed by issue id so switching issues - remounts and clears in-flight task state from the previous - issue. A single active task is directly actionable (Logs + - Stop); multiple collapse into a click-to-open popover. The full - execution log lives in the right panel via ExecutionLogSection — - this bar is just the "is anyone working?" anchor. */} - + {/* Agent live output — sticky banner in the activity section, + keyed by issue id so switching issues remounts the card and + clears any in-flight task state from the previous issue. + The execution log itself (per-task timeline + past runs) + lives in the right panel via ExecutionLogSection — this + card is just a header-style "agent is working" anchor. */} + + {/* Timeline entries — virtualized via react-virtuoso to keep first-paint cost O(viewport) instead of O(N). On a 500-comment issue the unvirtualized .map froze the page for several