dify/web/app/components/plugins/install-plugin
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
..
base refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
hooks refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
install-bundle refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
install-from-github fix: enforce no-leaked-conditional-rendering as error and fix violations (#31262) 2026-01-20 23:08:59 +08:00
install-from-local-package test: unify i18next mocks into centralized helpers (#30376) 2025-12-31 16:53:33 +09:00
install-from-marketplace fix: enforce no-leaked-conditional-rendering as error and fix violations (#31262) 2026-01-20 23:08:59 +08:00
hooks.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
utils.spec.ts refactor(tool-selector): remove unused components and consolidate import (#31018) 2026-01-26 14:24:00 +08:00
utils.ts chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00