feat: Add placeholder for unimplemented features in Get Started, Home, and Profile modules
feat: Add placeholder for Rapid Order success view and comment out Rapid action card
This commit is contained in:
@@ -16,8 +16,14 @@ class GetStartedPage extends StatelessWidget {
|
||||
const GetStartedPage({super.key});
|
||||
|
||||
/// On sign up pressed callback.
|
||||
void onSignUpPressed() {
|
||||
Modular.to.pushPhoneVerification(AuthMode.signup);
|
||||
void onSignUpPressed(BuildContext context) {
|
||||
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
|
||||
/// Replace with actual sign up flow when implemented
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(
|
||||
content: Text('Sign Up feature not yet implemented.'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/// On login pressed callback.
|
||||
@@ -48,7 +54,7 @@ class GetStartedPage extends StatelessWidget {
|
||||
|
||||
// Actions
|
||||
GetStartedActions(
|
||||
onSignUpPressed: onSignUpPressed,
|
||||
onSignUpPressed: () => onSignUpPressed(context),
|
||||
onLoginPressed: onLoginPressed,
|
||||
),
|
||||
|
||||
|
||||
@@ -28,6 +28,11 @@ class StaffHomeModule extends Module {
|
||||
|
||||
@override
|
||||
void routes(RouteManager r) {
|
||||
r.child('/', child: (BuildContext context) => const WorkerHomePage());
|
||||
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
|
||||
r.child('/', child: (BuildContext context) => const SizedBox(
|
||||
child: Center(
|
||||
child: Text('Home Feature Not Yet Implemented'),
|
||||
),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,6 +50,11 @@ class StaffProfileModule extends Module {
|
||||
|
||||
@override
|
||||
void routes(RouteManager r) {
|
||||
r.child('/', child: (BuildContext context) => const StaffProfilePage());
|
||||
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
|
||||
r.child('/', child: (BuildContext context) => const SizedBox(
|
||||
child: Center(
|
||||
child: Text('Profile Feature Not Yet Implemented'),
|
||||
),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user