fix: update build timestamp and correct navigation path in auth module

This commit is contained in:
Achintha Isuru
2026-01-25 21:38:00 -05:00
parent 323f0a9370
commit a6c7a5044d
3 changed files with 41 additions and 10 deletions

View File

@@ -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

View File

@@ -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');
}
}

View File

@@ -31,27 +31,58 @@ class StaffMainModule extends Module {
'/',
child: (BuildContext context) => const StaffMainPage(),
children: <ParallelRoute<dynamic>>[
ModuleRoute<dynamic>(
/// TOODO: FEATURE_NOT_YET_IMPLEMENTED
/// Replace PlaceholderPage with actual module when implemented
ChildRoute<dynamic>(
StaffMainRoutes.shifts,
module: StaffShiftsModule(),
child: (BuildContext context) => const PlaceholderPage(title: 'Shifts'),
),
ModuleRoute<dynamic>(
// ModuleRoute<dynamic>(
// StaffMainRoutes.shifts,
// module: StaffShiftsModule(),
// ),
/// TOODO: FEATURE_NOT_YET_IMPLEMENTED
/// Replace PlaceholderPage with actual module when implemented
ChildRoute<dynamic>(
StaffMainRoutes.payments,
module: StaffPaymentsModule(),
child: (BuildContext context) => const PlaceholderPage(title: 'Payments'),
),
ModuleRoute<dynamic>(
// ModuleRoute<dynamic>(
// StaffMainRoutes.payments,
// module: StaffPaymentsModule(),
// ),
/// TOODO: FEATURE_NOT_YET_IMPLEMENTED
/// Replace PlaceholderPage with actual module when implemented
ChildRoute<dynamic>(
StaffMainRoutes.home,
module: StaffHomeModule(),
child: (BuildContext context) => const PlaceholderPage(title: 'Home'),
),
// ModuleRoute<dynamic>(
// StaffMainRoutes.home,
// module: StaffHomeModule(),
// ),
ChildRoute<dynamic>(
StaffMainRoutes.clockIn,
child: (BuildContext context) =>
const PlaceholderPage(title: 'Clock In'),
),
ModuleRoute<dynamic>(
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
/// Replace PlaceholderPage with actual module when implemented
ChildRoute<dynamic>(
StaffMainRoutes.profile,
module: StaffProfileModule(),
child: (BuildContext context) => const PlaceholderPage(title: 'Profile'),
),
// ModuleRoute<dynamic>(
// StaffMainRoutes.profile,
// module: StaffProfileModule(),
// ),
],
);
r.module('/onboarding', module: StaffProfileInfoModule());