Commit Graph

58 Commits

Author SHA1 Message Date
Achintha Isuru
825cffbc33 feat: Update typography styles and improve layout in coverage components 2026-03-10 12:07:36 -04:00
Achintha Isuru
a7d66a1efe feat: Implement rapid order creation via voice and text in mobile app
- Added benefits section with state management
- Refactored home page to include new sections for quick actions, today's shifts, and tomorrow's shifts
- Introduced full-width divider for better layout
- Created reusable section layout widget for consistent UI
- Implemented circular progress indicator for benefits
- Removed deprecated benefits widget and replaced with new structure
- Updated data connection configuration for validation environment
2026-03-03 20:28:12 -05:00
Achintha Isuru
315e8f9598 feat: Implement rapid order creation with voice and text input in client mobile app 2026-03-01 12:33:42 -05:00
Achintha Isuru
2c61baaaa9 feat: Add UiEmptyState widget and integrate it into BankAccountPage and WorkerHomePage for improved empty state handling 2026-03-01 03:22:48 -05:00
Achintha Isuru
015f1fbc1b feat: Refactor onboarding experience and personal info pages
- Updated ExperiencePage to include subtitles in ExperienceSectionTitle.
- Modified ExperienceSectionTitle widget to accept an optional subtitle parameter.
- Refactored PersonalInfoPage to improve imports and structure.
- Removed unused PersonalInfoContent and PersonalInfoForm widgets.
- Introduced new widgets: EditableField, FieldLabel, ReadOnlyField, TappableRow, and LanguageSelector for better modularity.
- Added AccountCard and SecurityNotice widgets for bank account section.
- Enhanced SaveButton to utilize UiButton for consistency.
2026-03-01 03:06:28 -05:00
Achintha Isuru
ce095924bc feat: Implement notice and file types banners for attire upload and enhance incomplete profile messaging 2026-02-28 22:42:04 -05:00
Achintha Isuru
76424b1b1f refactor: extract invoice approval and dispute logic into a dedicated ShiftCompletionReviewBloc. 2026-02-28 16:02:10 -05:00
Achintha Isuru
55a31661a1 feat: Implement audio recording and transcription for rapid order creation across platforms. 2026-02-27 11:49:17 -05:00
Achintha Isuru
f32bd81a46 refactor: update AttireRepositoryImpl to use constructor injection, reorganize profile sections by moving documents and adding certificates, and introduce new UI icons. 2026-02-27 02:00:51 -05:00
Achintha Isuru
b8d07380c0 replace the "Krow" with "KROW" 2026-02-26 15:13:26 -05:00
fd43494bd4 chore: Maestro restructure, remove Marionette, add Makefile e2e commands 2026-02-26 16:07:43 +05:30
Achintha Isuru
bb27e3f8fe refactor: extract attire UI components from pages into dedicated widgets for improved modularity. 2026-02-24 16:06:42 -05:00
Achintha Isuru
566b4e9839 feat: Add xSmall size and destructive variant to UiChip, refactor AttireItemCard to use these new chip features, and adjust body4r font size. 2026-02-24 15:58:49 -05:00
Achintha Isuru
e084dad4a7 feat: Refactor client hubs to centralize hub actions and update UI styling. 2026-02-24 13:59:55 -05:00
Achintha Isuru
e78d5938dd client hub bloc updated 2026-02-24 13:53:36 -05:00
Achintha Isuru
f453f8aadd feat: Refine badge and status indicator styling across various client features, including updated colors, borders, and typography, and remove unused action buttons. 2026-02-23 12:14:28 -05:00
13f8003bda refactor of usecases 2026-02-23 17:18:50 +05:30
Achintha Isuru
fa00a0bf75 feat: Display order event name with a new calendar check icon and update associated styles in the order card. 2026-02-22 21:13:17 -05:00
Achintha Isuru
68d6e7c5e3 refactor: Standardize shift details UI by adopting UiButton and UiChip components, adjusting layout, and refining chip styling. 2026-02-22 19:59:22 -05:00
Achintha Isuru
216076f753 feat: Enhance UiAppBar and UiIconButton with customizable shapes and border radius 2026-02-21 18:27:59 -05:00
Achintha Isuru
f3eb33a303 feat: Implement permanent and recurring order features with BLoC architecture
- Added PermanentOrderEvent and PermanentOrderState to manage permanent order events and states.
- Created RapidOrderBloc, RapidOrderEvent, and RapidOrderState for handling rapid order creation.
- Introduced RecurringOrderBloc, RecurringOrderEvent, and RecurringOrderState for managing recurring orders.
- Developed utility classes for order types and UI metadata for styling order type cards.
- Enhanced validation logic for order states to ensure data integrity.
- Integrated vendor and hub loading functionalities for both permanent and recurring orders.
2026-02-21 18:11:47 -05:00
474be43448 fix: add ignore_for_file to data connect Repos and modify CI to avoid analyzing deleted files 2026-02-20 19:51:44 +05:30
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
8578723fb3 feat: Implement FAQs feature for staff application with updated routing and UI components 2026-02-18 23:21:26 -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
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
d589c9bca2 reports page implementation 2026-02-18 15:10:01 +05:30
Achintha Isuru
2a0b39926a refactor: Update UI theme and shift details layout for improved consistency 2026-02-16 13:09:10 -05:00
Achintha Isuru
e6b512ee84 feat: Add Headline 1 Bold style and refactor ShiftDetailsPage and FindShiftsTab layout 2026-02-16 12:58:05 -05:00
ad6db7d851 chore: refactor UI consistency using design system tokens and remove LucideIcons 2026-02-12 18:37:31 +05:30
c1112ac01c feat: Centralized Error Handling & Crash Fixes 2026-02-11 18:52:23 +05:30
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
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
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
7570ffa3b9 Fix: Resolve critical linting issues and bugs (concurrency, syntax, dead code) 2026-02-10 19:12:01 +05:30
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
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
94ad1d66fb fix: update SDK constraints to ensure compatibility across multiple pubspec files 2026-02-02 10:30:50 -05:00
Achintha Isuru
3489ae4060 feat: Add checkCircle icon and update ViewOrderCard and ViewOrdersHeader for improved date handling and UI feedback 2026-02-01 21:23:58 -05:00
Achintha Isuru
109ed5375d Refactor UI components: update button size to large and adjust profile header margin 2026-02-01 20:28:29 -05:00
Achintha Isuru
5c15db1695 Integrate Google Maps Places Autocomplete for hub address validation and enhance UI button styles 2026-02-01 20:22:14 -05:00
Achintha Isuru
a7da165fad feat: add new spacing constants and update imports in BillingPage 2026-01-29 13:59:28 -05:00
Achintha Isuru
9dae80e66e feat: add staff certificates feature with pubspec configuration
- Created pubspec.yaml for the staff_certificates feature with dependencies including flutter_bloc, equatable, get_it, and flutter_modular.
- Established paths for KROW dependencies: design_system, core_localization, krow_domain, krow_core, and krow_data_connect.
- Added firebase_auth and firebase_data_connect as dependencies.
- Generated pubspec.lock file to lock dependency versions.
2026-01-25 10:28:43 -05:00
Achintha Isuru
f57f41c508 Add explicit types and improve type safety across codebase
This commit adds explicit type annotations to variables, function parameters, and return types throughout the codebase, particularly in widget trees, Bloc logic, and repository implementations. The changes improve code readability, maintainability, and type safety, and align with Dart best practices. No business logic was changed.
2026-01-24 10:00:36 -05:00
Achintha Isuru
597028436d Refactor billing repository interface and update usage
Renamed IBillingRepository to BillingRepository and updated all references across data, domain, and use case layers for consistency. Improved documentation and comments for repository and use cases. Adjusted typography letter spacing in design system and made minor UI tweaks to the spending breakdown card.
2026-01-23 14:47:06 -05:00
Achintha Isuru
ff9ad58b8c Add client billing feature module
Introduces the client billing feature with domain, data, and presentation layers. Adds billing BLoC, navigation, UI widgets, and integrates with mock financial repository. Updates localization files for billing-related strings, adds new icons and typography, and registers url_launcher plugins for Linux, macOS, and Windows platforms.
2026-01-23 14:18:56 -05:00
Achintha Isuru
868688fb02 Enhance UI button and order card features
Added fullWidth support to UiButton and updated usages to ensure buttons span container width. Improved ViewOrderCard with expanded worker details, avatar stack, formatted date/time, and an order edit bottom sheet. Introduced new icons and typography style in the design system.
2026-01-23 11:53:36 -05:00