From 6d0b58a5180b5e7b0f17ea05848217c1ef8eb164 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Tue, 17 Nov 2026 20:51:30 -0800 Subject: [PATCH] fix(bikeshare): cockpit refusal for flying to a bike share city; transit viewport stub gains showCoverage --- src/i18n/locales/ar.json | 3 ++- src/i18n/locales/de.json | 3 ++- src/i18n/locales/es.json | 3 ++- src/i18n/locales/fr.json | 3 ++- src/i18n/locales/he.json | 3 ++- src/i18n/locales/it.json | 3 ++- src/i18n/locales/ja.json | 3 ++- src/i18n/locales/pt.json | 3 ++- src/i18n/locales/ru.json | 3 ++- src/i18n/locales/sv.json | 3 ++- src/i18n/locales/uk.json | 3 ++- src/i18n/locales/zh-CN.json | 3 ++- src/i18n/locales/zh-Hant.json | 3 ++- src/layers/transit/lifecycle.test.mjs | 1 + src/navigationPolicy.js | 2 ++ 15 files changed, 29 insertions(+), 13 deletions(-) diff --git a/src/i18n/locales/ar.json b/src/i18n/locales/ar.json index 803e63353c..1d02aaac8a 100644 --- a/src/i18n/locales/ar.json +++ b/src/i18n/locales/ar.json @@ -4548,5 +4548,6 @@ "Course to {code}: {course}": "المسار إلى {code}: {course}", "Over {place}": "فوق {place}", "Below": "في الأسفل", - "Back to live at the starting view": "العودة إلى البث المباشر في العرض الأولي" + "Back to live at the starting view": "العودة إلى البث المباشر في العرض الأولي", + "Exit cockpit to fly to a bike share city": "اخرج من قمرة القيادة للانتقال إلى مدينة بها مشاركة دراجات" } diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index f04bcd6347..75209c7ec3 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -4136,5 +4136,6 @@ "Course to {code}: {course}": "Kurs nach {code}: {course}", "Over {place}": "Über {place}", "Below": "Darunter", - "Back to live at the starting view": "Zurück zu Live in der Startansicht" + "Back to live at the starting view": "Zurück zu Live in der Startansicht", + "Exit cockpit to fly to a bike share city": "Cockpit verlassen, um zu einer Stadt mit Bike-Sharing zu fliegen" } diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index 15abe0181a..e8bc002db2 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -4239,5 +4239,6 @@ "Course to {code}: {course}": "Rumbo a {code}: {course}", "Over {place}": "Sobre {place}", "Below": "Debajo", - "Back to live at the starting view": "Volver al directo en la vista inicial" + "Back to live at the starting view": "Volver al directo en la vista inicial", + "Exit cockpit to fly to a bike share city": "Sal de la cabina para volar a una ciudad con bicicletas compartidas" } diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json index 8d197c36f1..56fe5d6141 100644 --- a/src/i18n/locales/fr.json +++ b/src/i18n/locales/fr.json @@ -4239,5 +4239,6 @@ "Course to {code}: {course}": "Cap vers {code} : {course}", "Over {place}": "Au-dessus de {place}", "Below": "En dessous", - "Back to live at the starting view": "Revenir au direct dans la vue de départ" + "Back to live at the starting view": "Revenir au direct dans la vue de départ", + "Exit cockpit to fly to a bike share city": "Quittez le cockpit pour aller vers une ville avec vélos en libre-service" } diff --git a/src/i18n/locales/he.json b/src/i18n/locales/he.json index d36c880db7..1762cfd6cb 100644 --- a/src/i18n/locales/he.json +++ b/src/i18n/locales/he.json @@ -4239,5 +4239,6 @@ "Course to {code}: {course}": "כיוון אל {code}: {course}", "Over {place}": "מעל {place}", "Below": "מתחת", - "Back to live at the starting view": "חזרה לשידור החי בתצוגת הפתיחה" + "Back to live at the starting view": "חזרה לשידור החי בתצוגת הפתיחה", + "Exit cockpit to fly to a bike share city": "צא מתא הטייס כדי לטוס לעיר עם שיתוף אופניים" } diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json index 33ebcbc8cd..db643aca28 100644 --- a/src/i18n/locales/it.json +++ b/src/i18n/locales/it.json @@ -4239,5 +4239,6 @@ "Course to {code}: {course}": "Rotta verso {code}: {course}", "Over {place}": "Sopra {place}", "Below": "Sotto", - "Back to live at the starting view": "Torna alla diretta nella vista iniziale" + "Back to live at the starting view": "Torna alla diretta nella vista iniziale", + "Exit cockpit to fly to a bike share city": "Esci dalla cabina per volare verso una città con bike sharing" } diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 441930ae4f..a099a1c0ef 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -4033,5 +4033,6 @@ "Course to {code}: {course}": "{code}への針路: {course}", "Over {place}": "{place}上空", "Below": "直下", - "Back to live at the starting view": "ライブに戻り、最初の表示へ" + "Back to live at the starting view": "ライブに戻り、最初の表示へ", + "Exit cockpit to fly to a bike share city": "シェアサイクルのある都市へ移動するにはコックピットを終了してください" } diff --git a/src/i18n/locales/pt.json b/src/i18n/locales/pt.json index aea0212784..42e67fb4a7 100644 --- a/src/i18n/locales/pt.json +++ b/src/i18n/locales/pt.json @@ -4239,5 +4239,6 @@ "Course to {code}: {course}": "Rumo para {code}: {course}", "Over {place}": "Sobre {place}", "Below": "Abaixo", - "Back to live at the starting view": "Voltar ao vivo na vista inicial" + "Back to live at the starting view": "Voltar ao vivo na vista inicial", + "Exit cockpit to fly to a bike share city": "Saia do cockpit para voar até uma cidade com bicicletas compartilhadas" } diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index a3aff0afb9..d0797e7f7e 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -4342,5 +4342,6 @@ "Course to {code}: {course}": "Курс на {code}: {course}", "Over {place}": "Над: {place}", "Below": "Под спутником", - "Back to live at the starting view": "Вернуться в прямой эфир в начальном виде" + "Back to live at the starting view": "Вернуться в прямой эфир в начальном виде", + "Exit cockpit to fly to a bike share city": "Выйдите из кабины, чтобы перелететь в город с прокатом велосипедов" } diff --git a/src/i18n/locales/sv.json b/src/i18n/locales/sv.json index f2329a3526..c644de9759 100644 --- a/src/i18n/locales/sv.json +++ b/src/i18n/locales/sv.json @@ -4136,5 +4136,6 @@ "Course to {code}: {course}": "Kurs mot {code}: {course}", "Over {place}": "Över {place}", "Below": "Nedanför", - "Back to live at the starting view": "Tillbaka till live i startvyn" + "Back to live at the starting view": "Tillbaka till live i startvyn", + "Exit cockpit to fly to a bike share city": "Lämna cockpit för att flyga till en stad med lånecyklar" } diff --git a/src/i18n/locales/uk.json b/src/i18n/locales/uk.json index e22c9bfe2e..6ffc523a7b 100644 --- a/src/i18n/locales/uk.json +++ b/src/i18n/locales/uk.json @@ -4342,5 +4342,6 @@ "Course to {code}: {course}": "Курс на {code}: {course}", "Over {place}": "Над: {place}", "Below": "Під супутником", - "Back to live at the starting view": "Повернутися до прямого ефіру в початковому вигляді" + "Back to live at the starting view": "Повернутися до прямого ефіру в початковому вигляді", + "Exit cockpit to fly to a bike share city": "Вийдіть із кабіни, щоб перелетіти до міста з прокатом велосипедів" } diff --git a/src/i18n/locales/zh-CN.json b/src/i18n/locales/zh-CN.json index 2bbd863f76..9ccdf57079 100644 --- a/src/i18n/locales/zh-CN.json +++ b/src/i18n/locales/zh-CN.json @@ -4033,5 +4033,6 @@ "Course to {code}: {course}": "前往 {code} 的航向:{course}", "Over {place}": "{place}上空", "Below": "下方", - "Back to live at the starting view": "回到实时并返回初始视图" + "Back to live at the starting view": "回到实时并返回初始视图", + "Exit cockpit to fly to a bike share city": "退出驾驶舱以飞往有共享单车的城市" } diff --git a/src/i18n/locales/zh-Hant.json b/src/i18n/locales/zh-Hant.json index 97f1694b32..990da1f665 100644 --- a/src/i18n/locales/zh-Hant.json +++ b/src/i18n/locales/zh-Hant.json @@ -4033,5 +4033,6 @@ "Course to {code}: {course}": "前往 {code} 的航向:{course}", "Over {place}": "{place}上空", "Below": "下方", - "Back to live at the starting view": "回到實時並返回初始視圖" + "Back to live at the starting view": "回到實時並返回初始視圖", + "Exit cockpit to fly to a bike share city": "退出駕駛艙以飛往有共享單車的城市" } diff --git a/src/layers/transit/lifecycle.test.mjs b/src/layers/transit/lifecycle.test.mjs index 49a3e7f17a..18760b5f5d 100644 --- a/src/layers/transit/lifecycle.test.mjs +++ b/src/layers/transit/lifecycle.test.mjs @@ -4181,6 +4181,7 @@ test('the actual Transit lifecycle keeps exactly its own camera listener in ever onCameraChanged: noop, runProximityCheck: noop, deactivateAllCities: noop, + showCoverage: noop, }, ingestion: { abortAllInFlight: noop }, }, diff --git a/src/navigationPolicy.js b/src/navigationPolicy.js index b2826745f5..781161d137 100644 --- a/src/navigationPolicy.js +++ b/src/navigationPolicy.js @@ -38,6 +38,8 @@ const COCKPIT_REFUSALS = Object.freeze({ cyclone: msg('Exit cockpit to fly to a cyclone'), // The News panel's cards and the news layer's hotspots fly to the event. news: msg('Exit cockpit to fly to a news report'), + // A covered city's marker on Bike Share flies down into the city. + 'bike share': msg('Exit cockpit to fly to a bike share city'), // Voice track_entity (TRACKABLE_FAMILIES kinds in gevActions.js) and // frame_overhead, which frames the contacts around the current view. aircraft: msg('Exit cockpit to fly to an aircraft'),