From 052a27772576e2ff755bcd0137963c176eb26400 Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Sat, 4 Jul 2026 19:40:25 -0700 Subject: [PATCH] FN-7552: prefix Authentication with Global in mobile settings picker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- ...552-mobile-authentication-global-prefix.md | 7 ++++ .../app/components/SettingsModal.tsx | 40 +++++++++++++++++++ .../__tests__/settings-mobile.test.tsx | 16 ++++++++ 3 files changed, 63 insertions(+) create mode 100644 .changeset/fn-7552-mobile-authentication-global-prefix.md diff --git a/.changeset/fn-7552-mobile-authentication-global-prefix.md b/.changeset/fn-7552-mobile-authentication-global-prefix.md new file mode 100644 index 0000000000..a36edea9cb --- /dev/null +++ b/.changeset/fn-7552-mobile-authentication-global-prefix.md @@ -0,0 +1,7 @@ +--- +"@runfusion/fusion": patch +--- + +summary: Show the "Global" prefix on the Authentication entry in the mobile Settings picker. +category: fix +dev: resolveSettingsSectionOptionLabel now derives the Global-group prefix for storage-less (scope: undefined) sections in SettingsModal.tsx (FN-7552). diff --git a/packages/dashboard/app/components/SettingsModal.tsx b/packages/dashboard/app/components/SettingsModal.tsx index 015456df3c..5f34e5167a 100644 --- a/packages/dashboard/app/components/SettingsModal.tsx +++ b/packages/dashboard/app/components/SettingsModal.tsx @@ -292,6 +292,38 @@ function resolveFirstSelectableSettingsSection(sections: SettingsSection[], fall return sections.find((section) => !section.isGroupHeader)?.id ?? fallback; } +/* +FNXC:SettingsNavigation 2026-07-04-00:00: +The mobile Settings section picker (`