Commit Graph

298 Commits

Author SHA1 Message Date
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
bwnyasse
9517606e7a feat: add CLAUDE.md and GEMINI.md to provide project context for AI
feat: add bug reports and screenshots to bugs directory
feat(mobile): add device id to mobile makefile commands
fix(mobile): update mobile readme with device id instructions
fix(core_localization): update strings.g.dart with latest generation
chore: add flutter ephemeral files to gitignore

The CLAUDE.md and GEMINI.md files were added to provide AI assistants with the necessary context to understand the project structure, key commands, architecture patterns, and code conventions. This will help them generate more accurate and relevant code and documentation.

The bugs directory was added to store bug reports and screenshots, providing a central location for tracking and analyzing issues.

The mobile makefile commands were updated to include the device ID, allowing developers to specify the target device for running mobile apps. The mobile readme was updated with instructions on how to find the device ID.

The strings.g.dart file was updated with the latest generation to ensure that the localization data is up-to-date.

The flutter ephemeral files were added to gitignore to prevent them from being committed to the repository. These files are generated by Flutter for desktop platforms and should not be tracked.
2026-01-31 09:52:36 -05:00
bwnyasse
99f2030c22 chore: remove flutter generated files
These files are generated by Flutter and should not be tracked
in the repository. They contain environment-specific paths
and configurations that can vary between developers and
build environments, leading to inconsistencies and potential
conflicts. Removing them ensures a cleaner repository and
avoids accidental modification of generated code.
2026-01-31 09:45:14 -05:00
José Salazar
7ebe3c33f8 filled problem solved 2026-01-30 22:05:02 -05:00
Achintha Isuru
d11977b79c Update strings.g.dart 2026-01-30 18:10:44 -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
a0bca19640 chore: update build timestamp in strings.g.dart and remove unused staff packages from pubspec.lock 2026-01-30 11:21:45 -05:00
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
7757354657 chore: bump version to 0.0.1-M3+3 in pubspec.yaml 2026-01-30 10:50:23 -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
Workolik
56aab9e1f6 feat: Fix UI glitches, navigation highlighting, and integrate Data Connect 2026-01-30 18:24:47 +05:30
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