Routen-Validierung: >15 km/h Ø zählt nicht für Stats/Trophäen, SW by-v331

This commit is contained in:
rene 2026-04-24 09:46:15 +02:00
parent b5e4eab84d
commit 7ac421fcf9
7 changed files with 40 additions and 16 deletions

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '318'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '319'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const App = (() => {

View file

@ -1510,7 +1510,11 @@ window.Page_map = (() => {
UI.modal.close();
if (_recPolyline) { _recPolyline.remove(); _recPolyline = null; }
if (_recMarker) { _recMarker.remove(); _recMarker = null; }
UI.toast.success(`Route „${saved.name}" gespeichert!`);
if (saved.is_valid === false) {
UI.toast.warning(`Route „${saved.name}" gespeichert — wird nicht für Statistiken gewertet (Geschwindigkeit zu hoch).`);
} else {
UI.toast.success(`Route „${saved.name}" gespeichert!`);
}
});
});
}