The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix: integrations settings squish on mobile (#812) + polish
Maurice069269e69cb0
diff --git a/client/src/components/Settings/DisplaySettingsTab.test.tsx b/client/src/components/Settings/DisplaySettingsTab.test.tsxindex 4c770e6c3..d0ff467eb 100644--- a/client/src/components/Settings/DisplaySettingsTab.test.tsx+++ b/client/src/components/Settings/DisplaySettingsTab.test.tsx@@ -155,7 +155,9 @@ describe('DisplaySettingsTab', () => {const updateSetting = vi.fn().mockResolvedValue(undefined);seedStore(useSettingsStore, { settings: buildSettings({ time_format: '12h' }), updateSetting });render(<DisplaySettingsTab />);- await user.click(screen.getByText('24h (14:30)'));+ // The label is split across a text node ('24h') and a responsive span (' (14:30)').+ // Click the button that contains the 24h text instead of matching the full string.+ await user.click(screen.getByRole('button', { name: /24h/ }));expect(updateSetting).toHaveBeenCalledWith('time_format', '24h');});diff --git a/client/src/components/Settings/DisplaySettingsTab.tsx b/client/src/components/Settings/DisplaySettingsTab.tsxindex 0eaec1ca7..575041f9c 100644--- a/client/src/components/Settings/DisplaySettingsTab.tsx+++ b/client/src/components/Settings/DisplaySettingsTab.tsx@@ -188,8 +188,8 @@ export default function DisplaySettingsTab(): React.ReactElement {<label className="block text-sm font-medium mb-2" style={{ color: 'var(--text-secondary)' }}>{t('settings.timeFormat')}</label><div className="flex gap-3">{[- { value: '24h', label: '24h (14:30)' },- { value: '12h', label: '12h (2:30 PM)' },+ { value: '24h', short: '24h', example: '14:30' },+ { value: '12h', short: '12h', example: '2:30 PM' },].map(opt => (<buttonkey={opt.value}@@ -207,7 +207,8 @@ export default function DisplaySettingsTab(): React.ReactElement {transition: 'all 0.15s',}}>- {opt.label}+ {opt.short}+ <span className="hidden sm:inline">{` (${opt.example})`}</span></button>))}</div>diff --git a/client/src/components/Settings/MapSettingsTab.tsx b/client/src/components/Settings/MapSettingsTab.tsxindex 579973aea..d1bea396d 100644--- a/client/src/components/Settings/MapSettingsTab.tsx+++ b/client/src/components/Settings/MapSettingsTab.tsx@@ -240,14 +240,18 @@ export default function MapSettingsTab(): React.ReactElement {: 'border-slate-200 hover:border-slate-400 dark:border-slate-700'}`}>- <span className="absolute top-2 right-2 text-[9px] font-semibold tracking-wide uppercase px-1.5 py-[3px] rounded bg-amber-100 text-amber-800 dark:bg-amber-900/40 dark:text-amber-300 leading-none">- {t('settings.mapExperimental')}- </span><Box size={18} className="mt-0.5 flex-shrink-0 text-slate-700 dark:text-slate-300" />- <div>- <div className="text-sm font-medium text-slate-900 dark:text-white">Mapbox GL</div>+ <div className="min-w-0">+ <div className="text-sm font-medium text-slate-900 dark:text-white">+ <span className="sm:hidden">Mapbox</span>+ <span className="hidden sm:inline">Mapbox GL</span>+ </div><div className="hidden sm:block text-xs text-slate-500 mt-0.5">{t('settings.mapMapboxSubtitle')}</div></div>+ {/* Experimental badge only on ≥sm; on mobile there's no room next to the title. */}+ <span className="hidden sm:inline-block absolute top-2 right-2 text-[9px] font-semibold tracking-wide uppercase px-1.5 py-[3px] rounded bg-amber-100 text-amber-800 dark:bg-amber-900/40 dark:text-amber-300 leading-none">+ {t('settings.mapExperimental')}+ </span></button></div><p className="text-xs text-slate-400 mt-2">diff --git a/client/src/components/Settings/PhotoProvidersSection.tsx b/client/src/components/Settings/PhotoProvidersSection.tsxindex 042d5e6ad..bd1659a7a 100644--- a/client/src/components/Settings/PhotoProvidersSection.tsx+++ b/client/src/components/Settings/PhotoProvidersSection.tsx@@ -5,6 +5,7 @@ import { useToast } from '../../components/shared/Toast'import apiClient from '../../api/client'import { useAddonStore } from '../../store/addonStore'import Section from './Section'+import ToggleSwitch from './ToggleSwitch'interface ProviderField {key: string@@ -222,15 +223,13 @@ export default function PhotoProvidersSection(): React.ReactElement {{fields.map(field => (<div key={`${provider.id}-${field.key}`}>{field.input_type === 'checkbox' ? (- <label className="flex items-center gap-2 cursor-pointer select-none">- <input- type="checkbox"- checked={values[field.key] === 'true'}- onChange={e => handleProviderFieldChange(provider.id, field.key, e.target.checked ? 'true' : 'false')}- className="w-4 h-4 rounded border-slate-300 accent-slate-900"+ <div className="flex items-center gap-3">+ <ToggleSwitch+ on={values[field.key] === 'true'}+ onToggle={() => handleProviderFieldChange(provider.id, field.key, values[field.key] === 'true' ? 'false' : 'true')}/><span className="text-sm font-medium text-slate-700">{t(`memories.${field.label}`)}</span>- </label>+ </div>) : (<><label className="block text-sm font-medium text-slate-700 mb-1.5">{t(`memories.${field.label}`)}</label>@@ -248,7 +247,9 @@ export default function PhotoProvidersSection(): React.ReactElement {)}</div>))}- <div className="flex items-center gap-3">+ {/* Wraps on mobile so the connection badge drops to its own row+ instead of clipping off the side of the card. */}+ <div className="flex flex-wrap items-center gap-3"><buttononClick={() => handleSaveProvider(provider)}disabled={!canSave || !!saving[provider.id] || isProviderSaveDisabled(provider)}@@ -266,15 +267,17 @@ export default function PhotoProvidersSection(): React.ReactElement {{testing? <div className="w-4 h-4 border-2 border-slate-300 border-t-slate-700 rounded-full animate-spin" />: <Camera className="w-4 h-4" />}- {t('memories.testConnection')}+ <span className="sm:hidden">{t('memories.testShort')}</span>+ <span className="hidden sm:inline">{t('memories.testConnection')}</span></button>+ {/* On mobile the badge sits on its own row thanks to flex-wrap, so force a line break via basis-full. */}{connected ? (- <span className="text-xs font-medium text-green-600 flex items-center gap-1">+ <span className="basis-full sm:basis-auto text-xs font-medium text-green-600 flex items-center gap-1"><span className="w-2 h-2 bg-green-500 rounded-full" />{t('memories.connected')}</span>) : (- <span className="text-xs font-medium text-slate-400 flex items-center gap-1">+ <span className="basis-full sm:basis-auto text-xs font-medium text-slate-400 flex items-center gap-1"><span className="w-2 h-2 bg-slate-300 rounded-full" />{t('memories.disconnected')}</span>diff --git a/client/src/components/Settings/ToggleSwitch.tsx b/client/src/components/Settings/ToggleSwitch.tsxindex 562d72389..b74e55137 100644--- a/client/src/components/Settings/ToggleSwitch.tsx+++ b/client/src/components/Settings/ToggleSwitch.tsx@@ -2,9 +2,10 @@ import React from 'react'export default function ToggleSwitch({ on, onToggle }: { on: boolean; onToggle: () => void }) {return (- <button onClick={onToggle}+ <button type="button" onClick={onToggle}style={{- position: 'relative', width: 44, height: 24, borderRadius: 12, border: 'none', cursor: 'pointer',+ position: 'relative', width: 44, height: 24, minWidth: 44, flexShrink: 0,+ borderRadius: 12, border: 'none', padding: 0, cursor: 'pointer',background: on ? 'var(--accent, #111827)' : 'var(--border-primary, #d1d5db)',transition: 'background 0.2s',}}>diff --git a/client/src/i18n/translations/ar.ts b/client/src/i18n/translations/ar.tsindex 10e55874d..896f3434f 100644--- a/client/src/i18n/translations/ar.ts+++ b/client/src/i18n/translations/ar.ts@@ -1623,6 +1623,7 @@ const ar: Record<string, string | { name: string; category: string }[]> = {'memories.immichAutoUpload': 'نسخ صور الرحلة إلى Immich عند الرفع','memories.providerUrlHintSynology': 'أدرج مسار تطبيق Photos في URL، مثل https://nas:5001/photo','memories.testConnection': 'اختبار الاتصال',+ 'memories.testShort': 'اختبار','memories.testFirst': 'اختبر الاتصال أولاً','memories.connected': 'متصل','memories.disconnected': 'غير متصل',diff --git a/client/src/i18n/translations/br.ts b/client/src/i18n/translations/br.tsindex c76021493..40ebc5916 100644--- a/client/src/i18n/translations/br.ts+++ b/client/src/i18n/translations/br.ts@@ -1662,6 +1662,7 @@ const br: Record<string, string | { name: string; category: string }[]> = {'memories.immichAutoUpload': 'Espelhar fotos da jornada no Immich ao enviar','memories.providerUrlHintSynology': 'Inclua o caminho do aplicativo Photos na URL, ex. https://nas:5001/photo','memories.testConnection': 'Testar conexão',+ 'memories.testShort': 'Testar','memories.testFirst': 'Teste a conexão primeiro','memories.connected': 'Conectado','memories.disconnected': 'Não conectado',diff --git a/client/src/i18n/translations/cs.ts b/client/src/i18n/translations/cs.tsindex b7bb0d271..a4881622d 100644--- a/client/src/i18n/translations/cs.ts+++ b/client/src/i18n/translations/cs.ts@@ -1621,6 +1621,7 @@ const cs: Record<string, string | { name: string; category: string }[]> = {'memories.immichAutoUpload': 'Zrcadlit fotky journey při nahrávání také do Immich','memories.providerUrlHintSynology': 'Zahrňte cestu aplikace Photos do URL, např. https://nas:5001/photo','memories.testConnection': 'Otestovat připojení',+ 'memories.testShort': 'Otestovat','memories.testFirst': 'Nejprve otestujte připojení','memories.connected': 'Připojeno','memories.disconnected': 'Nepřipojeno',diff --git a/client/src/i18n/translations/de.ts b/client/src/i18n/translations/de.tsindex 43586bd7c..adb4f980f 100644--- a/client/src/i18n/translations/de.ts+++ b/client/src/i18n/translations/de.ts@@ -1625,6 +1625,7 @@ const de: Record<string, string | { name: string; category: string }[]> = {'memories.immichAutoUpload': 'Journey-Fotos beim Upload auch zu Immich spiegeln','memories.providerUrlHintSynology': 'Füge den Fotos-App-Pfad in die URL ein, z.B. https://nas:5001/photo','memories.testConnection': 'Verbindung testen',+ 'memories.testShort': 'Testen','memories.testFirst': 'Verbindung zuerst testen','memories.connected': 'Verbunden','memories.disconnected': 'Nicht verbunden',diff --git a/client/src/i18n/translations/en.ts b/client/src/i18n/translations/en.tsindex a50ffcc35..21236211c 100644--- a/client/src/i18n/translations/en.ts+++ b/client/src/i18n/translations/en.ts@@ -1698,6 +1698,7 @@ const en: Record<string, string | { name: string; category: string }[]> = {'memories.immichAutoUpload': 'Mirror journey photos to Immich on upload','memories.providerUrlHintSynology': 'Include the Photos app path in the URL, e.g. https://nas:5001/photo','memories.testConnection': 'Test connection',+ 'memories.testShort': 'Test','memories.testFirst': 'Test connection first','memories.connected': 'Connected','memories.disconnected': 'Not connected',diff --git a/client/src/i18n/translations/es.ts b/client/src/i18n/translations/es.tsindex 95ad0364b..9bf98f25e 100644--- a/client/src/i18n/translations/es.ts+++ b/client/src/i18n/translations/es.ts@@ -1562,6 +1562,7 @@ const es: Record<string, string> = {'memories.immichAutoUpload': 'Duplicar las fotos del journey en Immich al subirlas','memories.providerUrlHintSynology': 'Incluye la ruta de la aplicación Photos en la URL, p.ej. https://nas:5001/photo','memories.testConnection': 'Probar conexión',+ 'memories.testShort': 'Probar','memories.testFirst': 'Probar conexión primero','memories.connected': 'Conectado','memories.disconnected': 'No conectado',diff --git a/client/src/i18n/translations/fr.ts b/client/src/i18n/translations/fr.tsindex bafb4a0ad..8f2ceff0a 100644--- a/client/src/i18n/translations/fr.ts+++ b/client/src/i18n/translations/fr.ts@@ -1619,6 +1619,7 @@ const fr: Record<string, string> = {'memories.immichAutoUpload': 'Répliquer les photos du journey vers Immich au téléversement','memories.providerUrlHintSynology': 'Incluez le chemin de l\'application Photos dans l\'URL, ex. https://nas:5001/photo','memories.testConnection': 'Tester la connexion',+ 'memories.testShort': 'Tester','memories.testFirst': 'Testez la connexion avant de sauvegarder','memories.connected': 'Connecté','memories.disconnected': 'Non connecté',diff --git a/client/src/i18n/translations/hu.ts b/client/src/i18n/translations/hu.tsindex 759c9cde1..f815e7d3d 100644--- a/client/src/i18n/translations/hu.ts+++ b/client/src/i18n/translations/hu.ts@@ -1690,6 +1690,7 @@ const hu: Record<string, string | { name: string; category: string }[]> = {'memories.immichAutoUpload': 'Journey-fotók feltöltésekor másolat Immich-be is','memories.providerUrlHintSynology': 'Adja meg a Photos alkalmazás elérési útját az URL-ben, pl. https://nas:5001/photo','memories.testConnection': 'Kapcsolat tesztelése',+ 'memories.testShort': 'Teszt','memories.testFirst': 'Először teszteld a kapcsolatot','memories.connected': 'Csatlakoztatva','memories.disconnected': 'Nincs csatlakoztatva',diff --git a/client/src/i18n/translations/id.ts b/client/src/i18n/translations/id.tsindex bd648f2b3..58c9d3a7f 100644--- a/client/src/i18n/translations/id.ts+++ b/client/src/i18n/translations/id.ts@@ -1682,6 +1682,7 @@ const id: Record<string, string | { name: string; category: string }[]> = {'memories.immichAutoUpload': 'Salin foto journey ke Immich saat diunggah','memories.providerUrlHintSynology': 'Sertakan path aplikasi Photos di URL, mis. https://nas:5001/photo','memories.testConnection': 'Uji koneksi',+ 'memories.testShort': 'Uji','memories.testFirst': 'Uji koneksi terlebih dahulu','memories.connected': 'Terhubung','memories.disconnected': 'Tidak terhubung',diff --git a/client/src/i18n/translations/it.ts b/client/src/i18n/translations/it.tsindex 64f1a304a..1538a0962 100644--- a/client/src/i18n/translations/it.ts+++ b/client/src/i18n/translations/it.ts@@ -1620,6 +1620,7 @@ const it: Record<string, string | { name: string; category: string }[]> = {'memories.immichAutoUpload': 'Rispecchia le foto del journey su Immich al caricamento','memories.providerUrlHintSynology': 'Includi il percorso dell\'app Foto nell\'URL, es. https://nas:5001/photo','memories.testConnection': 'Test connessione',+ 'memories.testShort': 'Prova','memories.testFirst': 'Testa prima la connessione','memories.connected': 'Connesso','memories.disconnected': 'Non connesso',diff --git a/client/src/i18n/translations/nl.ts b/client/src/i18n/translations/nl.tsindex 27637203d..27208c072 100644--- a/client/src/i18n/translations/nl.ts+++ b/client/src/i18n/translations/nl.ts@@ -1619,6 +1619,7 @@ const nl: Record<string, string> = {'memories.immichAutoUpload': 'Journey-foto\'s bij upload ook naar Immich spiegelen','memories.providerUrlHintSynology': 'Voeg het pad van de Photos-app toe aan de URL, bijv. https://nas:5001/photo','memories.testConnection': 'Verbinding testen',+ 'memories.testShort': 'Testen','memories.testFirst': 'Test eerst de verbinding','memories.connected': 'Verbonden','memories.disconnected': 'Niet verbonden',diff --git a/client/src/i18n/translations/pl.ts b/client/src/i18n/translations/pl.tsindex c5e5b502b..a68767847 100644--- a/client/src/i18n/translations/pl.ts+++ b/client/src/i18n/translations/pl.ts@@ -1571,6 +1571,7 @@ const pl: Record<string, string | { name: string; category: string }[]> = {'memories.immichAutoUpload': 'Przy przesyłaniu kopiuj zdjęcia journey także do Immich','memories.providerUrlHintSynology': 'Uwzględnij ścieżkę aplikacji Photos w URL, np. https://nas:5001/photo','memories.testConnection': 'Test',+ 'memories.testShort': 'Test','memories.connected': 'Połączono','memories.disconnected': 'Nie połączono','memories.connectionSuccess': 'Połączono z Immich',diff --git a/client/src/i18n/translations/ru.ts b/client/src/i18n/translations/ru.tsindex 515214c0f..095276213 100644--- a/client/src/i18n/translations/ru.ts+++ b/client/src/i18n/translations/ru.ts@@ -1619,6 +1619,7 @@ const ru: Record<string, string> = {'memories.immichAutoUpload': 'Дублировать фото journey в Immich при загрузке','memories.providerUrlHintSynology': 'Включите путь приложения Photos в URL, например https://nas:5001/photo','memories.testConnection': 'Проверить подключение',+ 'memories.testShort': 'Проверить','memories.testFirst': 'Сначала проверьте подключение','memories.connected': 'Подключено','memories.disconnected': 'Не подключено',diff --git a/client/src/i18n/translations/zh.ts b/client/src/i18n/translations/zh.tsindex c08ca9cb3..85e87090b 100644--- a/client/src/i18n/translations/zh.ts+++ b/client/src/i18n/translations/zh.ts@@ -1619,6 +1619,7 @@ const zh: Record<string, string> = {'memories.immichAutoUpload': '上传 Journey 照片时同步到 Immich','memories.providerUrlHintSynology': '在 URL 中包含照片应用路径,例如 https://nas:5001/photo','memories.testConnection': '测试连接',+ 'memories.testShort': '测试','memories.testFirst': '请先测试连接','memories.connected': '已连接','memories.disconnected': '未连接',diff --git a/client/src/i18n/translations/zhTw.ts b/client/src/i18n/translations/zhTw.tsindex 00120884b..a22a91a9b 100644--- a/client/src/i18n/translations/zhTw.ts+++ b/client/src/i18n/translations/zhTw.ts@@ -1679,6 +1679,7 @@ const zhTw: Record<string, string> = {'memories.immichAutoUpload': '上傳 Journey 照片時同步到 Immich','memories.providerUrlHintSynology': '在網址中包含照片應用程式路徑,例如 https://nas:5001/photo','memories.testConnection': '測試連線',+ 'memories.testShort': '測試','memories.testFirst': '請先測試連線','memories.connected': '已連線','memories.disconnected': '未連線',