mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +00:00
feat(settings): collapsible settings cards, first on the integrations tab
The settings pages list everything at once, so they read as a wall of
forms. SettingsCard and Section take 'collapsible': the card starts shut
and its badge says its state ('Connected', 'Not set up'); its title is the
button, stretched over the head, the head's action stays its own button.
The body stays mounted while shut. A link to #id opens the card and
scrolls to it; the browser remembers a card left open.
Every integrations card is collapsible now; AI parsing shows its saved
model and MCP the apps signed in. The assistant's settings link opens the
AI connection card. Tests that read into a card open it first
(tests/helpers/settingsCards.ts).
This commit is contained in:
@@ -75,6 +75,13 @@ const settings: TranslationStrings = {
|
||||
'settings.weatherKeyHint': 'لبيانات الطقس.',
|
||||
'settings.keyPlaceholder': 'أدخل المفتاح...',
|
||||
'settings.configured': 'مُعدّ',
|
||||
'settings.notSetUp': 'غير مُعدّ',
|
||||
'settings.mcp.appsConnected': '{count} تطبيق متصل',
|
||||
'settings.mcp.appsConnected.zero': '{count} تطبيقات متصلة',
|
||||
'settings.mcp.appsConnected.one': '{count} تطبيق متصل',
|
||||
'settings.mcp.appsConnected.two': '{count} تطبيقان متصلان',
|
||||
'settings.mcp.appsConnected.few': '{count} تطبيقات متصلة',
|
||||
'settings.mcp.appsConnected.many': '{count} تطبيقًا متصلًا',
|
||||
'settings.saveKeys': 'حفظ المفاتيح',
|
||||
'settings.display': 'العرض',
|
||||
'settings.colorMode': 'نمط الألوان',
|
||||
|
||||
Reference in New Issue
Block a user