diff --git a/apps/mobile/packages/core_localization/lib/src/l10n/strings.g.dart b/apps/mobile/packages/core_localization/lib/src/l10n/strings.g.dart index ed16a6a0..6bb62c97 100644 --- a/apps/mobile/packages/core_localization/lib/src/l10n/strings.g.dart +++ b/apps/mobile/packages/core_localization/lib/src/l10n/strings.g.dart @@ -6,7 +6,7 @@ /// Locales: 2 /// Strings: 1026 (513 per locale) /// -/// Built on 2026-01-26 at 02:14 UTC +/// Built on 2026-01-26 at 02:23 UTC // coverage:ignore-file // ignore_for_file: type=lint, unused_import diff --git a/apps/mobile/packages/features/staff/authentication/lib/src/presentation/navigation/auth_navigator.dart b/apps/mobile/packages/features/staff/authentication/lib/src/presentation/navigation/auth_navigator.dart index 5c201e2c..2034bc04 100644 --- a/apps/mobile/packages/features/staff/authentication/lib/src/presentation/navigation/auth_navigator.dart +++ b/apps/mobile/packages/features/staff/authentication/lib/src/presentation/navigation/auth_navigator.dart @@ -16,6 +16,6 @@ extension AuthNavigator on IModularNavigator { /// Navigates to the worker home (external to this module). void pushWorkerHome() { - pushNamed('/worker-main/home/'); + pushNamed('/worker-main/home'); } } diff --git a/apps/mobile/packages/features/staff/staff_main/lib/src/staff_main_module.dart b/apps/mobile/packages/features/staff/staff_main/lib/src/staff_main_module.dart index 43e41c1a..1df58520 100644 --- a/apps/mobile/packages/features/staff/staff_main/lib/src/staff_main_module.dart +++ b/apps/mobile/packages/features/staff/staff_main/lib/src/staff_main_module.dart @@ -31,27 +31,58 @@ class StaffMainModule extends Module { '/', child: (BuildContext context) => const StaffMainPage(), children: >[ - ModuleRoute( + /// TOODO: FEATURE_NOT_YET_IMPLEMENTED + /// Replace PlaceholderPage with actual module when implemented + ChildRoute( StaffMainRoutes.shifts, - module: StaffShiftsModule(), + child: (BuildContext context) => const PlaceholderPage(title: 'Shifts'), ), - ModuleRoute( + // ModuleRoute( + // StaffMainRoutes.shifts, + // module: StaffShiftsModule(), + // ), + + /// TOODO: FEATURE_NOT_YET_IMPLEMENTED + /// Replace PlaceholderPage with actual module when implemented + ChildRoute( StaffMainRoutes.payments, - module: StaffPaymentsModule(), + child: (BuildContext context) => const PlaceholderPage(title: 'Payments'), ), - ModuleRoute( + // ModuleRoute( + // StaffMainRoutes.payments, + // module: StaffPaymentsModule(), + // ), + + + /// TOODO: FEATURE_NOT_YET_IMPLEMENTED + /// Replace PlaceholderPage with actual module when implemented + ChildRoute( StaffMainRoutes.home, - module: StaffHomeModule(), + child: (BuildContext context) => const PlaceholderPage(title: 'Home'), ), + // ModuleRoute( + // StaffMainRoutes.home, + // module: StaffHomeModule(), + // ), + + ChildRoute( StaffMainRoutes.clockIn, child: (BuildContext context) => const PlaceholderPage(title: 'Clock In'), ), - ModuleRoute( + + /// TODO: FEATURE_NOT_YET_IMPLEMENTED + /// Replace PlaceholderPage with actual module when implemented + ChildRoute( StaffMainRoutes.profile, - module: StaffProfileModule(), + child: (BuildContext context) => const PlaceholderPage(title: 'Profile'), ), + + // ModuleRoute( + // StaffMainRoutes.profile, + // module: StaffProfileModule(), + // ), ], ); r.module('/onboarding', module: StaffProfileInfoModule());