test(ui): restore deconstruction before question choice
This commit is contained in:
@@ -1115,6 +1115,7 @@ export default function ReasoningWorkspace({
|
||||
{/* ── Loading overlays ─────────────────────────────── */}
|
||||
{status === "loading" && (
|
||||
<LoadingOverlay
|
||||
isLoading={true}
|
||||
elapsed={startElapsed}
|
||||
currentMessage={startMsg}
|
||||
variant="initial"
|
||||
@@ -1154,6 +1155,9 @@ export default function ReasoningWorkspace({
|
||||
<div className="grid grid-cols-1 gap-6 lg:grid-cols-3">
|
||||
{/* ── Left lane: active conversation & notebook ───────── */}
|
||||
<div className={`space-y-6 ${hasGraph ? 'lg:col-span-2' : 'lg:col-span-full'}`}>
|
||||
{/* Current investigation (prominent hero section) */}
|
||||
<CurrentInvestigationCard selectedQuestion={result?.selectedQuestion} graph={graph} />
|
||||
|
||||
{/* RTO.27A — branch notebook content (replaces question-queue when in experiment mode) */}
|
||||
{experimentalBranches && experimentalBranches.length > 0 && (
|
||||
<BranchNotebookContent
|
||||
|
||||
@@ -238,7 +238,7 @@ export function derivePrimarySurface(result, status, showExperimentView, scenari
|
||||
const valid = hasValidInvestigationContext(result, status, scenario);
|
||||
|
||||
// RTO.28B: show question-selection surface when investigation exists but no question/branch is active
|
||||
if (showExperimentView && valid && !activeBranchId) return "QUESTION_SELECTION";
|
||||
if (showExperimentView && valid && !activeBranchId) return "BRANCH_SELECTION";
|
||||
|
||||
if (showExperimentView && valid) return "EXPERIMENT_NOTEBOOK";
|
||||
if (!showExperimentView && valid) return "NORMAL_WORKSPACE";
|
||||
|
||||
Reference in New Issue
Block a user