Commit Graph

673 Commits

Author SHA1 Message Date
GuanMu 7bd6bfd430 feat: Optimize component rendering by memoizing ConditionItem, ConditionList, and AgentToolConditionEditor 2025-12-10 01:58:22 +00:00
GuanMu 0bd38e5d4d
Merge branch 'main' into feat-agent-mask 2025-12-09 18:36:03 +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
GuanMu 78568c695b
Merge branch 'main' into feat-agent-mask 2025-12-09 11:14:42 +08:00
非法操作 a44b800c85
chore: find more redirect to correct category (#29303) 2025-12-09 11:09:43 +08:00
yyh c012eddb47
chore(web): run oxlint before eslint (#29224) 2025-12-07 11:36:33 +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
Joel 876f48df76
chore: remove useless mock files (#29068) 2025-12-03 15:34:11 +08:00
yyh 626d4f3e35
fix(web): use atomic selectors to fix Zustand v5 infinite loop (#28977) 2025-12-01 15:45:50 +08:00
CrabSAMA 0a2d478749
Feat: Add "Open Workflow" link in workflow side panel (#28898) 2025-11-29 18:47:12 +08:00
GuanMu 5aba111297
Feat zen mode (#28794) 2025-11-27 20:10:50 +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 299bd351fd
perf: reduce reRender in candidate node (#28776) 2025-11-27 15:57:36 +08:00
GuanMu c0916e6eb2
Merge branch 'main' into feat-agent-mask 2025-11-27 10:43:48 +08:00
非法操作 6635ea62c2
fix: change existing node to a webhook node raise 404 (#28686) 2025-11-26 22:41:52 +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
yyh e073e755f9
Fix start tab marketplace trigger search and plugin list scroll (#28645) 2025-11-25 18:08:46 +08:00
GuanMu 07ad2e5a77
Merge branch 'main' into feat-agent-mask 2025-11-25 13:44:29 +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
yangzheli a6cd2ad880
fix(web): remove StatusPanel's internal useStore to fix context issues (#28348) 2025-11-20 12:50:46 +08:00
yangzheli 4833d39ab3
fix(workflow): validate node compatibility when importing dsl between chatflows and workflows (#28012) 2025-11-20 11:40:24 +08:00
yangzheli a5d0e68675
feat(workflow): optimize workflow canvas pan and scroll behavior (#28250)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-11-20 11:27:30 +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
GuanMu 5e9126a899
Merge branch 'main' into feat-agent-mask 2025-11-18 09:59:00 +08:00
Yessenia-d ad7fdd18d0
fix: update currentTriggerPlugin check in BasePanel component (#28287) 2025-11-17 17:19:35 +08:00
GuanMu fda2e45c1f
Merge branch 'main' into feat-agent-mask 2025-11-17 09:36:38 +08:00
非法操作 1e6d0de48b
fix: knowledge pipeline can not published (#28203) 2025-11-14 09:47:37 +08:00
yangzheli 20403c69b2
refactor(web): remove redundant add-tool-modal components and related code (#27996) 2025-11-13 20:21:04 +08:00
GuanMu 470883858e
fix: adjust padding in AgentNode and NodeComponent for consistent layout (#28175) 2025-11-13 20:16:56 +08:00
GuanMu 849a1a7643
Merge branch 'main' into feat-agent-mask 2025-11-13 15:21:32 +08:00
GuanMu d4721af52b fix: rename imported PluginMeta type to WorkflowPluginMeta for clarity 2025-11-13 07:03:00 +00:00
katakyo 9cb2645793
fix: update input field width for retry configuration in RetryOnPanel (#28142) 2025-11-13 15:00:22 +08:00
非法操作 b02165ffe6
fix: inconsistent behaviour of zoom in button and shortcut (#27944) 2025-11-13 14:37:27 +08:00
GuanMu a460770c62
Merge branch 'main' into feat-agent-mask 2025-11-13 13:46:17 +08:00
yangzheli b0e7e7752f
refactor(web): reuse the same edit-custom-collection-modal component, and fix the pop up error (#28003) 2025-11-13 11:44:21 +08:00
Yeuoly b76e17b25d
feat: introduce trigger functionality (#27644)
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: Stream <Stream_2@qq.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zhsama <torvalds@linux.do>
Co-authored-by: Harry <xh001x@hotmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: yessenia <yessenia.contact@gmail.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WTW0313 <twwu@dify.ai>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 17:59:37 +08:00
GuanMu 03cd85ceb7 feat: enhance variable type support in useConfig and ConditionItem components
- Added support for boolean and arrayBoolean variable types in useConfig.
- Refactored ConditionItem to utilize BoolValue component for boolean handling, improving clarity and functionality.
- Updated boolean value handling to ensure proper interpretation of string values as booleans.
2025-11-05 12:38:45 +00:00
GuanMu 9930e1f5a0 fix: update boolean value handling in ConditionItem component
- Changed boolean options values from boolean types to string types ('true' and 'false') for consistency.
- Updated the default value handling in the Select component to convert boolean values to strings.
- Adjusted the onSelect handler to correctly interpret string values as boolean.
2025-11-05 12:08:21 +00:00
GuanMu 2ce31ff07d
Merge branch 'main' into feat-agent-mask 2025-11-05 19:47:49 +08:00
GuanMu 4941366f39 feat: add support for integer variable type in condition operators
- Extended the getConditionOperators function to include support for the integer variable type, allowing for additional comparison options in agent tool conditions.
2025-11-05 11:16:23 +00:00
GuanMu f263492c03 feat: add activation conditions for agent tools
- Implemented activation conditions for agent tools, allowing tools to be enabled based on specified conditions.
- Introduced new components for managing conditions, including ConditionAdd, ConditionList, ConditionItem, and ConditionOperator.
- Enhanced the AgentNode to process activation conditions when filtering tools.
- Updated the ToolSelector to include activation condition management.
- Added translations for new UI elements related to activation conditions.
- Refactored utility functions to support condition operators and default values based on variable types.
2025-11-05 08:37:14 +00:00
wangjifeng f65d5a9761
Fix/template transformer line number (#27867)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-11-05 15:21:47 +08:00