mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-03 20:41:07 +02:00
fixed use step completion
This commit is contained in:
parent
6ecb144692
commit
5fd1aa825d
2 changed files with 4 additions and 5 deletions
|
|
@ -97,7 +97,8 @@ export function TopBar({
|
||||||
const step1Complete = hasAgentInstructionChanges;
|
const step1Complete = hasAgentInstructionChanges;
|
||||||
const step2Complete = hasPlaygroundTested && hasAgentInstructionChanges;
|
const step2Complete = hasPlaygroundTested && hasAgentInstructionChanges;
|
||||||
// Keep publish as a prerequisite for Use completion, but remove it from the visual steps
|
// Keep publish as a prerequisite for Use completion, but remove it from the visual steps
|
||||||
const step4Complete = hasClickedUse && hasPublished && hasPlaygroundTested && hasAgentInstructionChanges;
|
// Mark "Use" complete as soon as a Use Assistant option is clicked
|
||||||
|
const step4Complete = hasClickedUse;
|
||||||
|
|
||||||
// Determine current step (first incomplete visual step: 1 -> 2 -> 4)
|
// Determine current step (first incomplete visual step: 1 -> 2 -> 4)
|
||||||
const currentStep = !step1Complete ? 1 : !step2Complete ? 2 : !step4Complete ? 4 : null;
|
const currentStep = !step1Complete ? 1 : !step2Complete ? 2 : !step4Complete ? 4 : null;
|
||||||
|
|
|
||||||
|
|
@ -1191,10 +1191,8 @@ export function WorkflowEditor({
|
||||||
// Ensure chat is visible and collapse left panel
|
// Ensure chat is visible and collapse left panel
|
||||||
setActivePanel('playground');
|
setActivePanel('playground');
|
||||||
setViewMode((prev: ViewMode) => prev);
|
setViewMode((prev: ViewMode) => prev);
|
||||||
updateViewMode(
|
// Expand Chat to full view: hide Copilot panel and collapse Agents panel
|
||||||
viewMode === 'three_all' ? 'three_all' :
|
updateViewMode('two_agents_chat');
|
||||||
(viewMode === 'two_agents_skipper' ? 'two_agents_chat' : 'two_chat_skipper')
|
|
||||||
);
|
|
||||||
setIsLeftPanelCollapsed(true);
|
setIsLeftPanelCollapsed(true);
|
||||||
}, [updateViewMode, viewMode]);
|
}, [updateViewMode, viewMode]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue