Revert "feat: Add placeholder for unimplemented features in Get Started, Home, and Profile modules"
This reverts commit 8f8c6ff2d2.
This commit is contained in:
@@ -23,19 +23,6 @@ class RapidOrderView extends StatelessWidget {
|
|||||||
|
|
||||||
return BlocBuilder<RapidOrderBloc, RapidOrderState>(
|
return BlocBuilder<RapidOrderBloc, RapidOrderState>(
|
||||||
builder: (BuildContext context, RapidOrderState state) {
|
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) {
|
if (state is RapidOrderSuccess) {
|
||||||
return RapidOrderSuccessView(
|
return RapidOrderSuccessView(
|
||||||
title: labels.success_title,
|
title: labels.success_title,
|
||||||
|
|||||||
@@ -24,20 +24,20 @@ class ActionsWidget extends StatelessWidget {
|
|||||||
|
|
||||||
return Row(
|
return Row(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
// Expanded(
|
Expanded(
|
||||||
// child: _ActionCard(
|
child: _ActionCard(
|
||||||
// title: i18n.rapid,
|
title: i18n.rapid,
|
||||||
// subtitle: i18n.rapid_subtitle,
|
subtitle: i18n.rapid_subtitle,
|
||||||
// icon: UiIcons.zap,
|
icon: UiIcons.zap,
|
||||||
// color: const Color(0xFFFEF2F2),
|
color: const Color(0xFFFEF2F2),
|
||||||
// borderColor: const Color(0xFFFECACA),
|
borderColor: const Color(0xFFFECACA),
|
||||||
// iconBgColor: const Color(0xFFFEE2E2),
|
iconBgColor: const Color(0xFFFEE2E2),
|
||||||
// iconColor: const Color(0xFFDC2626),
|
iconColor: const Color(0xFFDC2626),
|
||||||
// textColor: const Color(0xFF7F1D1D),
|
textColor: const Color(0xFF7F1D1D),
|
||||||
// subtitleColor: const Color(0xFFB91C1C),
|
subtitleColor: const Color(0xFFB91C1C),
|
||||||
// onTap: onRapidPressed,
|
onTap: onRapidPressed,
|
||||||
// ),
|
),
|
||||||
// ),
|
),
|
||||||
const SizedBox(width: UiConstants.space2),
|
const SizedBox(width: UiConstants.space2),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: _ActionCard(
|
child: _ActionCard(
|
||||||
|
|||||||
@@ -16,14 +16,8 @@ class GetStartedPage extends StatelessWidget {
|
|||||||
const GetStartedPage({super.key});
|
const GetStartedPage({super.key});
|
||||||
|
|
||||||
/// On sign up pressed callback.
|
/// On sign up pressed callback.
|
||||||
void onSignUpPressed(BuildContext context) {
|
void onSignUpPressed() {
|
||||||
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
|
Modular.to.pushPhoneVerification(AuthMode.signup);
|
||||||
/// 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.
|
/// On login pressed callback.
|
||||||
@@ -54,7 +48,7 @@ class GetStartedPage extends StatelessWidget {
|
|||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
GetStartedActions(
|
GetStartedActions(
|
||||||
onSignUpPressed: () => onSignUpPressed(context),
|
onSignUpPressed: onSignUpPressed,
|
||||||
onLoginPressed: onLoginPressed,
|
onLoginPressed: onLoginPressed,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|||||||
@@ -28,11 +28,6 @@ class StaffHomeModule extends Module {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
void routes(RouteManager r) {
|
void routes(RouteManager r) {
|
||||||
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
|
r.child('/', child: (BuildContext context) => const WorkerHomePage());
|
||||||
r.child('/', child: (BuildContext context) => const SizedBox(
|
|
||||||
child: Center(
|
|
||||||
child: Text('Home Feature Not Yet Implemented'),
|
|
||||||
),
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,11 +50,6 @@ class StaffProfileModule extends Module {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
void routes(RouteManager r) {
|
void routes(RouteManager r) {
|
||||||
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
|
r.child('/', child: (BuildContext context) => const StaffProfilePage());
|
||||||
r.child('/', child: (BuildContext context) => const SizedBox(
|
|
||||||
child: Center(
|
|
||||||
child: Text('Profile Feature Not Yet Implemented'),
|
|
||||||
),
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user