notice about any in-flight submissions when enabling queue pause or offline mode

This commit is contained in:
stopflock
2026-07-26 18:54:53 -05:00
parent 0887d1ef44
commit a808a4f37e
16 changed files with 268 additions and 14 deletions
+7
View File
@@ -64,6 +64,13 @@ const Duration kChangesetCloseMaxRetryDelay = Duration(minutes: 5); // Cap at 5
const Duration kChangesetAutoCloseTimeout = Duration(minutes: 59); // Give up and trust OSM auto-close
const double kChangesetCloseBackoffMultiplier = 2.0;
// How long to keep the "Submission Complete" confirmation visible in the
// in-flight upload wait dialog (shown when the user enables offline mode or
// pauses the upload queue while a submission is actively in progress) before
// automatically dismissing and applying the requested setting change.
const Duration kInFlightUploadCompleteDisplayDuration = Duration(seconds: 2);
// Overpass API configuration
const Duration kOverpassQueryTimeout = Duration(seconds: 45); // Timeout for Overpass API queries (was 25s hardcoded)