diff --git a/src/components/CommandBar.tsx b/src/components/CommandBar.tsx index cc85c91..580b8bd 100644 --- a/src/components/CommandBar.tsx +++ b/src/components/CommandBar.tsx @@ -69,79 +69,102 @@ export default function CommandBar() { )} - + { setScene("landing"); close(); }}> - Landing + Home { setScene("mission"); close(); }}> Mission Control + live work-items + process graph - { setScene("history"); close(); }}> - Run History + { setScene("approvals"); close(); }}> + Approvals queue + work waiting on you { setScene("studio"); close(); }}> - Process Wizard - design & publish a new process + Process Creation Wizard + describe → publish → run + + { setScene("documents"); close(); }}> + Documents + data shapes per process + + { setScene("hub-procurement"); close(); }}> + Procurement hub + + { setScene("hub-hr"); close(); }}> + People hub + + { setScene("hub-it"); close(); }}> + IT hub + + { setScene("geo-attendance"); close(); }}> + Attendance map + + { setScene("chat"); close(); }}> + Team chat + + { setScene("agent"); close(); }}> + Command Assistant + + { setScene("explainer"); close(); }}> + What is FlowMaster? + + { setScene("history"); close(); }}> + Run history { setScene("settings"); close(); }}> Settings - + {mode === "live" ? ( { refreshLive(); close(); }}> - Refresh live scenarios - re-fetch demo.flow-master.ai + Refresh live data ) : ( { setMode("live"); close(); }}> - Switch to LIVE mode (fetch demo.flow-master.ai) - in-browser + Switch to live mode )} - { setMode("snapshot"); close(); }}> - Switch to SNAPSHOT mode - bundled JSON + { setTheme(theme === "dark" ? "light" : "dark"); close(); }}> + Switch to {theme === "dark" ? "light" : "dark"} theme { setConsoleOpen(true); close(); }}> - Open live API console - stream every fetch - - { setTheme(theme === "dark" ? "light" : "dark"); close(); }}> - Toggle theme - {theme === "dark" ? "→ light" : "→ dark"} + Open API console + for developers - + {sc?.live ? ( { close(); - if (mode !== "live") { pushToast("warn", "Switch to LIVE mode to start a real instance."); return; } + if (mode !== "live") { pushToast("warn", "Switch to live mode to start a real instance."); return; } await startInstance(sc.defKey, `Started via Mission Control · ${new Date().toLocaleString()}`); }} > - Start new instance of "{sc.defName}" - POST /api/runtime/transactions + Start an instance of "{sc.defName}" + writes to EA2 ) : ( Start new instance - switch to a LIVE scenario first + switch to a live scenario first )} {canActLive && firstActionId && ( { close(); await executeAction(sc!.headlineTx!, firstActionId); }} > - Execute "{firstActionId}" on headline tx - {sc?.headlineTx?.slice(0, 8)} · real + Submit "{firstActionId}" on the headline case + live · writes to EA2 )} { setScene("settings"); close(); }}> - Sign in as different user + Sign in as someone else Settings → identity @@ -175,17 +198,7 @@ export default function CommandBar() { )} - - { - close(); - pushToast("info", `Sidekick dispatch endpoint not yet wired — see Studio for process-level changes.`); - }} - > - Dispatch sidekick agent - coming soon - - +