Commit Graph

14 Commits

Author SHA1 Message Date
mlogclub 4ac2dedf97 feat: refactor NodeConfigPanel and WorkflowNodeCard for improved readability and structure 2026-06-28 12:42:03 +08:00
mlogclub 64c10ba6dd feat: implement condition branch selection and configuration in workflow editor 2026-06-28 10:29:53 +08:00
mlogclub 33c6647375 feat: add delete functionality for condition branches in node forms and improve edge filtering in workflow normalization 2026-06-28 10:07:00 +08:00
mlogclub 0d568ebf87 feat: refactor workflow configuration components for improved structure and usability 2026-06-27 22:40:27 +08:00
mlogclub 689acc997c xyflow change to flowgraam 2026-06-27 21:27:57 +08:00
mlogclub 35ebb59b9a feat: enhance workflow editor UI with improved node handling and visual updates 2026-06-27 19:48:54 +08:00
mlogclub d0cd01cbf6 feat: add condition configuration handling and improve branch summary display in workflow editor 2026-06-27 17:14:29 +08:00
mlogclub 2143bfa06b feat: add validation for default condition branch position and enhance branch connection handling 2026-06-27 17:00:41 +08:00
mlogclub f85fb6d406 feat: enhance condition handling with enum value options and metadata in workflow components 2026-06-27 12:50:29 +08:00
mlogclub 1d58554fd4 feat: improve node title handling in NodeConfigForm for better clarity 2026-06-25 22:46:45 +08:00
mlogclub b806a2208b feat: enhance condition node functionality with branches and validation
- Introduced WorkflowConditionBranch and WorkflowNodeConfig types to manage condition branches in nodes.
- Updated NodeConfigPanel and ConditionNodePanel components to support adding, editing, and deleting branches.
- Implemented validation for condition nodes to ensure at least one branch exists and that default branches are correctly configured.
- Modified workflow-utils to handle condition branches and updated toApiDefinition and fromApiDefinition functions to maintain branch integrity during serialization.
- Removed edge condition handling from WorkflowEditor and related components, simplifying edge management.
- Added tests to ensure condition branches are preserved in API definitions.
2026-06-25 21:08:59 +08:00
mlogclub 8f0e99fb7c Add branch summary handling to NodeConfigPanel and WorkflowEditor 2026-06-23 10:57:34 +08:00
mlogclub d1f39ae57e feat: Enhance AI Workflow with Variable Contracts and Input Mapping
- Added ConfigSchema, InputSchema, OutputSchema, and DefaultInputs to AIWorkflowNodeSpecResponse.
- Implemented BuildAIWorkflowNodeSpecs to include variable contracts for start and send_reply nodes.
- Introduced applyAutoInputMappings to automatically map inputs based on node connections.
- Enhanced validation to check for required input mappings in workflows.
- Updated workflow editor to support variable selection for node inputs.
- Translated node names and labels to Chinese for better localization.
- Added tests for variable mapping and validation logic.
2026-06-22 18:33:39 +08:00
mlogclub 14f50e064f feat: add AI workflow editor 2026-06-22 00:26:16 +08:00