microsoft / AzUrlShortener

An simple and easy Url Shortener
MIT License
521 stars 565 forks source link

Implement a Spinner to provide UI Feedback for Async Actions #86

Open AK0785 opened 4 years ago

AK0785 commented 4 years ago

Introduce a Spinner to the adminBlazorWebsite so that when the user kicks off an asynchronous activity they know that the web application is processing their request. This will prevent button spam and unnecessary requests to the back-end.

https://github.com/faso/Faso.Blazor.SpinKit

@FBoucher - I'll claim this one.

┆Issue is synchronized with this Trello card by Unito

FBoucher commented 4 years ago

@all-contributors add @AK0785 for ideas

allcontributors[bot] commented 4 years ago

@FBoucher

I've put up a pull request to add @AK0785! :tada:

AK0785 commented 4 years ago

@FBoucher, nothing particularly special, but wanted to give you a quick look for feedback: image

Also, I do have one question. Currently the Archive button does not provide any feedback to the user and this could be a reasonably long running task (2 or 3 seconds). Do you want me to raise a new Issue to introduce a new component for this, or are you happy for it to be covered under this issue?

@kmm7 - FYI

FBoucher commented 4 years ago

@AK0785 @kmm7 I like the spinner... maybe we could disable the button when pressed.... looking for your suggestions :)

FBoucher commented 3 years ago

This haven't been updated since a long time re-opening so anyone could participate. @AK0785 @kmm7 feel free to let me know if you have new code.