feat: reposition WorkflowEditorStatus for improved visibility in WorkflowEditorInner

This commit is contained in:
mlogclub
2026-06-28 22:50:09 +08:00
parent 86933a27a7
commit b9f4a3e4b1
@@ -346,11 +346,6 @@ function WorkflowEditorInner({
onPublish={onPublish} onPublish={onPublish}
publishDisabled={publishDisabled} publishDisabled={publishDisabled}
/> />
<WorkflowEditorStatus
validation={validation}
nodeCount={definition.nodes.length}
edgeCount={definition.edges.length}
/>
</div> </div>
<div className="absolute bottom-4 left-4 z-50"> <div className="absolute bottom-4 left-4 z-50">
@@ -365,6 +360,14 @@ function WorkflowEditorInner({
/> />
</div> </div>
<div className="absolute bottom-4 right-4 z-50">
<WorkflowEditorStatus
validation={validation}
nodeCount={definition.nodes.length}
edgeCount={definition.edges.length}
/>
</div>
<WorkflowPortAddProvider onRequestAdd={openNodeMenuFromPort}> <WorkflowPortAddProvider onRequestAdd={openNodeMenuFromPort}>
<EditorRenderer className="h-full w-full" /> <EditorRenderer className="h-full w-full" />
</WorkflowPortAddProvider> </WorkflowPortAddProvider>