fix: update build timestamp and correct navigation path in auth module
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
/// Locales: 2
|
/// Locales: 2
|
||||||
/// Strings: 1026 (513 per locale)
|
/// 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
|
// coverage:ignore-file
|
||||||
// ignore_for_file: type=lint, unused_import
|
// ignore_for_file: type=lint, unused_import
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ extension AuthNavigator on IModularNavigator {
|
|||||||
|
|
||||||
/// Navigates to the worker home (external to this module).
|
/// Navigates to the worker home (external to this module).
|
||||||
void pushWorkerHome() {
|
void pushWorkerHome() {
|
||||||
pushNamed('/worker-main/home/');
|
pushNamed('/worker-main/home');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,27 +31,58 @@ class StaffMainModule extends Module {
|
|||||||
'/',
|
'/',
|
||||||
child: (BuildContext context) => const StaffMainPage(),
|
child: (BuildContext context) => const StaffMainPage(),
|
||||||
children: <ParallelRoute<dynamic>>[
|
children: <ParallelRoute<dynamic>>[
|
||||||
ModuleRoute<dynamic>(
|
/// TOODO: FEATURE_NOT_YET_IMPLEMENTED
|
||||||
|
/// Replace PlaceholderPage with actual module when implemented
|
||||||
|
ChildRoute<dynamic>(
|
||||||
StaffMainRoutes.shifts,
|
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,
|
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,
|
StaffMainRoutes.home,
|
||||||
module: StaffHomeModule(),
|
child: (BuildContext context) => const PlaceholderPage(title: 'Home'),
|
||||||
),
|
),
|
||||||
|
// ModuleRoute<dynamic>(
|
||||||
|
// StaffMainRoutes.home,
|
||||||
|
// module: StaffHomeModule(),
|
||||||
|
// ),
|
||||||
|
|
||||||
|
|
||||||
ChildRoute<dynamic>(
|
ChildRoute<dynamic>(
|
||||||
StaffMainRoutes.clockIn,
|
StaffMainRoutes.clockIn,
|
||||||
child: (BuildContext context) =>
|
child: (BuildContext context) =>
|
||||||
const PlaceholderPage(title: 'Clock In'),
|
const PlaceholderPage(title: 'Clock In'),
|
||||||
),
|
),
|
||||||
ModuleRoute<dynamic>(
|
|
||||||
|
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
|
||||||
|
/// Replace PlaceholderPage with actual module when implemented
|
||||||
|
ChildRoute<dynamic>(
|
||||||
StaffMainRoutes.profile,
|
StaffMainRoutes.profile,
|
||||||
module: StaffProfileModule(),
|
child: (BuildContext context) => const PlaceholderPage(title: 'Profile'),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
// ModuleRoute<dynamic>(
|
||||||
|
// StaffMainRoutes.profile,
|
||||||
|
// module: StaffProfileModule(),
|
||||||
|
// ),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
r.module('/onboarding', module: StaffProfileInfoModule());
|
r.module('/onboarding', module: StaffProfileInfoModule());
|
||||||
|
|||||||
Reference in New Issue
Block a user