dify/web/app/components
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
..
app feat(web): add loading indicators for infinite scroll pagination (#31110) 2026-01-17 17:36:07 +08:00
app-sidebar refactor(web): add SSR-safe localStorage utility and ESLint rules 2026-01-18 16:01:04 +08:00
apps feat(web): add loading indicators for infinite scroll pagination (#31110) 2026-01-17 17:36:07 +08:00
base feat(web): add loading indicators for infinite scroll pagination (#31110) 2026-01-17 17:36:07 +08:00
billing refactor(contract): restructure console contracts with nested billing module (#30999) 2026-01-15 10:41:18 +08:00
custom chore: remove useless __esModule (#30366) 2025-12-30 15:37:16 +08:00
datasets feat(web): add loading indicators for infinite scroll pagination (#31110) 2026-01-17 17:36:07 +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(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
goto-anything refactor(web): remove useMixedTranslation, better resource loading (#30630) 2026-01-07 13:20:09 +08:00
header refactor(web): add SSR-safe localStorage utility and ESLint rules 2026-01-18 16:01:04 +08:00
plugins chore: introduce bulk-suppressions and multithread linting (#31157) 2026-01-17 19:51:56 +08:00
provider feat(web): migrate PWA to Serwist (#30808) 2026-01-10 17:16:18 +09:00
rag-pipeline fix: remove hardcoded 48-character limit from text inputs (#30156) 2026-01-15 17:43:00 +08:00
share fix: remove hardcoded 48-character limit from text inputs (#30156) 2026-01-15 17:43:00 +08:00
signin refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
tools refactor(web): remove useMixedTranslation, better resource loading (#30630) 2026-01-07 13:20:09 +08:00
workflow refactor(web): add SSR-safe localStorage utility and ESLint rules 2026-01-18 16:01:04 +08:00
workflow-app feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +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