dify/web/app
yyh a0188bd9b5
fix(workflow)!: add mounted guard to prevent ReactFlow operations after unmount
When switching from graph view to skill view during an active preview run,
SSE callbacks continue executing and attempt to update ReactFlow node/edge
states. This could cause errors since the component is unmounted.

Add optional `isMountedRef` parameter to `useNodesInteractionsWithoutSync`
and `useEdgesInteractionsWithoutSync` hooks. When provided, operations are
skipped if the component has unmounted, preventing potential errors while
allowing the SSE connection to continue running in the background.

BREAKING CHANGE: `useNodesInteractionsWithoutSync` and
`useEdgesInteractionsWithoutSync` now accept an optional `isMountedRef`
parameter. Existing callers are unaffected as the parameter is optional.
2026-01-27 00:43:58 +08:00
..
(commonLayout) Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-01-24 15:22:07 +08:00
(shareLayout) fix: redirect after login (#30985) 2026-01-14 17:20:49 +08:00
account feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
activate refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
components fix(workflow)!: add mounted guard to prevent ReactFlow operations after unmount 2026-01-27 00:43:58 +08:00
education-apply fix: check and update doc links (#30849) 2026-01-22 16:13:09 +08:00
forgot-password refactor(web): migrate legacy forms to TanStack Form (#30631) 2026-01-06 20:18:27 +08:00
init refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
install fix: check and update doc links (#30849) 2026-01-22 16:13:09 +08:00
oauth-callback
repos/[owner]/[repo]/releases chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
reset-password feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
serwist/[path] feat(web): migrate PWA to Serwist (#30808) 2026-01-10 17:16:18 +09:00
signin fix: check and update doc links (#30849) 2026-01-22 16:13:09 +08:00
signup refactor(web): align signup mail submit and tests (#30456) 2026-01-04 19:59:06 +08:00
styles fix(theme): make sticky headers opaque in dark mode (Monaco sticky sc… (#29826) 2025-12-18 15:00:15 +08:00
layout.tsx Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-01-24 15:22:07 +08:00
page.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
routePrefixHandle.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
sw.ts chore(web): disable Serwist dev logs (#30980) 2026-01-14 16:23:58 +08:00