feat(mobile): phone styling for tours list, trip settings and admin cards

The tours list in the places browser now uses the same rows as places: a
grade or type tile, the day plan's figure badges and a day badge or plus on
the right. A shared "Planned on desktop" badge replaces the grey hint box
there and sits under the road trip's empty stage.

Trip settings and trip edit open phone sheets instead of the desktop
dialogs; the edit sheet gains the day count of a dateless trip and the
reminder. Questions are asked in phone sheets, not the browser.

Admin on the phone: the paddle regions and school holiday cards are phone
cards on their shared hooks, long addon descriptions fold to two lines,
the addon header keeps the wordmark inside its sentence, the group bands
drop the dash and the permissions actions get a row of their own. The
Tours addon gets its catalog name and description in every locale.

The journey map on the phone shows every layer without the switch bar.
This commit is contained in:
Maurice
2026-10-22 21:26:41 +02:00
parent bb3c0151d5
commit 49afee161d
151 changed files with 2660 additions and 899 deletions
+2
View File
@@ -383,6 +383,8 @@ const admin: TranslationStrings = {
'admin.addons.catalog.roadtrip.name': 'Viatge per carretera',
'admin.addons.catalog.roadtrip.description':
'Planifica trajectes amb parades: els temps de conducció i les hores d’arribada es recalculen sols',
'admin.addons.catalog.tours.name': 'Excursions',
'admin.addons.catalog.tours.description': 'Caminades, sortides en bici i altres excursions que segueixen una ruta',
'admin.addons.catalog.collections.name': 'Col·leccions',
'admin.addons.catalog.collections.description': 'Recull llocs de qualsevol viatge en llistes amb nom i reutilitza’ls',
'admin.oidcOnlyMode': 'Desactivar autenticació per contrasenya',
+5 -2
View File
@@ -56,8 +56,11 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.rtInfoTitle': 'Dades de conducció',
'mobileTrip.rtDesktopNote':
'Aquestes dades es configuren a l’escriptori, on també pots comparar rutes alternatives i fer que un dia segueixi una traça importada.',
'mobileTrip.rtPlanOnDesktop':
'La planificació es fa a l’escriptori. TREK calcula el trajecte quan un dia té dos llocs.',
'mobileTrip.planOnDesktop': 'Es planifica a l’ordinador',
'mobileTrip.rtDriveOnTwoPlaces': 'TREK calcula el trajecte quan un dia té dos llocs.',
'mobileTrip.toursEmptyBody': 'Les excursions desades apareixen aquí, a punt per afegir-les a un dia.',
'mobileTrip.toursCount': '{count} excursions',
'mobileTrip.toursCount.one': '{count} excursió',
'mobileTrip.rtSearchOffline': 'Cal connexió: la cerca llegeix la ruta que tens per endavant.',
'mobileTrip.rtBehind': '{time} de retard sobre el pla',
'mobileTrip.rtStart': 'Inici',
-1
View File
@@ -1,7 +1,6 @@
import type { TranslationStrings } from '../types';
const nav: TranslationStrings = {
'nav.trip': 'Viatge',
'nav.settings': 'Configuració',
'nav.admin': 'Administració',
'nav.logout': 'Tanca la sessió',
-2
View File
@@ -200,8 +200,6 @@ const tours: TranslationStrings = {
'tours.planner.inspector.elevationPlaceholder':
"El perfil es mostra quan hi ha dades d'altitud de la ruta disponibles.",
'tours.planner.gpxNoGeometry': 'La geometria de la ruta no està disponible per a aquesta importació GPX.',
'tours.planner.mobileHint':
'La planificació d’excursions està disponible en tauletes i ordinadors. Aquí pots consultar les excursions desades i assignar-les a un dia.',
'tourTypes.hike': 'Senderisme',
'tourTypes.bike': 'Ruta en bicicleta',
'tourTypes.run': 'Córrer',