dify/web/app/components/workflow/panel
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
..
chat-record refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
chat-variable-panel feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
debug-and-preview refactor(web): add SSR-safe localStorage utility and ESLint rules 2026-01-18 16:01:04 +08:00
env-panel feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
global-variable-panel feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
version-history-panel fix: restore draft version correctly in version history panel (#30296) 2025-12-30 09:22:00 +08:00
index.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
inputs-panel.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
record.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-preview.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00