Commit Graph

845 Commits

Author SHA1 Message Date
Achintha Isuru
964b872ee1 Add clean-branches make target and docs
Document dataconnect environment options and add branch-cleaning tooling. Adds PROTECTED_BRANCHES.md listing protected branches (main, dev, demo/**). Updates Makefile help text to show ENV defaults for dataconnect targets, new bootstrap/backup/validation commands, and a tip about default ENV. Adds a new clean-branches .PHONY target in makefiles/tools.mk that validates the current branch, reads PROTECTED_BRANCHES.md, prompts for confirmation, switches to dev if necessary, and deletes non-protected local branches while reporting a summary.
2026-02-06 13:40:28 -05:00
Achintha Isuru
543d800635 feat: add dataconnect-generated dependency and update pnpm workspace configuration 2026-02-06 13:27:11 -05:00
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
d39fa6e6c3 Update service IDs in dataconnect configuration for consistency 2026-02-06 00:44:27 -05:00
Achintha Isuru
aa2418b327 Refactor import order and remove debug logging in authentication repository 2026-02-06 00:29:04 -05:00
Achintha Isuru
e0636e46a3 Merge pull request #380 from Oloodi/authentication-web
Order's PR
2026-02-05 22:24:19 -05:00
Achintha Isuru
9f750ac168 Merge pull request #379 from Oloodi/361-missing-features-and-bugs-identified-during-the-milestone-3-demo-smoke-run
feat(mobile): Implement Centralized Error Handling System & Project Cleanup (#377 #378)
2026-02-05 22:24:05 -05:00
José Salazar
b0065068a4 validations of connection to validation db 2026-02-06 11:35:31 +09:00
Achintha Isuru
f359c3c0d1 Update versioning for client and staff applications to standardize identifiers 2026-02-05 14:35:20 -05:00
Achintha Isuru
831bfd2f64 Update versioning for client and staff applications to include specific identifiers for Iliana 2026-02-05 14:06:20 -05:00
Achintha Isuru
5d21069a49 Update versioning for client and staff applications to include specific identifiers for Iliana 2026-02-05 13:48:20 -05:00
dhinesh-m24
0ebb76b3a7 Revert "fix: Update path for data generated files"
This reverts commit 4f5b1c5e69.
2026-02-05 21:44:01 +05:30
dhinesh-m24
75232e1c03 feat: Implement Order Detail View 2026-02-05 17:08:29 +05:30
dhinesh-m24
475cc8ae80 feat: Implement Order List View for Vendors 2026-02-05 16:50:16 +05:30
dhinesh-m24
9dab3fef05 feat: Implement Client Order List 2026-02-05 16:28:09 +05:30
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
dhinesh-m24
4f5b1c5e69 fix: Update path for data generated files 2026-02-05 15:31:03 +05:30
dhinesh-m24
122159a62c feat: Implement Order List for Admins 2026-02-05 15:30:05 +05:30
dhinesh-m24
7265f8db9e Merge branch 'authentication-web' of https://github.com/Oloodi/krow-workforce into authentication-web 2026-02-05 12:34:29 +05:30
dhinesh-m24
248afbb0ae fix: Verify functionality of Add Client and Client List 2026-02-05 12:18:55 +05:30
Achintha Isuru
6dafb4c798 Bump version to 0.0.1-M3+7 for client and 0.0.1-M3+5 for staff applications 2026-02-05 01:19:31 -05:00
Achintha Isuru
e7c12245d0 Update Data Connect configuration for validation environment 2026-02-05 01:16:37 -05:00
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
669ba74cc4 Merge pull request #338 from Oloodi/authentication-web
Authentication web
2026-02-04 23:28:39 -05:00
Achintha Isuru
5cbf532b37 Remove unused SVG assets for Vite and React 2026-02-04 23:28:11 -05:00
Achintha Isuru
6dc700f226 Update NEXT_SPRINT_TASKS.md 2026-02-04 23:20:00 -05:00
José Salazar
8deb293158 Merge pull request #373 from Oloodi/368-sub-task-provision-and-copy-validation-database-instance
368 sub task provision and copy validation database instance
2026-02-04 22:31:42 -05:00
José Salazar
ada3aa7ef3 new instance for db validation dataconnect 2026-02-05 11:50:52 +09:00
Achintha Isuru
ccf8930126 Use StaffPaths and core imports across staff modules
Centralize and standardize routing by introducing StaffPaths constants (shiftDetailsRoute, formI9, formW4) and using StaffPaths.childRoute in multiple staff feature modules instead of hardcoded paths. Add package:krow_core/core.dart imports where needed, clean up minor formatting/constructor spacing, make some route callbacks explicitly typed, replace shiftDetails string interpolation with the new constant, and remove a debug print from phone verification. These changes unify route definitions and add explicit tax-form routes (I-9 and W-4).
2026-02-04 18:36:37 -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
a9fc926b4b refactor: Remove unnecessary library declaration from routing.dart 2026-02-04 16:16:15 -05:00
Achintha Isuru
62bed9fdbf feat: Update NEXT_SPRINT_TASKS with new tasks and fixes; add routing and navigation extensions for Client and Staff applications 2026-02-04 16:14:57 -05:00
Achintha Isuru
c526f74e9f feat: Add task to rename connect name to 'krow-connect' in the project 2026-02-04 15:55:58 -05:00
Achintha Isuru
847b0df857 Merge branch 'authentication-web' of https://github.com/Oloodi/krow-workforce into authentication-web 2026-02-04 15:31:17 -05:00
Achintha Isuru
bbaf4684e4 Update Makefile 2026-02-04 15:27:07 -05:00
Achintha Isuru
6ffd5ec4b8 Merge pull request #372 from Oloodi/authentication-web-verify
Link dataconnect package and add invoice hub
2026-02-04 15:22:04 -05:00
Achintha Isuru
eb0c9f38a1 Link dataconnect package and add invoice hub
Wire up the dataconnect-generated package for the web app and add a new `hub` field to invoice mutations and queries. Updates include: add package links in apps/web package and workspace config, adjust connector.yaml JavaScript SDK output/package paths, add `hub` to invoice create/update mutations and to invoice queries, remove many example dataconnect GraphQL files and the web README, and minor formatting/newline fixes (Makefile and several .gql files).
2026-02-04 15:21:40 -05:00
Achintha Isuru
c8dcf739c6 Update NEXT_SPRINT_TASKS.md 2026-02-04 14:42:49 -05:00
Achintha Isuru
fbab4f729d Bump client and staff app versions
Increment build versions for mobile apps: krowwithus_client 0.0.1-M3+5 → 0.0.1-M3+6 and krowwithus_staff 0.0.1-M3+3 → 0.0.1-M3+4 in their pubspec.yaml files. No other changes.
2026-02-04 10:56:07 -05:00
Achintha Isuru
3e5ad2c51a feat: Add requirement to show proper error message for failed API calls in NEXT_SPRINT_TASKS 2026-02-04 10:35:07 -05:00
Achintha Isuru
a87830b361 feat: Add dart-define-from-file option for staff app commands in mobile.mk 2026-02-04 10:30:47 -05:00
Achintha Isuru
e5e0b6e7bb feat: Add error message field to ProfileSetupState and update ProfileSetupLocation widget imports 2026-02-04 09:11:21 -05:00