Commit Graph

40 Commits

Author SHA1 Message Date
7570ffa3b9 Fix: Resolve critical linting issues and bugs (concurrency, syntax, dead code) 2026-02-10 19:12:01 +05:30
5e7bf0d5c0 refactor: centralize data connect error handling and resolve build issues across applications
This commit addresses several critical issues across the mobile monorepo:

1. Centralized Error Handling: Integrated DataErrorHandler mixin into all repository implementations, ensuring consistent mapping of Data Connect exceptions to domain AppExceptions.
2. Build Stabilization: Fixed numerous type mismatches, parameter signature errors in widgets (e.g., google_places_flutter itemBuilder), and naming conflicts (StaffSession, FirebaseAuth).
3. Code Quality: Applied 'dart fix' across all modified packages and manually cleared debug print statements and UI clutter.
4. Mono-repo alignment: Standardized Data Connect usage and aliasing ('dc.') for better maintainability.

Signed-off-by: Suriya <suriya@tenext.in>
2026-02-06 13:28:57 +05:30
Achintha Isuru
3b11c49d90 Refactor navigation and remove unused navigator extensions across staff features
- Removed background color from CreateOrderView, OneTimeOrderView, and RapidOrderView.
- Updated navigation paths in OneTimeOrderView and other staff authentication pages to use new constants.
- Deleted unused navigator extensions for staff authentication, home, profile, and shifts.
- Refactored navigation in StaffMainModule to use new path constants.
- Cleaned up imports and adjusted navigation calls in various staff-related pages and widgets.
2026-02-04 18:22:39 -05:00
José Salazar
0c44ec4a39 fixing bug of count my shift 2026-02-04 10:44:07 +09:00
José Salazar
cf2433774d solving problem to move to search from home 2026-02-04 10:37:12 +09:00
Achintha Isuru
ee49eb931a feat: integrate query parameters for initial tab selection in ShiftsPage 2026-02-02 14:23:11 -05:00
José Salazar
304f827341 changing a way of search my shifts 2026-02-02 23:07:25 +09:00
José Salazar
8cc20a09ff Merge branch '312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation' into fix_staff_app_bugs 2026-02-02 22:33:10 +09:00
José Salazar
78a57df67b fixing bug of search 2026-02-02 22:21:58 +09:00
José Salazar
0ab6bf8470 prints 2026-02-02 22:05:29 +09:00
José Salazar
33ad8e2f17 check in status solved 2026-02-02 21:46:12 +09:00
José Salazar
818fc1759a solving problem adding checkin time 2026-02-02 20:45:12 +09:00
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
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
José Salazar
a2020f9f98 little advance and corrections 2026-02-02 06:00:39 +09: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
José Salazar
6277b9f5e2 changes 2026-02-01 22:39:40 +09: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
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
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
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
f8cd7925f0 Update macOS Flutter env and shifts import
Regenerate and update ephemeral macOS Flutter config and env script with local paths and build settings (FLUTTER_ROOT, FLUTTER_APPLICATION_PATH, FLUTTER_TARGET, FLUTTER_BUILD_NAME, DART_DEFINES, PACKAGE_CONFIG). Update generated localization timestamp. Add missing import for shifts_bloc in shift_details_page.dart to enable bloc usage in the page.
2026-01-31 13:00:04 -05:00
036722791b fix: resolve payments compilation error and remove redundant datasource layer 2026-01-31 21:45:51 +05:30
Achintha Isuru
e85912b6cf feat: update shift repository implementation and add shift adapter 2026-01-30 17:53:28 -05:00
Achintha Isuru
3f7aa90fee Merge branch 'dev' into Issues-on-payments-timecard-availability-screens-01-02-03-04 2026-01-30 11:19:07 -05:00
Suriya
ac7874c634 feat: implement staff availability, clock-in, payments and fix UI navigation 2026-01-30 21:46:44 +05:30
Achintha Isuru
8c8951ff51 fix: update package versions and dependencies across multiple pubspec.yaml files 2026-01-29 10:51:16 -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
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