Commit Graph

141 Commits

Author SHA1 Message Date
Achintha Isuru
109ed5375d Refactor UI components: update button size to large and adjust profile header margin 2026-02-01 20:28:29 -05:00
Achintha Isuru
5c15db1695 Integrate Google Maps Places Autocomplete for hub address validation and enhance UI button styles 2026-02-01 20:22:14 -05:00
Achintha Isuru
9f8b60d571 feat: Update application status handling and improve build configuration
- Added handling for the COMPLETED application status in the CoverageRepositoryImpl to return 'confirmed'.
- Updated mobile client build and run commands in the makefile to include `--dart-define-from-file=../../config.dev.json` for better configuration management.
2026-02-01 13:20:24 -05: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
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
cbc9166aba refactor: remove mock financial repository from BillingModule bindings 2026-01-30 17:57:57 -05:00
Achintha Isuru
1806096f23 Merge branch '312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation' of https://github.com/Oloodi/krow-workforce into 312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation 2026-01-30 10:47:24 -05:00
Achintha Isuru
3bb0f22524 refactor: update navigation method in CreateOrderView and ViewOrdersNavigator for improved routing 2026-01-30 10:47:00 -05:00
José Salazar
0c06ca18bf validation user role 2026-01-30 09:08:44 -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
Achintha Isuru
ed71d2b4a3 refactor: add optional subtitle to various widgets for enhanced context 2026-01-30 01:59:41 -05:00
Achintha Isuru
1e8d6ae65b refactor: update CoveragePage layout to use fixed height for shift list spacing 2026-01-30 01:36:19 -05:00
Achintha Isuru
dd5b58b7bc refactor: enhance invoice display logic and add empty state in BillingView 2026-01-30 01:34:21 -05:00
Achintha Isuru
d38cb07326 refactor: optimize layout spacing in BillingView for improved UI consistency 2026-01-30 00:43:07 -05:00
Achintha Isuru
4fce8f9a57 refactor: convert BillingView to StatefulWidget and implement scroll listener for dynamic UI updates 2026-01-30 00:40:19 -05:00
Achintha Isuru
bfe00a700a refactor: update CoveragePage to use StatefulWidget and implement scroll listener 2026-01-30 00:24:12 -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
c3263262af no 100% with 0/0 workers 2026-01-29 22:05:18 -05:00
José Salazar
3bed200625 counting # of shifs in the day 2026-01-29 22:00:01 -05:00
José Salazar
0086585a03 solving the problem of bad information in live today 2026-01-29 21:45:28 -05:00
José Salazar
68007048d3 just validation of time utc 2026-01-29 19:02:38 -05:00
José Salazar
4a52e1b0e3 solving problem of repetations of messajes succes, and exception 2026-01-29 18:18:28 -05:00
José Salazar
da8b7d2627 validation if a hug has orders 2026-01-29 18:12:16 -05:00
José Salazar
3513cf310f 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 17:23:53 -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
9e8c7db3f9 reorder with hub 2026-01-29 16:22:00 -05:00
José Salazar
7b57009586 update order with new hub 2026-01-29 16:18:02 -05:00
José Salazar
191ba40393 modifications for hub in create one time order 2026-01-29 16:08:44 -05:00
José Salazar
0afb89e86a hubs ready 2026-01-29 15:03:26 -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
1213d10bd1 feat: update order types in ClientCreateOrderRepositoryImpl and add firebase_auth dependency in pubspec.yaml 2026-01-29 14:34:19 -05:00
Achintha Isuru
38056c9d91 feat: remove reports tab from the bottom navigation bar in ClientMainBottomBar 2026-01-29 14:24:27 -05:00
Achintha Isuru
976d101f79 feat: rapid order is removed fromm the client home page. 2026-01-29 14:19:19 -05:00
Achintha Isuru
a7da165fad feat: add new spacing constants and update imports in BillingPage 2026-01-29 13:59:28 -05:00
Achintha Isuru
e2d223c714 fix: improve layout and styling for empty state and shift header in CoverageShiftList 2026-01-29 12:30:30 -05:00
Achintha Isuru
dc129c4515 fix: remove background color from CoveragePage and adjust layout spacing 2026-01-29 11:38:40 -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
2d8e862d03 deleting default data 2 2026-01-29 10:19:36 -05:00
José Salazar
0fff3bda58 deleting default data 2026-01-29 10:15:17 -05:00
José Salazar
75e7c35cea Merge Google Maps branch 2026-01-29 09:59:10 -05:00