Commit Graph

717 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
Achintha Isuru
109ed5375d Refactor UI components: update button size to large and adjust profile header margin 2026-02-01 20:28:29 -05:00
Achintha Isuru
5c15db1695 Integrate Google Maps Places Autocomplete for hub address validation and enhance UI button styles 2026-02-01 20:22:14 -05:00
Achintha Isuru
f8bd19ec52 Add Mermaid diagram rendering and styles
Enable rendering of Mermaid diagrams embedded in markdown on the launchpad page. Adds CSS (.mermaid-diagram-wrapper and svg rules) to ensure responsive, centered diagrams and updates the markdown loader to find code.language-mermaid blocks, render them via mermaid.render, and replace the code block with a styled wrapper. Includes error handling that logs rendering errors and shows a user-facing error box. Changes are localized to internal/launchpad/index.html.
2026-02-01 19:56:02 -05:00
Achintha Isuru
3ea7d4352f Refactor code structure for improved readability and maintainability 2026-02-01 19:53:00 -05:00
Achintha Isuru
6bd669fec3 Fix krow_core path in client pubspec
Update the krow_core dependency path in apps/mobile/apps/client/pubspec.yaml from ../../packages/core/krow_core to ../../packages/core to match the package layout (corrects dependency resolution).
2026-02-01 19:27:07 -05:00
Achintha Isuru
8260a7026e Merge remote-tracking branch 'origin/fix_staff_app_bugs' into 312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation 2026-02-01 19:19:42 -05:00
José Salazar
d951b0a95d chaging id for application 2026-02-02 08:30:56 +09:00
José Salazar
279544930c solving bugs in check in 2026-02-02 08:25:13 +09:00
José Salazar
b7b7709386 history ready 2026-02-02 07:26:07 +09:00
José Salazar
761830b380 adding validations for apply 2026-02-02 07:14:54 +09:00
Achintha Isuru
24675857ab Merge remote-tracking branch 'origin/fix_staff_app_bugs' into 312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation 2026-02-01 16:35:32 -05:00
José Salazar
136993caec converting and desconverting all dates to utc 2026-02-02 06:22:05 +09:00
José Salazar
a2020f9f98 little advance and corrections 2026-02-02 06:00:39 +09:00
Achintha Isuru
f339b70f30 feat: Adjust scaling logic for web frame dimensions to improve layout responsiveness 2026-02-01 15:54:23 -05:00
Achintha Isuru
40c43b06cc feat: Integrate krow_core package and update WebMobileFrame widget for improved structure 2026-02-01 15:50:04 -05:00
Achintha Isuru
b526a672bd feat: Integrate Firebase configuration and Google Maps Places Autocomplete for address validation 2026-02-01 15:34:27 -05:00
José Salazar
5a2721eebb getting last getApplicationsbyStaffId 2026-02-02 04:55:37 +09:00
Achintha Isuru
4830d72d48 feat: Update test phone numbers for authentication flow 2026-02-01 14:07:04 -05:00
Achintha Isuru
23a346200a feat: Integrate phone number verification handling for test numbers in authentication flow 2026-02-01 14:06:02 -05:00
Achintha Isuru
00999503e1 feat: Add recommended tasks for next sprint to improve coding practices in mobile applications 2026-02-01 14:03:43 -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
Achintha Isuru
6d70bcc5d0 feat: update shift action buttons to conditionally display decline and book options based on shift status 2026-02-01 12:54:50 -05:00
Achintha Isuru
54f28a85ce feat: enhance shift booking flow with date selection and navigation updates 2026-02-01 12:35:42 -05:00
Achintha Isuru
5d561ff825 refactor: improve code readability and formatting in shifts repository and shift details page 2026-02-01 12:25:45 -05:00
Achintha Isuru
989a1d3f84 refactor: update spacing in Find, History, and My Shifts tabs for consistency 2026-02-01 12:06:35 -05:00
Achintha Isuru
1a7e06d8cc refactor: update navigation methods in ShiftDetailsPage for improved user experience 2026-02-01 12:04:41 -05:00
Achintha Isuru
1bc308d90f feat: integrate Google Maps Places autocomplete for hub address validation and remove activity log functionality 2026-02-01 11:57:57 -05:00
Achintha Isuru
0dfe7a4e6d refactor: streamline date conversion logic in repository implementations 2026-02-01 11:28:50 -05:00
Achintha Isuru
6441e72ae3 Add COMPLETED status to ApplicationStatus enum in GraphQL schema 2026-02-01 11:22:28 -05:00
José Salazar
6277b9f5e2 changes 2026-02-01 22:39:40 +09:00
Achintha Isuru
3cebb37dfd Merge pull request #344 from Oloodi/312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation
Continuation of the development of the mobile apps
2026-02-01 03:50:22 -05:00
Achintha Isuru
1625f81ce6 feat: Integrate profile setup use case and repository for profile submission 2026-02-01 03:47:39 -05:00
Achintha Isuru
c95e4ed9c7 feat: Update package names and application IDs to use com.krowwithus for client and staff apps 2026-02-01 03:38:42 -05:00
Achintha Isuru
56dbf7728f feat: Enhance shift filtering logic and update header text style for improved UI 2026-02-01 02:46:30 -05:00
Achintha Isuru
3ed1add2cc feat: Integrate staff name retrieval and display in home header 2026-02-01 02:38:28 -05:00
Achintha Isuru
3ecc89fcb2 feat: Update Timestamp extension to use DateTimeUtils for improved date conversion 2026-02-01 02:24:39 -05:00
Achintha Isuru
4b5a3d1304 feat: Refactor imports and enhance navigation for shift details in staff home feature 2026-02-01 02:06:28 -05:00
Achintha Isuru
0794c5b4a4 Merge branch 'dev' into 312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation 2026-02-01 01:42:41 -05:00
Achintha Isuru
7d829bb7cf Merge pull request #343 from Oloodi/fix/check-boris-applied
Fix/check boris applied
2026-02-01 01:41:24 -05:00
Achintha Isuru
820f475c51 feat: Add required and filled slots to Shift entity and update ShiftDetailsPage for capacity display 2026-01-31 21:48:42 -05:00
Achintha Isuru
144976de00 feat: Update roleId assignment and filter past shifts in ShiftsBloc 2026-01-31 21:04:08 -05:00
Achintha Isuru
0b38383aab feat: Add DateTimeUtils for converting UTC to device local time and update imports 2026-01-31 20:46:34 -05:00
Achintha Isuru
c6128c2332 feat: Integrate Google Maps Places Autocomplete for Hub Address Validation
- Refactored ShiftsBloc to remove unused shift-related events and use cases.
- Updated navigation paths in ShiftsNavigator to reflect new structure.
- Simplified MyShiftCard widget by removing unnecessary parameters and logic.
- Modified FindShiftsTab and HistoryShiftsTab to utilize new navigation for shift details.
- Created ShiftDetailsModule with necessary bindings and routes for shift details.
- Implemented ShiftDetailsBloc, ShiftDetailsEvent, and ShiftDetailsState for managing shift details.
- Developed ShiftDetailsPage to display detailed information about a shift and handle booking/declining actions.
- Added necessary imports and adjusted existing files to accommodate new shift details functionality.
2026-01-31 20:33:35 -05:00
bwnyasse
f6f2be18a2 Merge branch 'dev' into fix/check-boris-applied 2026-01-31 20:04:10 -05:00
Achintha Isuru
eac6c1b778 feat: Enhance shift application process with instant booking option and implement shift booking and decline dialogs 2026-01-31 19:47:29 -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
3e156565c8 feat: Add shifts styles, empty state view, and tabs for finding, history, and my shifts
- Introduced AppColors for consistent color usage across the app.
- Implemented EmptyStateView widget for displaying empty states with icons and messages.
- Created FindShiftsTab for searching and filtering available jobs.
- Developed HistoryShiftsTab to display completed shifts with an empty state.
- Added MyShiftsTab for managing user shifts, including confirmation and decline functionalities.
2026-01-31 17:12:10 -05:00
Achintha Isuru
1a4a797aa3 feat: integrate Google Maps Places Autocomplete for hub address validation 2026-01-31 15:20:59 -05:00
Achintha Isuru
4498059609 Merge pull request #342 from Oloodi/312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation
Continuation of the development of the mobile applications
2026-01-31 13:00:58 -05:00