dify/web/app/components/workflow/block-selector
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
..
market-place-plugin refactor(web): consolidate download helpers (#31664) 2026-01-29 16:02:49 +08:00
rag-tool-recommendations refactor(web): extract isServer/isClient utility & upgrade Node.js to 22.12.0 (#30803) 2026-01-12 12:57:43 +08:00
tool refactor(web): MCP tool availability to context-based version gating (#30955) 2026-01-14 13:40:16 +08:00
trigger-plugin refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
all-start-blocks.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
all-tools.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
blocks.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
constants.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
data-sources.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
featured-tools.tsx refactor(web): MCP tool availability to context-based version gating (#30955) 2026-01-14 13:40:16 +08:00
featured-triggers.tsx refactor(web): extract isServer/isClient utility & upgrade Node.js to 22.12.0 (#30803) 2026-01-12 12:57:43 +08:00
hooks.ts refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
index-bar.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
index.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
main.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
start-blocks.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
tabs.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
tool-picker.tsx refactor!: replace Zustand global store with TanStack Query for systemFeatures 2026-02-01 19:14:58 +08:00
tools.tsx refactor(web): MCP tool availability to context-based version gating (#30955) 2026-01-14 13:40:16 +08:00
types.ts feat: add editing support for trigger subscriptions (#29957) 2025-12-24 19:15:54 +08:00
use-check-vertical-scrollbar.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-sticky-scroll.ts chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
utils.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
view-type-select.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00