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
@@ -766,6 +766,8 @@ const admin: TranslationStrings = {
'admin.addons.catalog.roadtrip.name': 'Viaje por carretera',
'admin.addons.catalog.roadtrip.description':
'Planifica trayectos con paradas: los tiempos de conducción y las horas de llegada se recalculan solos',
'admin.addons.catalog.tours.name': 'Excursiones',
'admin.addons.catalog.tours.description': 'Senderismo, rutas en bici y otras excursiones que siguen un recorrido',
'admin.oidcOnlyMode': 'Desactivar autenticación por contraseña',
'admin.oidcOnlyModeHint':
'Si está activado, solo se permite el inicio de sesión con SSO. El inicio de sesión y registro con contraseña se bloquean.',
+5 -2
View File
@@ -56,8 +56,11 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.rtInfoTitle': 'Cifras del trayecto',
'mobileTrip.rtDesktopNote':
'Estas cifras se ajustan en el escritorio, donde también puedes comparar rutas alternativas y hacer que un día siga una traza importada.',
'mobileTrip.rtPlanOnDesktop':
'La planificación se hace en el escritorio. TREK calcula el trayecto en cuanto un día tiene dos lugares.',
'mobileTrip.planOnDesktop': 'Se planifica en el ordenador',
'mobileTrip.rtDriveOnTwoPlaces': 'TREK calcula el trayecto en cuanto un día tiene dos lugares.',
'mobileTrip.toursEmptyBody': 'Las excursiones guardadas aparecen aquí, listas para añadirlas a un día.',
'mobileTrip.toursCount': '{count} excursiones',
'mobileTrip.toursCount.one': '{count} excursión',
'mobileTrip.rtSearchOffline': 'Hace falta conexión: la búsqueda lee la ruta que queda por delante.',
'mobileTrip.rtBehind': '{time} de retraso sobre lo previsto',
'mobileTrip.rtStart': 'Inicio',
-1
View File
@@ -1,7 +1,6 @@
import type { TranslationStrings } from '../types';
const nav: TranslationStrings = {
'nav.trip': 'Viaje',
'nav.settings': 'Ajustes',
'nav.admin': 'Administración',
'nav.logout': 'Cerrar sesión',
-2
View File
@@ -200,8 +200,6 @@ const tours: TranslationStrings = {
'tours.planner.inspector.profileFocus': 'A {distance}: {elevation}',
'tours.planner.inspector.elevationPlaceholder': 'El perfil se muestra cuando hay datos de altitud de la ruta.',
'tours.planner.gpxNoGeometry': 'La geometría de la ruta no está disponible para esta importación GPX.',
'tours.planner.mobileHint':
'La planificación de excursiones está disponible en tabletas y ordenadores. Aquí puedes consultar las excursiones guardadas y asignarlas a un día.',
'tourTypes.hike': 'Senderismo',
'tourTypes.bike': 'Ruta en bicicleta',
'tourTypes.run': 'Carrera a pie',