From e9ab1ec5ee5ef89cdfc0eab02245c64ce47da566 Mon Sep 17 00:00:00 2001 From: robbond Date: Wed, 5 Aug 2026 11:42:20 +0100 Subject: [PATCH] experiment: organise workspace into cognitive zones --- components/reasoning-workspace.jsx | 112 ++++++++++++----------------- docs/design-evolution-log.md | 27 +++++++ 2 files changed, 74 insertions(+), 65 deletions(-) diff --git a/components/reasoning-workspace.jsx b/components/reasoning-workspace.jsx index 3e83656..7d5864a 100644 --- a/components/reasoning-workspace.jsx +++ b/components/reasoning-workspace.jsx @@ -656,36 +656,27 @@ export default function ReasoningWorkspace({ ) : ( <> - {/* ── Investigation summary card — always full-width ─────────── */} - + {/* ═══════════════ ZONE 1 — Active work ═══════════════ */} +
- {/* Active workspace — primary focus, full-width column ─────── */} - {hasSelectedQuestion && ( - <> - - - )} + {/* Investigation status & context — desktop: two-column; mobile: stacked */} +
+ +
+ {hasSelectedQuestion && ( + <> + + + )} +
+
- {/* Post-update acknowledgement — only after success, never during loading */} - {updateStatus === "success" && !isUpdating && } + {/* Post-update acknowledgement */} + {updateStatus === "success" && !isUpdating && } - {/* ══════════════════════════════════════════════════════════ - FACILITATED INVESTIGATION WORKSPACE — PHASE 4 EXPLORATION - ══════════════════════════════════════════════════════════ - - Layout metaphor: a workshop desk, not a document. - - Desktop: wide work surfaces organised by cognitive activity. - Tablet: simplified two-zone layout. - Mobile: naturally stacked. - ══════════════════════════════════════════════════════════ */} - - {hasSelectedQuestion ? ( - - <> - {/* ── Active workspace zone (Question + Response) ───────── */} + {/* Active workspace (Question + Response) — full-width column */} + {hasSelectedQuestion ? (
- {isUpdating && ( )} +
+ ) : status === "success" ? ( + <> + {/* Terminal state */} + {genuineCompletion && ( + + )} + {!genuineCompletion && ( + + )} + + ) : null} + {/* ═══════════════ ZONE 2 — Shared understanding ═══════════════ */} + {hasSelectedQuestion && hasCurrentSummaryCondition && ( +
+
+
- {/* ── Supporting workspace (Understanding, Map, Situation) ─ */} -
- - {/* Understanding — wider surface (2 cols) */} - {hasCurrentSummaryCondition && ( -
- -
- )} - - {/* Investigation Map — workspace artefact (1.5 cols) */} - {hasSelectedQuestion && ( -
- -
- )} - +
+
+
+ )} - - - ) : status === "success" ? ( - - <> - {/* Terminal state */} - {genuineCompletion && ( - - )} - {!genuineCompletion && ( - - )} - - - ) : null} - - - {/* ── Reference row — Situation + History side-by-side on desktop ─ */} -
- + {/* ═══════════════ ZONE 3 — Reference and record ═══════════════ */} +
+
+ +
{investigationHistory.length > 0 && ( - +
+ +
)}
- {/* ── Developer details (collapsed by default, always below) ── */} + {/* Developer details — full-width beneath reference row */} {(status === "success" || status === "error") && graph && (