TheCSharpAcademy / TCSA.V2

A revamp of The C# Academy using all the power of .NET 8's new Blazor!
5 stars 8 forks source link

Implement Loading In Peer Review Page #393

Open TheCSharpAcademy opened 3 weeks ago

TheCSharpAcademy commented 3 weeks ago

At the moment the buttons to take a project or mark as reviewed can be clicked multiple times. We need a loading button as this generates lots of headaches with potential duplicate data.

At the moment we have this functionality in other parts of the website, but the best approach is to create a Loading component that can be used everywhere.

Image

Worth 50XPs

ukpagrace commented 3 weeks ago

Although this has been answered, I will still add it here

When a user clicks on it, it doesn’t show it’s processing and they keep clicking. Which leads to it being processed multiple times.