feat(mobile): today marked on the day rail, and a button back to it

While a trip is running, today's chip on the phone carries a ring and a dot, and a button beside the rail jumps back to today from wherever it was scrolled, in the plan and on the map. It stays in place, dimmed, while today is open, so the rail never shifts under the thumb. (#2392)
This commit is contained in:
Maurice
2026-10-01 10:11:08 +02:00
parent 48f28b40c4
commit ba0cc331c1
29 changed files with 127 additions and 4 deletions
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'إضافة إلى يوم؟',
'mobileTrip.addTransportShort': 'النقل',
'mobileTrip.allDays': 'كل الأيام',
'mobileTrip.today': 'اليوم',
'mobileTrip.jumpToToday': 'الانتقال إلى اليوم',
'mobileTrip.assignedDays': 'الأيام المخصصة',
'mobileTrip.assignmentNotes': 'ملاحظات خاصة باليوم',
'mobileTrip.bookingsEmpty': 'لا توجد حجوزات بعد',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Günə əlavə edilsin?',
'mobileTrip.addTransportShort': 'Nəqliyyat',
'mobileTrip.allDays': 'Bütün günlər',
'mobileTrip.today': 'Bu gün',
'mobileTrip.jumpToToday': 'Bu günə keç',
'mobileTrip.assignedDays': 'Təyin edilmiş günlər',
'mobileTrip.assignmentNotes': 'Günə aid qeydlər',
'mobileTrip.bookingsEmpty': 'Hələ rezervasiya yoxdur',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Adicionar a um dia?',
'mobileTrip.addTransportShort': 'Transporte',
'mobileTrip.allDays': 'Todos os dias',
'mobileTrip.today': 'Hoje',
'mobileTrip.jumpToToday': 'Ir para hoje',
'mobileTrip.assignedDays': 'Dias atribuídos',
'mobileTrip.assignmentNotes': 'Notas específicas do dia',
'mobileTrip.bookingsEmpty': 'Nenhuma reserva ainda',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Afegeix a un dia?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Tots els dies',
'mobileTrip.today': 'Avui',
'mobileTrip.jumpToToday': 'Ves a avui',
'mobileTrip.assignedDays': 'Dies assignats',
'mobileTrip.assignmentNotes': 'Notes específiques del dia',
'mobileTrip.bookingsEmpty': 'Encara no hi ha reserves',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Přidat do dne?',
'mobileTrip.addTransportShort': 'Doprava',
'mobileTrip.allDays': 'Všechny dny',
'mobileTrip.today': 'Dnes',
'mobileTrip.jumpToToday': 'Přejít na dnešek',
'mobileTrip.assignedDays': 'Přiřazené dny',
'mobileTrip.assignmentNotes': 'Poznámky ke dni',
'mobileTrip.bookingsEmpty': 'Zatím žádné rezervace',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Zu einem Tag hinzufügen?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Alle Tage',
'mobileTrip.today': 'Heute',
'mobileTrip.jumpToToday': 'Zu heute springen',
'mobileTrip.assignedDays': 'Zugewiesene Tage',
'mobileTrip.assignmentNotes': 'Tagesspezifische Notizen',
'mobileTrip.bookingsEmpty': 'Noch keine Buchungen',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Add to a day?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'All Days',
'mobileTrip.today': 'Today',
'mobileTrip.jumpToToday': 'Jump to today',
'mobileTrip.assignedDays': 'Assigned Days',
'mobileTrip.assignmentNotes': 'Day-specific notes',
'mobileTrip.bookingsEmpty': 'No bookings yet',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': '¿Añadir a un día?',
'mobileTrip.addTransportShort': 'Transporte',
'mobileTrip.allDays': 'Todos los días',
'mobileTrip.today': 'Hoy',
'mobileTrip.jumpToToday': 'Ir a hoy',
'mobileTrip.assignedDays': 'Días asignados',
'mobileTrip.assignmentNotes': 'Notas específicas del día',
'mobileTrip.bookingsEmpty': 'Aún no hay reservas',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Kas lisada päevale?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Kõik päevad',
'mobileTrip.today': 'Täna',
'mobileTrip.jumpToToday': 'Mine tänasele päevale',
'mobileTrip.assignedDays': 'Määratud päevad',
'mobileTrip.assignmentNotes': 'Päevapõhised märkmed',
'mobileTrip.bookingsEmpty': 'Broneeringuid veel pole',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Ajouter à un jour ?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Tous les jours',
'mobileTrip.today': "Aujourd'hui",
'mobileTrip.jumpToToday': "Aller à aujourd'hui",
'mobileTrip.assignedDays': 'Jours assignés',
'mobileTrip.assignmentNotes': 'Notes propres au jour',
'mobileTrip.bookingsEmpty': 'Aucune réservation',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Προσθήκη σε ημέρα;',
'mobileTrip.addTransportShort': 'Μεταφορά',
'mobileTrip.allDays': 'Όλες οι Ημέρες',
'mobileTrip.today': 'Σήμερα',
'mobileTrip.jumpToToday': 'Μετάβαση στο σήμερα',
'mobileTrip.assignedDays': 'Ανατεθειμένες ημέρες',
'mobileTrip.assignmentNotes': 'Σημειώσεις ημέρας',
'mobileTrip.bookingsEmpty': 'Δεν υπάρχουν κρατήσεις ακόμη',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Hozzáadás egy naphoz?',
'mobileTrip.addTransportShort': 'Közlekedés',
'mobileTrip.allDays': 'Minden nap',
'mobileTrip.today': 'Ma',
'mobileTrip.jumpToToday': 'Ugrás a mai napra',
'mobileTrip.assignedDays': 'Hozzárendelt napok',
'mobileTrip.assignmentNotes': 'Napra szóló jegyzetek',
'mobileTrip.bookingsEmpty': 'Még nincsenek foglalások',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Tambahkan ke hari?',
'mobileTrip.addTransportShort': 'Transportasi',
'mobileTrip.allDays': 'Semua Hari',
'mobileTrip.today': 'Hari ini',
'mobileTrip.jumpToToday': 'Lompat ke hari ini',
'mobileTrip.assignedDays': 'Hari yang ditetapkan',
'mobileTrip.assignmentNotes': 'Catatan khusus hari',
'mobileTrip.bookingsEmpty': 'Belum ada reservasi',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Aggiungere a un giorno?',
'mobileTrip.addTransportShort': 'Trasporto',
'mobileTrip.allDays': 'Tutti i giorni',
'mobileTrip.today': 'Oggi',
'mobileTrip.jumpToToday': 'Vai a oggi',
'mobileTrip.assignedDays': 'Giorni assegnati',
'mobileTrip.assignmentNotes': 'Note specifiche del giorno',
'mobileTrip.bookingsEmpty': 'Ancora nessuna prenotazione',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': '日に追加しますか?',
'mobileTrip.addTransportShort': '移動',
'mobileTrip.allDays': 'すべての日',
'mobileTrip.today': '今日',
'mobileTrip.jumpToToday': '今日へ移動',
'mobileTrip.assignedDays': '割り当てられた日',
'mobileTrip.assignmentNotes': '日別メモ',
'mobileTrip.bookingsEmpty': '予約はまだありません',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': '하루에 추가할까요?',
'mobileTrip.addTransportShort': '교통',
'mobileTrip.allDays': '모든 날',
'mobileTrip.today': '오늘',
'mobileTrip.jumpToToday': '오늘로 이동',
'mobileTrip.assignedDays': '배정된 날짜',
'mobileTrip.assignmentNotes': '날짜별 메모',
'mobileTrip.bookingsEmpty': '아직 예약이 없습니다',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Toevoegen aan een dag?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Alle dagen',
'mobileTrip.today': 'Vandaag',
'mobileTrip.jumpToToday': 'Naar vandaag',
'mobileTrip.assignedDays': 'Toegewezen dagen',
'mobileTrip.assignmentNotes': 'Dagspecifieke notities',
'mobileTrip.bookingsEmpty': 'Nog geen boekingen',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Dodać do dnia?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Wszystkie dni',
'mobileTrip.today': 'Dziś',
'mobileTrip.jumpToToday': 'Przejdź do dziś',
'mobileTrip.assignedDays': 'Przypisane dni',
'mobileTrip.assignmentNotes': 'Notatki dla dnia',
'mobileTrip.bookingsEmpty': 'Brak rezerwacji',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Добавить в день?',
'mobileTrip.addTransportShort': 'Транспорт',
'mobileTrip.allDays': 'Все дни',
'mobileTrip.today': 'Сегодня',
'mobileTrip.jumpToToday': 'Перейти к сегодня',
'mobileTrip.assignedDays': 'Назначенные дни',
'mobileTrip.assignmentNotes': 'Заметки на день',
'mobileTrip.bookingsEmpty': 'Пока нет бронирований',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Pridať do dňa?',
'mobileTrip.addTransportShort': 'Doprava',
'mobileTrip.allDays': 'Všetky dni',
'mobileTrip.today': 'Dnes',
'mobileTrip.jumpToToday': 'Prejsť na dnešok',
'mobileTrip.assignedDays': 'Priradené dni',
'mobileTrip.assignmentNotes': 'Poznámky ku konkrétnemu dňu',
'mobileTrip.bookingsEmpty': 'Zatiaľ žiadne rezervácie',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Lägg till på en dag?',
'mobileTrip.addTransportShort': 'Transport',
'mobileTrip.allDays': 'Alla dagar',
'mobileTrip.today': 'Idag',
'mobileTrip.jumpToToday': 'Gå till idag',
'mobileTrip.assignedDays': 'Tilldelade dagar',
'mobileTrip.assignmentNotes': 'Dagsspecifika anteckningar',
'mobileTrip.bookingsEmpty': 'Inga bokningar än',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': "เพิ่มในวันใด?",
'mobileTrip.addTransportShort': "ขนส่ง",
'mobileTrip.allDays': "ทุกวัน",
'mobileTrip.today': 'วันนี้',
'mobileTrip.jumpToToday': 'ไปที่วันนี้',
'mobileTrip.assignedDays': "วันที่ได้รับมอบหมาย",
'mobileTrip.assignmentNotes': "บันทึกเฉพาะวัน",
'mobileTrip.bookingsEmpty': "ยังไม่มีการจอง",
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Bir güne eklensin mi?',
'mobileTrip.addTransportShort': 'Ulaşım',
'mobileTrip.allDays': 'Tüm Günler',
'mobileTrip.today': 'Bugün',
'mobileTrip.jumpToToday': 'Bugüne git',
'mobileTrip.assignedDays': 'Atanan Günler',
'mobileTrip.assignmentNotes': 'Güne özel notlar',
'mobileTrip.bookingsEmpty': 'Henüz rezervasyon yok',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': 'Додати до дня?',
'mobileTrip.addTransportShort': 'Транспорт',
'mobileTrip.allDays': 'Усі дні',
'mobileTrip.today': 'Сьогодні',
'mobileTrip.jumpToToday': 'Перейти до сьогодні',
'mobileTrip.assignedDays': 'Призначені дні',
'mobileTrip.assignmentNotes': 'Нотатки на день',
'mobileTrip.bookingsEmpty': 'Поки немає бронювань',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'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.today': 'Hôm nay',
'mobileTrip.jumpToToday': 'Đến hôm nay',
'mobileTrip.assignedDays': 'Ngày được gán',
'mobileTrip.assignmentNotes': 'Ghi chú theo ngày',
'mobileTrip.bookingsEmpty': 'Chưa có đặt chỗ nào',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': '新增到某一天?',
'mobileTrip.addTransportShort': '交通',
'mobileTrip.allDays': '所有天',
'mobileTrip.today': '今天',
'mobileTrip.jumpToToday': '跳到今天',
'mobileTrip.assignedDays': '已分配的天數',
'mobileTrip.assignmentNotes': '按天備註',
'mobileTrip.bookingsEmpty': '暫無預訂',
+2
View File
@@ -7,6 +7,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.addToDayQuestion': '添加到某一天?',
'mobileTrip.addTransportShort': '交通',
'mobileTrip.allDays': '所有天',
'mobileTrip.today': '今天',
'mobileTrip.jumpToToday': '跳到今天',
'mobileTrip.assignedDays': '已分配的天数',
'mobileTrip.assignmentNotes': '按天备注',
'mobileTrip.bookingsEmpty': '暂无预订',