Seneca-CDOT / my-photohub

Making it easy to share your photos using GitHub Pages
BSD 2-Clause "Simplified" License
14 stars 13 forks source link

`react-hot-toast` animation for indicating success and failure in the client side #38

Open batunpc opened 1 year ago

batunpc commented 1 year ago

Fixes https://github.com/humphd/my-photohub/issues/37

Warning: Before this PR to be merged and reviewed, please first read through the other PR I have raised at https://github.com/humphd/my-photohub/pull/35. Since this changes also includes the changes from previous PR

I have used react-hot-toast module to add spinner animation.

A fail on uploading a photo will look like

CleanShot 2022-12-10 at 02 31 22@2x

A successful attempt of uploading photo will look like

CleanShot 2022-12-10 at 02 31 02@2x
batunpc commented 1 year ago

Thank you, just updated the https://github.com/humphd/my-photohub/pull/35