From 8f8c6ff2d299bdda1e7a76728d150ac785858463 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Sat, 24 Jan 2026 15:06:40 -0500 Subject: [PATCH] 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 --- .../widgets/rapid_order/rapid_order_view.dart | 13 +++++++++ .../presentation/widgets/actions_widget.dart | 28 +++++++++---------- .../presentation/pages/get_started_page.dart | 12 ++++++-- .../staff/home/lib/src/staff_home_module.dart | 7 ++++- .../profile/lib/src/staff_profile_module.dart | 7 ++++- 5 files changed, 48 insertions(+), 19 deletions(-) diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/widgets/rapid_order/rapid_order_view.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/widgets/rapid_order/rapid_order_view.dart index 093ec39d..2d052332 100644 --- a/apps/mobile/packages/features/client/create_order/lib/src/presentation/widgets/rapid_order/rapid_order_view.dart +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/widgets/rapid_order/rapid_order_view.dart @@ -23,6 +23,19 @@ class RapidOrderView extends StatelessWidget { return BlocBuilder( 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, diff --git a/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/actions_widget.dart b/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/actions_widget.dart index eeebff38..304857f1 100644 --- a/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/actions_widget.dart +++ b/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/actions_widget.dart @@ -24,20 +24,20 @@ class ActionsWidget extends StatelessWidget { return Row( children: [ - 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( diff --git a/apps/mobile/packages/features/staff/authentication/lib/src/presentation/pages/get_started_page.dart b/apps/mobile/packages/features/staff/authentication/lib/src/presentation/pages/get_started_page.dart index f1ef9619..60bdc08a 100644 --- a/apps/mobile/packages/features/staff/authentication/lib/src/presentation/pages/get_started_page.dart +++ b/apps/mobile/packages/features/staff/authentication/lib/src/presentation/pages/get_started_page.dart @@ -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, ), diff --git a/apps/mobile/packages/features/staff/home/lib/src/staff_home_module.dart b/apps/mobile/packages/features/staff/home/lib/src/staff_home_module.dart index f04002fd..fc439fcf 100644 --- a/apps/mobile/packages/features/staff/home/lib/src/staff_home_module.dart +++ b/apps/mobile/packages/features/staff/home/lib/src/staff_home_module.dart @@ -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'), + ), + )); } } diff --git a/apps/mobile/packages/features/staff/profile/lib/src/staff_profile_module.dart b/apps/mobile/packages/features/staff/profile/lib/src/staff_profile_module.dart index 4ad1dcca..db6d7d6a 100644 --- a/apps/mobile/packages/features/staff/profile/lib/src/staff_profile_module.dart +++ b/apps/mobile/packages/features/staff/profile/lib/src/staff_profile_module.dart @@ -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'), + ), + )); } }