pulibrary / lux

A collection of user interface components for use on Princeton University Library sites, based on Vue Design System.
MIT License
7 stars 0 forks source link

Add RequestCart Pattern #318

Open sdellis opened 4 years ago

sdellis commented 4 years ago

A RequestCart component is a "shopping cart" like component that allows users to request library items, modeled after a typical Shopify-style cart. Initial work will be for PulfaLight archives requests via Aeon, but this could be a consistent "facade" for all Library requests.

RequestCart will be comprised of:

Question: Should we allow "Add to Request Cart" as well as a "Request Now" option?

sdellis commented 4 years ago

Also, the cart inventory will need to work across multiple pages. The proposed solution is to use Vuex storage with client-side (localStorage) persistence.

Two potential approaches: