Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ui): correct memory source row key to use memory source id

Steven Enamakel3164309a9750
diff --git a/app/src/components/flows/FlowRunInspectorDrawer.tsx b/app/src/components/flows/FlowRunInspectorDrawer.tsx
index 1b4dfc239b..275c28dc82 100644
--- a/app/src/components/flows/FlowRunInspectorDrawer.tsx
+++ b/app/src/components/flows/FlowRunInspectorDrawer.tsx
@@ -268,12 +268,12 @@ export function FlowRunInspectorDrawer({ runId, onClose, onFixWithAgent }: Props
</div>
<div className="mt-1 flex flex-wrap items-center gap-1.5 text-[11px] text-content-muted">
{run && (
- <span
+ <Badge
+ variant={flowRunStatusVariant(run.status)}
data-testid="flow-run-status-pill"
- data-status={run.status}
- className={`inline-flex items-center rounded-full border px-2 py-0.5 font-medium ${flowRunStatusAccentClass(run.status)}`}>
+ data-status={run.status}>
{flowRunStatusLabel(run.status, t)}
- </span>
+ </Badge>
)}
{/* Internal ids are dev/debug info, not primary-view content (issue
B20) — shown short-form only, full value on hover via `title`,
diff --git a/app/src/components/intelligence/MemorySourceRow.tsx b/app/src/components/intelligence/MemorySourceRow.tsx
index d5c0325206..1cbefa777e 100644
--- a/app/src/components/intelligence/MemorySourceRow.tsx
+++ b/app/src/components/intelligence/MemorySourceRow.tsx
@@ -161,9 +161,7 @@ export function MemorySourceRow({
}`}>
{source.label}
</span>
- <span className="rounded-md bg-surface-subtle px-1.5 py-0.5 text-[10px] font-medium text-content-muted">
- {kindLabel}
- </span>
+ <Badge variant="neutral">{kindLabel}</Badge>
{status &&
status.chunks_synced > 0 &&
(ingestedOnly ? (
diff --git a/app/src/components/intelligence/WorkflowRunDetail.tsx b/app/src/components/intelligence/WorkflowRunDetail.tsx
index 91dd1fa2df..f45694d119 100644
--- a/app/src/components/intelligence/WorkflowRunDetail.tsx
+++ b/app/src/components/intelligence/WorkflowRunDetail.tsx
@@ -105,14 +105,15 @@ const WorkflowRunDetail: React.FC<Props> = ({
{/* Header: status + controls */}
<div className="flex flex-wrap items-center justify-between gap-2">
<div className="flex items-center gap-2">
- <span
+ <Badge
+ variant={RUN_STATUS_VARIANT[run.status]}
data-testid="workflow-run-status"
- className={`inline-flex items-center gap-1.5 rounded-full border px-2.5 py-0.5 text-xs font-medium ${RUN_STATUS_ACCENT[run.status]}`}>
+ dot={run.status === 'running' ? false : undefined}>
{run.status === 'running' && (
<span className="h-1.5 w-1.5 animate-pulse rounded-full bg-primary-500" />
)}
{t(RUN_STATUS_KEY[run.status])}
- </span>
+ </Badge>
<span className="font-mono text-[11px] text-content-faint">{run.id}</span>
</div>