fix(roadtrip): the check-out leaves the drive, and a long stay carries the clock

A check-out is the LATEST the room has to be handed back, never the earliest
anybody may drive on, so it says nothing the chain can use. It shaped four things
it had no business shaping: the departure the day was built from, the length the
rail printed for a booked night, a day-selector and a clock field in the stop
dialog, and the branch that sent a night's STAY badge to the booking form because
its length was not editable here. All four go. The booking keeps its check-out;
it is a booking detail and lives under Days, where it is entered.

What replaces it is the thing that was always the honest answer: how long you
stand there. That is the traveller's own statement rather than a deadline, and a
stay running past midnight now carries the clock into the morning after — a stop
pinned before it ends keeps its hour and collects the late finding, as it would
from any leg it cannot make. A stay spanning whole days walks the clock forward
over them. An ordinary evening hands on nothing: the night between two days is
not a wait somebody is serving out.

The stay dialog goes to a full day rather than four hours, since it is now the
only place a night is given its hours, and offers eight and twelve as presets.
Every stop answers the same question the same way.

Overlay panels lose the skeleton placeholder. It was drawn in the page flow, so
the first time each dialog was ever opened a pale block flashed under the planner
and never again once its chunk was cached.
This commit is contained in:
Maurice
2026-09-13 14:23:49 +02:00
parent f4809a67d3
commit 3d201e1ced
39 changed files with 208 additions and 215 deletions
-2
View File
@@ -143,8 +143,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'وجهة',
'roadtrip.stay.mode.pause': 'استراحة',
'roadtrip.stay.mode.night': 'مبيت',
'roadtrip.stay.checkOutDay': 'المغادرة في',
'roadtrip.stay.dayNumber': 'اليوم {number}',
'roadtrip.stay.nightAdded': 'أُضيف كمبيت',
'roadtrip.stay.nightAction': 'إضافة كمبيت',
'roadtrip.stop.makeService': 'اجعله توقفاً في الطريق',
-2
View File
@@ -146,8 +146,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Um destino',
'roadtrip.stay.mode.pause': 'Pausa',
'roadtrip.stay.mode.night': 'Pernoite',
'roadtrip.stay.checkOutDay': 'Saída em',
'roadtrip.stay.dayNumber': 'Dia {number}',
'roadtrip.stay.nightAdded': 'Adicionado como pernoite',
'roadtrip.stay.nightAction': 'Adicionar como pernoite',
'roadtrip.stop.makeService': 'Tornar uma parada no caminho',
-2
View File
@@ -147,8 +147,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Una destinació',
'roadtrip.stay.mode.pause': 'Parada',
'roadtrip.stay.mode.night': 'Pernoctar',
'roadtrip.stay.checkOutDay': 'Sortida el',
'roadtrip.stay.dayNumber': 'Dia {number}',
'roadtrip.stay.nightAdded': 'Afegit com a pernoctació',
'roadtrip.stay.nightAction': 'Afegeix com a pernoctació',
'roadtrip.stop.makeService': 'Converteix en parada del camí',
-2
View File
@@ -145,8 +145,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Cíl cesty',
'roadtrip.stay.mode.pause': 'Pauza',
'roadtrip.stay.mode.night': 'Nocleh',
'roadtrip.stay.checkOutDay': 'Odjezd',
'roadtrip.stay.dayNumber': 'Den {number}',
'roadtrip.stay.nightAdded': 'Přidáno jako nocleh',
'roadtrip.stay.nightAction': 'Přidat jako nocleh',
'roadtrip.stop.makeService': 'Změnit na zastávku po cestě',
-2
View File
@@ -143,8 +143,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Ein Ziel',
'roadtrip.stay.mode.pause': 'Pause',
'roadtrip.stay.mode.night': 'Übernachten',
'roadtrip.stay.checkOutDay': 'Abreise am',
'roadtrip.stay.dayNumber': 'Tag {number}',
'roadtrip.stay.nightAdded': 'Als Übernachtung hinzugefügt',
'roadtrip.stay.nightAction': 'Als Übernachtung hinzufügen',
'roadtrip.stop.makeService': 'Zum Halt unterwegs machen',
-2
View File
@@ -142,8 +142,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'A destination',
'roadtrip.stay.mode.pause': 'Pause',
'roadtrip.stay.mode.night': 'Overnight',
'roadtrip.stay.checkOutDay': 'Check out on',
'roadtrip.stay.dayNumber': 'Day {number}',
'roadtrip.stay.nightAdded': 'Added as an overnight stay',
'roadtrip.stay.nightAction': 'Add as an overnight stay',
'roadtrip.stop.makeService': 'Make it a stop on the way',
-2
View File
@@ -147,8 +147,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Un destino',
'roadtrip.stay.mode.pause': 'Parada',
'roadtrip.stay.mode.night': 'Pernoctar',
'roadtrip.stay.checkOutDay': 'Salida el',
'roadtrip.stay.dayNumber': 'Día {number}',
'roadtrip.stay.nightAdded': 'Añadido como pernoctación',
'roadtrip.stay.nightAction': 'Añadir como pernoctación',
'roadtrip.stop.makeService': 'Convertir en parada del camino',
-2
View File
@@ -148,8 +148,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Une destination',
'roadtrip.stay.mode.pause': 'Pause',
'roadtrip.stay.mode.night': 'Nuitée',
'roadtrip.stay.checkOutDay': 'Départ le',
'roadtrip.stay.dayNumber': 'Jour {number}',
'roadtrip.stay.nightAdded': 'Ajouté comme nuitée',
'roadtrip.stay.nightAction': 'Ajouter comme nuitée',
'roadtrip.stop.makeService': 'En faire un arrêt en chemin',
-2
View File
@@ -149,8 +149,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Προορισμός',
'roadtrip.stay.mode.pause': 'Στάση',
'roadtrip.stay.mode.night': 'Διανυκτέρευση',
'roadtrip.stay.checkOutDay': 'Αναχώρηση',
'roadtrip.stay.dayNumber': 'Ημέρα {number}',
'roadtrip.stay.nightAdded': 'Προστέθηκε ως διανυκτέρευση',
'roadtrip.stay.nightAction': 'Προσθήκη ως διανυκτέρευση',
'roadtrip.stop.makeService': 'Μετατροπή σε στάση στον δρόμο',
-2
View File
@@ -145,8 +145,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Úti cél',
'roadtrip.stay.mode.pause': 'Szünet',
'roadtrip.stay.mode.night': 'Éjszakázás',
'roadtrip.stay.checkOutDay': 'Kijelentkezés',
'roadtrip.stay.dayNumber': '{number}. nap',
'roadtrip.stay.nightAdded': 'Hozzáadva éjszakázásként',
'roadtrip.stay.nightAction': 'Hozzáadás éjszakázásként',
'roadtrip.stop.makeService': 'Legyen útközbeni megálló',
-2
View File
@@ -147,8 +147,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Sebuah tujuan',
'roadtrip.stay.mode.pause': 'Istirahat',
'roadtrip.stay.mode.night': 'Menginap',
'roadtrip.stay.checkOutDay': 'Check out',
'roadtrip.stay.dayNumber': 'Hari {number}',
'roadtrip.stay.nightAdded': 'Ditambahkan sebagai menginap',
'roadtrip.stay.nightAction': 'Tambahkan sebagai menginap',
'roadtrip.stop.makeService': 'Jadikan perhentian di jalan',
-2
View File
@@ -147,8 +147,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Una destinazione',
'roadtrip.stay.mode.pause': 'Sosta',
'roadtrip.stay.mode.night': 'Pernottamento',
'roadtrip.stay.checkOutDay': 'Partenza il',
'roadtrip.stay.dayNumber': 'Giorno {number}',
'roadtrip.stay.nightAdded': 'Aggiunto come pernottamento',
'roadtrip.stay.nightAction': 'Aggiungi come pernottamento',
'roadtrip.stop.makeService': 'Trasforma in sosta lungo il percorso',
-2
View File
@@ -146,8 +146,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': '目的地',
'roadtrip.stay.mode.pause': '休憩',
'roadtrip.stay.mode.night': '宿泊',
'roadtrip.stay.checkOutDay': 'チェックアウト日',
'roadtrip.stay.dayNumber': '{number}日目',
'roadtrip.stay.nightAdded': '宿泊として追加しました',
'roadtrip.stay.nightAction': '宿泊として追加',
'roadtrip.stop.makeService': '途中の立ち寄りにする',
-2
View File
@@ -145,8 +145,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': '목적지',
'roadtrip.stay.mode.pause': '휴식',
'roadtrip.stay.mode.night': '숙박',
'roadtrip.stay.checkOutDay': '체크아웃 날짜',
'roadtrip.stay.dayNumber': '{number}일차',
'roadtrip.stay.nightAdded': '숙박으로 추가했습니다',
'roadtrip.stay.nightAction': '숙박으로 추가',
'roadtrip.stop.makeService': '경유 정차로 변경',
-2
View File
@@ -148,8 +148,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Een bestemming',
'roadtrip.stay.mode.pause': 'Pauze',
'roadtrip.stay.mode.night': 'Overnachten',
'roadtrip.stay.checkOutDay': 'Uitchecken op',
'roadtrip.stay.dayNumber': 'Dag {number}',
'roadtrip.stay.nightAdded': 'Toegevoegd als overnachting',
'roadtrip.stay.nightAction': 'Toevoegen als overnachting',
'roadtrip.stop.makeService': 'Maak er een stop onderweg van',
-2
View File
@@ -146,8 +146,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Cel podróży',
'roadtrip.stay.mode.pause': 'Postój',
'roadtrip.stay.mode.night': 'Nocleg',
'roadtrip.stay.checkOutDay': 'Wymeldowanie',
'roadtrip.stay.dayNumber': 'Dzień {number}',
'roadtrip.stay.nightAdded': 'Dodano jako nocleg',
'roadtrip.stay.nightAction': 'Dodaj jako nocleg',
'roadtrip.stop.makeService': 'Zamień w postój po drodze',
-2
View File
@@ -147,8 +147,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Пункт назначения',
'roadtrip.stay.mode.pause': 'Остановка',
'roadtrip.stay.mode.night': 'Ночёвка',
'roadtrip.stay.checkOutDay': 'Выезд',
'roadtrip.stay.dayNumber': 'День {number}',
'roadtrip.stay.nightAdded': 'Добавлено как ночёвка',
'roadtrip.stay.nightAction': 'Добавить как ночёвку',
'roadtrip.stop.makeService': 'Сделать остановкой в пути',
-2
View File
@@ -145,8 +145,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Ett resmål',
'roadtrip.stay.mode.pause': 'Paus',
'roadtrip.stay.mode.night': 'Övernattning',
'roadtrip.stay.checkOutDay': 'Utcheckning',
'roadtrip.stay.dayNumber': 'Dag {number}',
'roadtrip.stay.nightAdded': 'Tillagd som övernattning',
'roadtrip.stay.nightAction': 'Lägg till som övernattning',
'roadtrip.stop.makeService': 'Gör det till ett stopp på vägen',
-2
View File
@@ -147,8 +147,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Bir varış noktası',
'roadtrip.stay.mode.pause': 'Mola',
'roadtrip.stay.mode.night': 'Konaklama',
'roadtrip.stay.checkOutDay': 'Çıkış günü',
'roadtrip.stay.dayNumber': '{number}. gün',
'roadtrip.stay.nightAdded': 'Konaklama olarak eklendi',
'roadtrip.stay.nightAction': 'Konaklama olarak ekle',
'roadtrip.stop.makeService': 'Yol üzerinde molaya dönüştür',
-2
View File
@@ -146,8 +146,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Пункт призначення',
'roadtrip.stay.mode.pause': 'Зупинка',
'roadtrip.stay.mode.night': 'Ночівля',
'roadtrip.stay.checkOutDay': 'Виїзд',
'roadtrip.stay.dayNumber': 'День {number}',
'roadtrip.stay.nightAdded': 'Додано як ночівлю',
'roadtrip.stay.nightAction': 'Додати як ночівлю',
'roadtrip.stop.makeService': 'Зробити зупинкою в дорозі',
-2
View File
@@ -146,8 +146,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': 'Một điểm đến',
'roadtrip.stay.mode.pause': 'Nghỉ',
'roadtrip.stay.mode.night': 'Qua đêm',
'roadtrip.stay.checkOutDay': 'Trả phòng ngày',
'roadtrip.stay.dayNumber': 'Ngày {number}',
'roadtrip.stay.nightAdded': 'Đã thêm làm nơi nghỉ đêm',
'roadtrip.stay.nightAction': 'Thêm làm nơi nghỉ đêm',
'roadtrip.stop.makeService': 'Biến thành điểm dừng dọc đường',
-2
View File
@@ -137,8 +137,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': '目的地',
'roadtrip.stay.mode.pause': '停留',
'roadtrip.stay.mode.night': '過夜',
'roadtrip.stay.checkOutDay': '退房日',
'roadtrip.stay.dayNumber': '第 {number} 天',
'roadtrip.stay.nightAdded': '已新增為過夜住宿',
'roadtrip.stay.nightAction': '新增為過夜住宿',
'roadtrip.stop.makeService': '設為途中停靠',
-2
View File
@@ -137,8 +137,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stop.none': '目的地',
'roadtrip.stay.mode.pause': '停留',
'roadtrip.stay.mode.night': '过夜',
'roadtrip.stay.checkOutDay': '退房日',
'roadtrip.stay.dayNumber': '第 {number} 天',
'roadtrip.stay.nightAdded': '已添加为过夜住宿',
'roadtrip.stay.nightAction': '添加为过夜住宿',
'roadtrip.stop.makeService': '设为途中停靠',