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
+9 -19
View File
@@ -2,6 +2,8 @@ import type { TranslationStrings } from '../types';
const admin: TranslationStrings = {
'admin.notifications.title': 'התראות',
'admin.notifications.channels': 'ערוצים',
'admin.notifications.adminAlerts': 'התראות מנהל',
'admin.notifications.hint': 'בחרו ערוץ התראות אחד. רק אחד יכול להיות פעיל בכל פעם.',
'admin.notifications.none': 'מושבת',
'admin.notifications.email': 'אימייל (SMTP)',
@@ -71,7 +73,7 @@ const admin: TranslationStrings = {
'admin.tabs.categories': 'קטגוריות',
'admin.tabs.backup': 'גיבוי',
'admin.tabs.notifications': 'התראות',
'admin.tabs.audit': 'יומן ביקורת',
'admin.tabs.audit': 'ביקורת',
'admin.stats.users': 'משתמשים',
'admin.stats.users.one': 'משתמש',
'admin.stats.users.two': 'משתמשים',
@@ -128,6 +130,8 @@ const admin: TranslationStrings = {
'admin.invite.createError': 'יצירת קישור ההזמנה נכשלה',
'admin.invite.deleteError': 'מחיקת קישור ההזמנה נכשלה',
'admin.tabs.settings': 'הגדרות',
'admin.tabs.security': 'אבטחה',
'admin.tabs.services': 'שירותים',
'admin.allowRegistration': 'אפשור הרשמה',
'admin.allowRegistrationHint': 'משתמשים חדשים יכולים להירשם בעצמם',
'admin.authMethods': 'שיטות אימות',
@@ -185,10 +189,8 @@ const admin: TranslationStrings = {
'admin.trekApi.included': 'כלול',
'admin.trekApi.notIncluded': 'לא כלול',
'admin.trekApi.quota.title': 'המכסה של היום',
'admin.trekApi.quota.used': 'בשימוש',
'admin.trekApi.quota.remaining': 'נותר',
'admin.trekApi.quota.resets': 'מתאפס ב',
'admin.trekApi.quota.limit': 'מגבלה יומית',
'admin.trekApi.quota.key': 'מפתח',
'admin.trekApi.quota.state.connected': 'מחובר',
'admin.trekApi.quota.state.registering': 'בהגדרה',
@@ -306,8 +308,9 @@ const admin: TranslationStrings = {
'admin.collab.whatsnext.title': 'מה הלאה',
'admin.collab.whatsnext.subtitle': 'הצעות לפעילויות וצעדים הבאים',
'admin.tabs.config': 'התאמה אישית',
'admin.tabs.defaults': 'ברירות מחדל למשתמשים',
'admin.tabs.defaults': 'ברירות־מחדל',
'admin.defaultSettings.title': 'הגדרות ברירת מחדל למשתמשים',
'admin.defaultSettings.routing': 'ניתוב',
'admin.defaultSettings.description':
'הגדירו ברירות מחדל לכל המופע. משתמשים שלא שינו הגדרה יראו את הערכים האלה. השינויים שלהם תמיד קודמים.',
'admin.defaultSettings.saved': 'ברירת המחדל נשמרה',
@@ -353,7 +356,7 @@ const admin: TranslationStrings = {
'admin.packingTemplates.deleteCategoryError': 'מחיקת הקטגוריה נכשלה',
'admin.packingTemplates.deleteItemError': 'מחיקת הפריט נכשלה',
'admin.packingTemplates.saveError': 'השמירה נכשלה',
'admin.tabs.addons': 'תוספים מובנים',
'admin.tabs.addons': 'תוספים',
'admin.tabs.plugins': 'תוספים',
'admin.tabs.storage': 'אחסון',
'admin.plugins.rescan': 'סריקה מחדש',
@@ -758,18 +761,6 @@ const admin: TranslationStrings = {
'admin.addons.toast.updated': 'התוסף עודכן',
'admin.addons.toast.error': 'עדכון התוסף נכשל',
'admin.addons.group.count': '{enabled} מתוך {total} מופעלים',
'admin.addons.search': 'חיפוש תוספים',
'admin.addons.filter': 'הצגה',
'admin.addons.filter.all': 'הכול',
'admin.addons.filter.on': 'פועלים',
'admin.addons.filter.off': 'כבויים',
'admin.addons.noMatch': 'אין תוסף שמתאים לחיפוש או למסנן.',
'admin.addons.subOptions': '{count} אפשרויות',
'admin.addons.subOptions.one': 'אפשרות אחת',
'admin.addons.subOptions.two': 'שתי אפשרויות',
'admin.addons.subOptionsOn': '{count} פועלות',
'admin.addons.subOptionsOn.one': 'אחת פועלת',
'admin.addons.subOptionsOn.two': 'שתיים פועלות',
'admin.toursWanderer.title': 'wanderer',
'admin.toursWanderer.subtitle': 'משתמשים יכולים לחבר מופע wanderer משלהם ולייבא את השבילים שלו כמסלולים',
'admin.toursHikingMap.title': 'מפת הליכה (OpenHikingMap)',
@@ -794,7 +785,7 @@ const admin: TranslationStrings = {
'admin.weather.requestsDesc': 'חינם, בלי מפתח API',
'admin.weather.locationHint':
'מזג האוויר מבוסס על המקום הראשון עם קואורדינטות בכל יום. אם לא שויך מקום ליום, משמש כנקודת ייחוס מקום כלשהו מרשימת המקומות.',
'admin.tabs.mcpTokens': 'גישת MCP',
'admin.tabs.mcpTokens': 'MCP',
'admin.mcpTokens.title': 'גישת MCP',
'admin.mcpTokens.subtitle': 'ניהול הפעלות OAuth ואסימוני API של כל המשתמשים',
'admin.mcpTokens.sectionTitle': 'אסימוני API',
@@ -890,7 +881,6 @@ const admin: TranslationStrings = {
'admin.passkey.resetDone.two': 'הוסרו שני מפתחות גישה',
'admin.group.users': 'משתמשים',
'admin.group.config': 'הגדרות',
'admin.group.integration': 'שילובים',
'admin.group.maintenance': 'תחזוקה',
'admin.invite.tripLabel': 'הוספה לטיול (לא חובה)',
'admin.invite.tripNone': 'ללא טיול',
-1
View File
@@ -37,7 +37,6 @@ const mailAdmin: TranslationStrings = {
'mailAdmin.problem.portInvalid': 'הזינו פורט בין 1 ל-65535.',
'mailAdmin.problem.templateToken': 'הכתובת צריכה {token} במקום הקוד של כל אדם.',
'mailAdmin.problem.dailyInvalid': 'הזינו מספר שלם בין 0 ל-1000.',
'mailAdmin.status.title': 'סטטוס',
'mailAdmin.status.lastRead': 'נקרא לאחרונה {time}',
'mailAdmin.status.never': 'אף פעם',
'mailAdmin.status.mails': 'דוא״ל, 24 שעות',