Commit Graph

265 Commits

Author SHA1 Message Date
4d4a9b6a66 Merge dev 2026-02-25 13:35:18 +05:30
17c2c2afbb Merge dev 2026-02-25 13:34:52 +05:30
714702015c UI fields for cost center 2026-02-25 13:03:04 +05:30
Achintha Isuru
cd51e8488c refactor: Extract hub details UI components into dedicated widgets and introduce new edit hub form elements. 2026-02-24 14:22:34 -05:00
Achintha Isuru
f30cd89217 refactor: move HubDetailsPage edit/delete actions to a bottom navigation bar and display hub name/address within the body, adding loading state management. 2026-02-24 14:06:58 -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
7591e71c3d feat: refactor hub management to use dedicated pages for adding, editing, and viewing hub details. 2026-02-24 13:46:39 -05:00
Achintha Isuru
f4a1628d86 Merge branch 'dev' of https://github.com/Oloodi/krow-workforce into dev 2026-02-24 11:28:45 -05:00
Achintha Isuru
70ff4e13b9 feat: Add a script for bulk GitHub issue creation and simplify the client settings profile header UI. 2026-02-24 11:28:31 -05:00
7e26b54c50 feat: complete client billing UI and staff benefits display (#524, #527)
- Client App: Built dedicated ShiftCompletionReviewPage  and InvoiceReadyPage
- Client App: Wired up invoice summary mapping and parsing logic from Data Connect
- Staff App: Added dynamic BenefitsOverviewPage tracking worker limits matching client mockup
- Staff App: Display progress ring values wired to real VendorBenefitPlan & BenefitsData balances
2026-02-24 16:17:19 +05:30
Achintha Isuru
0ff2268959 style: Refine reports page UI by updating metric card styling, grid padding, and overall spacing. 2026-02-23 13:30:23 -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
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
036920377e feat: ReorderWidget and ActionsWidget now handle their own navigation internally, removing external callbacks. 2026-02-22 01:25:57 -05:00
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