Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action buttons don't result in data reloads (tasks, deployments, etc..) #100

Closed
shreddedbacon opened this issue Jan 24, 2023 · 1 comment · Fixed by #146
Closed

Action buttons don't result in data reloads (tasks, deployments, etc..) #100

shreddedbacon opened this issue Jan 24, 2023 · 1 comment · Fixed by #146

Comments

@shreddedbacon
Copy link
Member

shreddedbacon commented Jan 24, 2023

The UI doesn't always update or refresh properly when clicking buttons like "add task" or "new deployment" and this can lead to users clicking buttons twice because the first time didn't see a positive reaction.

The result of clicking buttons twice can result in multiple tasks or deployments being triggered.

I'm not sure if this is related to subscriptions in the API/UI getting exhausted (uselagoon/lagoon#1344). Could we just have the button actions in the UI force reload pages instead?

Additonally, if there is an error returned, exposing the error in a nice way so users don't have to dig through network tabs or console logs.

@tnelson-doghouse
Copy link

My thoughts: When the button is clicked, display a "loading" thing (with everything greyed out) before the actual update happens, so that people don't click twice; they still have to reload, but it's a lot more obvious what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants