Commit Graph

471 Commits

Author SHA1 Message Date
Achintha Isuru
0622002014 feat: add staff time card feature with localization and repository implementation
- Implemented Spanish translations for time card related strings.
- Created TimeCardRepository to fetch time card data based on shifts.
- Added use cases for retrieving time cards and payment history.
- Developed BLoC for managing time card state and events.
- Designed UI components for displaying time card summary and shift history.
- Integrated time card navigation within the staff main module.
- Updated pubspec.yaml files to include new dependencies and modules.
2026-01-25 21:16:50 -05:00
Achintha Isuru
6ad2cf4c2d Merge branch '216-p0-staff-01-profile-setup-wizard' of https://github.com/Oloodi/krow-workforce into 216-p0-staff-01-profile-setup-wizard 2026-01-25 20:25:40 -05:00
Achintha Isuru
bd097b2d09 commit 2026-01-25 20:25:38 -05:00
Achintha Isuru
079fe97673 Remove generated localization files
Deleted strings.g.dart, strings_en.g.dart, and strings_es.g.dart from the gen directory. These files contained generated localization code and may have been removed to trigger regeneration or clean up unused assets.
2026-01-25 20:24:53 -05:00
Achintha Isuru
22120863d2 Delete apps/mobile/lib/gen directory 2026-01-25 20:17:56 -05:00
Achintha Isuru
7277fe38db Delete apps/mobile/docs directory 2026-01-25 20:17:27 -05:00
Achintha Isuru
d8fea02fcf Delete apps/mobile/prototypes directory 2026-01-25 20:17:16 -05:00
Achintha Isuru
280cdcbc9f Delete apps/mobile/ai_prompts directory 2026-01-25 20:17:06 -05:00
Achintha Isuru
150905c1eb refactor: update payments feature to use StaffPayment model and clean up unused code 2026-01-25 17:10:09 -05:00
Achintha Isuru
7c9252e0c3 Merge branch '208-p0-auth-05-get-started-screen' of https://github.com/Oloodi/krow-workforce into 208-p0-auth-05-get-started-screen 2026-01-25 17:01:38 -05:00
Achintha Isuru
19959a2b3f Add initial mobile app prototypes and staff payments feature
Introduces the first versions of client and staff mobile application prototypes, including platform-specific assets, screens, and configuration for Android, iOS, macOS, Linux, and Windows. Adds documentation, AI prompt guides, and a new staff payments feature module with repository, use cases, and presentation logic. Also includes generated localization files and supporting resources for both client and staff apps.
2026-01-25 17:01:18 -05:00
Achintha Isuru
9b446d27cc Merge pull request #290 from Oloodi/reorder
Reorder
2026-01-25 16:57:40 -05:00
Achintha Isuru
0b043ed91e feat: add staff payments feature with mock data source and UI components 2026-01-25 16:47:41 -05:00
José Salazar
ea326727f1 reoder and creation of reaoder 2026-01-25 16:37:02 -05:00
Achintha Isuru
d37e1f7093 feat: enhance ShiftDetailsPage with manager contact details and shift information display 2026-01-25 16:28:30 -05:00
Achintha Isuru
8e429dda03 feat: add ShiftAssignmentCard widget and StaffShifts module
- Implemented ShiftAssignmentCard widget for displaying shift assignments with client details, pay calculation, and confirmation actions.
- Created StaffShiftsModule to manage dependencies, routes, and use cases related to staff shifts.
- Added necessary dependencies in pubspec.yaml and generated pubspec.lock.
2026-01-25 16:09:11 -05:00
José Salazar
a9a64caff6 reoder view working 2026-01-25 16:06:07 -05:00
José Salazar
6e575a9ad0 adding pendind and solving problem with status of shifts 2026-01-25 14:22:54 -05:00
José Salazar
bda0b441e9 update and correction of create order 2026-01-25 14:22:54 -05:00
Achintha Isuru
533a545da7 feat: add staff attire management feature
- Introduced localization for staff attire in English and Spanish.
- Created AttireItem entity to represent attire items.
- Implemented StaffAttireModule with repository, use cases, and BLoC for state management.
- Developed UI components including AttirePage, AttireGrid, AttireInfoCard, AttestationCheckbox, and AttireBottomBar.
- Added navigation for attire management and integrated with existing staff profile flow.
- Implemented functionality for selecting attire items, uploading photos, and saving selections with validation.
2026-01-25 12:23:28 -05:00
Achintha Isuru
13cacb9db7 feat: add staff certificates module and update dependencies 2026-01-25 10:43:08 -05:00
Achintha Isuru
0176fd9682 feat: update DocumentsRepositoryImpl to include mock staff documents with detailed attributes 2026-01-25 10:36:45 -05:00
Achintha Isuru
1ef222febf feat: update bank account form to display as a dialog and add account type selection 2026-01-25 10:34:50 -05:00
Achintha Isuru
9dae80e66e feat: add staff certificates feature with pubspec configuration
- Created pubspec.yaml for the staff_certificates feature with dependencies including flutter_bloc, equatable, get_it, and flutter_modular.
- Established paths for KROW dependencies: design_system, core_localization, krow_domain, krow_core, and krow_data_connect.
- Added firebase_auth and firebase_data_connect as dependencies.
- Generated pubspec.lock file to lock dependency versions.
2026-01-25 10:28:43 -05:00
Achintha Isuru
b3e156ebbe feat: implement staff documents feature with localization and navigation updates 2026-01-25 03:01:54 -05:00
Achintha Isuru
753a93c24a feat: add staff documents feature with document card and progress card
- Implemented DocumentCard widget to display individual staff documents with status and actions.
- Created DocumentsProgressCard widget to show overall verification progress of documents.
- Established StaffDocumentsModule for dependency injection and routing to documents page.
- Updated pubspec.yaml and pubspec.lock for new dependencies and configurations.
2026-01-25 02:19:30 -05:00
Achintha Isuru
dad706654b feat: Refactor W-4 form page to use BLoC pattern and implement form submission logic
- Updated FormW4Page to utilize FormW4Cubit for state management.
- Removed local state management and replaced with BLoC state.
- Implemented form validation logic based on BLoC state.
- Added methods for handling form field updates and navigation between steps.
- Integrated success and error handling for form submission.
- Refactored UI components to reflect changes in state management.

feat: Update TaxFormsPage to use TaxFormsCubit for loading tax forms

- Changed the way TaxFormsPage retrieves the TaxFormsCubit instance.
- Ensured that tax forms are loaded on initial build.

feat: Replace mock repository with implementation for tax forms

- Switched from TaxFormsRepositoryMock to TaxFormsRepositoryImpl.
- Added use cases for getting and submitting tax forms.
- Implemented the TaxFormsRepositoryImpl to handle data fetching and submission logic.

feat: Implement use cases for tax forms

- Created GetTaxFormsUseCase for retrieving tax forms.
- Created SubmitTaxFormUseCase for submitting tax form data.
- Ensured use cases interact with the repository for data operations.
2026-01-25 01:31:26 -05:00
Achintha Isuru
933e7a1543 feat: add staff tax forms module with I-9 and W-4 forms
- Created staff_tax_forms_module.dart to manage tax forms feature.
- Implemented routes for TaxFormsPage, FormI9Page, and FormW4Page.
- Added mock repository for tax forms.
- Established necessary dependencies in pubspec.yaml.
- Exported module in staff_tax_forms.dart.
2026-01-25 00:47:25 -05:00
Achintha Isuru
2a6570ea08 fix: Correct navigation path for bank account page and adjust module bindings 2026-01-24 23:19:49 -05:00
Achintha Isuru
e2cdf0d8fa feat: Refactor BankAccountRepository implementation and update module bindings for improved dependency injection 2026-01-24 23:11:05 -05:00
Achintha Isuru
e6e2783a5a feat: Implement bank account management feature with UI, BLoC integration, and repository setup 2026-01-24 22:36:29 -05:00
Achintha Isuru
f035ab8b6c feat: Update navigation and module imports for staff onboarding and profile features 2026-01-24 21:23:54 -05:00
Achintha Isuru
98ed6e67a3 feat: Add experience and skills localization for user onboarding 2026-01-24 21:14:40 -05:00
Achintha Isuru
d6cceaceec feat: Refactor ExperiencePage and ExperienceCustomInput to use design system components and remove deprecated ExperienceBadge 2026-01-24 21:08:55 -05:00
Achintha Isuru
f81e1949d1 feat: Add experience management feature with UI, BLoC integration, and repository implementation 2026-01-24 21:04:59 -05:00
Achintha Isuru
c124111f46 feat: Implement emergency contact management feature with UI and BLoC integration 2026-01-24 20:40:02 -05:00
Achintha Isuru
caaf972349 feat: Update navigation paths and enhance personal info page with design system compliance 2026-01-24 19:57:10 -05:00
Achintha Isuru
0cfc19fa60 feat: Implement Staff Profile Info feature with onboarding capabilities
- Added StaffProfileInfoModule for managing personal information onboarding.
- Created PersonalInfoRepositoryImpl and PersonalInfoRepositoryMock for data handling.
- Developed use cases for fetching and updating staff profile information.
- Implemented PersonalInfoBloc for state management using BLoC pattern.
- Designed UI components including PersonalInfoPage, PersonalInfoContent, and form widgets.
- Integrated navigation for onboarding steps and added necessary routes.
- Updated pubspec.yaml files to include new dependencies and feature packages.
2026-01-24 19:28:14 -05:00
Achintha Isuru
5039743c03 Revert "feat: Add placeholder for unimplemented features in Get Started, Home, and Profile modules"
This reverts commit 8f8c6ff2d2.
2026-01-24 15:36:09 -05:00
Achintha Isuru
8f8c6ff2d2 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
2026-01-24 15:35:11 -05:00
Achintha Isuru
a38afb1940 feat: Refactor Staff Profile page to use ProfileCubit and improve loading logic 2026-01-24 14:46:35 -05:00
Achintha Isuru
96ab07b58d feat: Add localization for staff main tabs and enhance profile UI components 2026-01-24 14:38:06 -05:00
Achintha Isuru
6c72c2d9fd feat: Implement Staff Profile feature with BLoC architecture
- Added ProfileRepositoryInterface for staff profile operations.
- Created StaffProfileUI to represent extended profile information for the UI.
- Developed GetProfileUseCase to fetch staff profiles and map to UI entities.
- Implemented SignOutUseCase for user sign-out functionality.
- Introduced ProfileCubit to manage profile state and loading logic.
- Created ProfileState to represent various states of the profile feature.
- Developed ProfileNavigator for type-safe navigation within the profile feature.
- Built StaffProfilePage to display staff member's profile and statistics.
- Added various widgets for profile display, including reliability stats and menu items.
- Established StaffProfileModule for dependency injection and routing.
- Configured pubspec.yaml for feature package dependencies.
2026-01-24 14:25:17 -05:00
Achintha Isuru
633af6fab0 feat: enhance staff home page with new widgets and improved UI consistency 2026-01-24 13:26:44 -05:00
Achintha Isuru
bcd3a9d670 refactor: replace model with entity for shift and update imports 2026-01-24 12:58:21 -05:00
Achintha Isuru
67749ba1a8 refactor(staff_home): refactor worker home page
- Extracted widgets to smaller components in presentation/widgets/home_page
- Converted WorkerHomePage to StatelessWidget
- Moved local state (autoMatchEnabled) to HomeCubit
- Improved code organization and readability
2026-01-24 12:34:56 -05:00
Achintha Isuru
7cea81e99e fix(routes): update worker home route to worker main
feat(localization): add benefits and auto-match sections in English and Spanish
fix(staff_main): handle route changes safely in StaffMainCubit
2026-01-24 12:30:53 -05:00
Achintha Isuru
e2e7ad5567 fix(navigation): ensure default route loads content
- Updated AuthNavigator to push /worker-main/home/ explicitly
- Updated StaffMainNavigator to navigate to home by default
- Fixes blank screen issue by ensuring RouterOutlet has a child route
2026-01-24 12:26:50 -05:00
Achintha Isuru
b16d0733de fix(staff): resolve dependency injection and navigation issues
- Registered HomeRepository in StaffHomeModule to fix UnregisteredInstance error
- Updated WorkerHomePage to use Modular DI for HomeCubit
- Added trailing slash to home navigation to resolve Modular warning
2026-01-24 12:23:15 -05:00
Achintha Isuru
5c82ea0483 fix(staff_home): fix compilation errors
- Removed flutter_riverpod dependency and usage
- Removed go_router dependency and usage (replaced with Modular)
- Fixed syntax errors in WorkerHomePage
- Updated dependencies (google_fonts, intl)
- Fixed undefined identifier errors by moving localization access
- Removed unused methods in ShiftCard
2026-01-24 12:19:32 -05:00