Commit Graph

788 Commits

Author SHA1 Message Date
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
b5c3af580c refactor: enhance child route management in ClientPaths and StaffPaths; ensure proper handling of empty child paths 2026-02-04 17:58:37 -05:00
Achintha Isuru
fa6fa90bb8 feat: implement child route management for client and staff modules; enhance routing structure for better navigation 2026-02-04 17:13:55 -05:00
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
9f48ed40d7 Use krow_core routes; remove navigator
Replace the local navigation extension with centralized helpers from krow_core: add krow_core dependency and imports, remove src/presentation/navigation/client_auth_navigator.dart and its export, and update Module routes to use ClientPaths constants. Update page callbacks to use Modular.to.toClientSignIn/toClientSignUp/toClientHome instead of the old push/navigate extension and replace hard-coded route strings with ClientPaths. This centralizes route definitions and removes duplicated navigation logic.
2026-02-04 16:27:44 -05:00
Achintha Isuru
a9fc926b4b refactor: Remove unnecessary library declaration from routing.dart 2026-02-04 16:16:15 -05:00
Achintha Isuru
62bed9fdbf feat: Update NEXT_SPRINT_TASKS with new tasks and fixes; add routing and navigation extensions for Client and Staff applications 2026-02-04 16:14:57 -05:00
Achintha Isuru
c526f74e9f feat: Add task to rename connect name to 'krow-connect' in the project 2026-02-04 15:55:58 -05:00
Achintha Isuru
c8dcf739c6 Update NEXT_SPRINT_TASKS.md 2026-02-04 14:42:49 -05:00
Achintha Isuru
3e5ad2c51a feat: Add requirement to show proper error message for failed API calls in NEXT_SPRINT_TASKS 2026-02-04 10:35:07 -05:00
Achintha Isuru
a87830b361 feat: Add dart-define-from-file option for staff app commands in mobile.mk 2026-02-04 10:30:47 -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
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
Achintha Isuru
e3268d4722 refactor: Replace HubsConstants.googlePlacesApiKey with AppConfig.googlePlacesApiKey for better configuration management 2026-02-04 08:47:43 -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
Achintha Isuru
41b808d196 feat: add sync-prototypes dependency to launchpad-dev and deploy-launchpad-hosting targets 2026-02-04 12:30:54 +05:30
José Salazar
f42b3f72a4 Merge pull request #366 from Oloodi/357-staff-app-users-get-stuck-in-otp-error-loop-when-signing-up-with-existing-account
357 staff app users get stuck in otp error loop when signing up with existing account
2026-02-04 01:27:03 -05:00
José Salazar
91e14a258e adding redirection if user already has a staff 2026-02-04 15:21:13 +09:00
José Salazar
467d936c5b solving problem with login loop and sending code time 2026-02-04 14:10:02 +09:00
Achintha Isuru
2083b5dbff refactor: replace Navigator with Modular for dialog dismissal in client hubs and settings actions 2026-02-03 22:59:00 -05:00
José Salazar
9e764ab2e4 Merge pull request #364 from Oloodi/359-staff-app-implement-confirmation-dialog-before-deleting-a-hub
adding dialog box before delete a hub
2026-02-03 21:19:48 -05:00
José Salazar
90bacf6695 adding dialog box before delete a hub 2026-02-04 11:16:54 +09:00
Achintha Isuru
d2348631a9 Merge pull request #363 from Oloodi/358-staff-app-find-shifts-button-is-non-functional-on-home-page-when-no-shifts-are-available
358 staff app find shifts button is non functional on home page when no shifts are available
2026-02-03 20:51:58 -05:00
José Salazar
0c44ec4a39 fixing bug of count my shift 2026-02-04 10:44:07 +09:00
José Salazar
cf2433774d solving problem to move to search from home 2026-02-04 10:37:12 +09:00
Achintha Isuru
24d346d9a9 feat: update next sprint tasks and demo notes with new tracking and UI suggestions 2026-02-03 16:21:15 -05:00
Achintha Isuru
cfbf622d9e chore: remove outdated demo plans and notes for Milestone 3 2026-02-03 15:45:37 -05:00
Achintha Isuru
ec6e51ee80 Merge branch 'demo/prep-demo-m3' into 312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation 2026-02-03 15:29:05 -05:00
bwnyasse
c9b65c3def docs: add m3 demo documentation
This commit adds two new markdown files:

- `demos/m3-notes.md`: This file contains notes and feedback
 from the M3 demo.
- `demos/m3.md`: This file contains the feature demo plan for
 Milestone 3 of the KROW Workforce Platform. It includes
 information on the demo overview, environment setup, demo flows,
 and customer handover checklist.
2026-02-03 15:01:58 -05:00
Achintha Isuru
08751a47c3 Refine demo plan terminology and steps for clarity; update client and staff onboarding processes 2026-02-03 14:32:05 -05:00
Achintha Isuru
56ed27e125 Merge pull request #355 from Oloodi/312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation
Continuation of the mobile apps development
2026-02-03 13:47:05 -05:00
Achintha Isuru
627c19ed0b Bump version numbers for client and staff applications to 0.0.1-M3+5 and 0.0.1-M3+3 respectively 2026-02-03 13:00:45 -05:00
Achintha Isuru
065af4fd7f Integrate Google Maps Places Autocomplete for hub address validation; update demo plan and Firebase configurations 2026-02-03 12:59:44 -05:00
Achintha Isuru
11ad6c47d1 Add mobile hot reload and restart commands to Makefile; update NEXT_SPRINT_TASKS with clarification point 2026-02-03 12:25:46 -05:00
Achintha Isuru
c2cb0bd82a Enhance Makefile help output with improved formatting and additional commands; update NEXT_SPRINT_TASKS with new improvement points; fix location fallback logic in CoverageRepositoryImpl 2026-02-03 12:15:57 -05:00
José Salazar
4856343ff9 Merge pull request #354 from Oloodi/345-develop-advanced-seed-data-generation-for-mobile-app-demonstrations
345 develop advanced seed data generation for mobile app demonstrations
2026-02-03 11:25:19 -05:00
José Salazar
8df95ef717 Merge pull request #353 from Oloodi/seed_delete_dataconnet
Seed delete dataconnet
2026-02-03 11:09:21 -05:00
José Salazar
7c613fe77f adding more that for principla staff 2026-02-04 00:52:42 +09:00
José Salazar
306994a223 solving problem with taxForm 2026-02-04 00:41:53 +09:00
José Salazar
470749501b solving problems of the seed 2026-02-04 00:12:05 +09:00
José Salazar
6096a650da creation of seed and makefile to datacoonect 2026-02-03 22:34:31 +09:00
Achintha Isuru
d8b67e50b3 Merge pull request #352 from Oloodi/312-feature-integrate-google-maps-places-autocomplete-for-hub-address-validation
Contiuation of mobile apps development
2026-02-03 00:22:56 -05:00
Achintha Isuru
97747625e4 Remove generated files for UpdateWorkforce and VaidateDayStaffApplication classes to streamline codebase and eliminate unused code. 2026-02-02 22:04:25 -05:00
Achintha Isuru
81a9e2cfb0 feat: update coverage display logic to show status only when applicable 2026-02-02 21:55:33 -05:00
Achintha Isuru
2f6ad5578e fix: update version to 0.0.1-M3+2 and adjust divider height in ClientHomePage 2026-02-02 21:45:53 -05:00
Achintha Isuru
8c1e67cf00 feat: enhance date parsing for shift start time in CommuteTracker 2026-02-02 15:30:15 -05:00