Commit Graph

52 Commits

Author SHA1 Message Date
Achintha Isuru
e6ebae60e4 feat: update routing paths and improve UI components in order forms 2026-03-10 13:32:39 -04:00
Achintha Isuru
1f79541404 feat: Implement UI for adding new shift manager during order creation 2026-03-10 11:46:11 -04:00
Achintha Isuru
3d6b49f500 feat: Add forms and UI components for one-time, permanent, and recurring orders
- Implemented OneTimeOrderForm widget for creating one-time orders with fields for event name, vendor selection, date, hub, hub manager, and positions.
- Created OrderBottomActionButton for a consistent bottom action button across order views.
- Developed PermanentOrderForm for permanent orders, including event name, vendor selection, start date, permanent days, hub, hub manager, and positions.
- Added RecurringOrderForm for recurring orders with fields for event name, vendor selection, start/end dates, recurring days, hub, hub manager, and positions.
- Introduced PermanentOrderDaysSelector and RecurringOrderDaysSelector for selecting days of the week in permanent and recurring orders respectively.
2026-03-10 11:08:03 -04:00
Achintha Isuru
0d241844dd feat: Enhance review order summary with hours display and localization for hours suffix 2026-03-10 10:44:01 -04:00
Achintha Isuru
48207367cb feat: Add estimated weekly total label and refactor cost calculations for one-time and recurring orders 2026-03-10 10:31:08 -04:00
Achintha Isuru
a3aab678fd feat: Refactor review order action bar for improved button layout and async handling in permanent order BLoC 2026-03-10 10:21:18 -04:00
Achintha Isuru
c5d6bcbe04 feat: Implement review order functionality with localization support for titles, subtitles, and labels across multiple components 2026-03-10 10:12:38 -04:00
Achintha Isuru
d6c9ed2cf3 feat: Enhance localization compliance by enforcing usage of localized keys for user-facing strings and updating related documentation 2026-03-10 10:00:03 -04:00
Achintha Isuru
316a148726 feat: Implement review order flow for one-time, recurring, and permanent orders
- Added ReviewOrderPage to handle order review before submission.
- Created ReviewOrderArguments model to pass data between pages.
- Implemented schedule sections for one-time, recurring, and permanent orders.
- Enhanced navigation flow to confirm order submission after review.
- Refactored order submission logic in OneTimeOrderPage, PermanentOrderPage, and RecurringOrderPage.
- Introduced utility functions for time parsing and scheduling.
- Created reusable widgets for displaying order information in the review section.
- Updated navigation methods to use popSafe for safer back navigation.
- Added MainActivity for Android platform integration.
2026-03-09 19:49:23 -04:00
Achintha Isuru
7a5c130289 refactor: change singleton registrations to lazySingleton for improved performance 2026-03-09 15:01:18 -04:00
Achintha Isuru
4a5c2be489 refactor: Clean up view order card layout and improve text overflow handling 2026-03-04 12:56:25 -05:00
Achintha Isuru
53b612851c refactor: enhance navigation robustness by introducing popSafe and safePushNamedAndRemoveUntil methods and updating their usage. 2026-02-28 17:23:53 -05:00
Achintha Isuru
752f60405e feat: Enable the rapid order type, refactor the invoice ready page to use UiAppBar, and adjust rapid action widget colors. 2026-02-28 12:11:46 -05:00
Achintha Isuru
bba4054143 feat: Implement hub and role matching for order creation and remove payment, savings, and export sections from the billing page. 2026-02-27 21:32:12 -05:00
Achintha Isuru
95175536a0 feat: Implement audio file upload for rapid order transcription and refine the rapid order verification page titles. 2026-02-27 21:02:34 -05:00
Achintha Isuru
a53dddf2e6 feat: Implement voice-to-text transcription for rapid order creation and refactor RapidOrderBloc state management. 2026-02-27 20:37:14 -05:00
Achintha Isuru
57ea14d6bc small change 2026-02-27 15:41:59 -05:00
Achintha Isuru
d609dd75fa Merge branch 'dev' into 493-implement-rapid-order-creation-voice-text-in-client-mobile-app 2026-02-27 15:32:11 -05:00
Achintha Isuru
c54b817ac4 Use handleError for audio recording actions
Refactor RapidOrderBloc to wrap start/stop recording logic with handleError (adds onError handling and standardized emit closure). Rename isListening var to alreadyListening and tweak comments. Remove the overridden close() that disposed the audio recorder (disposal likely handled elsewhere). Also remove an unused import (krow_domain) from create_order_view to clean up warnings.
2026-02-27 13:25:51 -05:00
Achintha Isuru
e0d633d65d Merge branch '493-implement-rapid-order-creation-voice-text-in-client-mobile-app' into dev 2026-02-27 13:17:41 -05:00
Achintha Isuru
9d25fd44cc Add rapid order parsing & audio recording
Add support for transcribing and parsing rapid (urgent) orders into one-time order drafts. Introduces ParseRapidOrderTextToOrderUseCase and wiring for TranscribeRapidOrderUseCase, implements parseRapidOrder and transcribeRapidOrder in the client repository, and injects these into the RapidOrderBloc and module. Adds the record package dependency and registers the record plugin for iOS/macOS targets. Updates OneTimeOrder state, bloc and views to handle rapid-order drafts and navigate to the one-time order flow after parsing. Also includes small formatting and navigator changes.
2026-02-27 13:16:11 -05:00
Achintha Isuru
2d4eee576c Merge branch 'dev' into 493-implement-rapid-order-creation-voice-text-in-client-mobile-app 2026-02-27 12:10:35 -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
34afe09963 feat: localization, file restriction banners, test credentials, edit icon fix
- #553: Audit and verify localizations (en/es), replace hardcoded strings
- #549: Incomplete profile banner in Find Shifts (staff app)
- #550: File restriction banner on document upload page
- #551: File restriction banner on certificate upload page
- #552: File restriction banner on attire upload page
- #492: Hide edit icon for past/completed orders (client app)
- #524: Display worker benefits in staff app
- Add test credentials to seed: testclient@gmail.com, staff +1-555-555-1234
- Fix document upload validation (context arg in _validatePdfFile on submit)
- Add PR_LOCALIZATION.md

