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:
@@ -479,13 +479,7 @@ export default function ReasoningWorkspace({
|
||||
{/* ── 2. Post-update acknowledgement ─────────────── */}
|
||||
{updateStatus === "success" && canAnswer && <UpdateAcknowledgement updateResult={result} />}
|
||||
|
||||
{/* ── 3. Current understanding ───────────────────── */}
|
||||
{canAnswer && graph && <CurrentUnderstandingCard currentSummary={graph.currentSummary} />}
|
||||
|
||||
{/* ── 4. Investigation history ───────────────────── */}
|
||||
<InvestigationHistory turns={investigationHistory} />
|
||||
|
||||
{/* ── 5. Response form (immediately after Current investigation) ─ */}
|
||||
{/* ── 3. Response form ───────────────────────────── */}
|
||||
{canAnswer && (
|
||||
<form onSubmit={handleUpdateCaptureAndSubmit} className="space-y-4 rounded-lg border border-gray-200 bg-white p-5">
|
||||
<div>
|
||||
@@ -517,6 +511,12 @@ export default function ReasoningWorkspace({
|
||||
</form>
|
||||
)}
|
||||
|
||||
{/* ── 4. Current understanding ───────────────────── */}
|
||||
{canAnswer && graph && <CurrentUnderstandingCard currentSummary={graph.currentSummary} />}
|
||||
|
||||
{/* ── 5. Investigation history ───────────────────── */}
|
||||
<InvestigationHistory turns={investigationHistory} />
|
||||
|
||||
{/* ── 6. Original situation (collapsed by default) ─ */}
|
||||
<OriginalSituation scenario={scenario} centralStatement={graph?.centralStatement} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user