feat(planner): the panel widths can be dragged with a finger, also on a tablet

The handles on the day plan and the places panel only listened to the mouse, so on an iPad they did nothing, and in the portrait band they were left out. They now follow a finger as well, show a grip on touch screens, keep the page and the map from taking the gesture, and stay in the narrow layout within the room the map needs. As separators they also move with the arrow keys. (#1012)
This commit is contained in:
Maurice
2026-10-01 10:04:18 +02:00
parent 542a57b74e
commit 9f0fe456a4
33 changed files with 193 additions and 35 deletions
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'أوشكنا على الوصول...',
'trip.mobilePlan': 'الخطة',
'trip.mobilePlaces': 'الأماكن',
'trip.panelWidth': 'عرض اللوحة',
'trip.toast.placeUpdated': 'تم تحديث المكان',
'trip.toast.tripUpdated': 'تم تحديث الرحلة',
'trip.toast.placeAdded': 'تمت إضافة المكان',
+1
View File
@@ -20,6 +20,7 @@ const trip: TranslationStrings = {
'trip.mobilePlan': 'Plan',
'trip.mobilePlaces': 'Məkanlar',
'trip.panelWidth': 'Panelin eni',
'trip.toast.placeUpdated': 'Məkan yeniləndi',
'trip.toast.tripUpdated': 'Səyahət yeniləndi',
+1
View File
@@ -14,6 +14,7 @@ const trip: TranslationStrings = {
'trip.loading': 'Carregando viagem...',
'trip.mobilePlan': 'Plano',
'trip.mobilePlaces': 'Lugares',
'trip.panelWidth': 'Largura do painel',
'trip.toast.placeUpdated': 'Lugar atualizado',
'trip.toast.tripUpdated': 'Viagem atualizada',
'trip.toast.placeAdded': 'Lugar adicionado',
+1
View File
@@ -15,6 +15,7 @@ const trip: TranslationStrings = {
'trip.loadingPhotos': 'Carregant les fotos del lloc...',
'trip.mobilePlan': 'Planificació',
'trip.mobilePlaces': 'Llocs',
'trip.panelWidth': 'Amplada del tauler',
'trip.toast.placeUpdated': 'Lloc actualitzat',
'trip.toast.placeAdded': 'Lloc afegit',
'trip.toast.placeDeleted': 'Lloc eliminat',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Už jsme skoro tam...',
'trip.mobilePlan': 'Plán',
'trip.mobilePlaces': 'Místa',
'trip.panelWidth': 'Šířka panelu',
'trip.toast.placeUpdated': 'Místo bylo aktualizováno',
'trip.toast.tripUpdated': 'Cesta aktualizována',
'trip.toast.placeAdded': 'Místo bylo přidáno',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Fast am Ziel...',
'trip.mobilePlan': 'Planung',
'trip.mobilePlaces': 'Orte',
'trip.panelWidth': 'Breite des Bereichs',
'trip.toast.placeUpdated': 'Ort aktualisiert',
'trip.toast.tripUpdated': 'Reise aktualisiert',
'trip.toast.placeAdded': 'Ort hinzugefügt',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Almost there...',
'trip.mobilePlan': 'Plan',
'trip.mobilePlaces': 'Places',
'trip.panelWidth': 'Panel width',
'trip.toast.placeUpdated': 'Place updated',
'trip.toast.tripUpdated': 'Trip updated',
'trip.toast.placeAdded': 'Place added',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Ya casi llegamos...',
'trip.mobilePlan': 'Plan',
'trip.mobilePlaces': 'Lugares',
'trip.panelWidth': 'Ancho del panel',
'trip.toast.placeUpdated': 'Lugar actualizado',
'trip.toast.tripUpdated': 'Viaje actualizado',
'trip.toast.placeAdded': 'Lugar añadido',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Peaaegu kohal...',
'trip.mobilePlan': 'Plaan',
'trip.mobilePlaces': 'Kohad',
'trip.panelWidth': 'Paneeli laius',
'trip.toast.placeUpdated': 'Koht uuendatud',
'trip.toast.tripUpdated': 'Reis uuendatud',
'trip.toast.placeAdded': 'Koht lisatud',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'On y est presque...',
'trip.mobilePlan': 'Plan',
'trip.mobilePlaces': 'Lieux',
'trip.panelWidth': 'Largeur du panneau',
'trip.toast.placeUpdated': 'Lieu mis à jour',
'trip.toast.tripUpdated': 'Voyage mis à jour',
'trip.toast.placeAdded': 'Lieu ajouté',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Σχεδόν φτάσαμε...',
'trip.mobilePlan': 'Πλάνο',
'trip.mobilePlaces': 'Μέρη',
'trip.panelWidth': 'Πλάτος πλαισίου',
'trip.toast.placeUpdated': 'Το μέρος ενημερώθηκε',
'trip.toast.tripUpdated': 'Το ταξίδι ενημερώθηκε',
'trip.toast.placeAdded': 'Το μέρος προστέθηκε',
+1
View File
@@ -14,6 +14,7 @@ const trip: TranslationStrings = {
'trip.loading': 'Utazás betöltése...',
'trip.mobilePlan': 'Tervezés',
'trip.mobilePlaces': 'Helyek',
'trip.panelWidth': 'Panel szélessége',
'trip.toast.placeUpdated': 'Hely frissítve',
'trip.toast.tripUpdated': 'Utazás frissítve',
'trip.toast.placeAdded': 'Hely hozzáadva',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Hampir sampai...',
'trip.mobilePlan': 'Rencana',
'trip.mobilePlaces': 'Tempat',
'trip.panelWidth': 'Lebar panel',
'trip.toast.placeUpdated': 'Tempat diperbarui',
'trip.toast.tripUpdated': 'Perjalanan diperbarui',
'trip.toast.placeAdded': 'Tempat ditambahkan',
+1
View File
@@ -14,6 +14,7 @@ const trip: TranslationStrings = {
'trip.loading': 'Caricamento viaggio...',
'trip.mobilePlan': 'Programma',
'trip.mobilePlaces': 'Luoghi',
'trip.panelWidth': 'Larghezza del pannello',
'trip.toast.placeUpdated': 'Luogo aggiornato',
'trip.toast.tripUpdated': 'Viaggio aggiornato',
'trip.toast.placeAdded': 'Luogo aggiunto',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'もうすぐ到着...',
'trip.mobilePlan': '計画',
'trip.mobilePlaces': '場所',
'trip.panelWidth': 'パネルの幅',
'trip.toast.placeUpdated': '場所を更新しました',
'trip.toast.tripUpdated': '旅行を更新しました',
'trip.toast.placeAdded': '場所を追加しました',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': '거의 다 왔어요...',
'trip.mobilePlan': '계획',
'trip.mobilePlaces': '장소',
'trip.panelWidth': '패널 너비',
'trip.toast.placeUpdated': '장소가 업데이트되었습니다',
'trip.toast.tripUpdated': '여행이 업데이트됨',
'trip.toast.placeAdded': '장소가 추가되었습니다',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Bijna aangekomen...',
'trip.mobilePlan': 'Plan',
'trip.mobilePlaces': 'Plaatsen',
'trip.panelWidth': 'Paneelbreedte',
'trip.toast.placeUpdated': 'Plaats bijgewerkt',
'trip.toast.tripUpdated': 'Reis bijgewerkt',
'trip.toast.placeAdded': 'Plaats toegevoegd',
+1
View File
@@ -14,6 +14,7 @@ const trip: TranslationStrings = {
'trip.loading': 'Ładowanie podróży...',
'trip.mobilePlan': 'Plan',
'trip.mobilePlaces': 'Miejsca',
'trip.panelWidth': 'Szerokość panelu',
'trip.toast.placeUpdated': 'Miejsce zostało zaktualizowane',
'trip.toast.tripUpdated': 'Podróż zaktualizowana',
'trip.toast.placeAdded': 'Miejsce zostało dodane',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Почти на месте...',
'trip.mobilePlan': 'План',
'trip.mobilePlaces': 'Места',
'trip.panelWidth': 'Ширина панели',
'trip.toast.placeUpdated': 'Место обновлено',
'trip.toast.tripUpdated': 'Поездка обновлена',
'trip.toast.placeAdded': 'Место добавлено',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Už sme skoro tam...',
'trip.mobilePlan': 'Plán',
'trip.mobilePlaces': 'Miesta',
'trip.panelWidth': 'Šírka panela',
'trip.toast.placeUpdated': 'Miesto bolo aktualizované',
'trip.toast.tripUpdated': 'Cesta aktualizovaná',
'trip.toast.placeAdded': 'Miesto bolo pridané',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Snart framme...',
'trip.mobilePlan': 'Plan',
'trip.mobilePlaces': 'Platser',
'trip.panelWidth': 'Panelens bredd',
'trip.toast.placeUpdated': 'Plats uppdaterad',
'trip.toast.tripUpdated': 'Resan uppdaterad',
'trip.toast.placeAdded': 'Plats tillagd',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': "เกือบจะถึงแล้ว...",
'trip.mobilePlan': "แผน",
'trip.mobilePlaces': "สถานที่",
'trip.panelWidth': 'ความกว้างของแผง',
'trip.toast.placeUpdated': "อัปเดตสถานที่แล้ว",
'trip.toast.tripUpdated': "อัปเดตการเดินทางแล้ว",
'trip.toast.placeAdded': "เพิ่มสถานที่แล้ว",
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Az kaldı...',
'trip.mobilePlan': 'Plan',
'trip.mobilePlaces': 'Yerler',
'trip.panelWidth': 'Panel genişliği',
'trip.toast.placeUpdated': 'Yer güncellendi',
'trip.toast.tripUpdated': 'Gezi güncellendi',
'trip.toast.placeAdded': 'Yer eklendi',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Майже на місці...',
'trip.mobilePlan': 'План',
'trip.mobilePlaces': 'Місця',
'trip.panelWidth': 'Ширина панелі',
'trip.toast.placeUpdated': 'Місце оновлено',
'trip.toast.tripUpdated': 'Подорож оновлено',
'trip.toast.placeAdded': 'Місце додано',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': 'Sắp đến nơi rồi...',
'trip.mobilePlan': 'Kế hoạch',
'trip.mobilePlaces': 'Địa điểm',
'trip.panelWidth': 'Độ rộng bảng',
'trip.toast.placeUpdated': 'Đã cập nhật địa điểm',
'trip.toast.tripUpdated': 'Đã cập nhật chuyến đi',
'trip.toast.placeAdded': 'Đã thêm địa điểm',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': '就快抵達了...',
'trip.mobilePlan': '計劃',
'trip.mobilePlaces': '地點',
'trip.panelWidth': '面板寬度',
'trip.toast.placeUpdated': '地點已更新',
'trip.toast.tripUpdated': '行程已更新',
'trip.toast.placeAdded': '地點已新增',
+1
View File
@@ -18,6 +18,7 @@ const trip: TranslationStrings = {
'trip.loadingSteps.arrive': '就快到啦...',
'trip.mobilePlan': '计划',
'trip.mobilePlaces': '地点',
'trip.panelWidth': '面板宽度',
'trip.toast.placeUpdated': '地点已更新',
'trip.toast.tripUpdated': '行程已更新',
'trip.toast.placeAdded': '地点已添加',