Commit Graph

223 Commits

Author SHA1 Message Date
9234c26dad fix compilations 2026-02-19 13:41:58 +05:30
c4610003b4 feat: complete client reports and hub management UI, comment out export buttons 2026-02-19 13:00:48 +05:30
1ca3f714c8 Merge branch 'dev' of https://github.com/Oloodi/krow-workforce into feature/session-persistence-424 2026-02-19 12:55:47 +05:30
Achintha Isuru
963fc05f9f fix: Correct primaryInverse color value and improve code formatting in WorkerHomePage 2026-02-19 00:39:24 -05:00
Achintha Isuru
f0453f267b feat: Update color definitions and improve PlaceholderBanner widget styling 2026-02-18 23:43:33 -05:00
Achintha Isuru
3bda0cc0c3 feat: Implement sections for compliance, finance, onboarding, settings, and support in staff profile 2026-02-18 23:32:47 -05:00
Achintha Isuru
8578723fb3 feat: Implement FAQs feature for staff application with updated routing and UI components 2026-02-18 23:21:26 -05:00
Achintha Isuru
316a010779 feat: Implement FAQs feature for staff application
- Created a modular package for Frequently Asked Questions (FAQs) functionality.
- Established Clean Architecture with Domain, Data, and Presentation layers.
- Implemented BLoC for state management with events and states.
- Developed search functionality with real-time filtering of FAQs.
- Designed an accordion UI for displaying FAQs by category.
- Added localization support for English and Spanish.
- Included comprehensive documentation and testing checklist.
- Integrated dependency injection for repositories and use cases.
- Configured routing for seamless navigation to FAQs page.
2026-02-18 22:21:18 -05:00
Achintha Isuru
11a9a7800c feat: Implement Privacy & Security Settings Module for Staff
- Add PrivacySettingsRepositoryImpl to handle backend communication for privacy settings.
- Create PrivacySettingsEntity to represent user privacy preferences.
- Define PrivacySettingsRepositoryInterface for repository operations.
- Implement use cases for fetching and updating profile visibility, terms of service, and privacy policy.
- Create PrivacyPolicyCubit and TermsCubit for managing legal document states.
- Develop PrivacySecurityBloc to manage privacy and security settings state.
- Create UI pages for Privacy Policy and Terms of Service with corresponding widgets.
- Implement PrivacySectionWidget and LegalSectionWidget for displaying privacy settings and legal documents.
- Add settings action tiles and section headers for better UI organization.
- Update pubspec.yaml with necessary dependencies and asset paths.
2026-02-18 20:58:49 -05:00
Achintha Isuru
3f3579067c feat: Implement profile visibility update feedback and localization updates 2026-02-18 16:30:22 -05:00
Achintha Isuru
6b43a570d6 Replace location sharing with profile visibility
Replace the previous location-sharing privacy model with a profile-visibility feature. Renamed localization keys (en/es) and updated UI widget text. Added repository methods to get/update profile visibility using Data Connect, wired new GraphQL query (getStaffProfileVisibility) and mutation (UpdateStaffProfileVisibility), and added corresponding use cases (GetProfileVisibilityUseCase, UpdateProfileVisibilityUseCase). Updated BLoC, events, and state to use boolean isProfileVisible instead of PrivacySettingsEntity and removed old location-sharing usecases/entities. Also updated module DI and public exports accordingly; asset loading for legal docs kept with minor error logging.
2026-02-18 16:16:49 -05:00
Achintha Isuru
c4d0d865d7 feat: Add comments to clarify the need for APPLICATIONSTATUS and SHIFTSTATUS enums in ShiftsRepositoryImpl 2026-02-18 15:42:10 -05:00
Achintha Isuru
535f6ffb1c feat: Update ownerId assignment in HomeRepositoryImpl and clean up shifts page code 2026-02-18 15:25:31 -05:00
Achintha Isuru
cce1b75fc0 feat: Update asset paths for legal documents and adjust dependency injection in Privacy Security module 2026-02-18 14:53:24 -05:00
Achintha Isuru
abf50796fa feat: Implement legal sections for Terms of Service and Privacy Policy, including navigation and content loading 2026-02-18 14:40:38 -05:00
Achintha Isuru
369151ee29 feat: Implement privacy and legal sections in staff privacy settings page 2026-02-18 14:05:42 -05:00
Achintha Isuru
e05fe01a2d feat: Implement privacy and security feature in staff profile, including navigation and module setup 2026-02-18 13:56:44 -05:00
Achintha Isuru
96849baf46 Add staff privacy & security feature and routes 2026-02-18 13:40:49 -05:00
d589c9bca2 reports page implementation 2026-02-18 15:10:01 +05:30
Achintha Isuru
a119f36e41 feat: Refactor StaffSession to remove user field and update related session handling 2026-02-17 16:31:23 -05:00
Achintha Isuru
5b78f339a1 feat: Implement session management with SessionListener and integrate krow_data_connect 2026-02-17 15:19:08 -05:00
Achintha Isuru
8ce37d2306 feat: Implement role-based session management and refactor authentication flow 2026-02-17 15:10:10 -05:00
Achintha Isuru
9e1af17328 feat: Refactor bank account handling in billing and staff modules
- Introduced new bank account entities: BusinessBankAccount and StaffBankAccount.
- Updated bank account adapter to handle new entities.
- Removed legacy BankAccount entity and its adapter.
- Implemented use case for fetching bank accounts in billing repository.
- Updated BillingBloc and BillingState to include bank accounts.
- Refactored PaymentMethodCard to display bank account information.
- Adjusted actions widget layout for better UI consistency.
- Updated staff bank account repository and use cases to utilize new entity structure.
- Ensured all references to bank accounts in the codebase are updated to the new structure.
2026-02-17 12:05:24 -05:00
da8192418f fix(mobile): resolve client crash and shift status inconsistency 2026-02-17 16:23:10 +05:30
Achintha Isuru
d2cb05fe2e fix: Update documentation to reflect correct backend communication via DataConnectService 2026-02-16 16:54:59 -05:00
Achintha Isuru
17423c5d66 feat: Refactor repositories to utilize DataConnectService and remove FirebaseAuth dependency 2026-02-16 16:54:20 -05:00
Achintha Isuru
3c5987bde4 feat(bank-account-repository): Refactor BankAccountRepositoryImpl to utilize DataConnectService and remove FirebaseAuth dependency 2026-02-16 16:43:00 -05:00
Achintha Isuru
8889b8876e feat(time-card-repository): Refactor TimeCardRepositoryImpl to utilize DataConnectService and simplify authentication handling 2026-02-16 16:35:26 -05:00
Achintha Isuru
24a13488da feat(certificates-documents-repositories): Refactor Certificates and Documents repositories to utilize DataConnectService and simplify dependency management 2026-02-16 16:27:09 -05:00
Achintha Isuru
572ade95b9 feat(tax-forms-repository): Refactor TaxFormsRepositoryImpl to simplify initialization and utilize DataConnectService for data operations 2026-02-16 16:22:14 -05:00
Achintha Isuru
0fc317e1da feat(profile-repository): Refactor ProfileRepositoryImpl to utilize DataConnectService and simplify authentication handling 2026-02-16 16:19:27 -05:00
Achintha Isuru
a10617f17d feat(payments-repository): Refactor PaymentsRepositoryImpl to utilize DataConnectService for payment operations and simplify staff ID retrieval 2026-02-16 16:10:47 -05:00
Achintha Isuru
dcb76db1f8 feat(home-repository): Refactor HomeRepositoryImpl to utilize DataConnectService for data operations and simplify shift retrieval logic 2026-02-16 16:05:38 -05:00
Achintha Isuru
66859e4241 feat(clock-in): Refactor ClockInRepositoryImpl to utilize DataConnectService and simplify dependency injection 2026-02-16 16:00:27 -05:00
Achintha Isuru
1f7134799b feat(availability): Refactor AvailabilityRepositoryImpl to use DataConnectService and simplify dependency injection 2026-02-16 15:48:45 -05:00
Achintha Isuru
d0585d12ab feat(auth): Refactor AuthRepositoryImpl and ProfileSetupRepositoryImpl to use DataConnectService for authentication and data operations 2026-02-16 15:47:01 -05:00
Achintha Isuru
c3abb819c9 feat(data-connect): Implement DataConnectService for centralized data operations and refactor ShiftsRepositoryImpl to utilize the new service 2026-02-16 14:57:47 -05:00
Achintha Isuru
913f895952 feat(shift-details): Enhance ShiftDetailsHeader with client name and location address display 2026-02-16 14:35:36 -05:00
Achintha Isuru
86294d920a feat(url-launcher): Integrate url_launcher plugin for opening directions in maps 2026-02-16 14:28:01 -05:00
Achintha Isuru
7cc779cca2 feat(location): Add latitude and longitude to shift details and integrate Google Maps for location display 2026-02-16 14:21:33 -05:00
Achintha Isuru
e1e255f8f0 feat(maps): Integrate Google Maps plugin for shift location display and refactor related components 2026-02-16 13:55:32 -05:00
Achintha Isuru
6ed12a0519 feat(api-keys): Replace Google Places API key with Google Maps API key across the application 2026-02-16 13:46:01 -05:00
Achintha Isuru
0b787dbc12 feat(shift-details): Refactor ShiftDetailsPage layout and implement new sections for breaks, date/time, description, and location 2026-02-16 13:38:39 -05:00
Achintha Isuru
2f9b2788f8 feat(localization): Update English and Spanish translations for shift details and breaks 2026-02-16 13:33:22 -05:00
Achintha Isuru
55f62207a8 feat(breaks): Add break duration and payment status to shift details 2026-02-16 13:31:21 -05:00
Achintha Isuru
9b6cad3bde feat(breaks): Implement break functionality with Break entity and adapter 2026-02-16 13:26:04 -05:00
Achintha Isuru
2a0b39926a refactor: Update UI theme and shift details layout for improved consistency 2026-02-16 13:09:10 -05:00
Achintha Isuru
e6b512ee84 feat: Add Headline 1 Bold style and refactor ShiftDetailsPage and FindShiftsTab layout 2026-02-16 12:58:05 -05:00
40fa4ebdfa Refactor: Move detailed shift UI from card to ShiftDetailsPage 2026-02-16 20:28:43 +05:30
690d4f4213 feat(staff): Refactor Shift Cards & Integrate Google Maps
Refactors MyShiftCard to match prototype design with expandable details, bold typography, and Google Static Maps integration. Updates AppConfig for API keys.
2026-02-16 15:57:27 +05:30