fix(mobile): give the trip map a way back to every day

The phone map filters down to one day and had no way back out. The chip
rail can only swap one day for another, the second tap on the active chip
is the day sheet, and the seed guard deliberately does not re-seed — so a
day picked on the map stayed picked until you left the trip and came back
(#2257). Desktop has had the deselect since the day header got it.

Its own round control beside the rail, map view only: the plan timeline is
single-day, so there is nothing to widen there, and the day sheet keeps the
one route into it that also exists on the map. It toggles — the first press
parks the day it came from and frames the whole trip, the second puts that
day back with its route, or falls back to the focus day if a remote delete
retired it in between. Leaving the map restores it too, since an empty
timeline would be the worse answer.
This commit is contained in:
Maurice
2026-09-06 13:05:35 +02:00
committed by Maurice
parent bbc32310e9
commit 973ce5f8ff
25 changed files with 158 additions and 12 deletions
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'المكان',
'mobileTrip.addToDayQuestion': 'إضافة إلى يوم؟',
'mobileTrip.addTransportShort': 'النقل',
'mobileTrip.allDays': 'كل الأيام',
'mobileTrip.assignedDays': 'الأيام المخصصة',
'mobileTrip.assignmentNotes': 'ملاحظات خاصة باليوم',
'mobileTrip.bookingsEmpty': 'لا توجد حجوزات بعد',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Lugar',
'mobileTrip.addToDayQuestion': 'Adicionar a um dia?',
'mobileTrip.addTransportShort': 'Transporte',
'mobileTrip.allDays': 'Todos os dias',
'mobileTrip.assignedDays': 'Dias atribuídos',
'mobileTrip.assignmentNotes': 'Notas específicas do dia',
'mobileTrip.bookingsEmpty': 'Nenhuma reserva ainda',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Lloc',
'mobileTrip.addToDayQuestion': 'Afegeix a un dia?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Tots els dies',
'mobileTrip.assignedDays': 'Dies assignats',
'mobileTrip.assignmentNotes': 'Notes específiques del dia',
'mobileTrip.bookingsEmpty': 'Encara no hi ha reserves',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Místo',
'mobileTrip.addToDayQuestion': 'Přidat do dne?',
'mobileTrip.addTransportShort': 'Doprava',
'mobileTrip.allDays': 'Všechny dny',
'mobileTrip.assignedDays': 'Přiřazené dny',
'mobileTrip.assignmentNotes': 'Poznámky ke dni',
'mobileTrip.bookingsEmpty': 'Zatím žádné rezervace',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Ort',
'mobileTrip.addToDayQuestion': 'Zu einem Tag hinzufügen?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Alle Tage',
'mobileTrip.assignedDays': 'Zugewiesene Tage',
'mobileTrip.assignmentNotes': 'Tagesspezifische Notizen',
'mobileTrip.bookingsEmpty': 'Noch keine Buchungen',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Place',
'mobileTrip.addToDayQuestion': 'Add to a day?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'All Days',
'mobileTrip.assignedDays': 'Assigned Days',
'mobileTrip.assignmentNotes': 'Day-specific notes',
'mobileTrip.bookingsEmpty': 'No bookings yet',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Lugar',
'mobileTrip.addToDayQuestion': '¿Añadir a un día?',
'mobileTrip.addTransportShort': 'Transporte',
'mobileTrip.allDays': 'Todos los días',
'mobileTrip.assignedDays': 'Días asignados',
'mobileTrip.assignmentNotes': 'Notas específicas del día',
'mobileTrip.bookingsEmpty': 'Aún no hay reservas',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Lieu',
'mobileTrip.addToDayQuestion': 'Ajouter à un jour ?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Tous les jours',
'mobileTrip.assignedDays': 'Jours assignés',
'mobileTrip.assignmentNotes': 'Notes propres au jour',
'mobileTrip.bookingsEmpty': 'Aucune réservation',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Μέρος',
'mobileTrip.addToDayQuestion': 'Προσθήκη σε ημέρα;',
'mobileTrip.addTransportShort': 'Μεταφορά',
'mobileTrip.allDays': 'Όλες οι Ημέρες',
'mobileTrip.assignedDays': 'Ανατεθειμένες ημέρες',
'mobileTrip.assignmentNotes': 'Σημειώσεις ημέρας',
'mobileTrip.bookingsEmpty': 'Δεν υπάρχουν κρατήσεις ακόμη',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Hely',
'mobileTrip.addToDayQuestion': 'Hozzáadás egy naphoz?',
'mobileTrip.addTransportShort': 'Közlekedés',
'mobileTrip.allDays': 'Minden nap',
'mobileTrip.assignedDays': 'Hozzárendelt napok',
'mobileTrip.assignmentNotes': 'Napra szóló jegyzetek',
'mobileTrip.bookingsEmpty': 'Még nincsenek foglalások',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Tempat',
'mobileTrip.addToDayQuestion': 'Tambahkan ke hari?',
'mobileTrip.addTransportShort': 'Transportasi',
'mobileTrip.allDays': 'Semua Hari',
'mobileTrip.assignedDays': 'Hari yang ditetapkan',
'mobileTrip.assignmentNotes': 'Catatan khusus hari',
'mobileTrip.bookingsEmpty': 'Belum ada reservasi',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Luogo',
'mobileTrip.addToDayQuestion': 'Aggiungere a un giorno?',
'mobileTrip.addTransportShort': 'Trasporto',
'mobileTrip.allDays': 'Tutti i giorni',
'mobileTrip.assignedDays': 'Giorni assegnati',
'mobileTrip.assignmentNotes': 'Note specifiche del giorno',
'mobileTrip.bookingsEmpty': 'Ancora nessuna prenotazione',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': '場所',
'mobileTrip.addToDayQuestion': '日に追加しますか?',
'mobileTrip.addTransportShort': '移動',
'mobileTrip.allDays': 'すべての日',
'mobileTrip.assignedDays': '割り当てられた日',
'mobileTrip.assignmentNotes': '日別メモ',
'mobileTrip.bookingsEmpty': '予約はまだありません',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': '장소',
'mobileTrip.addToDayQuestion': '하루에 추가할까요?',
'mobileTrip.addTransportShort': '교통',
'mobileTrip.allDays': '모든 날',
'mobileTrip.assignedDays': '배정된 날짜',
'mobileTrip.assignmentNotes': '날짜별 메모',
'mobileTrip.bookingsEmpty': '아직 예약이 없습니다',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Plaats',
'mobileTrip.addToDayQuestion': 'Toevoegen aan een dag?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Alle dagen',
'mobileTrip.assignedDays': 'Toegewezen dagen',
'mobileTrip.assignmentNotes': 'Dagspecifieke notities',
'mobileTrip.bookingsEmpty': 'Nog geen boekingen',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Miejsce',
'mobileTrip.addToDayQuestion': 'Dodać do dnia?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Wszystkie dni',
'mobileTrip.assignedDays': 'Przypisane dni',
'mobileTrip.assignmentNotes': 'Notatki dla dnia',
'mobileTrip.bookingsEmpty': 'Brak rezerwacji',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Место',
'mobileTrip.addToDayQuestion': 'Добавить в день?',
'mobileTrip.addTransportShort': 'Транспорт',
'mobileTrip.allDays': 'Все дни',
'mobileTrip.assignedDays': 'Назначенные дни',
'mobileTrip.assignmentNotes': 'Заметки на день',
'mobileTrip.bookingsEmpty': 'Пока нет бронирований',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Plats',
'mobileTrip.addToDayQuestion': 'Lägg till på en dag?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Alla dagar',
'mobileTrip.assignedDays': 'Tilldelade dagar',
'mobileTrip.assignmentNotes': 'Dagsspecifika anteckningar',
'mobileTrip.bookingsEmpty': 'Inga bokningar än',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Yer',
'mobileTrip.addToDayQuestion': 'Bir güne eklensin mi?',
'mobileTrip.addTransportShort': 'Ulaşım',
'mobileTrip.allDays': 'Tüm Günler',
'mobileTrip.assignedDays': 'Atanan Günler',
'mobileTrip.assignmentNotes': 'Güne özel notlar',
'mobileTrip.bookingsEmpty': 'Henüz rezervasyon yok',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Місце',
'mobileTrip.addToDayQuestion': 'Додати до дня?',
'mobileTrip.addTransportShort': 'Транспорт',
'mobileTrip.allDays': 'Усі дні',
'mobileTrip.assignedDays': 'Призначені дні',
'mobileTrip.assignmentNotes': 'Нотатки на день',
'mobileTrip.bookingsEmpty': 'Поки немає бронювань',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': 'Địa điểm',
'mobileTrip.addToDayQuestion': 'Thêm vào một ngày?',
'mobileTrip.addTransportShort': 'Di chuyển',
'mobileTrip.allDays': 'Tất cả các ngày',
'mobileTrip.assignedDays': 'Ngày được gán',
'mobileTrip.assignmentNotes': 'Ghi chú theo ngày',
'mobileTrip.bookingsEmpty': 'Chưa có đặt chỗ nào',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': '地點',
'mobileTrip.addToDayQuestion': '新增到某一天?',
'mobileTrip.addTransportShort': '交通',
'mobileTrip.allDays': '所有天',
'mobileTrip.assignedDays': '已分配的天數',
'mobileTrip.assignmentNotes': '按天備註',
'mobileTrip.bookingsEmpty': '暫無預訂',
+1
View File
@@ -6,6 +6,7 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addPlaceShort': '地点',
'mobileTrip.addToDayQuestion': '添加到某一天?',
'mobileTrip.addTransportShort': '交通',
'mobileTrip.allDays': '所有天',
'mobileTrip.assignedDays': '已分配的天数',
'mobileTrip.assignmentNotes': '按天备注',
'mobileTrip.bookingsEmpty': '暂无预订',