dify/web/features/system-features
Stephen Zhou ac8d216aa9
Merge remote-tracking branch 'origin/main' into deploy/konwledge
# Conflicts:
#	api/tests/unit_tests/core/plugin/test_backwards_invocation_model.py
#	api/tests/unit_tests/services/enterprise/test_rbac_service.py
#	api/tests/unit_tests/services/test_dataset_service_dataset.py
2026-08-19 09:27:13 +08: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 fix(knowledge-fs): reconcile main merge artifacts 2026-08-12 14:19:24 +08: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.