Commit Graph

52 Commits

Author SHA1 Message Date
4e1a41ebff Fix build errors: localization syntax, key paths, and ViewOrderCard widget 2026-02-14 16:26:10 +05:30
José Salazar
cb4a352f5d modification of date in redorder 2026-02-12 17:11:03 -05:00
José Salazar
dbf05d6c01 Merge remote-tracking branch 'origin/dev' into 406-feature-implement-paidunpaid-breaks-in-client-app-order-creation 2026-02-12 16:28:45 -05:00
Achintha Isuru
78a312c8d0 chore: refactor UI components to align with design system tokens 2026-02-12 15:36:45 -05:00
José Salazar
57b63b85ef new field and enums values for break in shiftrole 2026-02-12 14:57:35 -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
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
bb09925668 feat: update client routing paths for order creation; streamline navigation and remove deprecated routes 2026-02-04 17:04:03 -05:00
Achintha Isuru
c05261ddd7 feat: address missing features and bugs identified during Milestone 3 demo; improve localization, error handling, and navigation 2026-02-04 16:45:16 -05:00
Achintha Isuru
c63ea40ce9 feat: Combine logic of count calculations in ViewOrdersCubit and update date handling for order filtering 2026-02-04 09:04:11 -05:00
Achintha Isuru
ad48d47ded feat: Update NEXT_SPRINT_TASKS with new tasks and modify ViewOrdersCubit to remove debug print statements 2026-02-04 09:01:05 -05:00
Achintha Isuru
a86a5d9e77 feat: Update NEXT_SPRINT_TASKS with new tasks and modify ViewOrdersCubit to handle null selectedDate 2026-02-04 08:51:34 -05:00
1ba83e3ea6 feat: Implement Google Places Autocomplete for Staff Location
- Implemented strictly filtered Google Places Autocomplete (cities only) for Staff Profile Setup.
- Centralized Google Places API Key configuration in Core AppConfig.
- Updated Client Hubs to use the centralized AppConfig.
- Verified ViewOrdersCubit logic for weekly order summaries.
2026-02-04 12:30:54 +05:30
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
818fc1759a solving problem adding checkin time 2026-02-02 20:45:12 +09:00
Achintha Isuru
3489ae4060 feat: Add checkCircle icon and update ViewOrderCard and ViewOrdersHeader for improved date handling and UI feedback 2026-02-01 21:23:58 -05:00
Achintha Isuru
e7d5c29c00 feat: Integrate ViewOrdersHeader and ViewOrdersFilterTab components for improved UI in ViewOrdersPage 2026-02-01 21:14:01 -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
José Salazar
7ebe3c33f8 filled problem solved 2026-01-30 22:05:02 -05:00
Achintha Isuru
3bb0f22524 refactor: update navigation method in CreateOrderView and ViewOrdersNavigator for improved routing 2026-01-30 10:47:00 -05:00
Achintha Isuru
fad1b2dc69 refactor: enhance date handling and cubit initialization in ViewOrders components 2026-01-30 02:52:20 -05:00
Achintha Isuru
2531e7b29e refactor: update navigation method in OneTimeOrderView and adjust dependency injection in ViewOrdersModule 2026-01-30 02:41:01 -05:00
Achintha Isuru
0f9b39e750 refactor: conditionally render the create order button based on filtered orders state 2026-01-30 02:18:03 -05:00
Achintha Isuru
d07183b6ac refactor: enhance widget visibility logic and improve UI consistency across multiple components 2026-01-30 02:12:29 -05:00
José Salazar
1e505c806a hidding collapse and showing start rate of staff 2026-01-30 00:00:44 -05:00
José Salazar
bc44153458 status of staff 2026-01-29 23:51:08 -05:00
José Salazar
8c813b403e calling number 2026-01-29 23:45:52 -05:00
José Salazar
24eabc3192 hiding staff data 2026-01-29 23:42:20 -05:00
José Salazar
3d82f4d4d4 fixing numbers workers by shift 2026-01-29 22:59:39 -05:00
José Salazar
f323f73337 showing better name to shifts in shows orders 2026-01-29 17:17:52 -05:00
José Salazar
02b0790ec3 saving name of the orders 2026-01-29 17:10:26 -05:00
José Salazar
6592462e90 hub order update ready 2026-01-29 16:33:36 -05:00
José Salazar
7b57009586 update order with new hub 2026-01-29 16:18:02 -05:00
José Salazar
13a3f5a007 Merge remote-tracking branch 'origin/312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation' into 298-bug-enhance-order-creation-flow-implement-robust-timezone-handling-in-mobile-client-app 2026-01-29 14:36:43 -05:00
Achintha Isuru
8c8951ff51 fix: update package versions and dependencies across multiple pubspec.yaml files 2026-01-29 10:51:16 -05:00
José Salazar
5b8bed0cb0 deleting dates for card shift 2026-01-28 20:00:24 -05:00
José Salazar
7528d9293c correction of next, and active adding 2026-01-28 19:54:57 -05:00
José Salazar
b8d65dfdde validation date as utc and converting in orders 2026-01-28 19:35:09 -05:00
José Salazar
29d839ee26 moving created order to view order 2026-01-28 17:34:05 -05:00
José Salazar
74fc3afa1f updating renew data after update 2026-01-28 15:31:03 -05:00
José Salazar
01f1c1086f date and time in udpate is fixed 2026-01-28 15:31:03 -05:00
José Salazar
6e575a9ad0 adding pendind and solving problem with status of shifts 2026-01-25 14:22:54 -05:00
José Salazar
bda0b441e9 update and correction of create order 2026-01-25 14:22:54 -05:00
Achintha Isuru
f57f41c508 Add explicit types and improve type safety across codebase
This commit adds explicit type annotations to variables, function parameters, and return types throughout the codebase, particularly in widget trees, Bloc logic, and repository implementations. The changes improve code readability, maintainability, and type safety, and align with Dart best practices. No business logic was changed.
2026-01-24 10:00:36 -05:00
José Salazar
afba0e64df view shits of ordes by date 2026-01-23 20:43:18 -05:00
Achintha Isuru
45d6710183 Add vendor selection and rates to order creation flow
Introduces a Vendor entity and integrates vendor selection into the one-time order creation and order editing flows. Vendor-specific rates are now displayed and used for position roles, and UI components have been updated to allow users to select a vendor and see corresponding rates. Mock vendor data is used for demonstration purposes.
2026-01-23 12:42:26 -05:00
Achintha Isuru
4e8373b2e5 Update view_order_card.dart 2026-01-23 12:23:01 -05:00
Achintha Isuru
d928dfb645 Refactor order creation and edit UI for consistency
Refactored BLoC and widget code for order creation flows to improve code style, readability, and consistency. Unified the edit order bottom sheet to follow the Unified Order Flow prototype, supporting multiple positions, review, and confirmation steps. Updated UI components to use more concise widget tree structures and standardized button implementations.
2026-01-23 12:05:04 -05:00