Commit Graph

238 Commits

Author SHA1 Message Date
bwnyasse
f6f2be18a2 Merge branch 'dev' into fix/check-boris-applied 2026-01-31 20:04:10 -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
Achintha Isuru
f8cd7925f0 Update macOS Flutter env and shifts import
Regenerate and update ephemeral macOS Flutter config and env script with local paths and build settings (FLUTTER_ROOT, FLUTTER_APPLICATION_PATH, FLUTTER_TARGET, FLUTTER_BUILD_NAME, DART_DEFINES, PACKAGE_CONFIG). Update generated localization timestamp. Add missing import for shifts_bloc in shift_details_page.dart to enable bloc usage in the page.
2026-01-31 13:00:04 -05:00
036722791b fix: resolve payments compilation error and remove redundant datasource layer 2026-01-31 21:45:51 +05:30
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
a8e44046f9 feat: integrate Google Maps Places Autocomplete for hub address validation and remove mock service 2026-01-30 17:56:54 -05:00
Achintha Isuru
e85912b6cf feat: update shift repository implementation and add shift adapter 2026-01-30 17:53:28 -05:00
Achintha Isuru
452f029108 feat: integrate payment summary and adapter for staff earnings management 2026-01-30 17:37:08 -05:00
Achintha Isuru
1268da45b0 feat: integrate Clock In functionality with Firebase support and refactor attendance management 2026-01-30 17:22:51 -05:00
Achintha Isuru
9038d6533e feat: integrate ClockInPageLoaded event to initialize state on ClockInBloc 2026-01-30 16:49:10 -05:00
Achintha Isuru
f1ccc97fae feat: enhance availability management with success message handling and loading state 2026-01-30 16:19:22 -05:00
Achintha Isuru
aa39b0fd06 refactor: remove old availability page and update module imports
- Deleted the old availability_page_new.dart file.
- Updated the staff_availability_module.dart to import the new availability_page.dart.
- Added firebase_auth dependency in pubspec.yaml for authentication features.
2026-01-30 16:08:05 -05:00
Achintha Isuru
0b763bae44 feat: integrate availability adapter and repository implementation for staff availability management 2026-01-30 16:04:05 -05:00
Achintha Isuru
4fb2f17ea5 feat: integrate TimeCard feature with Firebase support and restructure related components 2026-01-30 15:29:19 -05:00
Achintha Isuru
772d59a7dd feat: integrate bank account addition with user input for bank name and success notification 2026-01-30 14:59:53 -05:00
Achintha Isuru
4ccc838371 refactor: integrate email field with controller for dynamic updates in PersonalInfoForm 2026-01-30 14:47:35 -05:00
Achintha Isuru
f319ce1776 refactor: remove completed status from profile menu items in StaffProfilePage 2026-01-30 14:41:39 -05:00
Achintha Isuru
6773ddd27d refactor: restructure compliance section layout in StaffProfilePage 2026-01-30 14:39:35 -05:00
Achintha Isuru
a17736e5b9 refactor: update generated file timestamp and clean up imports in various files 2026-01-30 14:28:52 -05:00
Achintha Isuru
1202210df2 Merge branch 'dev' into 312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation 2026-01-30 12:57:17 -05:00
fc75c30bf1 fix: resolve payments compilation error and remove redundant datasource layer 2026-01-30 23:19:28 +05:30
Achintha Isuru
5fd7f00eed Merge branch 'dev' into 312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation 2026-01-30 12:31:27 -05:00
eac5d5c833 fix: resolve compilation errors in staff features after dev merge 2026-01-30 22:56:08 +05:30
Achintha Isuru
f2fdf850f5 Merge branch 'dev' into 312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation 2026-01-30 11:20:54 -05:00
Achintha Isuru
3f7aa90fee Merge branch 'dev' into Issues-on-payments-timecard-availability-screens-01-02-03-04 2026-01-30 11:19:07 -05:00
Suriya
ac7874c634 feat: implement staff availability, clock-in, payments and fix UI navigation 2026-01-30 21:46:44 +05:30
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