mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-12 19:55:19 +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 step2Complete = hasPlaygroundTested && hasAgentInstructionChanges;
|
||||
// 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)
|
||||
const currentStep = !step1Complete ? 1 : !step2Complete ? 2 : !step4Complete ? 4 : null;
|
||||
|
|
|
|||
|
|
@ -1191,10 +1191,8 @@ export function WorkflowEditor({
|
|||
// Ensure chat is visible and collapse left panel
|
||||
setActivePanel('playground');
|
||||
setViewMode((prev: ViewMode) => prev);
|
||||
updateViewMode(
|
||||
viewMode === 'three_all' ? 'three_all' :
|
||||
(viewMode === 'two_agents_skipper' ? 'two_agents_chat' : 'two_chat_skipper')
|
||||
);
|
||||
// Expand Chat to full view: hide Copilot panel and collapse Agents panel
|
||||
updateViewMode('two_agents_chat');
|
||||
setIsLeftPanelCollapsed(true);
|
||||
}, [updateViewMode, viewMode]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue