auto-claude: subtask-4-2 - Update routes_page.dart to use new dialog components

- Replaced inline loading dialogs with LoadingDialog component
- Replaced inline notes dialog with NotesDialog component
- Replaced inline photo confirmation dialog with PhotoCaptureDialog component
- Added missing localization strings for completingDelivery, markingAsUncompleted, and deliveryMarkedUncompleted
- Fixed BuildContext usage across async gaps by capturing l10n early
- Fixed unused result warnings by using ref.invalidate instead of ref.refresh
- Removed unnecessary non-null assertions

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-01-20 11:45:39 -05:00
parent c8c2ec0921
commit 697b724f02
6 changed files with 84 additions and 177 deletions
+18
View File
@@ -631,6 +631,24 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Retake'**
String get retake;
/// No description provided for @completingDelivery.
///
/// In en, this message translates to:
/// **'Completing delivery...'**
String get completingDelivery;
/// No description provided for @markingAsUncompleted.
///
/// In en, this message translates to:
/// **'Marking as uncompleted...'**
String get markingAsUncompleted;
/// No description provided for @deliveryMarkedUncompleted.
///
/// In en, this message translates to:
/// **'Delivery marked as uncompleted'**
String get deliveryMarkedUncompleted;
}
class _AppLocalizationsDelegate