reorder: move Your Response next to Current Investigation

The response form now appears immediately after the active question
so the user can read and answer without scrolling. Everything else
becomes supporting context beneath the interaction area.
This commit is contained in:
2026-08-04 17:51:12 +01:00
parent ae615c4343
commit 91bc3f1445
+7 -7
View File
@@ -479,13 +479,7 @@ export default function ReasoningWorkspace({
{/* ── 2. Post-update acknowledgement ─────────────── */} {/* ── 2. Post-update acknowledgement ─────────────── */}
{updateStatus === "success" && canAnswer && <UpdateAcknowledgement updateResult={result} />} {updateStatus === "success" && canAnswer && <UpdateAcknowledgement updateResult={result} />}
{/* ── 3. Current understanding ───────────────────── */} {/* ── 3. Response form ───────────────────────────── */}
{canAnswer && graph && <CurrentUnderstandingCard currentSummary={graph.currentSummary} />}
{/* ── 4. Investigation history ───────────────────── */}
<InvestigationHistory turns={investigationHistory} />
{/* ── 5. Response form (immediately after Current investigation) ─ */}
{canAnswer && ( {canAnswer && (
<form onSubmit={handleUpdateCaptureAndSubmit} className="space-y-4 rounded-lg border border-gray-200 bg-white p-5"> <form onSubmit={handleUpdateCaptureAndSubmit} className="space-y-4 rounded-lg border border-gray-200 bg-white p-5">
<div> <div>
@@ -517,6 +511,12 @@ export default function ReasoningWorkspace({
</form> </form>
)} )}
{/* ── 4. Current understanding ───────────────────── */}
{canAnswer && graph && <CurrentUnderstandingCard currentSummary={graph.currentSummary} />}
{/* ── 5. Investigation history ───────────────────── */}
<InvestigationHistory turns={investigationHistory} />
{/* ── 6. Original situation (collapsed by default) ─ */} {/* ── 6. Original situation (collapsed by default) ─ */}
<OriginalSituation scenario={scenario} centralStatement={graph?.centralStatement} /> <OriginalSituation scenario={scenario} centralStatement={graph?.centralStatement} />