hjlarry
7e044fc602
sanitize assigner collaboration payloads
...
Collaboration restores some empty assigner variable selectors as null, which later reaches the assigner panel and crashes variable-selector reads that expect arrays.
Normalize assigner operation items when converting versioned payloads and when applying operation list updates so variable-mode selectors always stay arrays. Add targeted tests for both the helper path and useConfig exposure.
2026-04-14 11:29:21 +08:00
hjlarry
ed6fc3f4a1
Merge branch 'feat/collaboration2' of github.com:langgenius/dify into feat/collaboration2
2026-04-14 08:52:37 +08:00
yyh
a4a7d5c2fa
refactor(web): restore avatar composition API
2026-04-13 20:03:28 +08:00
hjlarry
df5d3a6dbc
broadcast workflow updates after DSL import
2026-04-13 18:00:51 +08:00
hjlarry
f0cd2e8465
sync multi-node drag through collaboration
2026-04-13 17:39:39 +08:00
hjlarry
2f7336b5d9
fix knowledge retrieval node add freeze
...
Knowledge Retrieval panel effects depend on setInputs. In the collaboration branch the callback chain started changing identity on every render, so adding this node could repeatedly write node data and freeze the browser.
Stabilize the collaborative workflow API returned by useCollaborativeWorkflow and keep useNodeCrud.setInputs stable while forwarding to the latest updater. Add a regression test for the stable setInputs contract.
2026-04-13 16:59:58 +08:00
hjlarry
6f30ecd717
fix: web unittests
2026-04-13 11:43:47 +08:00
hjlarry
a9ec9936cc
fix comment thread tooltip button nesting
2026-04-13 10:33:42 +08:00
hjlarry
e3b72df552
fix ghost node panel presence cleanup
2026-04-13 10:23:21 +08:00
hjlarry
d2e9fdc6b5
fix: localize workflow online user fallback labels
2026-04-12 20:42:46 +08:00
hjlarry
d8e0b499df
fix: debounce follower workflow sync requests in collaboration mode
2026-04-12 20:22:06 +08:00
hjlarry
763524fc33
fix(web): fine-tune comment marker avatar vertical alignment
2026-04-12 18:05:40 +08:00
hjlarry
0967ad5145
fix(web): localize workflow comments panel filters across locales
2026-04-12 16:38:57 +08:00
hjlarry
828276d672
fix(collaboration): seed CRDT graph before leader resync
...
Avoid writing partial graph into CRDT during initial HTTP draft parsing in workflow-app.
Seed CRDT from current ReactFlow graph only when CRDT is empty and collaboration is connected, then reuse it for leader snapshot rebroadcast.
This prevents join-time resync from broadcasting an empty snapshot when leader has not produced local CRDT mutations yet.
2026-04-12 15:41:54 +08:00
hjlarry
9c8bef1064
chore: refactor env-panel collaboration
2026-04-11 19:51:17 +08:00
hjlarry
9ce4517ee1
chore: revert not related change
2026-04-11 19:43:41 +08:00
hjlarry
73c77b6701
fix: web style
2026-04-11 19:35:04 +08:00
hjlarry
e5ab4d1ed3
chore: improve codecov
2026-04-11 18:44:31 +08:00
hjlarry
577ab01bbb
chore: improve codecov
2026-04-11 18:12:27 +08:00
hjlarry
aea20a576f
chore: improve codecov
2026-04-11 16:29:23 +08:00
hjlarry
aa8376b5d2
fix: web tests
2026-04-11 12:22:15 +08:00
hjlarry
8e38a19de7
fix: web style
2026-04-11 10:46:52 +08:00
hjlarry
341fdc8201
fix: web tests
2026-04-11 09:17:00 +08:00
hjlarry
f46c45dd11
chore: fix import avatar error
2026-04-10 23:15:22 +08:00
hjlarry
ee2b021395
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-04-10 22:47:40 +08:00
hjlarry
70eafde45e
chore: revert some changes not related to collaboration
2026-04-10 22:42:17 +08:00
hjlarry
078ab83009
chore: improve log
2026-04-10 21:51:05 +08:00
Coding On Star
1703df5c00
test: add unit tests for workflow components including tools and inspect vars ( #34843 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-04-10 13:11:36 +00:00
wangxiaolei
04f5fe5e38
fix: fix outputs share same name var ( #34604 )
2026-04-10 11:30:21 +00:00
非法操作
1b7d0bd4e6
chore: should hide change action when node is undeletable ( #34592 )
2026-04-10 11:29:29 +00:00
XHamzaX
6612ba69b1
fix(workflow): correct maximized editor panel layout in execution logs ( #34909 )
2026-04-10 10:59:09 +00:00
hjlarry
89144b61c8
chore: rm graphViewActive
2026-04-10 16:05:05 +08:00
hjlarry
b281a9ab1b
fix: comment input avatar padding
2026-04-10 15:46:10 +08:00
hjlarry
37930a60d6
fix: fix some missing sync
2026-04-10 15:17:25 +08:00
plind
5d4d60bb95
fix(web): assign in-progress tracing items to latest loop/iteration record ( #34661 )
...
Co-authored-by: Blackoutta <37723456+Blackoutta@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 06:01:19 +00:00
hjlarry
f45c09ba69
fix: download graph logs
2026-04-10 13:41:58 +08:00
hjlarry
10193179cf
fix: when mouseover add btn of edges display error
2026-04-10 13:35:46 +08:00
yyh
f42c1b68a4
refactor(web): move avatar to base ui ( #34889 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 04:44:05 +00:00
hjlarry
1aa16821c1
fix: incorrect import
2026-04-10 11:16:26 +08:00
hjlarry
4e660a128a
chore: use console.warn instead of toast
2026-04-10 11:07:13 +08:00
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