Commit Graph

34 Commits

Author SHA1 Message Date
Achintha Isuru
078f828aad feat: introduce TaxForm entity and adapter, refactor tax forms repository and use cases for improved data handling 2026-01-27 16:25:47 -05:00
Achintha Isuru
35c0b19d6b feat: implement BankAccountAdapter for mapping data layer values to domain entity and refactor BankAccountRepositoryImpl for improved staff ID handling 2026-01-27 15:43:21 -05:00
Achintha Isuru
c91155ee61 feat: add success and error feedback for experience submission in ExperiencePage 2026-01-27 15:13:24 -05:00
Achintha Isuru
47ecad5a63 feat: add new skills to localization files and update experience repository methods 2026-01-27 15:07:43 -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
8e7caeed48 Refactor staff data models to use List<String> for skills and industries
- Updated GetStaffByIdStaff, GetStaffByUserIdStaffs, ListStaffStaffs, and UpdateStaffVariablesBuilder classes to replace AnyValue with List<String> for skills and industries.
- Modified JSON serialization and deserialization logic accordingly.
- Adjusted ExperienceRepositoryImpl to handle List<String> for industries and skills.
- Updated GraphQL mutations and schema to reflect changes in data types for skills and industries.
2026-01-27 14:05:32 -05:00
Achintha Isuru
157ace0e77 feat: implement ExperienceAdapter and update ExperienceRepositoryImpl to use Data Connect and FirebaseAuth 2026-01-27 13:49:23 -05:00
Achintha Isuru
2f5c736c20 feat: implement emergency contact management with BLoC, including event and state handling 2026-01-27 13:07:31 -05:00
Achintha Isuru
70f350d216 refactor: streamline emergency contact management by removing unused extensions and optimizing BLoC initialization 2026-01-27 12:38:21 -05:00
Achintha Isuru
450683c45c feat: implement emergency contact management with Firebase integration and relationship type handling 2026-01-27 12:27:22 -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
3e7ddc446d Refactor updateStaffProfile method to accept staff ID and data map, and update PersonalInfoBloc to handle form values 2026-01-27 00:36:24 -05:00
Achintha Isuru
098ae1d476 Refactor PersonalInfoRepository to use Firebase Auth for user profile retrieval and remove mock implementation 2026-01-26 20:35:34 -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
Achintha Isuru
0622002014 feat: add staff time card feature with localization and repository implementation
- Implemented Spanish translations for time card related strings.
- Created TimeCardRepository to fetch time card data based on shifts.
- Added use cases for retrieving time cards and payment history.
- Developed BLoC for managing time card state and events.
- Designed UI components for displaying time card summary and shift history.
- Integrated time card navigation within the staff main module.
- Updated pubspec.yaml files to include new dependencies and modules.
2026-01-25 21:16:50 -05:00
Achintha Isuru
533a545da7 feat: add staff attire management feature
- Introduced localization for staff attire in English and Spanish.
- Created AttireItem entity to represent attire items.
- Implemented StaffAttireModule with repository, use cases, and BLoC for state management.
- Developed UI components including AttirePage, AttireGrid, AttireInfoCard, AttestationCheckbox, and AttireBottomBar.
- Added navigation for attire management and integrated with existing staff profile flow.
- Implemented functionality for selecting attire items, uploading photos, and saving selections with validation.
2026-01-25 12:23:28 -05:00
Achintha Isuru
13cacb9db7 feat: add staff certificates module and update dependencies 2026-01-25 10:43:08 -05:00
Achintha Isuru
0176fd9682 feat: update DocumentsRepositoryImpl to include mock staff documents with detailed attributes 2026-01-25 10:36:45 -05:00
Achintha Isuru
1ef222febf feat: update bank account form to display as a dialog and add account type selection 2026-01-25 10:34:50 -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
b3e156ebbe feat: implement staff documents feature with localization and navigation updates 2026-01-25 03:01:54 -05:00
Achintha Isuru
753a93c24a feat: add staff documents feature with document card and progress card
- Implemented DocumentCard widget to display individual staff documents with status and actions.
- Created DocumentsProgressCard widget to show overall verification progress of documents.
- Established StaffDocumentsModule for dependency injection and routing to documents page.
- Updated pubspec.yaml and pubspec.lock for new dependencies and configurations.
2026-01-25 02:19:30 -05:00
Achintha Isuru
dad706654b feat: Refactor W-4 form page to use BLoC pattern and implement form submission logic
- Updated FormW4Page to utilize FormW4Cubit for state management.
- Removed local state management and replaced with BLoC state.
- Implemented form validation logic based on BLoC state.
- Added methods for handling form field updates and navigation between steps.
- Integrated success and error handling for form submission.
- Refactored UI components to reflect changes in state management.

feat: Update TaxFormsPage to use TaxFormsCubit for loading tax forms

- Changed the way TaxFormsPage retrieves the TaxFormsCubit instance.
- Ensured that tax forms are loaded on initial build.

feat: Replace mock repository with implementation for tax forms

- Switched from TaxFormsRepositoryMock to TaxFormsRepositoryImpl.
- Added use cases for getting and submitting tax forms.
- Implemented the TaxFormsRepositoryImpl to handle data fetching and submission logic.

feat: Implement use cases for tax forms

- Created GetTaxFormsUseCase for retrieving tax forms.
- Created SubmitTaxFormUseCase for submitting tax form data.
- Ensured use cases interact with the repository for data operations.
2026-01-25 01:31:26 -05:00
Achintha Isuru
933e7a1543 feat: add staff tax forms module with I-9 and W-4 forms
- Created staff_tax_forms_module.dart to manage tax forms feature.
- Implemented routes for TaxFormsPage, FormI9Page, and FormW4Page.
- Added mock repository for tax forms.
- Established necessary dependencies in pubspec.yaml.
- Exported module in staff_tax_forms.dart.
2026-01-25 00:47:25 -05:00
Achintha Isuru
2a6570ea08 fix: Correct navigation path for bank account page and adjust module bindings 2026-01-24 23:19:49 -05:00
Achintha Isuru
e2cdf0d8fa feat: Refactor BankAccountRepository implementation and update module bindings for improved dependency injection 2026-01-24 23:11:05 -05:00
Achintha Isuru
e6e2783a5a feat: Implement bank account management feature with UI, BLoC integration, and repository setup 2026-01-24 22:36:29 -05:00
Achintha Isuru
d6cceaceec feat: Refactor ExperiencePage and ExperienceCustomInput to use design system components and remove deprecated ExperienceBadge 2026-01-24 21:08:55 -05:00
Achintha Isuru
f81e1949d1 feat: Add experience management feature with UI, BLoC integration, and repository implementation 2026-01-24 21:04:59 -05:00
Achintha Isuru
c124111f46 feat: Implement emergency contact management feature with UI and BLoC integration 2026-01-24 20:40:02 -05:00
Achintha Isuru
caaf972349 feat: Update navigation paths and enhance personal info page with design system compliance 2026-01-24 19:57:10 -05:00
Achintha Isuru
0cfc19fa60 feat: Implement Staff Profile Info feature with onboarding capabilities
- Added StaffProfileInfoModule for managing personal information onboarding.
- Created PersonalInfoRepositoryImpl and PersonalInfoRepositoryMock for data handling.
- Developed use cases for fetching and updating staff profile information.
- Implemented PersonalInfoBloc for state management using BLoC pattern.
- Designed UI components including PersonalInfoPage, PersonalInfoContent, and form widgets.
- Integrated navigation for onboarding steps and added necessary routes.
- Updated pubspec.yaml files to include new dependencies and feature packages.
2026-01-24 19:28:14 -05:00