The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(flows): update run sidebar and copilot panel\n\nUpdate the flow run sidebar and workflow copilot panel to support the latest interface changes.\n\nAuto-committed-on: macbook\n
Steven Enamakel40b8d8f2b6d1
diff --git a/app/src/components/flows/FlowRunsSidebar.tsx b/app/src/components/flows/FlowRunsSidebar.tsxindex a697d23ee3..4e37ee88d9 100644--- a/app/src/components/flows/FlowRunsSidebar.tsx+++ b/app/src/components/flows/FlowRunsSidebar.tsx@@ -110,8 +110,14 @@ export default function FlowRunsSidebar({ flowId }: FlowRunsSidebarProps) {// list and the nav group above it in the same column read as one sidebar// rather than two components that happen to be stacked.<div className="flex h-full flex-col" data-testid="flow-runs-sidebar">- <div className="flex shrink-0 items-center justify-between gap-2 px-2 pb-0.5">- <span className="text-[10px] font-semibold uppercase tracking-wider text-content-muted">+ {/* `px-3` on the row with `px-2` on the label puts the heading on the same+ left edge as the row text below it (`px-3` list + `px-2.5` button),+ which is exactly how `TwoPaneNav` insets its own group headings. The+ row used to be `px-2` against a `px-3` list, so the heading sat ~14px+ left of everything under it and the refresh button hugged the pane+ edge. */}+ <div className="flex shrink-0 items-center justify-between gap-2 px-3 pb-1">+ <span className="px-2 text-[10px] font-semibold uppercase tracking-wider text-content-muted">{t('flows.runs.sidebarTitle')}</span><Buttondiff --git a/app/src/components/flows/WorkflowCopilotPanel.tsx b/app/src/components/flows/WorkflowCopilotPanel.tsxindex c1f1493e76..94b368f88d 100644--- a/app/src/components/flows/WorkflowCopilotPanel.tsx+++ b/app/src/components/flows/WorkflowCopilotPanel.tsx@@ -90,7 +90,6 @@ interface Props {/** Reject the pending proposal (host reverts the overlay). */onReject: () => void;/** Close the panel. */- onClose: () => void;/*** Optional repair seed (from a failed run's "Fix with agent") — auto-sends a* repair turn once on mount so the copilot opens already diagnosing.@@ -152,7 +151,6 @@ export default function WorkflowCopilotPanel({onProposal,onAccept,onReject,- onClose,repairSeed = null,buildSeed = null,onBuildSeedConsumed,@@ -493,26 +491,13 @@ export default function WorkflowCopilotPanel({className={`flex h-full w-full flex-col border-l border-line bg-surface ${fullWidth ? '' : 'max-w-sm'}`}>- {/* Close-only. The "Workflow copilot" title and its "Ask for changes and- review each proposal before applying it" subtitle were removed: the- panel is opened from a `Copilot | Manual` toggle that already names- it, so the title restated the control the user just pressed, and the- subtitle described the proposal flow in a band that stayed on screen- long after the first proposal made it self-evident. Two lines of- permanent chrome above a transcript that wants the height. */}- <header className="flex items-center justify-end border-b border-line px-2 py-1.5">- <Button- type="button"- variant="tertiary"- size="xs"- iconOnly- data-testid="workflow-copilot-close"- aria-label={t('flows.copilot.close')}- onClick={onClose}- className="rounded-full">- ✕- </Button>- </header>+ {/* No header. It carried a "Workflow copilot" title, a subtitle+ describing the proposal flow, and a close ✕ — none of which earned+ permanent height above a transcript. The panel is opened from a+ `Copilot | Manual` toggle in the canvas header that both names it and+ closes it (clicking the active segment collapses the rail), so the+ title restated the control the user just pressed and the ✕ duplicated+ it. `onClose` went with the button; nothing else called it. */}{/* Full builder transcript — the SAME rich renderer the home composerchat uses (message bubbles, past-turn insights, the shared tool