Commit Graph

1132 Commits

Author SHA1 Message Date
Achintha Isuru
0980c6584b feat: localize "Find Shifts" tab strings and add filled status to shift role queries. 2026-02-22 20:27:01 -05:00
Achintha Isuru
d1a0c74b95 Refactor: Remove redundant shift assignment and update clock-in button to be full width. 2026-02-22 20:07:41 -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
c48d981ddb feat: Introduce ShiftScheduleSummarySection to display shift type, date range, and recurring days on the shift details page. 2026-02-22 16:48:05 -05:00
Achintha Isuru
6e81d403c3 feat: Add support for displaying recurring shift details including start/end dates and recurring days. 2026-02-22 15:15:41 -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
b519c49406 feat: Add orderId and normalized orderType to the Shift model to enable UI grouping and type-badging in shift displays. 2026-02-22 11:46:38 -05:00
Achintha Isuru
6e43888187 fix: Correctly map staff ID from session.staff.id and assign StaffSession.ownerId from s.ownerId. 2026-02-22 11:26:30 -05:00
Achintha Isuru
2d1e6a6acc feat: Display staff profile completion status on the home screen. 2026-02-22 10:40:43 -05:00
Achintha Isuru
b593647800 refactor: migrate shifts BLoC state management to a single state class with a status enum. 2026-02-22 10:24:01 -05:00
Achintha Isuru
a9ead783e4 feat: Add post-save navigation to staff profile for emergency contact and experience, remove a placeholder page, and refine bloc usage and UI rendering. 2026-02-22 03:01:44 -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
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
Achintha Isuru
9e0ca1ef96 Merge pull request #445 from Oloodi/feature/session-persistence-new
feat: architecture overhaul, launchpad-style reports, and uber-style #443
2026-02-20 15:31:11 -05:00
1d09e20ac8 fix: resolve duplicate fields in Shift and unreachable code in ShiftsRepositoryImpl from bad merge 2026-02-20 21:15:57 +05:30
f7284b5cfb Merge branch 'dev' into feature/session-persistence-424 2026-02-20 20:56:18 +05:30
Achintha Isuru
a76a2f4444 Merge pull request #442 from Oloodi/fix/update-use-case-file
fix: update use-case.md file to match with updated prototype
2026-02-20 10:18:35 -05:00
c7bce37312 fix: add unused_element, unused_field, duplicate_ignore to suppress remaining strict linting rules on generated and prototype UI files 2026-02-20 20:48:33 +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
dhinesh-m24
b1c5adb85f fix: update use-case.md file to match with updated prototype 2026-02-20 15:11:49 +05:30
Achintha Isuru
f4020f4ac0 Merge pull request #441 from Oloodi/github-action
feat: Update Flutter version handling in CI and adjust pubspec files for compatibility
2026-02-20 02:29:07 -05:00
Achintha Isuru
c261b340a1 refactor: Replace header implementation with ReportsHeader widget for cleaner code 2026-02-20 02:09:54 -05:00
Achintha Isuru
af78b38ea2 fix: Add pipefail option to lint step for improved error handling 2026-02-20 02:01:29 -05:00
Achintha Isuru
c3f8a4768a fix: Update mobile CI workflow for improved error handling and efficiency 2026-02-20 01:55:16 -05:00
Achintha Isuru
50309bfb39 fix: Add pipefail option to compilation check for better error handling 2026-02-20 01:47:47 -05:00
Achintha Isuru
518991f895 fix: Improve error handling in mobile app build process 2026-02-20 01:43:03 -05:00