Commit Graph

23 Commits

Author SHA1 Message Date
Achintha Isuru
08b96cea6f feat: Introduce CoverageWorker entity and update coverage repository
- Added CoverageWorker entity to represent worker status and check-in information.
- Updated CoverageRepositoryImpl to utilize CoverageWorker and its status.
- Removed legacy coverage_entities.dart file and replaced references with krow_domain imports.
- Enhanced coverage statistics calculations based on new worker status logic.
- Updated UI components to reflect changes in worker status representation.
- Modified acceptance of shifts to align with new status definitions.
- Cleaned up QA testing checklist to remove outdated items and clarify requirements.
2026-02-01 21:05:14 -05:00
bwnyasse
caac050ac9 feat(core_localization): add error translation utility and new error messages
feat(client_auth): implement error handling with localized messages
feat(client_hubs): implement error handling with localized messages
feat(client_billing): navigate to home after billing
feat(client_coverage): navigate to home after coverage
feat(client_create_order): navigate to home after create order
feat(client_settings): navigate to home after settings
feat(client_view_orders): show hub name in order card
fix(client_auth): handle existing firebase accounts during sign-up

This commit introduces a new utility function, `translateErrorKey`,
to translate error message keys to localized strings. It also adds
new error messages to the localization files for both English and
Spanish.

The commit also implements error handling with localized messages in
the client authentication and hubs features. This makes it easier for
users to understand what went wrong and how to fix it.

Additionally, the commit updates the navigation flow for the billing,
coverage, create order, and settings features to navigate to the home
page after the user completes the action.

Finally, the commit fixes a bug where the hub name was not being
displayed in the order card.
2026-01-31 18:56:48 -05:00
Achintha Isuru
e85912b6cf feat: update shift repository implementation and add shift adapter 2026-01-30 17:53:28 -05:00
Achintha Isuru
452f029108 feat: integrate payment summary and adapter for staff earnings management 2026-01-30 17:37:08 -05:00
Achintha Isuru
1268da45b0 feat: integrate Clock In functionality with Firebase support and refactor attendance management 2026-01-30 17:22:51 -05:00
Achintha Isuru
0b763bae44 feat: integrate availability adapter and repository implementation for staff availability management 2026-01-30 16:04:05 -05:00
Achintha Isuru
4fb2f17ea5 feat: integrate TimeCard feature with Firebase support and restructure related components 2026-01-30 15:29:19 -05:00
Achintha Isuru
078f828aad feat: introduce TaxForm entity and adapter, refactor tax forms repository and use cases for improved data handling 2026-01-27 16:25:47 -05:00
Achintha Isuru
35c0b19d6b feat: implement BankAccountAdapter for mapping data layer values to domain entity and refactor BankAccountRepositoryImpl for improved staff ID handling 2026-01-27 15:43:21 -05:00
Achintha Isuru
93779c21bb feat: enhance experience management by introducing ExperienceSkill and Industry enums, refactoring related components 2026-01-27 14:34:09 -05:00
Achintha Isuru
157ace0e77 feat: implement ExperienceAdapter and update ExperienceRepositoryImpl to use Data Connect and FirebaseAuth 2026-01-27 13:49:23 -05:00
Achintha Isuru
450683c45c feat: implement emergency contact management with Firebase integration and relationship type handling 2026-01-27 12:27:22 -05:00
Achintha Isuru
2a820b3e4f feat: Implement staff availability feature with BLoC architecture
- Created AvailabilityPage with UI for managing staff availability.
- Integrated BLoC for state management, including LoadAvailability and ToggleDayStatus events.
- Added quick set options for availability (All Week, Weekdays, Weekends, Clear All).
- Implemented week navigation and day selection with visual feedback.
- Developed time slot management for each day, allowing toggling of availability.
- Established StaffAvailabilityModule for dependency injection and routing.
- Updated pubspec.yaml with necessary dependencies for the feature.
2026-01-25 22:35:09 -05:00
José Salazar
b41943a53c adding missing vendor line 2026-01-25 17:32:40 -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
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
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
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
45d6710183 Add vendor selection and rates to order creation flow
Introduces a Vendor entity and integrates vendor selection into the one-time order creation and order editing flows. Vendor-specific rates are now displayed and used for position roles, and UI components have been updated to allow users to select a vendor and see corresponding rates. Mock vendor data is used for demonstration purposes.
2026-01-23 12:42:26 -05:00
Achintha Isuru
960b21ec8c Add client view orders feature module
Introduces the client 'View Orders' feature, including domain entity, repository, use case, Cubit, state, navigation extension, UI page, and widget. Integrates the feature into the client main module, updates localization files for English and Spanish, and adds supporting icons to the design system. Also updates the mock repository to provide sample order data.
2026-01-23 11:28:51 -05:00
Achintha Isuru
4b3125de1a Add order entities and mocks for client order feature
Introduces new domain entities for order types and one-time orders, along with their positions. Adds a mock OrderRepository to the data_connect package and wires it into the module. Updates localization files for new order flows and refactors Equatable usage for consistency. Also adds a minus icon to the design system.
2026-01-22 16:47:39 -05:00
Achintha Isuru
cf59935ec8 Move apps to mobile directory structure
Relocated all app directories (client, design_system_viewer, staff) and their contents under the new 'apps/mobile' path. This change improves project organization and prepares for future platform-specific structuring.
2026-01-22 10:17:19 -05:00