Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(issues): move agent live bar back into the activity section (#3533)

Naiyuan Qing8b37edbbb1fc
diff --git a/packages/views/issues/components/agent-live-card.tsx b/packages/views/issues/components/agent-live-card.tsx
index 481cd71887..f7521fd638 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.
- <div className="mb-4 sticky top-4 z-10 rounded-lg bg-background/80 supports-[backdrop-filter]:bg-background/55 backdrop-blur-md">
+ <div className="mt-4 sticky top-4 z-10 rounded-lg bg-background/80 supports-[backdrop-filter]:bg-background/55 backdrop-blur-md">
<div className="overflow-hidden rounded-lg border border-info/20 bg-info/5">
{isMulti ? (
<>
diff --git a/packages/views/issues/components/issue-detail.tsx b/packages/views/issues/components/issue-detail.tsx
index e34720a703..fb931539f4 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"
>
<div className="mx-auto w-full max-w-4xl px-8 py-8">
- {/* 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. */}
- <AgentLiveCard key={id} issueId={id} />
<TitleEditor
key={`title-${id}`}
defaultValue={issue.title}
@@ -1946,6 +1938,14 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr
<LocalDirectoryHint projectId={issue?.project_id} />
+ {/* 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. */}
+ <AgentLiveCard key={id} issueId={id} />
+
{/* 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