dify/web/app/components/header
yyh 915a6cc090
refactor!: replace Zustand global store with TanStack Query for systemFeatures
Follow-up to SSR prefetch migration. Eliminates the Zustand middleman
that was syncing TanStack Query data into a separate store.

- Remove useGlobalPublicStore Zustand store entirely
- Create hooks/use-global-public.ts with useSystemFeatures,
  useSystemFeaturesQuery, useIsSystemFeaturesPending, useSetupStatusQuery
- Migrate all consumers to import from @/hooks/use-global-public
- Simplify global-public-context.tsx to a thin provider component
- Update test files to mock the new hook interface
- Fix SetupStatusResponse.setup_at type from Date to string (JSON)
- Fix setup-status.spec.ts mock target to match consoleClient
- Regenerate eslint-suppressions.json for main branch

BREAKING CHANGE: useGlobalPublicStore is removed. Use useSystemFeatures()
from @/hooks/use-global-public instead.
2026-02-01 19:14:58 +08:00
..
account-about refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
account-dropdown refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
account-setting refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08: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!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +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 chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
index.module.css Enhance Code Consistency Across Repository with .editorconfig (#19023) 2025-04-29 18:04:33 +08:00
index.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
maintenance-notice.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00