Commit Graph

199 Commits

Author SHA1 Message Date
Achintha Isuru
d2cb05fe2e fix: Update documentation to reflect correct backend communication via DataConnectService 2026-02-16 16:54:59 -05:00
Achintha Isuru
17423c5d66 feat: Refactor repositories to utilize DataConnectService and remove FirebaseAuth dependency 2026-02-16 16:54:20 -05:00
Achintha Isuru
3c5987bde4 feat(bank-account-repository): Refactor BankAccountRepositoryImpl to utilize DataConnectService and remove FirebaseAuth dependency 2026-02-16 16:43:00 -05:00
Achintha Isuru
8889b8876e feat(time-card-repository): Refactor TimeCardRepositoryImpl to utilize DataConnectService and simplify authentication handling 2026-02-16 16:35:26 -05:00
Achintha Isuru
24a13488da feat(certificates-documents-repositories): Refactor Certificates and Documents repositories to utilize DataConnectService and simplify dependency management 2026-02-16 16:27:09 -05:00
Achintha Isuru
572ade95b9 feat(tax-forms-repository): Refactor TaxFormsRepositoryImpl to simplify initialization and utilize DataConnectService for data operations 2026-02-16 16:22:14 -05:00
Achintha Isuru
0fc317e1da feat(profile-repository): Refactor ProfileRepositoryImpl to utilize DataConnectService and simplify authentication handling 2026-02-16 16:19:27 -05:00
Achintha Isuru
a10617f17d feat(payments-repository): Refactor PaymentsRepositoryImpl to utilize DataConnectService for payment operations and simplify staff ID retrieval 2026-02-16 16:10:47 -05:00
Achintha Isuru
dcb76db1f8 feat(home-repository): Refactor HomeRepositoryImpl to utilize DataConnectService for data operations and simplify shift retrieval logic 2026-02-16 16:05:38 -05:00
Achintha Isuru
66859e4241 feat(clock-in): Refactor ClockInRepositoryImpl to utilize DataConnectService and simplify dependency injection 2026-02-16 16:00:27 -05:00
Achintha Isuru
1f7134799b feat(availability): Refactor AvailabilityRepositoryImpl to use DataConnectService and simplify dependency injection 2026-02-16 15:48:45 -05:00
Achintha Isuru
d0585d12ab feat(auth): Refactor AuthRepositoryImpl and ProfileSetupRepositoryImpl to use DataConnectService for authentication and data operations 2026-02-16 15:47:01 -05:00
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
6ed12a0519 feat(api-keys): Replace Google Places API key with Google Maps API key across the application 2026-02-16 13:46:01 -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
Achintha Isuru
bcd973cf64 refactor: Update pubspec.yaml files and remove unnecessary background color in PaymentsPage for consistency 2026-02-10 16:32:03 -05:00
José Salazar
7ab59eb843 solving problem with the time in shifts 2026-02-10 16:30:13 -05:00
Achintha Isuru
2730277075 Refactor UI components to use design system tokens for consistency
- Removed the UiSuccessSnackbar widget as it is no longer needed.
- Updated WorkerHomePage to replace hardcoded spacing with UiConstants.
- Refactored HomeHeader to use UiConstants for dimensions and colors.
- Modified PlaceholderBanner to utilize UiConstants for sizes and colors.
- Adjusted QuickActionItem to apply UiConstants for dimensions and icon sizes.
- Updated RecommendedShiftCard to use design system typography and constants.
- Refined SectionHeader to implement design system styles and spacing.
- Enhanced ShiftCard to adopt design system tokens for colors and spacing.
- Updated AutoMatchToggle to use design system colors and dimensions.
- Refactored BenefitsWidget to apply design system styles and constants.
- Improved ImproveYourselfWidget to utilize design system tokens for styling.
- Updated MoreWaysToUseKrowWidget to implement design system styles and constants.
2026-02-10 16:25:54 -05:00
Achintha Isuru
77370a7688 refactor: Replace Lucide icons with UiIcons across various widgets to ensure consistency with the design system 2026-02-10 16:12:13 -05:00
Achintha Isuru
c6448ad5c1 Refactor UI components to utilize design system colors and typography
- Removed deprecated app_colors.dart file.
- Updated AttendanceCard widget to use design system colors and typography.
- Refactored CommuteTracker widget for consistent styling with design system.
- Modified DateSelector widget to apply design system styles.
- Adjusted LocationMapPlaceholder widget to align with design system.
- Enhanced LunchBreakDialog with design system colors and typography.
- Updated SwipeToCheckIn widget to utilize design system for colors and text styles.
2026-02-10 16:05:05 -05:00
Achintha Isuru
8edfc72370 refactor: Update AvailabilityPage and ClockInPage to enhance UI consistency and remove unused code 2026-02-10 15:51:50 -05:00
Achintha Isuru
4f94bf6835 feat: Refactor mobile UI components to adhere to design system tokens and improve loading and snackbar functionalities 2026-02-10 15:34:52 -05:00
Achintha Isuru
a34cc5b462 feat: Implement staff authentication as a Flutter Modular feature module, centralizing dependency injection and routing while refactoring imports for better modularity. 2026-02-10 12:15:51 -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
ccf8930126 Use StaffPaths and core imports across staff modules
Centralize and standardize routing by introducing StaffPaths constants (shiftDetailsRoute, formI9, formW4) and using StaffPaths.childRoute in multiple staff feature modules instead of hardcoded paths. Add package:krow_core/core.dart imports where needed, clean up minor formatting/constructor spacing, make some route callbacks explicitly typed, replace shiftDetails string interpolation with the new constant, and remove a debug print from phone verification. These changes unify route definitions and add explicit tax-form routes (I-9 and W-4).
2026-02-04 18:36:37 -05:00
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
Achintha Isuru
e5e0b6e7bb feat: Add error message field to ProfileSetupState and update ProfileSetupLocation widget imports 2026-02-04 09:11:21 -05:00