feat(mobile): the admin services section gets what the desktop tab has

- Place search and routing as one card, as on the desktop: TREK's own
  services, today's allowance with a new identity behind a confirm sheet
  (MAdminServiceQuota), sharing place details (MAdminPlaceContrib), the transit
  backend and the place search provider as TREK selects, and the search log.
- The key card holds Google (with its options and the daily request cap,
  MAdminGoogleDailyLimit), Unsplash and Amap, in the desktop order.
- The logic both views need moves into one place: the transit switch into
  useAdminSettingsActions, the allowance figures into serviceIdentityModel,
  and the share-place-details panel into usePlaceContribPanel.
- MAdminSettingsSection renders each section in a function of its own.
- Tests follow the split admin sections (Save order, 2FA label, field marker).
This commit is contained in:
Maurice
2026-11-14 11:09:22 +01:00
parent dbda2d7d7c
commit a3620f9e05
19 changed files with 1027 additions and 260 deletions
+1 -1
View File
@@ -160,7 +160,7 @@
"mobile/screens/admin/MAdminPackingTemplateManager.tsx": 8,
"mobile/screens/admin/MAdminPermissionsPanel.tsx": 1,
"mobile/screens/admin/MAdminPluginsPanel.tsx": 128,
"mobile/screens/admin/MAdminSettingsSection.tsx": 9,
"mobile/screens/admin/MAdminSettingsSection.tsx": 2,
"mobile/screens/admin/MAdminSheets.tsx": 11,
"mobile/screens/admin/MAdminStoragePanel.tsx": 42,
"mobile/screens/admin/MAdminUi.tsx": 7,