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: Eliminate purchase notification popups #3

Closed github-actions[bot] closed 11 months ago

github-actions[bot] commented 11 months ago

User Story

Discussion

Right now when selling many cows by spam-clicking, the screen floods with times "Cow sold!" popups:

image

This is especially distracting on mobile, as the popups block the interface and buttons.

These toast message aren't adding any value for the user, so we should just eliminate them in the case where the cow sale was successful. The messages may still be useful if/when there is an error condition, but if the purchase is successful, it will be reflected in the cow count and dollar amounts on the screen.

(The toast message is a leftover feature from before those numbers were being reliably displayed and updated... it was useful at the time, but isn't anymore.)

Acceptance Criteria