From 7743e4da161ed56816de824488bf52df679fce18 Mon Sep 17 00:00:00 2001 From: Maurice Date: Thu, 5 Nov 2026 13:02:27 +0100 Subject: [PATCH] fix(managed): read the wanderer as off on managed, keep the replica alerts mutable, and drop dead guards --- .../screens/admin/MAdminSettingsSection.tsx | 15 +++++--------- client/src/pages/admin/AdminSettingsTab.tsx | 20 +++++++++---------- server/src/nest/addons/addons.service.ts | 7 ++++++- .../storage-health-notifier.service.ts | 12 +++++++++++ server/tests/unit/nest/addons.service.test.ts | 16 +++++++++++++++ .../storage-health-notifier.service.test.ts | 18 ++++++++++++++++- 6 files changed, 65 insertions(+), 23 deletions(-) diff --git a/client/src/mobile/screens/admin/MAdminSettingsSection.tsx b/client/src/mobile/screens/admin/MAdminSettingsSection.tsx index 9253d8ad2..9aa9856ce 100644 --- a/client/src/mobile/screens/admin/MAdminSettingsSection.tsx +++ b/client/src/mobile/screens/admin/MAdminSettingsSection.tsx @@ -192,7 +192,8 @@ export default function MAdminSettingsSection({ admin, t }: MAdminSettingsSectio {/* API keys, place search and routing: the operator's on a managed install, - same as the desktop tab. Share place details has its own section there. */} + same as the desktop tab, so the whole card is left out. Unlike the desktop + tab, the phone has no share place details section for a managed install. */} {!managed && ( @@ -204,9 +205,6 @@ export default function MAdminSettingsSection({ admin, t }: MAdminSettingsSectio laptop. */} - {/* The keys belong to the operator on a managed install, same as on the - desktop tab; the provider choice below stays the admin's. */} - {!managed && (<> {/* Said before the field, not after it: somebody about to paste a key should read this while deciding, not once they already have. */} @@ -325,7 +323,6 @@ export default function MAdminSettingsSection({ admin, t }: MAdminSettingsSectio {...keyInputProps('unsplash')} /> - )} {/* The app's own picker rather than a bare