Fixes the mobile Settings section picker showing bare "Authentication" instead of "Global — Authentication" for the storage-less (scope: undefined) Authentication section.
- Add buildSettingsSectionGroupLabelMap to derive each section's owning group label (Global/Runtimes/Project) from SETTINGS_SECTIONS order
- Extend resolveSettingsSectionOptionLabel to fall back to a Global-derived prefix for storage-less sections belonging to the Global group, without affecting sections that already declare a scope
- Add regression test asserting the Authentication option renders "Global — Authentication" alongside existing scoped siblings
- Add changeset (patch) documenting the fix
Files changed:
.changeset/fn-7552-mobile-authentication-global-prefix.md | 7 +++
packages/dashboard/app/components/SettingsModal.tsx | 40 +++++++++++++
packages/dashboard/app/components/__tests__/settings-mobile.test.tsx | 16 +++++
3 files changed, 63 insertions(+)
Fusion-Task-Id: FN-7552
Fusion-Task-Lineage: c389f556-c7d3-48a2-a51d-926a70bdaa0e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>