Make the map path trace builder explicit and keep its state

The builder panel now labels its actions, lets the user pick round trip
or as-entered with an explanation, and only sends when "Run path trace"
is pressed. Hops, mode and the last result are kept in UiViewStateService
for the session, so going back no longer clears them and the last result
can be reopened without sending again.
This commit is contained in:
zjs81 committed 2026-10-24 21:02:19 -07:00
1 parent c131f56dae
commit 1e786b24ba
27 files changed
+832 -117

No files matched your search

+6
View File
@@ -1234,6 +1234,12 @@
"map_runTraceWithReturnPath": "Return back on the same path.",
"map_removeLast": "Remove Last",
"map_pathTraceCancelled": "Path trace cancelled.",
"map_pathTraceAddMoreHint": "Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.",
"map_pathTraceModeRoundTrip": "Round trip",
"map_pathTraceModeRoundTripHint": "The trace goes out through these hops and comes back the same way.",
"map_pathTraceModeAsEntered": "As entered",
"map_pathTraceModeAsEnteredHint": "The trace follows these hops exactly. Add the hops back to you yourself.",
"map_pathTraceViewLast": "View last result",
"mapCache_title": "Offline Map Cache",
"mapCache_selectAreaFirst": "Select an area to cache first",
"mapCache_noTilesToDownload": "No tiles to download for this area",
+36
View File
@@ -4246,6 +4246,42 @@ abstract class AppLocalizations {
/// **'Path trace cancelled.'**
String get map_pathTraceCancelled;
/// No description provided for @map_pathTraceAddMoreHint.
///
/// In en, this message translates to:
/// **'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.'**
String get map_pathTraceAddMoreHint;
/// No description provided for @map_pathTraceModeRoundTrip.
///
/// In en, this message translates to:
/// **'Round trip'**
String get map_pathTraceModeRoundTrip;
/// No description provided for @map_pathTraceModeRoundTripHint.
///
/// In en, this message translates to:
/// **'The trace goes out through these hops and comes back the same way.'**
String get map_pathTraceModeRoundTripHint;
/// No description provided for @map_pathTraceModeAsEntered.
///
/// In en, this message translates to:
/// **'As entered'**
String get map_pathTraceModeAsEntered;
/// No description provided for @map_pathTraceModeAsEnteredHint.
///
/// In en, this message translates to:
/// **'The trace follows these hops exactly. Add the hops back to you yourself.'**
String get map_pathTraceModeAsEnteredHint;
/// No description provided for @map_pathTraceViewLast.
///
/// In en, this message translates to:
/// **'View last result'**
String get map_pathTraceViewLast;
/// No description provided for @mapCache_title.
///
/// In en, this message translates to:
+21
View File
@@ -2382,6 +2382,27 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Отменен е следването на пътя.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Кеш на офлайн карти';
+21
View File
@@ -2380,6 +2380,27 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Pfadverfolgung abgebrochen.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline-Karten-Cache';
+21
View File
@@ -2344,6 +2344,27 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Path trace cancelled.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline Map Cache';
+21
View File
@@ -2374,6 +2374,27 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Traza de ruta cancelada.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Caché de mapa sin conexión';
+21
View File
@@ -2382,6 +2382,27 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Traçage de chemin annulé';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Cache de carte hors ligne';
+21
View File
@@ -2371,6 +2371,27 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Útvonal nyomkövetés törölve.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline térképgyorsítótár';
+21
View File
@@ -2380,6 +2380,27 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Tracciamento del percorso annullato.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Cache mappa offline';
+21
View File
@@ -2276,6 +2276,27 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get map_pathTraceCancelled => '経路トレースはキャンセルされました';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'オフライン用地図キャッシュ';
+21
View File
@@ -2282,6 +2282,27 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get map_pathTraceCancelled => '경로 추적 기능이 취소되었습니다.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => '오프라인 지도 캐시';
+21
View File
@@ -2363,6 +2363,27 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Pad traceren geannuleerd';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline Kaarten Cache';
+21
View File
@@ -2399,6 +2399,27 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Śledzenie ścieżki anulowano.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Pamięć podręczna map offline';
+21
View File
@@ -2378,6 +2378,27 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Rastreamento de caminho cancelado.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Cache de Mapa Offline';
+21
View File
@@ -2384,6 +2384,27 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Отмена трассировки пути';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Кэш офлайн-карты';
+21
View File
@@ -2371,6 +2371,27 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Zrušenie stopáže cesty bolo zrušené.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline Mapa Pamäť';
+21
View File
@@ -2364,6 +2364,27 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Spremljanje poti je prekinjeno.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title =>
'Omrezni predpomnilnik zemljeških zemljejevskih slik';
+21
View File
@@ -2353,6 +2353,27 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Ruttspårningen avbröts.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Offline Kartcache';
+21
View File
@@ -2374,6 +2374,27 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get map_pathTraceCancelled => 'Трасування шляху скасовано.';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => 'Офлайн-кеш карти';
+21
View File
@@ -2247,6 +2247,27 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get map_pathTraceCancelled => '路径追踪已取消';
@override
String get map_pathTraceAddMoreHint =>
'Tap more nodes to add hops, choose how the trace returns, then tap Run path trace.';
@override
String get map_pathTraceModeRoundTrip => 'Round trip';
@override
String get map_pathTraceModeRoundTripHint =>
'The trace goes out through these hops and comes back the same way.';
@override
String get map_pathTraceModeAsEntered => 'As entered';
@override
String get map_pathTraceModeAsEnteredHint =>
'The trace follows these hops exactly. Add the hops back to you yourself.';
@override
String get map_pathTraceViewLast => 'View last result';
@override
String get mapCache_title => '离线地图缓存';