diff --git a/AgentCompany-New/src/renderer/src/pages/RunsPage.tsx b/AgentCompany-New/src/renderer/src/pages/RunsPage.tsx index 9f48cdff..409deb44 100644 --- a/AgentCompany-New/src/renderer/src/pages/RunsPage.tsx +++ b/AgentCompany-New/src/renderer/src/pages/RunsPage.tsx @@ -46,8 +46,8 @@ export function RunsPage({ snapshot }: PageProps) {
{selected ? ( ) : ( -
+
Select a run
)} @@ -126,7 +126,7 @@ function RunDetail({ run, tasks, agents, providers, providerRequests }: { {runLabel(run.state)}
-
+
Agent
{agent?.name ?? "—"} ({agent?.role ?? "—"})
Provider
{provider?.label ?? "—"} · {provider?.model ?? "—"}
Trigger
{run.trigger}
@@ -134,21 +134,21 @@ function RunDetail({ run, tasks, agents, providers, providerRequests }: { {run.startedAt && (<>Started
{formatRelative(run.startedAt)}
)} {run.completedAt && (<>Completed
{formatRelative(run.completedAt)}
)} {durationMs !== null && (<>Duration
{formatDuration(durationMs)}
)} - Context
{run.executionContextId}
+ Context
{run.executionContextId}
{run.state === "failed" && run.errorMessage && ( -
-
Error
-
{run.errorMessage}
+
+
Error
+
{run.errorMessage}
)} {request && ( -
+
Provider request
-
- Request ID
{request.id}
+
+ Request ID
{request.id}
Model
{request.model}
State
{request.state}
Input chars
{request.inputCharCount.toLocaleString()}
diff --git a/AgentCompany-New/src/renderer/src/styles.css b/AgentCompany-New/src/renderer/src/styles.css index d4613308..81113c11 100644 --- a/AgentCompany-New/src/renderer/src/styles.css +++ b/AgentCompany-New/src/renderer/src/styles.css @@ -206,6 +206,27 @@ a { color: inherit; } font-variant-numeric: tabular-nums; } .nav-divider { height: 1px; background: var(--border-soft); margin: var(--sp-2); } + +/* Selectable list row used by master-detail panes (Runs, etc.). width:100% + + min-width:0 lets the inner flex child ellipsize instead of pushing the + row past the pane and forcing a horizontal scrollbar. */ +.nav-row { + display: flex; + align-items: center; + gap: var(--sp-2); + width: 100%; + min-width: 0; + padding: var(--sp-2) var(--sp-3); + border: 0; + border-radius: var(--r-sm); + background: transparent; + color: var(--text-1); + text-align: left; + transition: background var(--motion-fast) var(--ease-out); +} +.nav-row:hover { background: var(--hover); } +.nav-row.active { background: var(--panel-3); } + .org-menu { position: absolute; left: 0;