feat(settings): one look for every user and admin settings page

The settings pages had grown into a mix of styles: folds, dialogs behind
rows, full-width rows next to boxed ones, pills for every figure and buttons
in four sizes. Every page now uses the same kit.

- Cards keep their tinted head band; every part of a card is a rounded block
  with its own small head (SettingsBlock), and rows sit in rounded boxes.
- Nothing folds and nothing hides behind a dialog: the MCP config, OAuth
  scopes, mail how-to, AI privacy note and addon sub-options are all shown.
- Each page is split into two columns balanced by length (SettingsColumns).
- Long explanations moved into an info mark next to the label (HintMark).
- One button size everywhere (text-control); tab names are one word.
- Admin: the old Settings tab is split into Security and Services
  (?tab=settings still opens Security, and the phone keeps its single
  Settings section for both); the Integration group is gone, live flights
  and mail import sit next to the addons they configure.
- Addons: one card per type with rows, no search, filter or fold.
- Quota, TREK API facts, mail import status and Google's daily limit are
  compact lines and strips instead of tiles and pills.
- Language is a select; routing has its own card under the defaults;
  storage saves from the foot of its categories card.
- Unused keys, FoldSummary and the page-width wrapper are removed.
This commit is contained in:
Maurice
2026-11-13 23:18:28 +01:00
parent 5fe3dea4cc
commit 94ac7673a5
138 changed files with 1299 additions and 2188 deletions
+7 -15
View File
@@ -2,6 +2,8 @@ import type { TranslationStrings } from '../types';
const admin: TranslationStrings = {
'admin.notifications.title': 'Meldingen',
'admin.notifications.channels': 'Kanalen',
'admin.notifications.adminAlerts': 'Beheermeldingen',
'admin.notifications.hint': 'Kies een meldingskanaal. Er kan er slechts één tegelijk actief zijn.',
'admin.notifications.none': 'Uitgeschakeld',
'admin.notifications.email': 'E-mail (SMTP)',
@@ -75,6 +77,8 @@ const admin: TranslationStrings = {
'admin.invite.createError': 'Fout bij aanmaken van link',
'admin.invite.deleteError': 'Fout bij verwijderen van link',
'admin.tabs.settings': 'Instellingen',
'admin.tabs.security': 'Beveiliging',
'admin.tabs.services': 'Diensten',
'admin.allowRegistration': 'Registratie toestaan',
'admin.allowRegistrationHint': 'Nieuwe gebruikers kunnen zichzelf registreren',
'admin.authMethods': 'Authenticatiemethoden',
@@ -136,10 +140,8 @@ const admin: TranslationStrings = {
'admin.trekApi.included': 'Inbegrepen',
'admin.trekApi.notIncluded': 'Niet inbegrepen',
'admin.trekApi.quota.title': 'Tegoed vandaag',
'admin.trekApi.quota.used': 'Gebruikt',
'admin.trekApi.quota.remaining': 'Resterend',
'admin.trekApi.quota.resets': 'Wordt gereset om',
'admin.trekApi.quota.limit': 'Limiet',
'admin.trekApi.quota.key': 'Sleutel',
'admin.trekApi.quota.state.connected': 'Verbonden',
'admin.trekApi.quota.state.registering': 'Wordt ingericht',
@@ -263,8 +265,9 @@ const admin: TranslationStrings = {
'admin.collab.whatsnext.title': 'Wat nu',
'admin.collab.whatsnext.subtitle': 'Activiteitssuggesties en volgende stappen',
'admin.tabs.config': 'Personalisatie',
'admin.tabs.defaults': 'Standaardinstellingen',
'admin.tabs.defaults': 'Standaarden',
'admin.defaultSettings.title': 'Standaard gebruikersinstellingen',
'admin.defaultSettings.routing': 'Routeplanning',
'admin.defaultSettings.description':
'Stel instantiebrede standaardwaarden in. Gebruikers die een instelling niet hebben gewijzigd, zien deze waarden. Hun eigen wijzigingen hebben altijd voorrang.',
'admin.defaultSettings.saved': 'Standaard opgeslagen',
@@ -724,16 +727,6 @@ const admin: TranslationStrings = {
'admin.addons.toast.updated': 'Add-on bijgewerkt',
'admin.addons.toast.error': 'Add-on bijwerken mislukt',
'admin.addons.group.count': '{enabled} van {total} ingeschakeld',
'admin.addons.search': 'Add-ons zoeken',
'admin.addons.filter': 'Tonen',
'admin.addons.filter.all': 'Alle',
'admin.addons.filter.on': 'Aan',
'admin.addons.filter.off': 'Uit',
'admin.addons.noMatch': 'Geen add-on past bij de zoekopdracht of het filter.',
'admin.addons.subOptions': '{count} opties',
'admin.addons.subOptions.one': '{count} optie',
'admin.addons.subOptionsOn': '{count} aan',
'admin.addons.subOptionsOn.one': '{count} aan',
'admin.toursWanderer.title': 'wanderer',
'admin.toursWanderer.subtitle':
'Gebruikers kunnen hun eigen wanderer-instantie koppelen en de wandelroutes daarvan als tochten importeren',
@@ -759,7 +752,7 @@ const admin: TranslationStrings = {
'admin.weather.requestsDesc': 'Gratis, geen API-sleutel vereist',
'admin.weather.locationHint':
'Het weer is gebaseerd op de eerste plaats met coördinaten op elke dag. Als er geen plaats aan een dag is toegewezen, wordt een plaats uit de lijst als referentie gebruikt.',
'admin.tabs.mcpTokens': 'MCP-toegang',
'admin.tabs.mcpTokens': 'MCP',
'admin.mcpTokens.title': 'MCP-toegang',
'admin.mcpTokens.subtitle': 'OAuth-sessies en API-tokens van alle gebruikers beheren',
'admin.mcpTokens.sectionTitle': 'API-tokens',
@@ -931,7 +924,6 @@ const admin: TranslationStrings = {
'Wordt gebruikt voor elke gebruiker die nog geen eigen sleutel heeft ingevoerd, zo krijgt de hele instantie CARTO-tegels zonder watermerk. Versleuteld opgeslagen.',
'admin.group.users': 'Gebruikers',
'admin.group.config': 'Configuratie',
'admin.group.integration': 'Integraties',
'admin.group.maintenance': 'Onderhoud',
'admin.invite.tripLabel': 'Toevoegen aan reis (optioneel)',
'admin.invite.tripNone': 'Geen reis',
-1
View File
@@ -39,7 +39,6 @@ const mailAdmin: TranslationStrings = {
'mailAdmin.problem.portInvalid': 'Voer een poort in tussen 1 en 65535.',
'mailAdmin.problem.templateToken': 'Het adres heeft {token} nodig voor de code van elke persoon.',
'mailAdmin.problem.dailyInvalid': 'Voer een geheel getal van 0 tot 1000 in.',
'mailAdmin.status.title': 'Status', // same-as-en
'mailAdmin.status.lastRead': 'Laatst gelezen {time}',
'mailAdmin.status.never': 'nooit',
'mailAdmin.status.mails': 'Mails, 24 u',