dify/web/app/components/plugins/plugin-page
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
..
empty refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
filter-management test(web): add global zustand mock for tests (#31149) 2026-01-17 17:29:13 +08:00
list test: add comprehensive tests for plugin authentication components (#30094) 2025-12-29 16:45:25 +08:00
plugin-tasks test: add unit tests for PluginPage and related components (#30908) 2026-01-15 10:56:02 +08:00
context.spec.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
context.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
debug-info.tsx fix: check and update doc links (#30849) 2026-01-21 16:31:48 +08:00
index.spec.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
index.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
install-plugin-dropdown.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
plugin-info.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
plugins-panel.tsx feat(web): add loading indicators for infinite scroll pagination (#31110) 2026-01-17 17:36:07 +08:00
use-reference-setting.spec.ts refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
use-reference-setting.ts refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
use-uploader.spec.ts test: add unit tests for PluginPage and related components (#30908) 2026-01-15 10:56:02 +08:00
use-uploader.ts fix(web): use Array.from() for FileList to fix tsc type errors (#31398) 2026-01-22 19:51:24 +08:00