Commit Graph

92 Commits

Author SHA1 Message Date
13f8003bda refactor of usecases 2026-02-23 17:18:50 +05:30
Achintha Isuru
69b5c74f00 refactor: streamline shift navigation calls and set default shifts tab to 'myshifts'. 2026-02-22 21:34:16 -05:00
Achintha Isuru
0c2482ee9b fix: Correct weekday order and active day index mapping in shift schedule summary. 2026-02-22 21:20:56 -05:00
Achintha Isuru
7f3a66ba11 refactor: remove redundant pushShiftDetails navigation method and update its usages to toShiftDetails. 2026-02-22 21:16:46 -05:00
Achintha Isuru
9e38fb7d5f feat: Add event name to order items and refactor navigation and shift data access to use direct object properties. 2026-02-22 21:07:57 -05:00
Achintha Isuru
0980c6584b feat: localize "Find Shifts" tab strings and add filled status to shift role queries. 2026-02-22 20:27:01 -05:00
Achintha Isuru
d1a0c74b95 Refactor: Remove redundant shift assignment and update clock-in button to be full width. 2026-02-22 20:07:41 -05:00
Achintha Isuru
68d6e7c5e3 refactor: Standardize shift details UI by adopting UiButton and UiChip components, adjusting layout, and refining chip styling. 2026-02-22 19:59:22 -05:00
Achintha Isuru
c48d981ddb feat: Introduce ShiftScheduleSummarySection to display shift type, date range, and recurring days on the shift details page. 2026-02-22 16:48:05 -05:00
Achintha Isuru
6e81d403c3 feat: Add support for displaying recurring shift details including start/end dates and recurring days. 2026-02-22 15:15:41 -05:00
Achintha Isuru
b519c49406 feat: Add orderId and normalized orderType to the Shift model to enable UI grouping and type-badging in shift displays. 2026-02-22 11:46:38 -05:00
Achintha Isuru
6e43888187 fix: Correctly map staff ID from session.staff.id and assign StaffSession.ownerId from s.ownerId. 2026-02-22 11:26:30 -05:00
Achintha Isuru
b593647800 refactor: migrate shifts BLoC state management to a single state class with a status enum. 2026-02-22 10:24:01 -05:00
1d09e20ac8 fix: resolve duplicate fields in Shift and unreachable code in ShiftsRepositoryImpl from bad merge 2026-02-20 21:15:57 +05:30
f7284b5cfb Merge branch 'dev' into feature/session-persistence-424 2026-02-20 20:56:18 +05:30
Achintha Isuru
bfc2453363 Merge pull request #444 from Oloodi/staff_recurring_permanent_order
Staff recurring permanent order
2026-02-20 10:18:03 -05:00
474be43448 fix: add ignore_for_file to data connect Repos and modify CI to avoid analyzing deleted files 2026-02-20 19:51:44 +05:30
8849bf2273 feat: architecture overhaul, launchpad-style reports, and uber-style locations
- Strengthened Buffer Layer architecture to decouple Data Connect from Domain
- Rewired Coverage, Performance, and Forecast reports to match Launchpad logic
- Implemented Uber-style Preferred Locations search using Google Places API
- Added session recovery logic to prevent crashes on app restart
- Synchronized backend schemas & SDK for ShiftStatus enums
- Fixed various build/compilation errors and localization duplicates
2026-02-20 17:20:06 +05:30
José Salazar
e6b3eca16d new query for my shifts 2026-02-19 15:40:34 -05:00
Achintha Isuru
5fb9d75c58 feat: Implement profile completion check in shifts management 2026-02-19 14:54:46 -05:00
José Salazar
a2137e8a06 Merge remote-tracking branch 'origin/408-feature-implement-paidunpaid-breaks---client-app-frontend-development' into staff_recurring_permanent_order 2026-02-19 14:47:35 -05:00
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