dify/web/app
yyh 772dbe620d
fix(workflow): disable view switch during preview run instead of mounted guard
Simpler approach: disable the view picker toggle when preview is running,
preventing users from switching views during active runs.

This replaces the previous mounted ref guard approach (commits a0188bd9b5,
b7f1eb9b7b, 8332f0de2b) which added complexity to handle post-unmount
operations. Disabling the toggle is more direct and follows KISS principle.

Changes:
- Add disabled prop to ViewPicker based on isResponding state
- Revert mounted ref guards in use-chat-flow-control.ts
- Revert isMountedRef parameter in use-nodes/edges-interactions-without-sync.ts
- Revert defensive type check in markdown-utils.ts (no longer needed)
2026-01-27 01:31:22 +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): disable view switch during preview run instead of mounted guard 2026-01-27 01:31:22 +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