ucsb-cs156-f23 / proj-happycows-f23-5pm-1

https://ucsb-cs156-f23.github.io/proj-happycows-f23-5pm-1/
0 stars 0 forks source link

FEATURE: Add popup modal when clicking buy/sell cows button #8

Closed github-actions[bot] closed 10 months ago

github-actions[bot] commented 11 months ago

Have you updated the title?

As a...

user

I can...

see a popup modal when clicking on buying and selling cows

So that...

I can choose how many cows I want to buy or sell in one go instead of having to push the buy/sell button multiple times.

Discussion

  1. Currently, If a user want to buy 5 cows, then the person has to click buy button 5 times, and the same goes for sell button, which is not great user experience.
  2. Currently, if user accidentally clicks on the buy/sell button, the buy/sell action will be carried out immediately, which is also not ideal for UX.
  3. Popup modal should have a numbered field, so that users can specify a number to indicate the quantity of cows they want to buy/sell.
  4. The popup modal should also have a confirm button to execute the action, and a cancel button to close the modal.
Screenshot 2023-11-12 at 1 27 11 PM Screenshot 2023-11-12 at 1 27 29 PM
  1. The mockup UI above is a great way to start. However, students can be as creative as possible for the UI design.

Acceptance Criteria

Implementation Todos

Frontend:

Backend:

Testing: