Skip to content

Enhance/landmark address cards#227

Open
amoduenechojo wants to merge 3 commits into
SwiftChainn:mainfrom
amoduenechojo:enhance/landmark-address-cards
Open

Enhance/landmark address cards#227
amoduenechojo wants to merge 3 commits into
SwiftChainn:mainfrom
amoduenechojo:enhance/landmark-address-cards

Conversation

@amoduenechojo

Copy link
Copy Markdown

#closes
#149

Summary

This PR enhances delivery workflow cards by displaying an optional "Landmark" reference alongside the standard origin/destination address. Landmarks are shown as a distinct badge with italic text to improve driver navigation in complex street layouts.

Changes

  • Added optional landmark field to the Delivery type
  • Rendered landmark information conditionally in delivery cards
  • Applied responsive styling to prevent overflow and preserve mobile layout

Validation

  • corepack pnpm jest components/__tests__/DeliveryList.test.tsx --runInBand
  • 9 tests passed

Notes

  • The card gracefully handles null/missing landmark values
  • No inline mock data was introduced; behavior is consistent with existing delivery data flow

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.

1 participant