zhsama
d92c476388
feat(workflow): enhance group node availability checks
...
- Updated `checkMakeGroupAvailability` to include a check for existing group nodes, preventing group creation if a group node is already selected.
- Modified `useMakeGroupAvailability` and `useNodesInteractions` hooks to incorporate the new group node check, ensuring accurate group creation logic.
- Adjusted UI rendering logic in the workflow panel to conditionally display elements based on node type, specifically for group nodes.
2026-01-06 02:07:13 +08:00
zhsama
9012dced6a
feat(workflow): improve group node interaction handling
...
- Enhanced `useNodesInteractions` to better manage group node handlers and connections, ensuring accurate identification of leaf nodes and their branches.
- Updated logic to create handlers based on node connections, differentiating between internal and external connections.
- Refined initial node setup to include target branches for group nodes, improving the overall interaction model for grouped elements.
2026-01-05 17:42:31 +08:00
zhsama
50bed78d7a
feat(workflow): add group node support and translations
...
- Introduced GroupDefault node with metadata and default values for group nodes.
- Enhanced useNodeMetaData hook to handle group node author and description using translations.
- Added translations for group node functionality in English, Japanese, Simplified Chinese, and Traditional Chinese.
2026-01-05 16:29:00 +08:00
zhsama
b7a2957340
feat(workflow): implement ungroup functionality for group nodes
...
- Added `handleUngroup`, `getCanUngroup`, and `getSelectedGroupId` methods to manage ungrouping of selected group nodes.
- Integrated ungrouping logic into the `useShortcuts` hook for keyboard shortcut support (Ctrl + Shift + G).
- Updated UI to include ungroup option in the panel operator popup for group nodes.
- Added translations for the ungroup action in multiple languages.
2026-01-04 21:40:34 +08:00
zhsama
8834e6e531
feat(workflow): enhance group node functionality with head and leaf node tracking
...
- Added headNodeIds and leafNodeIds to GroupNodeData to track nodes that receive input and send output outside the group.
- Updated useNodesInteractions hook to include headNodeIds in the group node data.
- Modified isValidConnection logic in useWorkflow to validate connections based on leaf node types for group nodes.
- Enhanced preprocessNodesAndEdges to rebuild temporary edges for group nodes, connecting them to external nodes for visual representation.
2026-01-04 20:45:42 +08:00
zhsama
bd338a9043
Merge branch 'main' into feat/grouping-branching
2026-01-02 01:34:02 +08:00
yyh
2aaaa4bd34
feat(web): migrate from es-toolkit/compat to native es-toolkit ( #30244 ) ( #30246 )
2025-12-31 11:13:22 +08:00
zhsama
39d6383474
Merge branch 'main' into feat/grouping-branching
2025-12-30 22:01:20 +08:00
Stephen Zhou
2399d00d86
refactor(i18n): about locales ( #30336 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-30 14:38:23 +08:00
zhsama
5157e1a96c
Merge branch 'main' into feat/grouping-branching
2025-12-29 23:33:28 +08:00
Stephen Zhou
6d0e36479b
refactor(i18n): use JSON with flattened key and namespace ( #30114 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-29 14:52:32 +08:00
wangxiaolei
b892906d71
fix: fix metadata filter not survive a rename ( #30174 )
2025-12-26 10:40:30 +08:00
yyh
3cbbb06dc4
chore(web): migrate lodash-es to es-toolkit compat ( #30126 )
2025-12-25 09:44:57 +08:00
Maries
02e0fadef7
feat: add editing support for trigger subscriptions ( #29957 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-24 19:15:54 +08:00
Stephen Zhou
1e3823e605
chore: fix type check for i18n ( #30058 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-24 16:31:16 +08:00
zhsama
b513933040
Merge branch 'main' into feat/grouping-branching
...
# Conflicts:
# web/app/components/workflow/block-icon.tsx
# web/app/components/workflow/hooks/use-nodes-interactions.ts
# web/app/components/workflow/index.tsx
# web/app/components/workflow/nodes/components.ts
# web/app/components/workflow/selection-contextmenu.tsx
# web/app/components/workflow/utils/workflow-init.ts
2025-12-23 23:55:21 +08:00
Stephen Zhou
403adefc07
chore: lint require and how to import react ( #30041 )
2025-12-23 18:02:10 +08:00
Stephen Zhou
f2842da397
chore(web): new lint setup ( #30020 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-23 16:58:55 +08:00
zhsama
3d61496d25
feat: Enhance CustomGroupNode with exit ports and visual indicators
2025-12-23 15:36:53 +08:00
zhsama
16bff9e82f
Merge branch 'refs/heads/main' into feat/grouping-branching
2025-12-23 15:27:54 +08:00
非法操作
9701a2994b
chore: Translate stray Chinese comment to English ( #30024 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-23 14:05:21 +08:00
GuanMu
c3b713d88a
fix: adjust padding in entry node container for better alignment ( #29999 )
2025-12-22 21:16:57 +08:00
zhsama
22f25731e8
refactor: streamline edge building and node filtering in workflow graph
2025-12-22 18:59:08 +08:00
zhsama
035f51ad58
Merge branch 'main' into feat/grouping-branching
2025-12-22 18:18:37 +08:00
Stephen Zhou
eabdc5f0eb
refactor(web): migrate to Vitest and esm ( #29974 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-22 16:35:22 +08:00
yyh
079620714e
refactor: migrate common service toward TanStack Query ( #29009 )
2025-12-19 17:34:14 +08:00
zhsama
fc9d5b2a62
feat: implement group node functionality and enhance grouping interactions
2025-12-19 15:17:45 +08:00
Stephen Zhou
a26881cb24
refactor: unified cn utils ( #29916 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-19 12:08:34 +08:00
Angel98518
c2f2be6b08
fix: oxlint no unused expressions ( #29675 )
...
Co-authored-by: daniel <daniel@example.com>
2025-12-16 18:00:04 +08:00
Coding On Star
d942adf3b2
feat: Enhance Amplitude tracking across various components ( #29662 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-15 15:25:10 +08:00
Chen Jiaju
63624dece1
fix(workflow): tool plugin output_schema array type not selectable in subsequent nodes ( #29035 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-15 11:17:15 +08:00
Agung Besti
3db27c3158
fix(workflow): agent prompt editor canvas not covering full text height ( #29623 )
2025-12-14 15:53:39 +08:00
Wu Tianwei
94244ed8f6
fix: handle potential undefined values in query_attachment_selector across multiple components ( #29429 )
2025-12-10 19:30:21 +08:00
Wu Tianwei
bafd093fa9
fix: Add dataset file upload restrictions ( #29397 )
...
Co-authored-by: kurokobo <kuro664@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-10 16:41:05 +08:00
yyh
18601d8b38
Refactor datasets service toward TanStack Query ( #29008 )
...
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
2025-12-09 13:48:23 +08:00
Wu Tianwei
14d1b3f9b3
feat: multimodal support (image) ( #27793 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-09 11:44:50 +08:00
非法操作
a44b800c85
chore: find more redirect to correct category ( #29303 )
2025-12-09 11:09:43 +08:00
Wu Tianwei
e7c26a2f3f
refactor: update useNodes import to use reactflow across multiple components ( #29195 )
2025-12-05 16:38:03 +08:00
非法操作
3e5f683e90
feat: dark theme icon support ( #28858 )
2025-12-04 09:29:00 +08:00
CrabSAMA
0a2d478749
Feat: Add "Open Workflow" link in workflow side panel ( #28898 )
2025-11-29 18:47:12 +08:00
Joel
5f2e0d6347
pref: reduce next step components reRender ( #28783 )
2025-11-27 17:12:00 +08:00
CrabSAMA
820925a866
feat(workflow): workflow as tool output schema ( #26241 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-11-27 16:50:48 +08:00
Joel
ef0e1031b0
pref: reduce the times of useNodes reRender ( #28682 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-26 16:52:47 +08:00
Coding On Star
dbecba710b
frontend auto testing rules ( #28679 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: 姜涵煦 <hanxujiang@jianghanxudeMacBook-Pro.local>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-26 15:18:07 +08:00
Xiu-Lan
abc13ef762
Feat/web workflow improvements ( #27981 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: johnny0120 <johnny0120@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Wood <tuiskuwood@outlook.com>
2025-11-25 19:54:40 +08:00
Joel
15ea27868e
pref: workflow ( #28591 )
2025-11-24 17:02:18 +08:00
非法操作
9fed2dc065
fix: Code editor throws dozen of errors ( #28500 )
2025-11-21 16:48:35 +08:00
耐小心
4486b54680
Clean up legacy conditions data in if-else nodes to prevent misjudgments ( #28148 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-21 14:26:57 +08:00
znn
ae5b5a6aa9
disable sticky scroll ( #28248 )
2025-11-21 11:24:26 +08:00
znn
014cbaf387
make expand/collapse in question classifier node ( #26772 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
2025-11-20 11:17:34 +08:00