Skip to content

All Carts Destination Store#83

Merged
joy-y-cheng merged 9 commits into
mainfrom
all-carts-dest-store
May 17, 2026
Merged

All Carts Destination Store#83
joy-y-cheng merged 9 commits into
mainfrom
all-carts-dest-store

Conversation

@oceeoun

@oceeoun oceeoun commented May 15, 2026

Copy link
Copy Markdown
Contributor

All Carts Destination Store + Styling + Move Out-of-Stock Forms

Summary

Adds the destination store dropdown to the All Carts page. Styles the accordions on /request/all/cart and /request/all, and moves AddOutOfStockToCartForm to the cart pages.

Changes

  • Updated app/(main)/request/all/cart/page.tsx
  • Selected street_address in the stores query
  • Added TicketDestStoreDropdown inside each store accordion, above the success message, TicketItemsList, and empty items card
  • Passed destination store options as all stores except the current store
  • Included each destination option’s store_id, name, and street_address
  • Updated accordion styling on /request/all/cart and /request/all
    • Removed horizontal spacing from accordion body content
    • Removed accordion body background and border
    • Added spacing between accordion headers
  • Moved AddOutOfStockToCartForm from /request/[storeId] to /request/[storeId]/cart
  • Moved AddOutOfStockToCartForm from /request/all to /request/all/cart

Testing

  • Verified the All Carts page loads
  • Verified dropdowns appear for each store
  • Verified each dropdown excludes the current store
  • Accordion styling:
    • Verified accordion body content aligns correctly
    • Verified accordion body background and borders are removed
    • Verified accordion headers have spacing between them
  • Verified out-of-stock form appears on the single-store cart page, even with no items
  • Verified out-of-stock form appears on the all-carts page, even with no items

@oceeoun oceeoun requested a review from joy-y-cheng May 15, 2026 04:15

@joy-y-cheng joy-y-cheng left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job Joyce!!! I added some path revalidation and ended up getting rid of the message shown after submitting a ticket because it was showing in every accordion body.

@joy-y-cheng joy-y-cheng merged commit 8dbe3d6 into main May 17, 2026
2 checks passed
@joy-y-cheng joy-y-cheng deleted the all-carts-dest-store branch May 17, 2026 09:54
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.

2 participants