dify/web/app/components/workflow/hooks
yyh e819b804ba
refactor(web): add SSR-safe localStorage utility and ESLint rules
Introduce centralized storage utilities to address SSR issues with direct
localStorage access in zustand slices and components. This adds ESLint
rules to prevent future regressions while preserving existing usages
via bulk suppressions.

- Add config/storage-keys.ts for centralized storage key definitions
- Add utils/storage.ts with SSR-safe get/set/remove operations
- Add workflow/store/persist-config.ts for zustand storage adapter
- Add no-restricted-globals and no-restricted-properties ESLint rules
- Migrate workflow slices and related components to use new utilities
2026-01-18 16:01:04 +08:00
..
use-workflow-run-event chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
index.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-auto-generate-webhook-url.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-available-blocks.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-checklist.ts refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +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.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-fetch-workflow-inspect-vars.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-helpline.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +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-node-data-update.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-node-plugin-installation.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08: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 fix: fix LOOP_CHILDREN_Z_INDEX (#30719) 2026-01-14 10:22:31 +08:00
use-nodes-layout.ts feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +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 chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-panel-interactions.ts feat: workflow interaction (#4214) 2024-05-09 17:18:51 +08:00
use-selection-interactions.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +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 fix: prioritize copying selected text (#30141) 2025-12-25 16:22:42 +08:00
use-tool-icon.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow-history.ts refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
use-workflow-interactions.ts refactor(web): add SSR-safe localStorage utility and ESLint rules 2026-01-18 16:01:04 +08:00
use-workflow-mode.ts feat: workflow remove preview mode (#3941) 2024-04-28 17:09:56 +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-variables.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow.ts chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00