dify/web/app/components/datasets
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
..
api test: add comprehensive tests (#31649) 2026-01-29 11:16:26 +08:00
common refactor(web): consolidate download helpers (#31664) 2026-01-29 16:02:49 +08:00
create refactor(web): consolidate download helpers (#31664) 2026-01-29 16:02:49 +08:00
create-from-pipeline refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
documents refactor: unified shortcut keys display using component (#31713) 2026-01-29 17:57:46 +08:00
external-api fix: more doc link fix (#31395) 2026-01-22 15:18:42 +08:00
external-knowledge-base fix: check and update doc links (#30849) 2026-01-21 16:31:48 +08:00
extra-info test: add comprehensive tests (#31649) 2026-01-29 11:16:26 +08:00
formatted-text chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
hit-testing feat: summary index (#31523) 2026-01-28 11:09:34 +08:00
list refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
metadata fix: enforce no-leaked-conditional-rendering as error and fix violations (#31262) 2026-01-20 23:08:59 +08:00
preview test: add comprehensive tests (#31649) 2026-01-29 11:16:26 +08:00
rename-modal test: add tests for dataset list (#31231) 2026-01-20 13:07:00 +08:00
settings feat: summary index (#31523) 2026-01-28 11:09:34 +08:00
chunk.spec.tsx test: add comprehensive tests (#31649) 2026-01-29 11:16:26 +08:00
chunk.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
loading.spec.tsx test: add comprehensive tests (#31649) 2026-01-29 11:16:26 +08:00
loading.tsx fix oxlint warnings (#26634) 2025-10-09 09:23:34 +08:00
no-linked-apps-panel.spec.tsx test: add comprehensive tests (#31649) 2026-01-29 11:16:26 +08:00
no-linked-apps-panel.tsx fix: check and update doc links (#30849) 2026-01-21 16:31:48 +08:00