feat: architecture overhaul, launchpad-style reports, and uber-style locations

- Strengthened Buffer Layer architecture to decouple Data Connect from Domain
- Rewired Coverage, Performance, and Forecast reports to match Launchpad logic
- Implemented Uber-style Preferred Locations search using Google Places API
- Added session recovery logic to prevent crashes on app restart
- Synchronized backend schemas & SDK for ShiftStatus enums
- Fixed various build/compilation errors and localization duplicates
This commit is contained in:
2026-02-20 17:20:06 +05:30
parent e6c4b51e84
commit 8849bf2273
60 changed files with 3804 additions and 2397 deletions

View File

@@ -177,6 +177,13 @@ extension StaffNavigator on IModularNavigator {
pushNamed(StaffPaths.onboardingPersonalInfo);
}
/// Pushes the preferred locations editing page.
///
/// Allows staff to search and manage their preferred US work locations.
void toPreferredLocations() {
pushNamed(StaffPaths.preferredLocations);
}
/// Pushes the emergency contact page.
///
/// Manage emergency contact details for safety purposes.

View File

@@ -128,6 +128,12 @@ class StaffPaths {
static const String languageSelection =
'/worker-main/personal-info/language-selection/';
/// Preferred locations editing page.
///
/// Allows staff to search and select their preferred US work locations.
static const String preferredLocations =
'/worker-main/personal-info/preferred-locations/';
/// Emergency contact information.
///
/// Manage emergency contact details for safety purposes.