Commit Graph

3348 Commits

Author SHA1 Message Date
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
1722c883f3 fix(web): adjust app card online avatars layout and counter alignment 2026-04-12 17:56:53 +08:00
hjlarry
0967ad5145 fix(web): localize workflow comments panel filters across locales 2026-04-12 16:38:57 +08:00
hjlarry
3288f5e100 fix(collaboration): align online-users keys to app_id
Switch /apps/workflows/online-users request and response schema from workflow_ids/workflow_id to app_ids/app_id without compatibility fallback.

Align app list online avatar lookup and online-user map indexing to app.id, matching socket room identity.

Update backend access checks, API fields, frontend contract/types, and unit tests accordingly.
2026-04-12 16:16:47 +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
558aca31e7 chore: revert not related change 2026-04-11 20:04:39 +08:00
hjlarry
98a977eaf2 chore: revert not related change 2026-04-11 19:58:40 +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
0220006c50 fix: add missing app list page online users 2026-04-11 10:47:04 +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
53277d77c9 chore: size of AvatarProps should not be number 2026-04-10 22:51:10 +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
cdbc2d631b chore: rm unused handleDownloadGraphImportLog 2026-04-10 16:05:44 +08: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
4432c86f57 chore: rm unused console.warn 2026-04-10 10:35:49 +08:00
hjlarry
6ab114ce54 fix undo/redo 2026-04-10 10:25:57 +08:00
hjlarry
53fe1c9039 fix: variable of sync display in prompt editor 2026-04-10 10:20:49 +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