dify/web/app/components
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
..
app merge 2026-01-26 16:57:45 +08:00
app-sidebar Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-01-24 15:22:07 +08:00
apps Merge branch 'feat/collaboration2' into feat/support-agent-sandbox 2026-01-25 00:00:03 +08:00
base Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox 2026-01-26 23:12:44 +08:00
billing feat: enhance ProgressBar and UsageInfo for storage mode (#31273) 2026-01-21 14:04:33 +08:00
custom chore: remove useless __esModule (#30366) 2025-12-30 15:37:16 +08:00
datasets merge 2026-01-26 16:57:45 +08:00
develop refactor(i18n): about locales (#30336) 2025-12-30 14:38:23 +08:00
devtools refactor(web): organize devtools components (#30318) 2025-12-30 09:21:41 +08:00
explore feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00
goto-anything refactor(web): remove useMixedTranslation, better resource loading (#30630) 2026-01-07 13:20:09 +08:00
header merge 2026-01-26 16:57:45 +08:00
plugins merge 2026-01-26 16:57:45 +08:00
provider chore: disable serwist in dev (#31424) 2026-01-23 11:35:14 +08:00
rag-pipeline Merge branch 'feat/collaboration2' into feat/support-agent-sandbox 2026-01-25 00:00:03 +08:00
share feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00
signin refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
sub-graph refactor: use bivariance to normalize node metadata types 2026-01-23 06:57:00 +08:00
tools merge 2026-01-26 16:57:45 +08:00
workflow fix(workflow)!: add mounted guard to prevent ReactFlow operations after unmount 2026-01-27 00:43:58 +08:00
workflow-app fix: Add sandbox feature to workflow features mapping 2026-01-25 16:30:50 +08:00
app-initializer.tsx refactor(web): setup status caching (#30798) 2026-01-13 16:59:49 +08:00
browser-initializer.spec.ts feat: Add polyfill for Array.prototype.toSpliced method (#30031) 2025-12-23 17:48:20 +08:00
browser-initializer.tsx feat: Add polyfill for Array.prototype.toSpliced method (#30031) 2025-12-23 17:48:20 +08:00
sentry-initializer.tsx refactor(web): Migrate to Unified TanStack Devtools (#30279) 2025-12-29 09:43:44 +08:00
splash.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00