dify/web/features/system-features
2026-08-18 12:34:34 +00:00
..
__tests__ fix(web): gate system features requests by connection (#40939) 2026-08-18 12:34:34 +00:00
bootstrap-boundary.tsx refactor: centralize deployment edition in system features (#39454) 2026-07-24 07:15:02 +00:00
client.ts refactor: centralize deployment edition in system features (#39454) 2026-07-24 07:15:02 +00:00
README.md docs(web): consolidate maintainer guidance (#40758) 2026-08-14 03:40:05 +00:00
server.ts fix(web): gate system features requests by connection (#40939) 2026-08-18 12:34:34 +00:00
state.ts refactor(web): remove profile bootstrap atom layer (#40474) 2026-08-12 04:05:57 +00:00

System Features

This feature owns the deployment-wide capability query contract and application bootstrap boundary.

  • server.ts exposes the request-scoped query client and canonical server query options; route and layout owners perform prefetching and hydration.
  • client.ts owns the canonical query options.
  • bootstrap-boundary.tsx blocks application rendering until capability data is available and owns retry UI.
  • state.ts exposes narrow derived client atoms backed by the same TanStack Query data.

Consumers read capabilities through this feature instead of issuing another request or copying deployment-edition state.