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

lli - Add popup modal when clicking buy/sell cows button #31

Closed lukewli closed 10 months ago

lukewli commented 10 months ago

Overview

In this PR, I've implemented a popup modal when users are clicking on buying and selling cows that will let them choose how many cows they want to buy or sell in one go instead of having to push the buy/sell button multiple times.

Dokku Deployment: https://5pm-1-happycows.dokku-01.cs.ucsb.edu/

Screenshots (Optional)

Before

Screenshot 2023-11-29 at 7 54 40 PM

After

Screenshot 2023-11-29 at 7 54 26 PM Screenshot 2023-11-29 at 7 54 32 PM

Validation

  1. Download this branch.
  2. Run the project.
  3. Create/join a common.
  4. Test the popup modal when buying and selling cows.

Tests

Linked Issues

Closes #8

haroldmo commented 10 months ago

Tested locally and the the buy and sell features work as intended. All tests passed locally as well.