Commit Graph

483 Commits

Author SHA1 Message Date
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
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
Achintha Isuru
ef304c5e99 Merge branch 'dev' into 408-feature-implement-paidunpaid-breaks---client-app-frontend-development 2026-02-17 16:35:18 -05:00
Achintha Isuru
88d4e74c9e Merge branch 'dev' into codex/local-dev-fixes 2026-02-17 16:34:58 -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
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
Gokulraj
e36cb09b73 Inconsistent Shift Booking Status 2026-02-17 16:53:21 +05:30
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
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
3245c957f6 feat(data-connect): Add run method for centralized error handling and authentication checks 2026-02-16 15:39:40 -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
51d53f658b feat(data-error-handler): Replace print with debugPrint for unhandled exceptions logging 2026-02-16 14:49:13 -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
888cf83c18 feat(breaks): Implement Google Maps API key integration and decode Dart defines for both client and staff apps 2026-02-16 13:50:02 -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