feat(ui): duplicate workflow node

This commit is contained in:
Fu Diwei
2025-06-02 23:06:18 +08:00
parent d3e8bacd58
commit 025e606db4
10 changed files with 223 additions and 77 deletions

View File

@@ -22,7 +22,6 @@ func NewExecuteFailureNode(node *domain.WorkflowNode) *executeFailureNode {
func (n *executeFailureNode) Process(ctx context.Context) error {
// 此类型节点不需要执行任何操作,直接返回
n.logger.Info("the previous node execution was failed")
return nil
}

View File

@@ -22,7 +22,6 @@ func NewExecuteSuccessNode(node *domain.WorkflowNode) *executeSuccessNode {
func (n *executeSuccessNode) Process(ctx context.Context) error {
// 此类型节点不需要执行任何操作,直接返回
n.logger.Info("the previous node execution was succeeded")
return nil
}

View File

@@ -22,7 +22,7 @@ func NewStartNode(node *domain.WorkflowNode) *startNode {
func (n *startNode) Process(ctx context.Context) error {
// 此类型节点不需要执行任何操作,直接返回
n.logger.Info("ready to start ...")
n.logger.Info("workflow is started")
return nil
}