dify/web/app
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
..
(commonLayout) refactor!: migrate commonLayout to SSR prefetch with TanStack Query hydration 2026-02-01 19:07:32 +08:00
(shareLayout) refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
account refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
activate refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
components refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
education-apply fix: check and update doc links (#30849) 2026-01-21 16:31:48 +08:00
forgot-password refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
init refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
install refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
oauth-callback feat: the frontend part of mcp (#22131) 2025-07-10 14:14:02 +08:00
repos/[owner]/[repo]/releases chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
reset-password refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
serwist/[path] feat(web): migrate PWA to Serwist (#30808) 2026-01-10 17:16:18 +09:00
signin refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
signup refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
styles fix(web): remove unwanted border on sticky elements in dark mode (#31699) 2026-01-29 15:51:51 +08:00
layout.tsx refactor!: migrate commonLayout to SSR prefetch with TanStack Query hydration 2026-02-01 19:07:32 +08:00
page.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
routePrefixHandle.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
sw.ts chore(web): disable Serwist dev logs (#30980) 2026-01-14 16:23:58 +08:00