Skip to content

Feature/pooling product hardening#37

Open
kanikaa-3018 wants to merge 4 commits into
mainfrom
feature/pooling-product-hardening
Open

Feature/pooling product hardening#37
kanikaa-3018 wants to merge 4 commits into
mainfrom
feature/pooling-product-hardening

Conversation

@kanikaa-3018

Copy link
Copy Markdown
Collaborator

This PR hardens the Pooling flow into a more product-ready shared-cart experience.

  • Added quantity support for pool items with + / - controls and unit-price based totals.

  • Added edit support for added items, including name, unit price, quantity, and product link where relevant.

  • Host-added items no longer require or show product links, since the host can directly add their own items.

  • Roommate product links are grouped in a cleaner Cart Builder so the host can open one link per product and track
    progress.

  • Added Copy Plan for hosts to copy a clean cart plan for many roommate requests.

  • Added cart statuses: pending, added, substituted, unavailable, skipped.

  • Skipped, unavailable, substituted, or host-edited items now show roommate-visible Item Updates.

  • Host removing a roommate item is non-destructive: it marks the item skipped and keeps the reason visible.

  • Long roommate carts and long Cart Builder lists are collapsed with “show more” controls.

  • Checkout now warns when roommate requests are still pending host review.

  • Manual checkout now requires host UPI before finalizing.

  • Closed/expired pools now show a clear closed-state banner.

  • Cancelled pools show the host cancellation reason to roommates.

  • Backend now binds added items to logged-in users and restricts sensitive item status changes to the host.

  • Backend recalculates item totals from unit_price * quantity to avoid stale totals.

  • Backend prevents closed/expired pools from being finalized through direct API calls.

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