Made-with: Cursor
2026-02-27 13:48:04 +05:30
Achintha Isuru
b8d07380c0 replace the "Krow" with "KROW" 2026-02-26 15:13:26 -05:00
Achintha Isuru
0ad70a4a42 Merge branch 'dev' into 503-build-dedicated-interface-to-display-hub-details 2026-02-25 13:07:59 -05:00
Achintha Isuru
19b82ff73a feat: device services implemented 2026-02-25 12:39:25 -05:00
b85a83b446 #537 (Cost Center)#539 (Hub Manager) 2026-02-25 21:18:51 +05:30
af09cd40e7 fix eventhandlers 2026-02-25 20:04:02 +05:30
eeb8c28a61 hub & manager issues 2026-02-25 19:58:28 +05:30
239fdb99a8 Fix remaining stash issues by reverting to origin/dev 2026-02-25 13:46:19 +05:30
4e7838bf93 Fix stash conflict 2026-02-25 13:35:58 +05:30
4d4a9b6a66 Merge dev 2026-02-25 13:35:18 +05:30
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
9e38fb7d5f feat: Add event name to order items and refactor navigation and shift data access to use direct object properties. 2026-02-22 21:07:57 -05:00
Achintha Isuru
415475acb6 fix: Correct DateTime to Timestamp conversions for timezone accuracy and ensure startTimestamp uses the full order.startDate. 2026-02-22 12:06:17 -05:00
Achintha Isuru
214e0d1237 feat: Implement order details retrieval for pre-filling new order forms for reordering. 2026-02-22 02:18:33 -05:00
Achintha Isuru
3aab5bfc26 feat: Allow pre-filling order creation forms with reorder data and update reorder navigation to directly open relevant order pages. 2026-02-22 01:37:49 -05:00
Achintha Isuru
96bb4c1bae refactor: Update navigation in order pages to use pop method for back action 2026-02-22 00:10:14 -05:00
Achintha Isuru
5865e3e596 refactor: modularize view orders page by extracting list, empty, and error states into dedicated widgets. 2026-02-21 21:22:53 -05:00
Achintha Isuru
83cf5db390 fix(view_order_card): simplify order type label styling 2026-02-21 21:03:28 -05:00
Achintha Isuru
269623ea15 feat: add OrderEditSheet for editing existing orders with detailed role and position management 2026-02-21 21:02:04 -05:00
Achintha Isuru
6de6661394 feat: add OrderType enum and integrate orderType in OrderItem and ViewOrdersCubit 2026-02-21 20:53:27 -05:00
Achintha Isuru
6e50369e17 refactor: remove OrderType entity and update order types to use UiOrderType 2026-02-21 20:29:59 -05:00
Achintha Isuru
9817dbeec8 feat(view_orders): enhance date navigation and improve ViewOrdersCubit instantiation 2026-02-21 20:14:57 -05:00
Achintha Isuru
71b5f743de feat: implement navigation to order details with specific date for one-time and recurring orders 2026-02-21 20:03:49 -05:00
Achintha Isuru
b2cfd93b8f refactor: remove recurring order widgets and related functionality
- Deleted RecurringOrderDatePicker, RecurringOrderEventNameInput, RecurringOrderHeader, RecurringOrderPositionCard, RecurringOrderSectionHeader, RecurringOrderSuccessView, and RecurringOrderView.
- Removed associated imports and references in the codebase.
- Updated pubspec.yaml to include client_orders_common dependency.
- Cleaned up the RapidOrderActions widget by removing debug print statement.
2026-02-21 19:36:23 -05:00
Achintha Isuru
0dc56d56ca feat: Add recurring order form components including date picker, event name input, header, position card, section header, success view, and main view logic
- Implemented RecurringOrderDatePicker for selecting start and end dates.
- Created RecurringOrderEventNameInput for entering the order name.
- Developed RecurringOrderHeader for displaying the title and subtitle with a back button.
- Added RecurringOrderPositionCard for editing individual positions in the order.
- Introduced RecurringOrderSectionHeader for section titles with optional action buttons.
- Built RecurringOrderSuccessView to show a success message after order creation.
- Integrated all components into RecurringOrderView to manage the overall order creation flow.
2026-02-21 19:25:07 -05:00