Feature/product platform foundation v0.62 #1

Merged
robbond merged 683 commits from feature/product-platform-foundation-v0.62 into feature/emergent-unknowns-v0.5 2026-09-09 07:58:20 +01:00
Showing only changes of commit 553bdb1bdd - Show all commits
+6
View File
@@ -284,6 +284,9 @@ export default function ScenarioForm() {
setUpdateError(null);
setCurrentUnderstanding(null);
// Allow React to render the loading state before awaiting (prevents batching away with instant mocks)
await new Promise(r => setTimeout(r, 0));
try {
const res = await submitScenarioForStartCase(MOCK_ENABLED ? mockFetch : fetch, scenario);
@@ -320,6 +323,9 @@ export default function ScenarioForm() {
setUpdateError(null);
setLastSubmittedAnswer(answer.trim());
// Allow React to render the loading state before awaiting (prevents batching away with instant mocks)
await new Promise(r => setTimeout(r, 0));
const submission = await submitAnswerForUpdateCase(MOCK_ENABLED ? mockFetch : fetch, {
situationGraph: result?.situationGraph,
previousQuestion: result?.selectedQuestion,