2dca0c20db
fix: restore unified workflow validation system
...
Major fixes to workflow checklist validation:
## Fixed getValidTreeNodes function (workflow.ts)
- Restore original function signature: (nodes, edges) instead of (startNode, nodes, edges)
- Re-implement automatic start node discovery for all entry types
- Unified traversal from Start, TriggerWebhook, TriggerSchedule, TriggerPlugin nodes
- Single call now discovers all valid connected nodes correctly
## Simplified useChecklist validation (use-checklist.ts)
- Remove complex manual start node iteration and result aggregation
- Unified entry node validation concept for all start node types
- Remove dependency on getStartNodes() utility
- Simplified validation logic matching backup branch approach
## Resolved Issues
- ✅ End node connectivity: Now correctly detects connections from any entry node
- ✅ Unified entry validation: All start types (Start/Triggers) validated consistently
- ✅ Simplified architecture: Restored proven validation approach from backup branch
This restores the reliable workflow validation system while maintaining trigger node support.
2025-09-26 20:54:28 +08:00
6f57aa3f53
fix: hide left input handles for all trigger node types
...
- Extend handle hiding logic to include TriggerWebhook, TriggerSchedule, TriggerPlugin
- Make trigger nodes behave like Start nodes without left-side input handles
- Apply fix to both main workflow and preview node handle components
- Ensures consistent UX where all start-type nodes have no input handles
2025-09-26 20:39:29 +08:00
1aafe915e4
fix: trigger tooltip descriptions and filter trigger types from Nodes tab
...
- Fix trigger tooltip descriptions to use workflow.blocksAbout translations
- Filter TriggerWebhook/TriggerSchedule/TriggerPlugin from Blocks component
- Ensure trigger types only appear in Start tab, not Nodes tab
2025-09-26 20:28:59 +08:00
6d4d25ee6f
feat(workflow): Restore block selector functionality
...
- Restore BLOCKS constant array and useBlocks hook
- Add intelligent fallback mechanism for blocks prop
- Fix metadata access in StartBlocks tooltip
- Restore defaultActiveTab support in NodeSelector
- Improve component robustness with graceful degradation
- Fix TypeScript errors and component interfaces
Phase 1-3 of atomic refactoring complete:
- Critical fixes: Constants, hooks, components
- Interface fixes: Props, tabs, modal integration
- Architecture improvements: Metadata, wrappers
2025-09-26 20:05:59 +08:00
6b94d30a5f
fix: oauth subscription
2025-09-26 17:44:57 +08:00
1a9798c559
fix(workflow): Fix onboarding node creation after knowledge pipeline refactor ( #26289 )
2025-09-26 16:43:36 +08:00
764436ed8e
feat(workflow): Enable keyboard delete for all node types including Start
...
Removes explicit Start node exclusion from handleNodesDelete function:
- Remove BlockEnum.Start filter from bundled nodes selection
- Remove BlockEnum.Start filter from selected node detection
- Allows DEL/Backspace keys to delete Start nodes same as other nodes
- Button delete already worked, now keyboard delete works too
Fixes: Start nodes can now be deleted via both button and keyboard shortcuts
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-26 14:10:28 +08:00
2a1c5ff57b
feat(workflow): Enable entry node deletion and fix draft sync
...
Complete workflow liberalization following PR #24627 :
1. Remove Start node deletion restriction by removing isUndeletable property
2. Fix draft sync blocking when no Start node exists
3. Restore isWorkflowDataLoaded protection to prevent race conditions
4. Ensure all entry nodes (Start + 3 trigger types) have equal deletion rights
This allows workflows with only trigger nodes and fixes the issue where
added nodes would disappear after page refresh due to sync API blocking.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-26 13:54:52 +08:00
d68a9f1850
Merge remote-tracking branch 'origin/main' into feat/trigger
...
Resolve merge conflict in use-workflow.ts:
- Keep trigger branch workflow-entry utilities imports
- Preserve SUPPORT_OUTPUT_VARS_NODE from main branch
- Remove unused PARALLEL_DEPTH_LIMIT import
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-26 13:17:14 +08:00
fb8114792a
fix: sync FileUploader context with props to fix inconsistent file parameter state in “View cached variables”. ( #26199 )
2025-09-25 22:43:26 +08:00
eab6f65409
Fix array-only filtering in List Operator picker; remove file children fallback and align child types. ( #26240 )
2025-09-25 22:43:00 +08:00
915023b809
Chore/remove add node restrict of workflow ( #26218 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-25 18:02:43 +08:00
6853a699e1
Merge branch 'main' into feat/trigger
2025-09-25 17:43:39 +08:00
cd07eef639
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-25 17:14:24 +08:00
9b36059292
fix(search-input): ensure proper value extraction in composition end handler ( #26147 )
2025-09-24 15:53:59 +08:00
d9e45a1abe
feat(pipeline): add language support to built-in pipeline templates and update related components ( #26124 )
2025-09-23 18:18:22 +08:00
fb6ccccc3d
chore: refactor component exports for consistency ( #26033 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-23 17:04:56 +08:00
760a2c656c
amend regexp exec ( #25986 )
2025-09-23 00:47:13 +09:00
a39b185627
fix: comment out unused segmentation rule properties in RuleDetail component ( #26031 )
2025-09-22 14:17:02 +08:00
8c38363038
fix: pass operation name to onUpdate callback in StatusItem component ( #26019 )
2025-09-22 10:19:12 +08:00
034602969f
feat(schedule-trigger): enhance cron parser with mature library and comprehensive testing ( #26002 )
2025-09-22 10:01:48 +08:00
4ca14bfdad
chore: improve webhook ( #25998 )
2025-09-21 12:16:31 +08:00
e93bfe3d41
fix: resolve chat sidebar UI bugs for hover panel and dropdown menu ( #25813 )
2025-09-19 18:28:49 +08:00
ab910c736c
feat(goto-anything): add RAG pipeline node search ( #25948 )
2025-09-19 18:28:13 +08:00
1550316b8d
fix: undefined match the wrong output schema ( #25971 )
2025-09-19 17:03:09 +08:00
87394d2512
fix: enhance model parameter handling with advanced mode support and localization updates ( #25963 )
2025-09-19 15:47:52 +08:00
bad59c95bc
fix: update details display to conditionally show creator information ( #25952 )
2025-09-19 15:45:45 +08:00
6453fc4973
fix: refresh datasource list after install datasource ( #25949 )
2025-09-19 11:03:45 +08:00
f62f926537
style: update GotoAnything component styling ( #25929 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-09-19 10:36:43 +08:00
59f56d8c94
feat: schedule trigger default daily midnight ( #25937 )
2025-09-19 08:05:00 +08:00
cd90b2ca9e
refactor: replace useInvalid with useInvalidCustomizedTemplateList ( #25924 )
2025-09-18 18:17:20 +08:00
9a65350cf7
fix: rollback aliyun_trace icon ( #25921 )
2025-09-18 18:01:08 +08:00
4692e20daf
fix: workflow header style ( #25922 )
2025-09-18 17:53:40 +08:00
63d26f0478
fix: api key params
2025-09-18 17:35:34 +08:00
eae65e55ce
feat: oauth config opt & add dynamic options
2025-09-18 17:12:48 +08:00
0edf06329f
fix: apply suggestions
2025-09-18 17:04:02 +08:00
6943a379c9
feat: show placeholder '--' for invalid cron expressions in node display
...
- Return '--' placeholder when cron mode has empty or invalid expressions
- Prevents displaying fallback dates that confuse users
- Maintains consistent UX for invalid schedule configurations
2025-09-18 17:04:02 +08:00
e49534b70c
fix: make frequency optional
2025-09-18 17:04:02 +08:00
344616ca2f
fix: clear opposite mode data only when editing, preserve data during mode switching
2025-09-18 17:04:02 +08:00
ffa163a8a8
refactor: simplify portal interactions and manage state in Configure component ( #25906 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-18 15:57:33 +08:00
fadd9e0bf4
fix: workflow logs list ( #25903 )
2025-09-18 15:45:37 +08:00
d8b4bbe067
fix: datasource pinned list ( #25896 )
2025-09-18 14:52:33 +08:00
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: twwu <twwu@dify.ai >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: jyong <718720800@qq.com >
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: quicksand <quicksandzn@gmail.com >
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com >
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: nite-knite <nkCoding@gmail.com >
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com >
2025-09-18 12:49:10 +08:00
8141f53af5
fix: add preventDefaultSubmit prop to BaseForm to prevent unwanted page refresh on Enter key
2025-09-18 12:48:26 +08:00
5a6cb0d887
feat: enhance API key modal step indicator with active dots and improved styling
2025-09-18 12:44:11 +08:00
26e7677595
fix: align width and use rounded xl
2025-09-18 12:08:21 +08:00
814b0e1fe8
feat: oauth config init
2025-09-18 00:00:50 +08:00
0cb0cea167
feat(trigger): enhance trigger plugin data structure and error handling
...
- Added `plugin_unique_identifier` to `PluginTriggerData` and `TriggerProviderApiEntity` to improve identification of trigger plugins.
- Introduced `PluginTriggerDispatchData` for structured dispatch data in Celery tasks, enhancing the clarity of trigger dispatching.
- Updated `dispatch_triggered_workflows_async` to utilize the new dispatch data structure, improving error handling and logging for trigger invocations.
- Enhanced metadata handling in `TriggerPluginNode` to include trigger information, aiding in debugging and tracking.
These changes improve the robustness and maintainability of trigger plugin interactions within the workflow system.
2025-09-16 15:39:40 +08:00
74340e3c04
Bugfix: When i change the loop variable, 'Loop Termination Condition' wi… ( #25695 )
...
Co-authored-by: fengminhua <fengminhua@52tt.com >
2025-09-16 09:46:44 +08:00
169ce71e59
fix(web): custom-tool output_schema.properties missing type ( #25731 )
...
Co-authored-by: joeyczheng <joeyczheng@tencent.com >
2025-09-15 21:21:25 +08:00