dify/web/app/components/header
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
..
account-about refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
account-dropdown refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
account-setting fix: correct API Extension documentation link (#30962) 2026-01-14 21:21:15 +09:00
app-back refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
app-nav feat(web): add loading indicators for infinite scroll pagination (#31110) 2026-01-17 17:36:07 +08:00
app-selector feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
assets feat: logo (#1356) 2023-10-16 15:26:25 +08:00
dataset-nav feat(web): add loading indicators for infinite scroll pagination (#31110) 2026-01-17 17:36:07 +08:00
env-nav refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
explore-nav refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
github-star refactor: Replace direct process.env.NODE_ENV checks with IS_PROD and IS_DEV constants. (#30383) 2025-12-31 08:32:55 +08:00
indicator chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
license-env refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
nav feat(web): add loading indicators for infinite scroll pagination (#31110) 2026-01-17 17:36:07 +08:00
plan-badge refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
plugins-nav refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
tools-nav refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
utils Feat/add email support for pro and team (#6533) 2024-07-22 19:56:46 +08:00
header-wrapper.tsx refactor(web): add SSR-safe localStorage utility and ESLint rules 2026-01-18 16:01:04 +08:00
index.module.css Enhance Code Consistency Across Repository with .editorconfig (#19023) 2025-04-29 18:04:33 +08:00
index.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
maintenance-notice.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00