mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
feat(mobile): swipe the day details to step through days (#2059)
* @ feat(mobile): swipe the day details to step through days The phone shell hangs the days off a chip rail pinned to the top of the screen, which on a large phone is a thin target a thumb cannot reach one handed. The day details fill the rest of the screen and did nothing. They now take a horizontal swipe: left for the next day, right for the previous one, with the panel following the finger, rubber banding at the first and last day and springing back when the swipe falls short. The chip rail is untouched and still the accessible path; a committed swipe announces the day it reached through a live region, and the active chip scrolls itself back into view once the rail overflows. The gesture never calls preventDefault or stops propagation on a touch event and sets no touch-action, so the browser keeps sole ownership of the card scroll and of the header chip strip, and the long press reorder bridge keeps its own 10px self cancel. In edit mode the swipe also refuses to claim a press held past the bridge window. @ * @ fix(mobile): line the map controls up and widen the POI bar The compass sat on its own under the POI bar, centre top, while the locate button floated 42px above the dock on the other end of the screen. Both are one handed controls, so they now share the band just above the dock: compass bottom left, locate bottom right, off the same --bottom-nav-h the map already reads, a dock gap lower than before. That frees the row under the chip rail, so the nearby places bar takes the full width between the screen margins and its segments end up the size of everything else the thumb aims at there. Desktop keeps the floating, content width bar. @
This commit is contained in:
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'لا توجد حجوزات بعد',
|
||||
'mobileTrip.collabFeatureDisabled': 'هذه الميزة معطّلة لهذه الرحلة',
|
||||
'mobileTrip.compactView': 'عرض مضغوط',
|
||||
'mobileTrip.dayAnnounce': 'اليوم {current} من {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'عنوان اليوم',
|
||||
'mobileTrip.export': 'تصدير',
|
||||
'mobileTrip.filesEmpty': 'لا توجد ملفات بعد',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Nenhuma reserva ainda',
|
||||
'mobileTrip.collabFeatureDisabled': 'Esse recurso está desativado para esta viagem',
|
||||
'mobileTrip.compactView': 'Visualização compacta',
|
||||
'mobileTrip.dayAnnounce': 'Dia {current} de {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Título do dia',
|
||||
'mobileTrip.export': 'Exportar',
|
||||
'mobileTrip.filesEmpty': 'Nenhum arquivo ainda',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Encara no hi ha reserves',
|
||||
'mobileTrip.collabFeatureDisabled': 'Aquesta funció està desactivada per a aquest viatge',
|
||||
'mobileTrip.compactView': 'Vista compacta',
|
||||
'mobileTrip.dayAnnounce': 'Dia {current} de {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Títol del dia',
|
||||
'mobileTrip.export': 'Exporta',
|
||||
'mobileTrip.filesEmpty': 'Encara no hi ha fitxers',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Zatím žádné rezervace',
|
||||
'mobileTrip.collabFeatureDisabled': 'Tato funkce je pro tento výlet vypnuta',
|
||||
'mobileTrip.compactView': 'Kompaktní zobrazení',
|
||||
'mobileTrip.dayAnnounce': 'Den {current} z {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Název dne',
|
||||
'mobileTrip.export': 'Exportovat',
|
||||
'mobileTrip.filesEmpty': 'Zatím žádné soubory',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Noch keine Buchungen',
|
||||
'mobileTrip.collabFeatureDisabled': 'Diese Funktion ist für diese Reise deaktiviert',
|
||||
'mobileTrip.compactView': 'Kompakte Ansicht',
|
||||
'mobileTrip.dayAnnounce': 'Tag {current} von {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Tagestitel',
|
||||
'mobileTrip.export': 'Exportieren',
|
||||
'mobileTrip.filesEmpty': 'Keine Dateien vorhanden',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'No bookings yet',
|
||||
'mobileTrip.collabFeatureDisabled': 'This feature is disabled for this trip',
|
||||
'mobileTrip.compactView': 'Compact view',
|
||||
'mobileTrip.dayAnnounce': 'Day {current} of {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Day title',
|
||||
'mobileTrip.export': 'Export',
|
||||
'mobileTrip.filesEmpty': 'No files yet',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Aún no hay reservas',
|
||||
'mobileTrip.collabFeatureDisabled': 'Esta función está desactivada para este viaje',
|
||||
'mobileTrip.compactView': 'Vista compacta',
|
||||
'mobileTrip.dayAnnounce': 'Día {current} de {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Título del día',
|
||||
'mobileTrip.export': 'Exportar',
|
||||
'mobileTrip.filesEmpty': 'Aún no hay archivos',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Aucune réservation',
|
||||
'mobileTrip.collabFeatureDisabled': 'Cette fonctionnalité est désactivée pour ce voyage',
|
||||
'mobileTrip.compactView': 'Vue compacte',
|
||||
'mobileTrip.dayAnnounce': 'Jour {current} sur {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Titre du jour',
|
||||
'mobileTrip.export': 'Exporter',
|
||||
'mobileTrip.filesEmpty': 'Aucun fichier',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Δεν υπάρχουν κρατήσεις ακόμη',
|
||||
'mobileTrip.collabFeatureDisabled': 'Αυτή η λειτουργία είναι απενεργοποιημένη για αυτό το ταξίδι',
|
||||
'mobileTrip.compactView': 'Συμπαγής προβολή',
|
||||
'mobileTrip.dayAnnounce': 'Ημέρα {current} από {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Τίτλος ημέρας',
|
||||
'mobileTrip.export': 'Εξαγωγή',
|
||||
'mobileTrip.filesEmpty': 'Δεν υπάρχουν αρχεία ακόμη',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Még nincsenek foglalások',
|
||||
'mobileTrip.collabFeatureDisabled': 'Ez a funkció ki van kapcsolva ennél az utazásnál',
|
||||
'mobileTrip.compactView': 'Kompakt nézet',
|
||||
'mobileTrip.dayAnnounce': '{current}. nap / {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Nap címe',
|
||||
'mobileTrip.export': 'Exportálás',
|
||||
'mobileTrip.filesEmpty': 'Még nincsenek fájlok',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Belum ada reservasi',
|
||||
'mobileTrip.collabFeatureDisabled': 'Fitur ini dinonaktifkan untuk perjalanan ini',
|
||||
'mobileTrip.compactView': 'Tampilan ringkas',
|
||||
'mobileTrip.dayAnnounce': 'Hari {current} dari {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Judul hari',
|
||||
'mobileTrip.export': 'Ekspor',
|
||||
'mobileTrip.filesEmpty': 'Belum ada file',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Ancora nessuna prenotazione',
|
||||
'mobileTrip.collabFeatureDisabled': 'Questa funzione è disattivata per questo viaggio',
|
||||
'mobileTrip.compactView': 'Vista compatta',
|
||||
'mobileTrip.dayAnnounce': 'Giorno {current} di {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Titolo del giorno',
|
||||
'mobileTrip.export': 'Esporta',
|
||||
'mobileTrip.filesEmpty': 'Ancora nessun file',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': '予約はまだありません',
|
||||
'mobileTrip.collabFeatureDisabled': 'この機能はこの旅行では無効になっています',
|
||||
'mobileTrip.compactView': 'コンパクト表示',
|
||||
'mobileTrip.dayAnnounce': '{current}日目 / 全{total}日',
|
||||
'mobileTrip.dayTitlePlaceholder': '日のタイトル',
|
||||
'mobileTrip.export': '書き出し',
|
||||
'mobileTrip.filesEmpty': 'ファイルはまだありません',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': '아직 예약이 없습니다',
|
||||
'mobileTrip.collabFeatureDisabled': '이 여행에서는 이 기능이 비활성화되어 있습니다',
|
||||
'mobileTrip.compactView': '간략히 보기',
|
||||
'mobileTrip.dayAnnounce': '{total}일 중 {current}일째',
|
||||
'mobileTrip.dayTitlePlaceholder': '일차 제목',
|
||||
'mobileTrip.export': '내보내기',
|
||||
'mobileTrip.filesEmpty': '아직 파일이 없습니다',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Nog geen boekingen',
|
||||
'mobileTrip.collabFeatureDisabled': 'Deze functie is uitgeschakeld voor deze reis',
|
||||
'mobileTrip.compactView': 'Compacte weergave',
|
||||
'mobileTrip.dayAnnounce': 'Dag {current} van {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Titel van de dag',
|
||||
'mobileTrip.export': 'Exporteren',
|
||||
'mobileTrip.filesEmpty': 'Nog geen bestanden',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Brak rezerwacji',
|
||||
'mobileTrip.collabFeatureDisabled': 'Ta funkcja jest wyłączona dla tej podróży',
|
||||
'mobileTrip.compactView': 'Widok kompaktowy',
|
||||
'mobileTrip.dayAnnounce': 'Dzień {current} z {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Tytuł dnia',
|
||||
'mobileTrip.export': 'Eksportuj',
|
||||
'mobileTrip.filesEmpty': 'Brak plików',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Пока нет бронирований',
|
||||
'mobileTrip.collabFeatureDisabled': 'Эта функция отключена для этой поездки',
|
||||
'mobileTrip.compactView': 'Компактный вид',
|
||||
'mobileTrip.dayAnnounce': 'День {current} из {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Название дня',
|
||||
'mobileTrip.export': 'Экспорт',
|
||||
'mobileTrip.filesEmpty': 'Файлов пока нет',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Inga bokningar än',
|
||||
'mobileTrip.collabFeatureDisabled': 'Den här funktionen är inaktiverad för den här resan',
|
||||
'mobileTrip.compactView': 'Kompakt vy',
|
||||
'mobileTrip.dayAnnounce': 'Dag {current} av {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Dagens titel',
|
||||
'mobileTrip.export': 'Exportera',
|
||||
'mobileTrip.filesEmpty': 'Inga filer ännu',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Henüz rezervasyon yok',
|
||||
'mobileTrip.collabFeatureDisabled': 'Bu özellik bu seyahat için devre dışı',
|
||||
'mobileTrip.compactView': 'Kompakt görünüm',
|
||||
'mobileTrip.dayAnnounce': 'Gün {current} / {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Gün başlığı',
|
||||
'mobileTrip.export': 'Dışa aktar',
|
||||
'mobileTrip.filesEmpty': 'Henüz dosya yok',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Поки немає бронювань',
|
||||
'mobileTrip.collabFeatureDisabled': 'Цю функцію вимкнено для цієї подорожі',
|
||||
'mobileTrip.compactView': 'Компактний вигляд',
|
||||
'mobileTrip.dayAnnounce': 'День {current} з {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Назва дня',
|
||||
'mobileTrip.export': 'Експорт',
|
||||
'mobileTrip.filesEmpty': 'Файлів поки немає',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': 'Chưa có đặt chỗ nào',
|
||||
'mobileTrip.collabFeatureDisabled': 'Tính năng này bị tắt cho chuyến đi này',
|
||||
'mobileTrip.compactView': 'Chế độ xem gọn',
|
||||
'mobileTrip.dayAnnounce': 'Ngày {current} trong {total}',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Tiêu đề ngày',
|
||||
'mobileTrip.export': 'Xuất',
|
||||
'mobileTrip.filesEmpty': 'Chưa có tập tin nào',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': '暫無預訂',
|
||||
'mobileTrip.collabFeatureDisabled': '此功能已針對本次行程停用',
|
||||
'mobileTrip.compactView': '精簡檢視',
|
||||
'mobileTrip.dayAnnounce': '第 {current} 天,共 {total} 天',
|
||||
'mobileTrip.dayTitlePlaceholder': '天數標題',
|
||||
'mobileTrip.export': '匯出',
|
||||
'mobileTrip.filesEmpty': '暫無檔案',
|
||||
|
||||
@@ -10,6 +10,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.bookingsEmpty': '暂无预订',
|
||||
'mobileTrip.collabFeatureDisabled': '此功能已针对本次行程停用',
|
||||
'mobileTrip.compactView': '紧凑视图',
|
||||
'mobileTrip.dayAnnounce': '第 {current} 天,共 {total} 天',
|
||||
'mobileTrip.dayTitlePlaceholder': '天数标题',
|
||||
'mobileTrip.export': '导出',
|
||||
'mobileTrip.filesEmpty': '暂无文件',
|
||||
|
||||
Reference in New Issue
Block a user