feat(FN-3045): gate research settings sections behind feature flags

Research settings sections in the SettingsModal are now gated behind the feature flag, with docs updated to document the gating behavior. Tests cover both desktop and mobile settings views for the new gating logic.

Fusion-Task-Id: FN-3045
This commit is contained in:
Fusion
2026-04-30 23:56:18 -07:00
committed by gsxdsm
parent c0ff899fbb
commit 526fea3f13
5 changed files with 123 additions and 9 deletions

View File

@@ -110,6 +110,7 @@ The toggle button is accessible with `aria-pressed` for screen readers. Toggle s
Research view is a standalone dashboard surface for creating and managing research runs.
> Available when `experimentalFeatures.researchView` is enabled.
> The related Settings sections (`Research Defaults` and project `Research`) are also hidden until this flag is enabled.
Features:

View File

@@ -260,6 +260,7 @@ This applies to:
- export default (`defaultExportFormat`)
The standalone Research route is feature-gated separately via `experimentalFeatures.researchView`.
When that flag is disabled, the Settings modal also hides both Research sections (`Research Defaults` and project `Research`) and falls back to the first visible section if a hidden research section is requested directly.
**Credential storage rule:** API keys for Research providers are not stored in settings JSON. They are managed through the existing auth storage pipeline (`/api/auth/status`, `POST /api/auth/api-key`, `DELETE /api/auth/api-key`) and persisted in auth credential storage with masked hints in API responses.