Revert "feat: Add placeholder for unimplemented features in Get Started, Home, and Profile modules"

This reverts commit 8f8c6ff2d2.
This commit is contained in:
Achintha Isuru
2026-01-24 15:36:09 -05:00
parent 8f8c6ff2d2
commit 5039743c03
5 changed files with 19 additions and 48 deletions

View File

@@ -23,19 +23,6 @@ class RapidOrderView extends StatelessWidget {
return BlocBuilder<RapidOrderBloc, RapidOrderState>(
builder: (BuildContext context, RapidOrderState state) {
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
return Scaffold(
appBar: UiAppBar(
title: labels.title,
showBackButton: true,
onLeadingPressed: () => Modular.to.pop(),
),
body: const SizedBox(
child: Center(
child: Text('Rapid Order Success View Not Yet Implemented'),
),
),
);
if (state is RapidOrderSuccess) {
return RapidOrderSuccessView(
title: labels.success_title,

View File

@@ -24,20 +24,20 @@ class ActionsWidget extends StatelessWidget {
return Row(
children: <Widget>[
// Expanded(
// child: _ActionCard(
// title: i18n.rapid,
// subtitle: i18n.rapid_subtitle,
// icon: UiIcons.zap,
// color: const Color(0xFFFEF2F2),
// borderColor: const Color(0xFFFECACA),
// iconBgColor: const Color(0xFFFEE2E2),
// iconColor: const Color(0xFFDC2626),
// textColor: const Color(0xFF7F1D1D),
// subtitleColor: const Color(0xFFB91C1C),
// onTap: onRapidPressed,
// ),
// ),
Expanded(
child: _ActionCard(
title: i18n.rapid,
subtitle: i18n.rapid_subtitle,
icon: UiIcons.zap,
color: const Color(0xFFFEF2F2),
borderColor: const Color(0xFFFECACA),
iconBgColor: const Color(0xFFFEE2E2),
iconColor: const Color(0xFFDC2626),
textColor: const Color(0xFF7F1D1D),
subtitleColor: const Color(0xFFB91C1C),
onTap: onRapidPressed,
),
),
const SizedBox(width: UiConstants.space2),
Expanded(
child: _ActionCard(

View File

@@ -16,14 +16,8 @@ class GetStartedPage extends StatelessWidget {
const GetStartedPage({super.key});
/// On sign up pressed callback.
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.'),
),
);
void onSignUpPressed() {
Modular.to.pushPhoneVerification(AuthMode.signup);
}
/// On login pressed callback.
@@ -54,7 +48,7 @@ class GetStartedPage extends StatelessWidget {
// Actions
GetStartedActions(
onSignUpPressed: () => onSignUpPressed(context),
onSignUpPressed: onSignUpPressed,
onLoginPressed: onLoginPressed,
),

View File

@@ -28,11 +28,6 @@ class StaffHomeModule extends Module {
@override
void routes(RouteManager r) {
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
r.child('/', child: (BuildContext context) => const SizedBox(
child: Center(
child: Text('Home Feature Not Yet Implemented'),
),
));
r.child('/', child: (BuildContext context) => const WorkerHomePage());
}
}

View File

@@ -50,11 +50,6 @@ class StaffProfileModule extends Module {
@override
void routes(RouteManager r) {
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
r.child('/', child: (BuildContext context) => const SizedBox(
child: Center(
child: Text('Profile Feature Not Yet Implemented'),
),
));
r.child('/', child: (BuildContext context) => const StaffProfilePage());
}
}