Skip to content

Feature/account setup step 3#88

Merged
Mostafa-alsaygh merged 7 commits intodevfrom
feature/account-setup
Feb 22, 2026
Merged

Feature/account setup step 3#88
Mostafa-alsaygh merged 7 commits intodevfrom
feature/account-setup

Conversation

@Mostafa-alsaygh
Copy link
Collaborator

make a page3 of setup account screen

Screen_recording_20260213_111219.mp4

- Add `categories` and `suggestions` to `AccountSetupState`.
- Implement `toggleCategory` logic in `AccountSetupCubit`.
- Create `Page2` for the account setup flow to allow users to select or add spending categories.
- Introduce `SelectedCategoryItem` widget and `icon_cancel_category.svg` asset for the category selection UI.
- Update `AccountSetupScreen` to support multi-page navigation and validation for the finish button.
- Add `categories` and `suggestions` to `AccountSetupState`.
- Implement `toggleCategory` logic in `AccountSetupCubit`.
- Create `Page2` for the account setup flow to allow users to select or add spending categories.
- Introduce `SelectedCategoryItem` widget and `icon_cancel_category.svg` asset for the category selection UI.
- Update `AccountSetupScreen` to support multi-page navigation and validation for the finish button.
# Conflicts:
#	lib/design_system/widgets/text_field.dart
),
const SizedBox(height: 24),
MTextField(
hint: 'Category name',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

localization pls

import '../../../design_system/theme/money_extension_context.dart';
import '../../../design_system/widgets/selected_category_item.dart';

class Page3 extends StatefulWidget {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think AccountSetupStepThree would be better and if tell what this step does would be much better
like if it's categories preferences AccountSetupPreferencesStep

@mohamedshemees
Copy link
Collaborator

nice work just little notes

…d localization

Renames `page3.dart` to `account_setup_step_three.dart` for better clarity and updates its usage in `account_setup_screen.dart`.

This also implements localization for hardcoded strings within the `AccountSetupStepThree` widget by adding new keys to `app_en.arb` and using them in the UI.
# Conflicts:
#	lib/core/l10n/app_en.arb
#	lib/presentation/account_setup/cubit/account_setup_cubit.dart
#	lib/presentation/account_setup/cubit/account_setup_state.dart
#	lib/presentation/account_setup/screen/account_setup_screen.dart
@Mostafa-alsaygh Mostafa-alsaygh changed the title Feature/account setup Feature/account setup step 3 Feb 22, 2026
Integrates the `AccountSetupStepThree` widget into the `AccountSetupScreen`
page view, replacing the previous placeholder.
@Mostafa-alsaygh Mostafa-alsaygh merged commit 5201c5f into dev Feb 22, 2026
1 check passed
@ZainabAlnajjar ZainabAlnajjar deleted the feature/account-setup branch February 22, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants