Commit Graph

1116 Commits

Author SHA1 Message Date
hjlarry
a68482da77 chore: try to track why nodes missing 2026-04-10 11:04:03 +08:00
hjlarry
692bf7ced1 fix: two tabs refresh cause empty graph 2026-04-10 10:55:13 +08:00
hjlarry
7eb1c026a2 chore: log 20 recent crdt import changes 2026-04-10 10:54:06 +08:00
hjlarry
6ab114ce54 fix undo/redo 2026-04-10 10:25:57 +08:00
hjlarry
205d771bfa feat: mouse right click can add new comment 2026-04-10 10:07:28 +08:00
hjlarry
59e752dcd3 Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-04-10 09:41:47 +08:00
hjlarry
4111f82644 fix: pnpm build 2026-04-09 17:57:50 +08:00
hjlarry
d35bd79d6d fix: unittests 2026-04-09 17:15:31 +08:00
hjlarry
f23b30d950 fix: pnpm build vinext 2026-04-09 16:36:40 +08:00
平衡世界的BOY
1befd2a602
fix(web): resolve Dify compact array types in tool output schema (#34804) 2026-04-09 08:01:23 +00:00
hjlarry
f598edb30b fix: webstyle 2026-04-09 16:00:16 +08:00
hjlarry
5c88acc5f4 fix: web unittests 2026-04-09 15:55:37 +08:00
hjlarry
c3c84419e7 fix: web style 2026-04-09 15:20:00 +08:00
hjlarry
6cce56f028 fix: web style error 2026-04-09 14:50:46 +08:00
hjlarry
e180434902 fix: rm WorkflowEvent type 2026-04-09 13:32:56 +08:00
hjlarry
4695fb66ae fix: toast import 2026-04-09 13:25:03 +08:00
hjlarry
6708bd3085 fix icon import 2026-04-09 11:47:37 +08:00
hjlarry
5cac278366 Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-04-09 11:31:09 +08:00
hjlarry
0055b983dc Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-04-09 11:27:12 +08:00
yyh
208604a3a8
fix(ci): repair i18n bridge and translation workflow (#34738) 2026-04-08 11:05:13 +00:00
Stephen Zhou
aad0b3c157
build: include vinext in docker build (#34535)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-04-08 07:26:39 +00:00
yyh
3891c0a255
fix(workflow): correct env variable picker validation (#34666) 2026-04-07 09:34:25 +00:00
非法操作
63b1d0c1ea
fix: var input label missing icon (#34569) 2026-04-07 09:33:13 +00:00
agenthaulk
e55bd61c17
refactor: replace useContext with use in selected batch (#34450) 2026-04-03 03:37:35 +00:00
Stephen Zhou
36e840cd87
chore: knip fix (#34481)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-02 15:03:42 +00:00
Stephen Zhou
894826771a
chore: clean up useless tailwind reference (#34478) 2026-04-02 11:45:19 +00:00
Stephen Zhou
1873b22e96
refactor: update to tailwind v4 (#34415)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-04-02 07:06:11 +00:00
yyh
f9d9ad7a38
refactor(web): migrate remaining toast usage (#34433) 2026-04-02 04:16:50 +00:00
非法操作
42d7623cc6
fix: Variable Aggregator cannot click group swich (#34361) 2026-04-01 02:32:01 +00:00
Wu Tianwei
324b47507c
refactor: enhance ELK layout handling (#34334) 2026-04-01 01:50:02 +00:00
yyh
6b0c6d0cde
fix(web): internationalize DSL export modal labels (#34323) 2026-03-31 07:06:16 +00:00
Jordan
2c2cc72150
fix(http): expose structured vars in HTTP body selector (#34185)
Co-authored-by: Jordan <175169034+owldev127@users.noreply.github.com>
2026-03-31 10:20:21 +08:00
Wu Tianwei
51f6ca2bed
fix(workflow): improve node organization (#34276) 2026-03-30 13:07:20 +00:00
Stephen Zhou
07f4950cb3
test: use happy dom (#34154) 2026-03-27 01:46:19 +00:00
非法操作
368896d84d
feat: add copy/delete to multi nodes context menu (#34138) 2026-03-27 01:20:39 +00:00
Mahmoud Hamdy
8ca54ddf94
refactor(web): convert 7 enums to as-const objects (batch 5) (#33960)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-26 15:50:54 +08:00
非法操作
3e073404cc
fix: the menu of multi nodes always display on left top corner (#34120)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-03-26 15:49:42 +08:00
Coding On Star
449d8c7768
test(workflow-app): enhance unit tests for workflow components and hooks (#34065)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: lif <1835304752@qq.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: tmimmanuel <14046872+tmimmanuel@users.noreply.github.com>
Co-authored-by: Desel72 <pedroluiscolmenares722@gmail.com>
Co-authored-by: Renzo <170978465+RenzoMXD@users.noreply.github.com>
Co-authored-by: Krishna Chaitanya <krishnabkc15@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 18:34:32 +08:00
非法操作
0e6d97acf9
fix: HumanInput node should unable to paste into container (#34077) 2026-03-25 17:22:21 +08:00
Coding On Star
7fbb1c96db
feat(workflow): add selection context menu helpers and integrate with context menu component (#34013)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: lif <1835304752@qq.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: tmimmanuel <14046872+tmimmanuel@users.noreply.github.com>
Co-authored-by: Desel72 <pedroluiscolmenares722@gmail.com>
Co-authored-by: Renzo <170978465+RenzoMXD@users.noreply.github.com>
Co-authored-by: Krishna Chaitanya <krishnabkc15@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 17:21:48 +08:00
yyh
a8e1ff85db
feat(web): base-ui slider (#34064)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 16:03:49 +08:00
yyh
d7e49c388c
refactor(workflow): migrate legacy toast usage to ui toast (#34002)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 12:42:18 +08:00
lif
c6c2715395
fix(workflow): clear loop/iteration metadata when pasting node outside container (#29983)
Co-authored-by: hjlarry <hjlarry@163.com>
2026-03-25 11:14:12 +08:00
Coding On Star
a408a5d87e
test(workflow): add helper specs and raise targeted workflow coverage (#33995)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 17:51:07 +08:00
scdeng
67d5c9d148
feat: configurable model parameters with variable reference support in LLM, Question Classifier and Variable Extractor nodes (#33082)
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 17:41:51 +08:00
Wu Tianwei
508350ec6a
test: enhance useChat hook tests with additional scenarios (#33928)
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 14:19:32 +08:00
Coding On Star
8b6fc07019
test(workflow): improve dataset item tests with edit and remove functionality (#33937) 2026-03-23 20:16:59 +08:00
Coding On Star
fdc880bc67
test(workflow): add unit tests for workflow components (#33910)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-23 16:37:03 +08:00
Copilot
76a23deba7
fix: crash when dataset icon_info is undefined in Knowledge Retrieval node (#33907)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-03-23 15:29:03 +08:00
Wu Tianwei
b0566b4193
fix(chat): fix image re-render due to opener remount (#33816) 2026-03-20 17:20:44 +08:00
yyh
27ed40225d
refactor(web): update frontend toast call sites to use the new shortcut API (#33808)
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-20 16:02:22 +08:00
盐粒 Yanli
c8ed584c0e
fix: adding a restore API for version control on workflow draft (#33582)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 14:54:23 +08:00
Tim Ren
8bebec57c1
fix: remove legacy z-index overrides on model config popup (#33769)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 10:40:30 +08:00
Coding On Star
4df602684b
test(workflow): add unit tests for workflow components (#33741)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-19 18:35:16 +08:00
yyh
93f9546353
refactor(web): migrate core toast call sites to base ui toast (#33643) 2026-03-18 16:53:55 +08:00
Coding On Star
db4deb1d6b
test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-18 16:40:28 +08:00
yyh
296b7044af
refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
yyh
69d1ccb7a7
refactor: route next/link through compat re-export (#33632) 2026-03-18 12:14:59 +08:00
yyh
d7f70f3c0f
refactor: route low-cost next modules through compat re-exports (#33622) 2026-03-18 10:37:29 +08:00
yyh
bbe975c6bc
feat: enhance model plugin workflow checks and model provider management UX (#33289)
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Coding On Star <447357187@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: statxc <tyleradams93226@gmail.com>
2026-03-18 10:16:15 +08:00
yyh
7c6d0bedc0
feat(web): add base ui toast (#33569) 2026-03-17 18:56:36 +08:00
yyh
3db1ba36e0
refactor(web): number inputs to use Base UI NumberField (#33539)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-17 18:45:02 +08:00
Stephen Zhou
18af5fc8c7
chore: revert #33540 #32966 (#33566) 2026-03-17 12:55:58 +08:00
yyh
f198f5b0ab
fix: raise block selector overlay z-index (#33557) 2026-03-17 10:39:48 +08:00
yyh
fe561ef3d0
feat(workflow): add edge context menu with delete support (#33391) 2026-03-13 15:11:24 +08:00
NFish
0dcfac5b84
fix: The HTTP Request node panel supports line break and overflow handling for variable values (#33359)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-12 17:57:08 +08:00
Saumya Talwani
ed5511ce28
test: improve coverage for some files (#33218) 2026-03-12 15:09:10 +08:00
yyh
c43307dae1
refactor(switch): Base UI migration with loading/skeleton variants (#33345)
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-12 14:40:43 +08:00
NFish
44713a5c0f
fix: allow line breaks when a field value overflows due to excessive length (#33339) 2026-03-12 11:15:29 +08:00
Stephen Zhou
5ff7d2c895
refactor: move to modern monaco (#32966) 2026-03-11 17:44:12 +08:00
yyh
5d0c3d58ac
refactor(avatar): migrate to Base UI primitives with Record size variants (#33268)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-11 14:26:04 +08:00
非法操作
0a320c63a0
fix: vertically center key-value table headers in HTTP and Webhook (#33260)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-11 13:55:17 +08:00
Wu Tianwei
75bbb616ea
refactor: replace react markdown with streamdown (#32971)
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-03-10 17:02:37 +08:00
非法操作
4a2ba058bb
feat: when copy/paste multi nodes not require reconnect them (#32631) 2026-03-09 13:55:12 +08:00
非法操作
ec5409756e
feat: keep connections when change node (#31982) 2026-03-09 13:54:10 +08:00
yyh
f2d3feca66
fix(web): fix tool item text not vertically centered in block selector (#33148) 2026-03-09 13:38:11 +08:00
Stephen Zhou
f487b680f5
refactor: spilt context for better hmr (#33033) 2026-03-05 15:54:56 +08:00
Coding On Star
1819b87a56
test(workflow): add validation tests for workflow and node component rendering part 3 (#33012)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-05 14:34:07 +08:00
Coding On Star
5385ec3023
test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-04 17:24:50 +08:00
Coding On Star
3398962bfa
test(workflow): add unit tests for workflow store slices (#32932)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-04 10:59:31 +08:00
Coding On Star
9c33923985
feat(tests): add comprehensive test suite for workflow utilities and node creation (#32841)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-03-02 18:24:01 +08:00
Stephen Zhou
439ff3775d
chore: update to eslint 10 (#32646) 2026-02-27 19:44:54 +08:00
非法操作
9f0ee5c145
fix: the action button of structure output modal should align right (#32700) 2026-02-27 17:28:41 +08:00
HaKu
8ff51a58fd
refactor(web): remove mouseup listener in use-resize-panel cleanup (#32636)
Co-authored-by: 非法操作 <hjlarry@163.com>
2026-02-27 15:06:10 +08:00
Pandaaaa906
4f38229fbc
feat: Adding error handle support for Agent Node (#31596) 2026-02-26 14:28:24 +09:00
非法操作
065122a2ae
fix: incorrect placeholder color in dark mode (#32568) 2026-02-25 23:15:51 +08:00
wangxiaolei
8141e3af99
fix: fix node after change can not select start node (#32441) 2026-02-21 14:04:21 +08:00
yyh
ea0e1b52a8 refactor(web): make Switch controlled-only and migrate call sites (#32399) 2026-02-18 23:47:07 +08:00
Stephen Zhou
8fd3eeb760
fix: can not upload file in single run (#32276) 2026-02-12 17:23:01 +08:00
Wu Tianwei
e32490f54e
feat(workflow): enhance workflow run history management and UI updates (#32230) 2026-02-11 14:09:33 +08:00
Wu Tianwei
16b8733886
fix: Fix the display of state icon of base node (#32208) 2026-02-10 22:45:56 +08:00
非法操作
5077879886
chore: allow draft run single node without connect to other node (#31977) 2026-02-10 18:03:52 +08:00
Stephen Zhou
f355c8d595
refactor: type safe env, update to zod v4 (#32035) 2026-02-10 17:55:11 +08:00
Wu Tianwei
de33561a52
test: add comprehensive tests for Human Input Node functionality (#32191) 2026-02-10 17:00:46 +08:00
Stephen Zhou
898e09264b
chore: detect utilities in css (#32143) 2026-02-09 18:20:09 +08:00
QuantumGhost
a1fc280102
feat: Human Input Node (#32060)
The frontend and backend implementation for the human input node.

Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zhsama <torvalds@linux.do>
2026-02-09 14:57:23 +08:00
wangxiaolei
a297b06aac
fix: fix tool type is miss (#32042) 2026-02-06 14:38:15 +08:00
zxhlyh
cc5705cb71
fix: auto summary env (#31930) 2026-02-04 17:47:38 +08:00
wangxiaolei
74b027c41a
fix: fix mcp output schema is union type frontend crash (#31779)
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2026-02-04 17:33:41 +08:00
QuantumGhost
90fe9abab7
revert: revert human input relevant code (#31766)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-30 19:18:49 +08:00