Commit Graph

199 Commits

Author SHA1 Message Date
Achintha Isuru
ddf270074b feat: Refactor session management and improve user session data retrieval 2026-02-17 16:05:45 -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
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
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
4e1a41ebff Fix build errors: localization syntax, key paths, and ViewOrderCard widget 2026-02-14 16:26:10 +05:30
José Salazar
cb4a352f5d modification of date in redorder 2026-02-12 17:11:03 -05:00
José Salazar
dbf05d6c01 Merge remote-tracking branch 'origin/dev' into 406-feature-implement-paidunpaid-breaks-in-client-app-order-creation 2026-02-12 16:28:45 -05:00
Achintha Isuru
78a312c8d0 chore: refactor UI components to align with design system tokens 2026-02-12 15:36:45 -05:00
José Salazar
57b63b85ef new field and enums values for break in shiftrole 2026-02-12 14:57:35 -05:00
ad6db7d851 chore: refactor UI consistency using design system tokens and remove LucideIcons 2026-02-12 18:37:31 +05:30
Achintha Isuru
d3b4ea3406 Delete outdated demo plan for Milestone 3 and replace with new feature testing plan; add detailed testing steps and feedback notes for client and staff applications; outline development tasks for Milestone 4 including backend and frontend requirements; establish research and business tasks for operational improvements and compliance. 2026-02-11 21:12:34 -05:00
c1112ac01c feat: Centralized Error Handling & Crash Fixes 2026-02-11 18:52:23 +05:30
ea06510474 Merge branch 'dev' into feature/centralized-data-error-handling and resolve conflicts 2026-02-11 12:34:29 +05:30
3e212220c7 feat: complete centralized error handling system with documentation 2026-02-11 10:36:08 +05:30
José Salazar
761d718ffe deleting files with accepeted status of application 2026-02-10 12:11:25 -05:00
Achintha Isuru
9f604e7c46 Merge pull request #388 from Oloodi/feature/centralized-data-error-handling
Fix: Resolve critical bugs and linting issues (concurrency, syntax, dead code)
2026-02-10 11:10:03 -05:00
7570ffa3b9 Fix: Resolve critical linting issues and bugs (concurrency, syntax, dead code) 2026-02-10 19:12:01 +05:30
Achintha Isuru
e1567ba84c Merge pull request #384 from Oloodi/feature/centralized-data-error-handling
refactor: centralize data connect error handling and stabilize mobile applications
2026-02-06 10:05:21 -05:00
5e7bf0d5c0 refactor: centralize data connect error handling and resolve build issues across applications
This commit addresses several critical issues across the mobile monorepo:

1. Centralized Error Handling: Integrated DataErrorHandler mixin into all repository implementations, ensuring consistent mapping of Data Connect exceptions to domain AppExceptions.
2. Build Stabilization: Fixed numerous type mismatches, parameter signature errors in widgets (e.g., google_places_flutter itemBuilder), and naming conflicts (StaffSession, FirebaseAuth).
3. Code Quality: Applied 'dart fix' across all modified packages and manually cleared debug print statements and UI clutter.
4. Mono-repo alignment: Standardized Data Connect usage and aliasing ('dc.') for better maintainability.

Signed-off-by: Suriya <suriya@tenext.in>
2026-02-06 13:28:57 +05:30
Achintha Isuru
5c6852fcba Merge pull request #383 from Oloodi/demo/prep-demo-m3
Introduce validation db instance
2026-02-06 00:45:04 -05:00
Achintha Isuru
aa2418b327 Refactor import order and remove debug logging in authentication repository 2026-02-06 00:29:04 -05:00
José Salazar
b0065068a4 validations of connection to validation db 2026-02-06 11:35:31 +09:00
3924801f70 feat(mobile): implement centralized error handling and project cleanup
- Implemented centralized error handling system (#377)
- Unified UIErrorSnackbar and BlocErrorHandler mixin
- Migrated ClientAuthBloc and ClientHubsBloc
- Consolidated documentation
- Addresses Mobile Apps: Project Cleanup (#378)
2026-02-05 15:35:35 +05:30
Achintha Isuru
277b4b81ca Reapply "Merge pull request #373 from Oloodi/368-sub-task-provision-and-copy-validation-database-instance"
This reverts commit eb149f680b.
2026-02-05 00:19:00 -05:00
Achintha Isuru
eb149f680b Revert "Merge pull request #373 from Oloodi/368-sub-task-provision-and-copy-validation-database-instance"
This reverts commit 8deb293158, reversing
changes made to fbab4f729d.
2026-02-05 00:18:34 -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
b5c3af580c refactor: enhance child route management in ClientPaths and StaffPaths; ensure proper handling of empty child paths 2026-02-04 17:58:37 -05:00
Achintha Isuru
fa6fa90bb8 feat: implement child route management for client and staff modules; enhance routing structure for better navigation 2026-02-04 17:13:55 -05:00
Achintha Isuru
bb09925668 feat: update client routing paths for order creation; streamline navigation and remove deprecated routes 2026-02-04 17:04:03 -05:00
Achintha Isuru
c05261ddd7 feat: address missing features and bugs identified during Milestone 3 demo; improve localization, error handling, and navigation 2026-02-04 16:45:16 -05:00
Achintha Isuru
9f48ed40d7 Use krow_core routes; remove navigator
Replace the local navigation extension with centralized helpers from krow_core: add krow_core dependency and imports, remove src/presentation/navigation/client_auth_navigator.dart and its export, and update Module routes to use ClientPaths constants. Update page callbacks to use Modular.to.toClientSignIn/toClientSignUp/toClientHome instead of the old push/navigate extension and replace hard-coded route strings with ClientPaths. This centralizes route definitions and removes duplicated navigation logic.
2026-02-04 16:27:44 -05:00
Achintha Isuru
c63ea40ce9 feat: Combine logic of count calculations in ViewOrdersCubit and update date handling for order filtering 2026-02-04 09:04:11 -05:00
Achintha Isuru
ad48d47ded feat: Update NEXT_SPRINT_TASKS with new tasks and modify ViewOrdersCubit to remove debug print statements 2026-02-04 09:01:05 -05:00
Achintha Isuru
a86a5d9e77 feat: Update NEXT_SPRINT_TASKS with new tasks and modify ViewOrdersCubit to handle null selectedDate 2026-02-04 08:51:34 -05:00
Achintha Isuru
e3268d4722 refactor: Replace HubsConstants.googlePlacesApiKey with AppConfig.googlePlacesApiKey for better configuration management 2026-02-04 08:47:43 -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
Achintha Isuru
2083b5dbff refactor: replace Navigator with Modular for dialog dismissal in client hubs and settings actions 2026-02-03 22:59:00 -05:00
José Salazar
90bacf6695 adding dialog box before delete a hub 2026-02-04 11:16:54 +09:00
Achintha Isuru
c2cb0bd82a Enhance Makefile help output with improved formatting and additional commands; update NEXT_SPRINT_TASKS with new improvement points; fix location fallback logic in CoverageRepositoryImpl 2026-02-03 12:15:57 -05:00
Achintha Isuru
81a9e2cfb0 feat: update coverage display logic to show status only when applicable 2026-02-02 21:55:33 -05:00