Commit Graph

22 Commits

Author SHA1 Message Date
Achintha Isuru
476d697dc3 feat: Integrate ShiftAdapter for mapping application data to Shift entities and update status handling in Coverage and Shifts repositories 2026-02-01 22:18:07 -05:00
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
Achintha Isuru
9f8b60d571 feat: Update application status handling and improve build configuration
- Added handling for the COMPLETED application status in the CoverageRepositoryImpl to return 'confirmed'.
- Updated mobile client build and run commands in the makefile to include `--dart-define-from-file=../../config.dev.json` for better configuration management.
2026-02-01 13:20:24 -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
1e8d6ae65b refactor: update CoveragePage layout to use fixed height for shift list spacing 2026-01-30 01:36:19 -05:00
Achintha Isuru
bfe00a700a refactor: update CoveragePage to use StatefulWidget and implement scroll listener 2026-01-30 00:24:12 -05:00
José Salazar
c3263262af no 100% with 0/0 workers 2026-01-29 22:05:18 -05:00
José Salazar
3bed200625 counting # of shifs in the day 2026-01-29 22:00:01 -05:00
José Salazar
13a3f5a007 Merge remote-tracking branch 'origin/312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation' into 298-bug-enhance-order-creation-flow-implement-robust-timezone-handling-in-mobile-client-app 2026-01-29 14:36:43 -05:00
Achintha Isuru
e2d223c714 fix: improve layout and styling for empty state and shift header in CoverageShiftList 2026-01-29 12:30:30 -05:00
Achintha Isuru
dc129c4515 fix: remove background color from CoveragePage and adjust layout spacing 2026-01-29 11:38:40 -05:00
Achintha Isuru
8c8951ff51 fix: update package versions and dependencies across multiple pubspec.yaml files 2026-01-29 10:51:16 -05:00
José Salazar
75e7c35cea Merge Google Maps branch 2026-01-29 09:59:10 -05:00
José Salazar
9067d14475 converting all the dates to utc 2026-01-29 09:54:59 -05:00
Achintha Isuru
960aa9f003 chore: update pubspec files to include workspace resolution and remove unnecessary pubspec.lock 2026-01-28 23:17:17 -05:00
José Salazar
5840a5b793 validation date as utc and converting in coverage 2026-01-28 19:47:03 -05:00
José Salazar
ab5fed8639 adding extra shifts with no application 2026-01-27 11:52:44 -05:00
José Salazar
ccd6385266 deleting yellow color from header 2026-01-27 11:31:17 -05:00
José Salazar
0902c0ecf0 coverage working 2026-01-27 11:27:14 -05:00
Achintha Isuru
f53e611d10 implement billing and coverage pages in routing 2026-01-26 14:36:06 -05:00
Achintha Isuru
387e47865c feat(authentication): remove social sign-in buttons and add TODO for future implementation
feat(billing): update billing module routes to indicate feature not yet implemented
feat(coverage): update coverage module routes to indicate feature not yet implemented
feat(sign_up_form): set full width for create account button in sign-up form
2026-01-23 17:24:30 -05:00
Achintha Isuru
2b331e356b feat(client_coverage): add client coverage feature with user session data use case and dashboard widgets
- Created `client_coverage` feature with necessary dependencies in `pubspec.yaml`.
- Implemented `GetUserSessionDataUseCase` for retrieving user session data.
- Developed `ClientHomeEditBanner` for edit mode instructions and reset functionality.
- Added `ClientHomeHeader` to display user information and action buttons.
- Built `DashboardWidgetBuilder` to render various dashboard widgets based on state.
- Introduced `DraggableWidgetWrapper` for managing widget visibility and drag handles in edit mode.
- Created `HeaderIconButton` for interactive header actions with optional badge support.
2026-01-23 16:25:01 -05:00