Commit Graph

39 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
e5e0b6e7bb feat: Add error message field to ProfileSetupState and update ProfileSetupLocation widget imports 2026-02-04 09:11:21 -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
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
065af4fd7f Integrate Google Maps Places Autocomplete for hub address validation; update demo plan and Firebase configurations 2026-02-03 12:59:44 -05:00
José Salazar
470749501b solving problems of the seed 2026-02-04 00:12:05 +09:00
Achintha Isuru
6d0d7dcbd2 feat: Refactor PhoneInput to use StatefulWidget and improve phone number handling 2026-02-01 21:45:40 -05:00
Achintha Isuru
4830d72d48 feat: Update test phone numbers for authentication flow 2026-02-01 14:07:04 -05:00
Achintha Isuru
23a346200a feat: Integrate phone number verification handling for test numbers in authentication flow 2026-02-01 14:06:02 -05:00
Achintha Isuru
0dfe7a4e6d refactor: streamline date conversion logic in repository implementations 2026-02-01 11:28:50 -05:00
José Salazar
6277b9f5e2 changes 2026-02-01 22:39:40 +09:00
Achintha Isuru
1625f81ce6 feat: Integrate profile setup use case and repository for profile submission 2026-02-01 03:47:39 -05:00
Achintha Isuru
1a4a797aa3 feat: integrate Google Maps Places Autocomplete for hub address validation 2026-01-31 15:20:59 -05:00
036722791b fix: resolve payments compilation error and remove redundant datasource layer 2026-01-31 21:45:51 +05:30
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
be4b16911e Merge branch 'dev' into 216-p0-staff-01-profile-setup-wizard 2026-01-28 01:19:26 -05:00
Achintha Isuru
93779c21bb feat: enhance experience management by introducing ExperienceSkill and Industry enums, refactoring related components 2026-01-27 14:34:09 -05:00
Achintha Isuru
16bac72a4e fix: correct handling of industries and skills in ProfileSetupBloc 2026-01-27 14:07:44 -05:00
Achintha Isuru
536b020c52 feat: update preferredLocations field to List<String> across staff-related entities and mutations
- Changed preferredLocations from AnyValue to List<String> in GetStaffByIdStaff, GetStaffByUserIdStaffs, ListStaffStaffs, and UpdateStaffVariablesBuilder classes.
- Updated JSON serialization/deserialization for preferredLocations to handle List<String>.
- Modified Staff entity to include preferredLocations as List<String>.
- Adjusted ProfileSetupBloc and PersonalInfoBloc to accommodate changes in preferredLocations.
- Updated PersonalInfoRepositoryImpl to handle preferredLocations as List<String>.
- Refactored PersonalInfoContent and PersonalInfoForm to use locations instead of address.
- Updated GraphQL mutations and schema to reflect the new List<String> type for preferredLocations.
2026-01-27 02:17:52 -05:00
Achintha Isuru
060036fe36 Refactor staff profile management to remove livePhoto references and update repository methods for current user authentication 2026-01-26 18:41:13 -05:00
José Salazar
1934d4caab account working 2026-01-26 13:57:04 -05:00
José Salazar
2f5c607996 bank account connect to dataconnect with staffid 2026-01-26 10:59:11 -05:00
José Salazar
0ba5a9ae16 registration and login ready, with some validations 2026-01-26 10:48:33 -05:00
Achintha Isuru
a6c7a5044d fix: update build timestamp and correct navigation path in auth module 2026-01-25 21:38:00 -05:00
Achintha Isuru
9dae80e66e feat: add staff certificates feature with pubspec configuration
- Created pubspec.yaml for the staff_certificates feature with dependencies including flutter_bloc, equatable, get_it, and flutter_modular.
- Established paths for KROW dependencies: design_system, core_localization, krow_domain, krow_core, and krow_data_connect.
- Added firebase_auth and firebase_data_connect as dependencies.
- Generated pubspec.lock file to lock dependency versions.
2026-01-25 10:28:43 -05:00
Achintha Isuru
5039743c03 Revert "feat: Add placeholder for unimplemented features in Get Started, Home, and Profile modules"
This reverts commit 8f8c6ff2d2.
2026-01-24 15:36:09 -05:00
Achintha Isuru
8f8c6ff2d2 feat: Add placeholder for unimplemented features in Get Started, Home, and Profile modules
feat: Add placeholder for Rapid Order success view and comment out Rapid action card
2026-01-24 15:35:11 -05:00
Achintha Isuru
e2e7ad5567 fix(navigation): ensure default route loads content
- Updated AuthNavigator to push /worker-main/home/ explicitly
- Updated StaffMainNavigator to navigate to home by default
- Fixes blank screen issue by ensuring RouterOutlet has a child route
2026-01-24 12:26:50 -05:00
Achintha Isuru
084ef8b025 refactor: simplify FirebaseAuth and dataConnect usage for clarity and consistency 2026-01-24 10:35:20 -05:00
Achintha Isuru
e95b9a0b36 refactor: update import paths for consistency and clarity across multiple files 2026-01-24 10:07:22 -05:00
Achintha Isuru
4ea9bd95f8 Update pubspec.yaml 2026-01-24 10:02:06 -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
9ddb0435ed auth repo imp for staff 2026-01-22 17:38:23 -05:00
José Salazar
9b1d4fce78 configuration for staff firebase and auth login 2026-01-22 17:36:12 -05:00
José Salazar
1b8bdf6bfe first steps for auth in staff app 2026-01-22 17:09:13 -05:00
Achintha Isuru
cf59935ec8 Move apps to mobile directory structure
Relocated all app directories (client, design_system_viewer, staff) and their contents under the new 'apps/mobile' path. This change improves project organization and prepares for future platform-specific structuring.
2026-01-22 10:17:19 -05:00