Skip to content

feat(deliveries): add delivery filters hook and component#147

Merged
johdanike merged 4 commits into
SwiftChainn:mainfrom
directorfloo:DeliveryListFilterSortControls
Jun 2, 2026
Merged

feat(deliveries): add delivery filters hook and component#147
johdanike merged 4 commits into
SwiftChainn:mainfrom
directorfloo:DeliveryListFilterSortControls

Conversation

@directorfloo
Copy link
Copy Markdown
Contributor

@directorfloo directorfloo commented Jun 2, 2026

Closes #19

  • Implemented useDeliveryFilters hook for managing delivery filter state via URL query parameters.
  • Created DeliveryFilters component to utilize the new hook.
  • Added tests for useDeliveryFilters to ensure correct functionality and state management.

feat(escrow): create EscrowLock component for locking payments

  • Developed EscrowLock component to handle payment locking with user confirmation.
  • Integrated escrow service for locking functionality and error handling.
  • Added tests for EscrowLock component covering various states and interactions.

test(deliveries): add unit tests for deliveries service

  • Created tests for deliveriesService to validate API interactions and error handling.
  • Ensured correct behavior for fetching deliveries with and without filters.

feat(types): define filter types for delivery management

  • Added type definitions for delivery filters including DeliveryStatus and DeliveryFilterParams.

- Implemented `useDeliveryFilters` hook for managing delivery filter state via URL query parameters.
- Created `DeliveryFilters` component to utilize the new hook.
- Added tests for `useDeliveryFilters` to ensure correct functionality and state management.

feat(escrow): create EscrowLock component for locking payments

- Developed `EscrowLock` component to handle payment locking with user confirmation.
- Integrated escrow service for locking functionality and error handling.
- Added tests for `EscrowLock` component covering various states and interactions.

test(deliveries): add unit tests for deliveries service

- Created tests for `deliveriesService` to validate API interactions and error handling.
- Ensured correct behavior for fetching deliveries with and without filters.

feat(types): define filter types for delivery management

- Added type definitions for delivery filters including `DeliveryStatus` and `DeliveryFilterParams`.
@directorfloo directorfloo deleted the DeliveryListFilterSortControls branch June 2, 2026 19:41
@directorfloo directorfloo restored the DeliveryListFilterSortControls branch June 2, 2026 19:41
@johdanike
Copy link
Copy Markdown
Contributor

Closed

@johdanike
Copy link
Copy Markdown
Contributor

Please reslove conflicts

@johdanike johdanike reopened this Jun 2, 2026
@johdanike johdanike merged commit ade8a18 into SwiftChainn:main Jun 2, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Frontend: Delivery List Filter & Sort Controls

2 participants