GTBitsOfGood / canine-assistants

Educating the Dogs Who Change the World
https://dev--canine-assistants.netlify.app
MIT License
4 stars 0 forks source link

[FE] Disable buttons when in loading state #200

Closed afazio1 closed 3 months ago

afazio1 commented 4 months ago

Description

Ensure that all buttons having a loading state and hover state. When a user clicks a button, it usually sends a request to the backend. While this is happening, disable the button. After the we get a response, enable the button again. Add tailwind css to give buttons a different color on hover. See Figma for designs.

An example of this functionality is the Log Modal Save button. Take reference from that.

Amrani-Farouk-Hossam-Eddine commented 4 months ago

Hi, i would like to work on this issue if there is no one currently working on it