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 -13
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': '通知チャネルを1つ選択してください。同時に有効にできるのは1つだけです。',
'admin.notifications.none': '無効',
'admin.notifications.email': 'メール(SMTP)',
@@ -116,6 +118,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': '認証方法',
@@ -173,10 +177,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': '設定中',
@@ -298,8 +300,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': '既定値を保存しました',
@@ -733,14 +736,6 @@ const admin: TranslationStrings = {
'admin.addons.toast.updated': 'アドオンを更新しました',
'admin.addons.toast.error': 'アドオンの更新に失敗しました',
'admin.addons.group.count': '{total} 件中 {enabled} 件が有効',
'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.subOptionsOn': '{count}件が有効',
'admin.toursWanderer.title': 'wanderer',
'admin.toursWanderer.subtitle':
'ユーザーが自分のwandererインスタンスを接続し、そのトレイルをツアーとしてインポートできます',
@@ -766,7 +761,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': 'すべてのユーザーのAPIトークンを管理',
'admin.mcpTokens.sectionTitle': 'API トークン',
@@ -879,7 +874,6 @@ const admin: TranslationStrings = {
'自分のキーを入力していないすべてのユーザーに使用されます。これによりインスタンス全体で透かしのない CARTO タイルを利用できます。暗号化して保存されます。',
'admin.group.users': 'ユーザー',
'admin.group.config': '設定',
'admin.group.integration': '連携',
'admin.group.maintenance': 'メンテナンス',
'admin.invite.tripLabel': '旅行に追加(任意)',
'admin.invite.tripNone': '旅行なし',
-1
View File
@@ -39,7 +39,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時間',