Commit Graph

121 Commits

Author SHA1 Message Date
José Salazar
ed854cb958 solving problem with apply button 2026-02-19 11:00:55 -05:00
José Salazar
fe28396a58 adding tag type for shifts 2026-02-18 19:34:58 -05:00
José Salazar
8b6061cb30 correction of change view for recurring and permant - show permanet and recurring in find shift 2026-02-18 19:23:15 -05:00
Achintha Isuru
c4d0d865d7 feat: Add comments to clarify the need for APPLICATIONSTATUS and SHIFTSTATUS enums in ShiftsRepositoryImpl 2026-02-18 15:42:10 -05:00
Achintha Isuru
535f6ffb1c feat: Update ownerId assignment in HomeRepositoryImpl and clean up shifts page code 2026-02-18 15:25:31 -05:00
da8192418f fix(mobile): resolve client crash and shift status inconsistency 2026-02-17 16:23:10 +05:30
Achintha Isuru
c3abb819c9 feat(data-connect): Implement DataConnectService for centralized data operations and refactor ShiftsRepositoryImpl to utilize the new service 2026-02-16 14:57:47 -05:00
Achintha Isuru
913f895952 feat(shift-details): Enhance ShiftDetailsHeader with client name and location address display 2026-02-16 14:35:36 -05:00
Achintha Isuru
86294d920a feat(url-launcher): Integrate url_launcher plugin for opening directions in maps 2026-02-16 14:28:01 -05:00
Achintha Isuru
7cc779cca2 feat(location): Add latitude and longitude to shift details and integrate Google Maps for location display 2026-02-16 14:21:33 -05:00
Achintha Isuru
e1e255f8f0 feat(maps): Integrate Google Maps plugin for shift location display and refactor related components 2026-02-16 13:55:32 -05:00
Achintha Isuru
0b787dbc12 feat(shift-details): Refactor ShiftDetailsPage layout and implement new sections for breaks, date/time, description, and location 2026-02-16 13:38:39 -05:00
Achintha Isuru
2f9b2788f8 feat(localization): Update English and Spanish translations for shift details and breaks 2026-02-16 13:33:22 -05:00
Achintha Isuru
55f62207a8 feat(breaks): Add break duration and payment status to shift details 2026-02-16 13:31:21 -05:00
Achintha Isuru
9b6cad3bde feat(breaks): Implement break functionality with Break entity and adapter 2026-02-16 13:26:04 -05:00
Achintha Isuru
2a0b39926a refactor: Update UI theme and shift details layout for improved consistency 2026-02-16 13:09:10 -05:00
Achintha Isuru
e6b512ee84 feat: Add Headline 1 Bold style and refactor ShiftDetailsPage and FindShiftsTab layout 2026-02-16 12:58:05 -05:00
40fa4ebdfa Refactor: Move detailed shift UI from card to ShiftDetailsPage 2026-02-16 20:28:43 +05:30
690d4f4213 feat(staff): Refactor Shift Cards & Integrate Google Maps
Refactors MyShiftCard to match prototype design with expandable details, bold typography, and Google Static Maps integration. Updates AppConfig for API keys.
2026-02-16 15:57:27 +05:30
4e1a41ebff Fix build errors: localization syntax, key paths, and ViewOrderCard widget 2026-02-14 16:26:10 +05:30
Achintha Isuru
368f28f354 fix: compilation issues in the staff app 2026-02-12 16:29:14 -05:00
ad6db7d851 chore: refactor UI consistency using design system tokens and remove LucideIcons 2026-02-12 18:37:31 +05:30
c1112ac01c feat: Centralized Error Handling & Crash Fixes 2026-02-11 18:52:23 +05:30
ea06510474 Merge branch 'dev' into feature/centralized-data-error-handling and resolve conflicts 2026-02-11 12:34:29 +05:30
65620b961a fix: resolve layout overflow on shift details page 2026-02-11 12:07:02 +05:30
3e212220c7 feat: complete centralized error handling system with documentation 2026-02-11 10:36:08 +05:30
Achintha Isuru
56dbb08b5a Merge pull request #394 from Oloodi/391-refactor-mobile-uis-and-widgets-to-adhere-to-design-system-tokens
Removed the hard coded colors and typograhys from the staff mobile application
2026-02-10 17:18:42 -05:00
Achintha Isuru
4c38013c10 Standardize UI to design system tokens
Refactor multiple UI components to use design system tokens and primitives. Added new UiIcons (coffee, wifi, xCircle, ban) and typography color getters (primary, accent). Replaced hardcoded paddings, spacings, radii, borderRadius, and icon imports (lucide_icons -> UiIcons) with UiConstants, UiColors, UiTypography and UiIcons, and switched to UiColors.withValues for opacity. Changes apply across authentication, availability, clock_in (and its widgets), commute tracker, lunch break modal, location map placeholder, attendance card, date selector, and related presentation files to improve visual consistency.
2026-02-10 17:17:56 -05:00
José Salazar
7ab59eb843 solving problem with the time in shifts 2026-02-10 16:30:13 -05:00
José Salazar
761d718ffe deleting files with accepeted status of application 2026-02-10 12:11:25 -05:00
José Salazar
eee8b2e6ec all the time when a staff apply to a shift the status of application will be confirmed 2026-02-10 11:51:56 -05:00
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