Commit Graph

418 Commits

Author SHA1 Message Date
zouantchaw
6502a2f983 Add quality gates and baseline tests for web/mobile 2026-02-12 23:21:25 -05:00
zouantchaw
bda22f12ef Fix staff app compile regressions 2026-02-12 17:35:15 -05:00
Achintha Isuru
78a312c8d0 chore: refactor UI components to align with design system tokens 2026-02-12 15:36:45 -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
65620b961a fix: resolve layout overflow on shift details page 2026-02-11 12:07:02 +05:30
3e212220c7 feat: complete centralized error handling system with documentation 2026-02-11 10:36:08 +05:30
Achintha Isuru
56dbb08b5a Merge pull request #394 from Oloodi/391-refactor-mobile-uis-and-widgets-to-adhere-to-design-system-tokens
Removed the hard coded colors and typograhys from the staff mobile application
2026-02-10 17:18:42 -05:00
Achintha Isuru
4c38013c10 Standardize UI to design system tokens
Refactor multiple UI components to use design system tokens and primitives. Added new UiIcons (coffee, wifi, xCircle, ban) and typography color getters (primary, accent). Replaced hardcoded paddings, spacings, radii, borderRadius, and icon imports (lucide_icons -> UiIcons) with UiConstants, UiColors, UiTypography and UiIcons, and switched to UiColors.withValues for opacity. Changes apply across authentication, availability, clock_in (and its widgets), commute tracker, lunch break modal, location map placeholder, attendance card, date selector, and related presentation files to improve visual consistency.
2026-02-10 17:17:56 -05:00
Achintha Isuru
bcd973cf64 refactor: Update pubspec.yaml files and remove unnecessary background color in PaymentsPage for consistency 2026-02-10 16:32:03 -05:00
José Salazar
7ab59eb843 solving problem with the time in shifts 2026-02-10 16:30:13 -05:00
Achintha Isuru
2730277075 Refactor UI components to use design system tokens for consistency
- Removed the UiSuccessSnackbar widget as it is no longer needed.
- Updated WorkerHomePage to replace hardcoded spacing with UiConstants.
- Refactored HomeHeader to use UiConstants for dimensions and colors.
- Modified PlaceholderBanner to utilize UiConstants for sizes and colors.
- Adjusted QuickActionItem to apply UiConstants for dimensions and icon sizes.
- Updated RecommendedShiftCard to use design system typography and constants.
- Refined SectionHeader to implement design system styles and spacing.
- Enhanced ShiftCard to adopt design system tokens for colors and spacing.
- Updated AutoMatchToggle to use design system colors and dimensions.
- Refactored BenefitsWidget to apply design system styles and constants.
- Improved ImproveYourselfWidget to utilize design system tokens for styling.
- Updated MoreWaysToUseKrowWidget to implement design system styles and constants.
2026-02-10 16:25:54 -05:00
Achintha Isuru
77370a7688 refactor: Replace Lucide icons with UiIcons across various widgets to ensure consistency with the design system 2026-02-10 16:12:13 -05:00
Achintha Isuru
c6448ad5c1 Refactor UI components to utilize design system colors and typography
- Removed deprecated app_colors.dart file.
- Updated AttendanceCard widget to use design system colors and typography.
- Refactored CommuteTracker widget for consistent styling with design system.
- Modified DateSelector widget to apply design system styles.
- Adjusted LocationMapPlaceholder widget to align with design system.
- Enhanced LunchBreakDialog with design system colors and typography.
- Updated SwipeToCheckIn widget to utilize design system for colors and text styles.
2026-02-10 16:05:05 -05:00
Achintha Isuru
8edfc72370 refactor: Update AvailabilityPage and ClockInPage to enhance UI consistency and remove unused code 2026-02-10 15:51:50 -05:00
Achintha Isuru
4f94bf6835 feat: Refactor mobile UI components to adhere to design system tokens and improve loading and snackbar functionalities 2026-02-10 15:34:52 -05:00
Achintha Isuru
a34cc5b462 feat: Implement staff authentication as a Flutter Modular feature module, centralizing dependency injection and routing while refactoring imports for better modularity. 2026-02-10 12:15:51 -05:00
José Salazar
761d718ffe deleting files with accepeted status of application 2026-02-10 12:11:25 -05:00
José Salazar
eee8b2e6ec all the time when a staff apply to a shift the status of application will be confirmed 2026-02-10 11:51:56 -05:00
Achintha Isuru
aef0c3df14 Refactor code structure for improved readability and maintainability 2026-02-10 11:48:27 -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
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
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
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
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
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
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
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