From 8db7d813408827f525f91ce453c376e8acdec0e7 Mon Sep 17 00:00:00 2001 From: Jocelyn Lin Date: Tue, 5 May 2026 14:31:16 -0700 Subject: [PATCH] feat: remove scoped view option from ExecutionsListTable (#6348) feat: remove scoped view option from ExecutionsListTable and update related components - Removed the `scoped` prop from `ExecutionsListTable` to simplify the component. - Adjusted the rendering logic to always display the Agentflow Name column. - Updated comments in `ExecutionsViewer` to clarify the behavior of the agentflowId prop. --- .../executions/components/ExecutionsListTable.tsx | 15 +++++---------- .../executions/components/ExecutionsViewer.tsx | 5 ++--- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/packages/observe/src/features/executions/components/ExecutionsListTable.tsx b/packages/observe/src/features/executions/components/ExecutionsListTable.tsx index d3f77dc73..cf077ee31 100644 --- a/packages/observe/src/features/executions/components/ExecutionsListTable.tsx +++ b/packages/observe/src/features/executions/components/ExecutionsListTable.tsx @@ -13,8 +13,6 @@ interface ExecutionsListTableProps { onRowClick: (execution: Execution) => void onDelete?: (execution: Execution) => void allowDelete?: boolean - /** When true, hides the Agentflow Name column (scoped view) */ - scoped?: boolean } function formatDate(iso: string): string { @@ -37,8 +35,7 @@ export function ExecutionsListTable({ onSelectAll, onRowClick, onDelete, - allowDelete = false, - scoped = false + allowDelete = false }: ExecutionsListTableProps) { const theme = useTheme() const allSelected = executions.length > 0 && executions.every((e) => selectedIds.has(e.id)) @@ -58,7 +55,7 @@ export function ExecutionsListTable({ Status Last Updated - {!scoped && Agentflow} + Agentflow Session ID Created {allowDelete && } @@ -91,11 +88,9 @@ export function ExecutionsListTable({ {formatDate(execution.updatedDate)} - {!scoped && ( - - {execution.agentflow?.name ?? '—'} - - )} + + {execution.agentflow?.name ?? '—'} + diff --git a/packages/observe/src/features/executions/components/ExecutionsViewer.tsx b/packages/observe/src/features/executions/components/ExecutionsViewer.tsx index 44024a055..1f46b8068 100644 --- a/packages/observe/src/features/executions/components/ExecutionsViewer.tsx +++ b/packages/observe/src/features/executions/components/ExecutionsViewer.tsx @@ -38,8 +38,8 @@ const EXECUTION_STATES: Array = ['', 'INPROGRESS', 'FINISHE /** * Top-level executions list + detail drawer. - * When agentflowId is provided: scoped view (M1 — hides agentflow name column). - * When agentflowId is omitted: full cross-agent list (M2). + * When agentflowId is provided: scoped view (filters list + hides agentflow-name filter). + * When agentflowId is omitted: full cross-agent list. */ export function ExecutionsViewer({ agentflowId, @@ -234,7 +234,6 @@ export function ExecutionsViewer({ onRowClick={setDrawerExecution} onDelete={(e) => setDeleteTarget(e)} allowDelete={allowDelete} - scoped={isScoped} /> )}