Commit Graph

459 Commits

Author SHA1 Message Date
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
7ce1c6f6e3 Merge branch 'dev' into 408-feature-implement-paidunpaid-breaks---client-app-frontend-development 2026-02-18 16:16:55 -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
José Salazar
bb8c5733ba Merge pull request #434 from Oloodi/recreate_validation
recurring + permanent order
2026-02-18 14:38:35 -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
Achintha Isuru
f5a23c3aaa feat: Add comprehensive documentation for Krow Platform architecture, including system bible, web application use cases, and mobile agent development rules
- Introduced the Krow Platform System Bible detailing the executive summary, system vision, ecosystem overview, architecture, application responsibilities, use cases, and security model.
- Created a detailed use case overview for the Krow Web Application, outlining workflows for Admin, Client, and Vendor roles.
- Established non-negotiable agent development rules for mobile applications, emphasizing file structure, naming conventions, logic placement, localization, and error handling.
- Defined architecture principles for the Krow mobile platform, focusing on clean architecture, dependency direction, and session management.
- Documented design system usage guidelines to ensure UI consistency and adherence to design tokens across applications.
2026-02-18 10:23:07 -05:00
917b4e213c reports page m4 ui done 2026-02-18 18:44:16 +05:30
93f2de2ab6 BlocProvider.of<DailyOpsBloc>(context) 2026-02-18 16:15:37 +05:30
215ddcbc87 reports page ui 2026-02-18 16:09:59 +05:30
c82a36ad89 blank error fix 2026-02-18 15:40:19 +05:30
d589c9bca2 reports page implementation 2026-02-18 15:10:01 +05:30
José Salazar
75e534620d permanent order v1 2026-02-17 18:59:31 -05:00
José Salazar
9fb138c4ee status shifts changed 2026-02-17 18:35:16 -05:00
José Salazar
b24096eec2 recurring v2 2026-02-17 18:32:09 -05:00
Achintha Isuru
a119f36e41 feat: Refactor StaffSession to remove user field and update related session handling 2026-02-17 16:31:23 -05:00
José Salazar
85c8a09d9e first version of recurring order 2026-02-17 16:24:59 -05:00
Achintha Isuru
c90b2c296b feat: Update navigation flow in ClientSettingsPage to redirect to Get Started page 2026-02-17 16:14:45 -05:00
Achintha Isuru
ddf270074b feat: Refactor session management and improve user session data retrieval 2026-02-17 16:05:45 -05:00
Achintha Isuru
631af65a2f feat: Update session navigation and enhance error handling in data services 2026-02-17 15:46:52 -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
be40614274 feat: Implement session management with SessionListener and SessionHandlerMixin 2026-02-17 14:03:24 -05:00
Achintha Isuru
506da5e26f feat: Implement DataErrorHandler mixin and update imports for consistency 2026-02-17 13:21:00 -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
39bb17d981 feat: Refactor repositories and modules to remove FirebaseAuth dependency and utilize DataConnectService 2026-02-16 17:49:34 -05:00
Achintha Isuru
21f0e2ee89 feat: Refactor HubRepositoryImpl to remove FirebaseAuth dependency and utilize DataConnectService 2026-02-16 17:43:50 -05:00
Achintha Isuru
a7e8704e4f feat: Simplify HomeRepositoryImpl and ClientHomeModule by using constructor shorthand 2026-02-16 17:43:20 -05:00
Achintha Isuru
789fe24f2b feat: Refactor CoverageModule and CoverageRepositoryImpl to utilize DataConnectService 2026-02-16 17:38:09 -05:00
Achintha Isuru
19eda09620 feat: Refactor ClientCreateOrderRepositoryImpl and OneTimeOrderBloc to utilize DataConnectService, removing FirebaseAuth dependency 2026-02-16 17:35:15 -05:00
Achintha Isuru
fc0bb5828c feat(auth-repository): Refactor AuthRepositoryImpl to remove FirebaseAuth dependency and utilize DataConnectService 2026-02-16 17:21:03 -05:00
Achintha Isuru
fdd40ba72c feat(data-connect): Implement caching for business ID and enhance error handling in DataConnectService 2026-02-16 17:16:29 -05:00
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