Commit Graph

245 Commits

Author SHA1 Message Date
Achintha Isuru
3b139adc33 refactor: Update order creation logic to use order type instead of date string 2026-02-22 01:07:53 -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
c5e48ffbc6 refactor: Update reorder suggestions to fetch and display completed orders with aggregated totals instead of individual shift roles. 2026-02-21 22:44:26 -05:00
Achintha Isuru
2c6cd9cd45 refactor: Remove HomeConnectorRepository abstraction, moving its data processing logic directly into HomeRepositoryImpl. 2026-02-21 21:36:01 -05:00
Achintha Isuru
5b3f16d9c8 refactor: Simplify repository imports and refactor dashboard navigation to use a dedicated helper method. 2026-02-21 21:31:31 -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
Achintha Isuru
376bb51647 feat: remove OrdersCommonModule and related navigation and presentation files 2026-02-21 19:16:25 -05:00
Achintha Isuru
b6f4d656dc feat(view_orders): implement View Orders feature with filter tabs and calendar navigation
- Added ViewOrdersFilterTab widget for displaying filter options with counts.
- Created ViewOrdersHeader widget to include a sticky header with title, filter tabs, and calendar controls.
- Established ViewOrdersModule for dependency injection of repositories, use cases, and BLoCs.
- Integrated ViewOrdersPage to handle initial date arguments for displaying orders.
- Updated pubspec.yaml with necessary dependencies for the View Orders feature.
2026-02-21 19:11:18 -05:00
Achintha Isuru
8a71f98deb feat: Refactor order types and update UI metadata for create order feature 2026-02-21 18:38:18 -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
f7284b5cfb Merge branch 'dev' into feature/session-persistence-424 2026-02-20 20:56:18 +05:30
Achintha Isuru
bfc2453363 Merge pull request #444 from Oloodi/staff_recurring_permanent_order
Staff recurring permanent order
2026-02-20 10:18:03 -05:00
ac5d9dab35 fix: add ignore_for_file to remaining files causing lint errors in CI 2026-02-20 20:09:16 +05:30
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
24835f127e fix: unignore flutter coverage folders and tracking them 2026-02-20 19:23:06 +05:30
8849bf2273 feat: architecture overhaul, launchpad-style reports, and uber-style locations
- Strengthened Buffer Layer architecture to decouple Data Connect from Domain
- Rewired Coverage, Performance, and Forecast reports to match Launchpad logic
- Implemented Uber-style Preferred Locations search using Google Places API
- Added session recovery logic to prevent crashes on app restart
- Synchronized backend schemas & SDK for ShiftStatus enums
- Fixed various build/compilation errors and localization duplicates
2026-02-20 17:20:06 +05:30
Achintha Isuru
1f337db0c4 feat: Refactor Reports page components and implement new metric and report card widgets 2026-02-19 16:37:11 -05:00
Achintha Isuru
889bf90e71 feat: Implement reorder functionality in ClientCreateOrderRepository and update related interfaces and use cases 2026-02-19 16:14:43 -05:00
Achintha Isuru
b85ea5fb7f feat: Refactor LanguageSelectionPage to use StatelessWidget and improve localization handling 2026-02-19 15:49:56 -05:00
José Salazar
e6b3eca16d new query for my shifts 2026-02-19 15:40:34 -05:00
9e9eb0f374 finalcommitform4 2026-02-19 16:09:54 +05:30
da8f9a4436 chore: restore stashed work - new order usecases and domain entities 2026-02-19 13:56:35 +05:30
9234c26dad fix compilations 2026-02-19 13:41:58 +05:30
3b7715a382 localization reports page 2026-02-19 13:09:44 +05:30
c4610003b4 feat: complete client reports and hub management UI, comment out export buttons 2026-02-19 13:00:48 +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
José Salazar
8b6061cb30 correction of change view for recurring and permant - show permanet and recurring in find shift 2026-02-18 19:23:15 -05:00
José Salazar
bb8c5733ba Merge pull request #434 from Oloodi/recreate_validation
recurring + permanent order
2026-02-18 14:38:35 -05:00
917b4e213c reports page m4 ui done 2026-02-18 18:44:16 +05:30
93f2de2ab6 BlocProvider.of<DailyOpsBloc>(context) 2026-02-18 16:15:37 +05:30
215ddcbc87 reports page ui 2026-02-18 16:09:59 +05:30
c82a36ad89 blank error fix 2026-02-18 15:40:19 +05:30
d589c9bca2 reports page implementation 2026-02-18 15:10:01 +05:30
José Salazar
75e534620d permanent order v1 2026-02-17 18:59:31 -05:00
José Salazar
9fb138c4ee status shifts changed 2026-02-17 18:35:16 -05:00
José Salazar
b24096eec2 recurring v2 2026-02-17 18:32:09 -05:00
José Salazar
85c8a09d9e first version of recurring order 2026-02-17 16:24:59 -05:00
Achintha Isuru
c90b2c296b feat: Update navigation flow in ClientSettingsPage to redirect to Get Started page 2026-02-17 16:14:45 -05:00
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