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
@@ -621,6 +621,8 @@ const admin: TranslationStrings = {
'admin.addons.catalog.roadtrip.name': 'Viagem de carro',
'admin.addons.catalog.roadtrip.description':
'Planeje trajetos com paradas; tempos de direção e horários de chegada se recalculam sozinhos',
'admin.addons.catalog.tours.name': 'Passeios',
'admin.addons.catalog.tours.description': 'Trilhas, pedaladas e outros passeios que seguem uma rota',
'admin.addons.catalog.mcp.name': 'MCP',
'admin.addons.catalog.mcp.description': 'Model Context Protocol para integração com assistentes de IA',
'admin.addons.subtitleBefore': 'Ative ou desative recursos para personalizar sua ',
+5 -2
View File
@@ -56,8 +56,11 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.rtInfoTitle': 'Dados de condução',
'mobileTrip.rtDesktopNote':
'Esses dados são definidos no computador, onde você também pode comparar rotas alternativas e fazer um dia seguir uma trilha importada.',
'mobileTrip.rtPlanOnDesktop':
'O planejamento acontece no computador. O TREK calcula o trajeto assim que um dia tem dois locais.',
'mobileTrip.planOnDesktop': 'Planejado no computador',
'mobileTrip.rtDriveOnTwoPlaces': 'O TREK calcula o trajeto assim que um dia tem dois locais.',
'mobileTrip.toursEmptyBody': 'Os passeios salvos aparecem aqui, prontos para entrar em um dia.',
'mobileTrip.toursCount': '{count} passeios',
'mobileTrip.toursCount.one': '{count} passeio',
'mobileTrip.rtSearchOffline': 'Precisa de conexão: a busca lê a rota à frente.',
'mobileTrip.rtBehind': '{time} de atraso em relação ao plano',
'mobileTrip.rtStart': 'Início',
-1
View File
@@ -1,7 +1,6 @@
import type { TranslationStrings } from '../types';
const nav: TranslationStrings = {
'nav.trip': 'Viagem',
'nav.settings': 'Configurações',
'nav.admin': 'Admin',
'nav.logout': 'Sair',
-2
View File
@@ -200,8 +200,6 @@ const tours: TranslationStrings = {
'tours.planner.inspector.elevationPlaceholder':
'O perfil é exibido quando os dados de elevação da rota estão disponíveis.',
'tours.planner.gpxNoGeometry': 'A geometria da rota não está disponível para esta importação GPX.',
'tours.planner.mobileHint':
'O planejamento de passeios está disponível em tablets e computadores. Aqui você pode visualizar os passeios salvos e atribuí-los a um dia.',
'tourTypes.hike': 'Trilha',
'tourTypes.bike': 'Passeio de bicicleta',
'tourTypes.run': 'Corrida',