dify/web/app/components/workflow/hooks
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
..
__tests__ fix: web style 2026-04-11 19:35:04 +08:00
use-workflow-run-event test: add unit tests for workflow components including tools and inspect vars (#34843) 2026-04-10 13:11:36 +00:00
index.ts fix: web style 2026-04-11 10:46:52 +08:00
use-auto-generate-webhook-url.ts fix: fix some missing sync 2026-04-10 15:17:25 +08:00
use-available-blocks.ts feat: Human Input Node (#32060) 2026-02-09 14:57:23 +08:00
use-checklist.ts refactor(workflow): migrate legacy toast usage to ui toast (#34002) 2026-03-25 12:42:18 +08:00
use-collaborative-workflow.ts fix knowledge retrieval node add freeze 2026-04-13 16:59:58 +08:00
use-config-vision.ts fix: fix when vision is disabled delete the configs (#30420) 2026-01-01 00:40:21 +08:00
use-DSL.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
use-dynamic-test-run-options.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
use-edges-interactions-without-sync.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-edges-interactions.helpers.ts test(workflow): add helper specs and raise targeted workflow coverage (#33995) 2026-03-24 17:51:07 +08:00
use-edges-interactions.ts fix: when mouseover add btn of edges display error 2026-04-10 13:35:46 +08:00
use-fetch-workflow-inspect-vars.ts feat: Human Input Node (#32060) 2026-02-09 14:57:23 +08:00
use-helpline.ts test(workflow): add helper specs and raise targeted workflow coverage (#33995) 2026-03-24 17:51:07 +08:00
use-inspect-vars-crud-common.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-inspect-vars-crud.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-leader-restore.ts fix: web style 2026-04-11 10:46:52 +08:00
use-node-data-update.ts fix web style 2026-01-18 13:40:12 +08:00
use-node-plugin-installation.ts chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
use-nodes-available-var-list.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-nodes-interactions-without-sync.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-nodes-interactions.ts chore: try to track why nodes missing 2026-04-10 11:04:03 +08:00
use-nodes-meta-data.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-nodes-sync-draft.ts fix: debounce follower workflow sync requests in collaboration mode 2026-04-12 20:22:06 +08:00
use-panel-interactions.ts feat(workflow): add edge context menu with delete support (#33391) 2026-03-13 15:11:24 +08:00
use-selection-interactions.ts fix: the menu of multi nodes always display on left top corner (#34120) 2026-03-26 15:49:42 +08:00
use-serial-async-callback.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
use-set-workflow-vars-with-value.ts Chore/workflow last run (#21823) 2025-07-02 17:48:07 +08:00
use-shortcuts.ts chore: log 20 recent crdt import changes 2026-04-10 10:54:06 +08:00
use-tool-icon.ts test(workflow): add helper specs and raise targeted workflow coverage (#33995) 2026-03-24 17:51:07 +08:00
use-workflow-canvas-maximize.ts test(workflow): add helper specs and raise targeted workflow coverage (#33995) 2026-03-24 17:51:07 +08:00
use-workflow-comment.ts feat: mouse right click can add new comment 2026-04-10 10:07:28 +08:00
use-workflow-history.ts feat: Human Input Node (#32060) 2026-02-09 14:57:23 +08:00
use-workflow-interactions.ts test(workflow): add helper specs and raise targeted workflow coverage (#33995) 2026-03-24 17:51:07 +08:00
use-workflow-mode.ts feat: workflow remove preview mode (#3941) 2024-04-28 17:09:56 +08:00
use-workflow-organize.helpers.ts build: include vinext in docker build (#34535) 2026-04-08 07:26:39 +00:00
use-workflow-organize.ts fix: fix some missing sync 2026-04-10 15:17:25 +08:00
use-workflow-panel-interactions.ts fix: web style 2026-04-09 15:20:00 +08:00
use-workflow-refresh-draft.ts chore: slice workflow refresh draft hook (#19292) 2025-05-06 18:24:10 +08:00
use-workflow-run.ts Chore/slice workflow (#18351) 2025-04-18 13:59:12 +08:00
use-workflow-search.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow-start-run.tsx feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
use-workflow-update.ts test(workflow): add helper specs and raise targeted workflow coverage (#33995) 2026-03-24 17:51:07 +08:00
use-workflow-variables.ts feat: Human Input Node (#32060) 2026-02-09 14:57:23 +08:00
use-workflow-zoom.ts test(workflow): add helper specs and raise targeted workflow coverage (#33995) 2026-03-24 17:51:07 +08:00
use-workflow.ts Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-04-09 11:27:12 +08:00