mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-28 07:30:04 +00:00
feat(roadtrip): draw corridor hits on the map and build the day in one request
Three things the first cut got wrong. Switching into road trip mode took its time: every leg was its own routing request, paced a second apart so the shared hosts would answer at all. The router already returns a leg per consecutive pair of the waypoints it is handed, so a day is now one request — split only where the travel mode changes, because one request carries one mode. Answers that come from the cache are no longer paced at all, which is what made returning to the view feel broken. A list of petrol stations is half an answer: which one is on your side of the road is the other half. The corridor search therefore moved out of the panel into the planner, and its hits are handed to the map like any other place suggestion — grey, because they are not part of the trip until you add one. The explore pill stands down while the mode is on: it draws into the same channel and answers the same question for a drive. The panel itself was a stack of controls without an order. It now reads as header, search, results: what is being searched (with the day's distance and driving time), what is being looked for, how far off the route, then the hits grouped by kind with a count — and a progress bar while the boxes are being worked through.
This commit is contained in:
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'محطات على الطريق',
|
||||
'roadtrip.stops.remove': 'إزالة المحطة',
|
||||
'roadtrip.poi.title': 'على طول المسار',
|
||||
'roadtrip.poi.hint': 'ابحث على طول مسار اليوم عمّا تحتاجه في الطريق.',
|
||||
'roadtrip.poi.scope': 'اليوم',
|
||||
'roadtrip.poi.looking': 'المطلوب',
|
||||
'roadtrip.poi.searchingHint': 'جارٍ البحث على طول المسار…',
|
||||
'roadtrip.poi.found': '{count} على الطريق',
|
||||
'roadtrip.poi.fuel': 'وقود',
|
||||
'roadtrip.poi.charging': 'شحن',
|
||||
'roadtrip.poi.rest': 'استراحة',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Paradas pelo caminho',
|
||||
'roadtrip.stops.remove': 'Remover parada',
|
||||
'roadtrip.poi.title': 'Ao longo da rota',
|
||||
'roadtrip.poi.hint': 'Pesquise ao longo do trajeto de um dia o que precisa no caminho.',
|
||||
'roadtrip.poi.scope': 'Dia',
|
||||
'roadtrip.poi.looking': 'Procurando por',
|
||||
'roadtrip.poi.searchingHint': 'Pesquisando a rota…',
|
||||
'roadtrip.poi.found': '{count} no caminho',
|
||||
'roadtrip.poi.fuel': 'Combustível',
|
||||
'roadtrip.poi.charging': 'Carregamento',
|
||||
'roadtrip.poi.rest': 'Área de descanso',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Parades pel camí',
|
||||
'roadtrip.stops.remove': 'Elimina la parada',
|
||||
'roadtrip.poi.title': 'Al llarg de la ruta',
|
||||
'roadtrip.poi.hint': 'Cerca al llarg del trajecte d’un dia el que necessitis.',
|
||||
'roadtrip.poi.scope': 'Dia',
|
||||
'roadtrip.poi.looking': 'Es busca',
|
||||
'roadtrip.poi.searchingHint': 'S’està cercant la ruta…',
|
||||
'roadtrip.poi.found': '{count} pel camí',
|
||||
'roadtrip.poi.fuel': 'Combustible',
|
||||
'roadtrip.poi.charging': 'Càrrega',
|
||||
'roadtrip.poi.rest': 'Àrea de descans',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Zastávky po cestě',
|
||||
'roadtrip.stops.remove': 'Odebrat zastávku',
|
||||
'roadtrip.poi.title': 'Podél trasy',
|
||||
'roadtrip.poi.hint': 'Prohledejte denní jízdu podle toho, co po cestě potřebujete.',
|
||||
'roadtrip.poi.scope': 'Den',
|
||||
'roadtrip.poi.looking': 'Hledá se',
|
||||
'roadtrip.poi.searchingHint': 'Prohledávám trasu…',
|
||||
'roadtrip.poi.found': '{count} po cestě',
|
||||
'roadtrip.poi.fuel': 'Palivo',
|
||||
'roadtrip.poi.charging': 'Nabíjení',
|
||||
'roadtrip.poi.rest': 'Odpočívadlo',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Stopps unterwegs',
|
||||
'roadtrip.stops.remove': 'Stopp entfernen',
|
||||
'roadtrip.poi.title': 'Entlang der Route',
|
||||
'roadtrip.poi.hint': 'Durchsuche die Fahrt eines Tages nach dem, was du unterwegs brauchst.',
|
||||
'roadtrip.poi.scope': 'Tag',
|
||||
'roadtrip.poi.looking': 'Gesucht wird',
|
||||
'roadtrip.poi.searchingHint': 'Die Route wird durchsucht…',
|
||||
'roadtrip.poi.found': '{count} unterwegs',
|
||||
'roadtrip.poi.fuel': 'Tanken',
|
||||
'roadtrip.poi.charging': 'Laden',
|
||||
'roadtrip.poi.rest': 'Rastplatz',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Stops along the way',
|
||||
'roadtrip.stops.remove': 'Remove stop',
|
||||
'roadtrip.poi.title': 'Along the route',
|
||||
'roadtrip.poi.hint': 'Search a day’s drive for what you need along it.',
|
||||
'roadtrip.poi.scope': 'Day',
|
||||
'roadtrip.poi.looking': 'Looking for',
|
||||
'roadtrip.poi.searchingHint': 'Searching the route…',
|
||||
'roadtrip.poi.found': '{count} on the way',
|
||||
'roadtrip.poi.fuel': 'Fuel',
|
||||
'roadtrip.poi.charging': 'Charging',
|
||||
'roadtrip.poi.rest': 'Rest area',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Paradas por el camino',
|
||||
'roadtrip.stops.remove': 'Eliminar parada',
|
||||
'roadtrip.poi.title': 'A lo largo de la ruta',
|
||||
'roadtrip.poi.hint': 'Busca a lo largo del trayecto de un día lo que necesites.',
|
||||
'roadtrip.poi.scope': 'Día',
|
||||
'roadtrip.poi.looking': 'Se busca',
|
||||
'roadtrip.poi.searchingHint': 'Buscando por la ruta…',
|
||||
'roadtrip.poi.found': '{count} por el camino',
|
||||
'roadtrip.poi.fuel': 'Gasolina',
|
||||
'roadtrip.poi.charging': 'Recarga',
|
||||
'roadtrip.poi.rest': 'Área de descanso',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Étapes en chemin',
|
||||
'roadtrip.stops.remove': 'Supprimer l’étape',
|
||||
'roadtrip.poi.title': 'Le long de l’itinéraire',
|
||||
'roadtrip.poi.hint': 'Cherchez le long du trajet d’une journée ce dont vous avez besoin.',
|
||||
'roadtrip.poi.scope': 'Jour',
|
||||
'roadtrip.poi.looking': 'Recherche de',
|
||||
'roadtrip.poi.searchingHint': 'Recherche le long de l’itinéraire…',
|
||||
'roadtrip.poi.found': '{count} sur le trajet',
|
||||
'roadtrip.poi.fuel': 'Carburant',
|
||||
'roadtrip.poi.charging': 'Recharge',
|
||||
'roadtrip.poi.rest': 'Aire de repos',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Στάσεις στη διαδρομή',
|
||||
'roadtrip.stops.remove': 'Αφαίρεση στάσης',
|
||||
'roadtrip.poi.title': 'Κατά μήκος της διαδρομής',
|
||||
'roadtrip.poi.hint': 'Αναζητήστε κατά μήκος της διαδρομής μιας ημέρας ό,τι χρειάζεστε.',
|
||||
'roadtrip.poi.scope': 'Ημέρα',
|
||||
'roadtrip.poi.looking': 'Αναζητείται',
|
||||
'roadtrip.poi.searchingHint': 'Αναζήτηση κατά μήκος της διαδρομής…',
|
||||
'roadtrip.poi.found': '{count} στη διαδρομή',
|
||||
'roadtrip.poi.fuel': 'Καύσιμα',
|
||||
'roadtrip.poi.charging': 'Φόρτιση',
|
||||
'roadtrip.poi.rest': 'Χώρος ανάπαυσης',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Megállók útközben',
|
||||
'roadtrip.stops.remove': 'Megálló eltávolítása',
|
||||
'roadtrip.poi.title': 'Az útvonal mentén',
|
||||
'roadtrip.poi.hint': 'Keresd meg egy nap útvonalán, amire útközben szükséged van.',
|
||||
'roadtrip.poi.scope': 'Nap',
|
||||
'roadtrip.poi.looking': 'Amit keresel',
|
||||
'roadtrip.poi.searchingHint': 'Az útvonal keresése…',
|
||||
'roadtrip.poi.found': '{count} az úton',
|
||||
'roadtrip.poi.fuel': 'Üzemanyag',
|
||||
'roadtrip.poi.charging': 'Töltés',
|
||||
'roadtrip.poi.rest': 'Pihenőhely',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Perhentian di sepanjang jalan',
|
||||
'roadtrip.stops.remove': 'Hapus perhentian',
|
||||
'roadtrip.poi.title': 'Sepanjang rute',
|
||||
'roadtrip.poi.hint': 'Cari di sepanjang perjalanan satu hari apa yang Anda butuhkan.',
|
||||
'roadtrip.poi.scope': 'Hari',
|
||||
'roadtrip.poi.looking': 'Mencari',
|
||||
'roadtrip.poi.searchingHint': 'Mencari di sepanjang rute…',
|
||||
'roadtrip.poi.found': '{count} di jalan',
|
||||
'roadtrip.poi.fuel': 'Bahan bakar',
|
||||
'roadtrip.poi.charging': 'Pengisian daya',
|
||||
'roadtrip.poi.rest': 'Tempat istirahat',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Soste lungo il tragitto',
|
||||
'roadtrip.stops.remove': 'Rimuovi sosta',
|
||||
'roadtrip.poi.title': 'Lungo il percorso',
|
||||
'roadtrip.poi.hint': 'Cerca lungo il tragitto di una giornata ciò che ti serve.',
|
||||
'roadtrip.poi.scope': 'Giorno',
|
||||
'roadtrip.poi.looking': 'Sto cercando',
|
||||
'roadtrip.poi.searchingHint': 'Ricerca lungo il percorso…',
|
||||
'roadtrip.poi.found': '{count} lungo il tragitto',
|
||||
'roadtrip.poi.fuel': 'Carburante',
|
||||
'roadtrip.poi.charging': 'Ricarica',
|
||||
'roadtrip.poi.rest': 'Area di sosta',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': '途中の立ち寄り先',
|
||||
'roadtrip.stops.remove': '立ち寄り先を削除',
|
||||
'roadtrip.poi.title': 'ルート沿い',
|
||||
'roadtrip.poi.hint': 'その日のドライブ沿いに必要なものを探します。',
|
||||
'roadtrip.poi.scope': '日',
|
||||
'roadtrip.poi.looking': '探すもの',
|
||||
'roadtrip.poi.searchingHint': 'ルートを検索しています…',
|
||||
'roadtrip.poi.found': '道中に {count} 件',
|
||||
'roadtrip.poi.fuel': '給油',
|
||||
'roadtrip.poi.charging': '充電',
|
||||
'roadtrip.poi.rest': 'サービスエリア',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': '가는 길의 경유지',
|
||||
'roadtrip.stops.remove': '경유지 삭제',
|
||||
'roadtrip.poi.title': '경로 주변',
|
||||
'roadtrip.poi.hint': '하루 주행 경로를 따라 필요한 것을 찾습니다.',
|
||||
'roadtrip.poi.scope': '날짜',
|
||||
'roadtrip.poi.looking': '찾는 항목',
|
||||
'roadtrip.poi.searchingHint': '경로를 검색하는 중…',
|
||||
'roadtrip.poi.found': '경로에 {count}곳',
|
||||
'roadtrip.poi.fuel': '주유',
|
||||
'roadtrip.poi.charging': '충전',
|
||||
'roadtrip.poi.rest': '휴게소',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Stops onderweg',
|
||||
'roadtrip.stops.remove': 'Stop verwijderen',
|
||||
'roadtrip.poi.title': 'Langs de route',
|
||||
'roadtrip.poi.hint': 'Doorzoek de rit van een dag op wat je onderweg nodig hebt.',
|
||||
'roadtrip.poi.scope': 'Dag',
|
||||
'roadtrip.poi.looking': 'Gezocht wordt',
|
||||
'roadtrip.poi.searchingHint': 'De route wordt doorzocht…',
|
||||
'roadtrip.poi.found': '{count} onderweg',
|
||||
'roadtrip.poi.fuel': 'Tanken',
|
||||
'roadtrip.poi.charging': 'Laden',
|
||||
'roadtrip.poi.rest': 'Rustplaats',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Przystanki po drodze',
|
||||
'roadtrip.stops.remove': 'Usuń przystanek',
|
||||
'roadtrip.poi.title': 'Wzdłuż trasy',
|
||||
'roadtrip.poi.hint': 'Przeszukaj przejazd danego dnia pod kątem tego, czego potrzebujesz.',
|
||||
'roadtrip.poi.scope': 'Dzień',
|
||||
'roadtrip.poi.looking': 'Szukam',
|
||||
'roadtrip.poi.searchingHint': 'Przeszukiwanie trasy…',
|
||||
'roadtrip.poi.found': '{count} po drodze',
|
||||
'roadtrip.poi.fuel': 'Paliwo',
|
||||
'roadtrip.poi.charging': 'Ładowanie',
|
||||
'roadtrip.poi.rest': 'Miejsce odpoczynku',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Остановки в пути',
|
||||
'roadtrip.stops.remove': 'Удалить остановку',
|
||||
'roadtrip.poi.title': 'Вдоль маршрута',
|
||||
'roadtrip.poi.hint': 'Ищите вдоль дневного перегона то, что нужно в пути.',
|
||||
'roadtrip.poi.scope': 'День',
|
||||
'roadtrip.poi.looking': 'Ищем',
|
||||
'roadtrip.poi.searchingHint': 'Идёт поиск вдоль маршрута…',
|
||||
'roadtrip.poi.found': '{count} по пути',
|
||||
'roadtrip.poi.fuel': 'Заправка',
|
||||
'roadtrip.poi.charging': 'Зарядка',
|
||||
'roadtrip.poi.rest': 'Зона отдыха',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Stopp längs vägen',
|
||||
'roadtrip.stops.remove': 'Ta bort stopp',
|
||||
'roadtrip.poi.title': 'Längs rutten',
|
||||
'roadtrip.poi.hint': 'Sök längs en dags körning efter det du behöver på vägen.',
|
||||
'roadtrip.poi.scope': 'Dag',
|
||||
'roadtrip.poi.looking': 'Söker efter',
|
||||
'roadtrip.poi.searchingHint': 'Söker längs rutten…',
|
||||
'roadtrip.poi.found': '{count} längs vägen',
|
||||
'roadtrip.poi.fuel': 'Bensin',
|
||||
'roadtrip.poi.charging': 'Laddning',
|
||||
'roadtrip.poi.rest': 'Rastplats',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Yol üzerindeki duraklar',
|
||||
'roadtrip.stops.remove': 'Durağı kaldır',
|
||||
'roadtrip.poi.title': 'Rota boyunca',
|
||||
'roadtrip.poi.hint': 'Bir günün sürüşü boyunca yolda ihtiyacın olanı ara.',
|
||||
'roadtrip.poi.scope': 'Gün',
|
||||
'roadtrip.poi.looking': 'Aranan',
|
||||
'roadtrip.poi.searchingHint': 'Rota aranıyor…',
|
||||
'roadtrip.poi.found': 'yol üzerinde {count}',
|
||||
'roadtrip.poi.fuel': 'Yakıt',
|
||||
'roadtrip.poi.charging': 'Şarj',
|
||||
'roadtrip.poi.rest': 'Dinlenme alanı',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Зупинки в дорозі',
|
||||
'roadtrip.stops.remove': 'Видалити зупинку',
|
||||
'roadtrip.poi.title': 'Уздовж маршруту',
|
||||
'roadtrip.poi.hint': 'Шукайте вздовж денного перегону те, що потрібно в дорозі.',
|
||||
'roadtrip.poi.scope': 'День',
|
||||
'roadtrip.poi.looking': 'Шукаємо',
|
||||
'roadtrip.poi.searchingHint': 'Триває пошук уздовж маршруту…',
|
||||
'roadtrip.poi.found': '{count} у дорозі',
|
||||
'roadtrip.poi.fuel': 'Заправка',
|
||||
'roadtrip.poi.charging': 'Зарядка',
|
||||
'roadtrip.poi.rest': 'Зона відпочинку',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': 'Điểm dừng dọc đường',
|
||||
'roadtrip.stops.remove': 'Xóa điểm dừng',
|
||||
'roadtrip.poi.title': 'Dọc theo lộ trình',
|
||||
'roadtrip.poi.hint': 'Tìm dọc chặng đường trong ngày những thứ bạn cần.',
|
||||
'roadtrip.poi.scope': 'Ngày',
|
||||
'roadtrip.poi.looking': 'Đang tìm',
|
||||
'roadtrip.poi.searchingHint': 'Đang tìm dọc lộ trình…',
|
||||
'roadtrip.poi.found': '{count} trên đường',
|
||||
'roadtrip.poi.fuel': 'Xăng dầu',
|
||||
'roadtrip.poi.charging': 'Sạc điện',
|
||||
'roadtrip.poi.rest': 'Trạm dừng nghỉ',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': '沿途停靠點',
|
||||
'roadtrip.stops.remove': '移除停靠點',
|
||||
'roadtrip.poi.title': '沿線',
|
||||
'roadtrip.poi.hint': '沿某一天的行程搜尋路上需要的東西。',
|
||||
'roadtrip.poi.scope': '日期',
|
||||
'roadtrip.poi.looking': '尋找',
|
||||
'roadtrip.poi.searchingHint': '正在沿路線搜尋…',
|
||||
'roadtrip.poi.found': '沿途 {count} 處',
|
||||
'roadtrip.poi.fuel': '加油',
|
||||
'roadtrip.poi.charging': '充電',
|
||||
'roadtrip.poi.rest': '休息站',
|
||||
|
||||
@@ -11,6 +11,11 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.stops.label': '沿途停靠点',
|
||||
'roadtrip.stops.remove': '移除停靠点',
|
||||
'roadtrip.poi.title': '沿线',
|
||||
'roadtrip.poi.hint': '沿某一天的行程搜索路上需要的东西。',
|
||||
'roadtrip.poi.scope': '日期',
|
||||
'roadtrip.poi.looking': '查找',
|
||||
'roadtrip.poi.searchingHint': '正在沿路线搜索…',
|
||||
'roadtrip.poi.found': '沿途 {count} 处',
|
||||
'roadtrip.poi.fuel': '加油',
|
||||
'roadtrip.poi.charging': '充电',
|
||||
'roadtrip.poi.rest': '服务区',
|
||||
|
||||
Reference in New Issue
Block a user