HandyPantry / handy-pantry

MIT License
0 stars 1 forks source link

Allow adding many copies of an item to the pantry #35

Closed helloworld12321 closed 2 years ago

helloworld12321 commented 2 years ago

For example, this commit lets the user add 12 eggs to the pantry at once.

Specifically, this commit adds a "quantity" field to the "Add product to pantry" dialog, with a maximum value of 25.

Then, it makes one POST request to the pantry for each copy of the item. These requests are executed in parallel, insofar as the browser permits.

Notes:

Closes #34

https://user-images.githubusercontent.com/56209343/177396313-a43c1052-f8ac-4ac4-ae9e-247bdb8a235f.mov