From dcfd279ad616850bcb2415b627c82dcfda99fea3 Mon Sep 17 00:00:00 2001 From: "openai-code-agent[bot]" <242516109+Codex@users.noreply.github.com> Date: Mon, 9 Mar 2026 18:37:50 +0000 Subject: [PATCH 1/2] Initial plan From de24b5f9a6852e0022043b7b178d35181adecf35 Mon Sep 17 00:00:00 2001 From: "openai-code-agent[bot]" <242516109+Codex@users.noreply.github.com> Date: Mon, 9 Mar 2026 20:54:36 +0000 Subject: [PATCH 2/2] Improve run config deltas layout --- .../components/SimulationDetailsView.tsx | 64 ++++++++++++++----- 1 file changed, 47 insertions(+), 17 deletions(-) diff --git a/frontend/src/features/simulations/components/SimulationDetailsView.tsx b/frontend/src/features/simulations/components/SimulationDetailsView.tsx index 014639cb..97300c57 100644 --- a/frontend/src/features/simulations/components/SimulationDetailsView.tsx +++ b/frontend/src/features/simulations/components/SimulationDetailsView.tsx @@ -34,6 +34,15 @@ const ReadonlyInput = ({ value, className }: { value?: string | null; className? ); +const DiffCell = ({ value, className }: { value: unknown; className?: string }) => { + const text = value === null || value === undefined ? '—' : String(value); + return ( +
+ {text} +
+ ); +}; + // -------------------- View Component -------------------- export const SimulationDetailsView = ({ simulation, @@ -180,24 +189,45 @@ export const SimulationDetailsView = ({ {simulation.runConfigDeltas && Object.keys(simulation.runConfigDeltas).length > 0 ? ( - - - - - - - - - - {Object.entries(simulation.runConfigDeltas).map(([field, diff]) => ( - - - - +
+
FieldCanonicalCurrent
{field}{String((diff as Record).canonical ?? '—')}{String((diff as Record).current ?? '—')}
+ + + + + - ))} - -
+ Field + + Canonical + + Current +
+ + + {Object.entries(simulation.runConfigDeltas).map(([field, diff]) => { + const canonical = (diff as Record).canonical; + const current = (diff as Record).current; + return ( + + + + + + + + + + + + ); + })} + + + ) : (

No configuration differences.