-
Notifications
You must be signed in to change notification settings - Fork 1.3k
No feedback when triggering prebuilds #5374
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
Comments
PR #5116 will improve the situation by updating the Prebuilds page once a prebuild was enqueued. There is still a gap to bridge between the action of a user and the backend events being propagated back to the frontend. It would make sense to add some intermediate state on the frontend to signal the start of an action. Once we receive the first event on a prebuild, it should be resolved accordingly. |
Thanks for noticing @atduarte! From a relevant discussion (internal) (Cc @AlexTugarev):
From a relevant discussion (internal) (Cc @jankeromnes @svenefftinge @AlexTugarev):
|
Thanks for this idea @gtsiolis! I agree that a modal could be a good idea (separately), but it doesn't answer the question: What should the UI show between the moment the user clicked on In the Project Configurator, when you click on |
Maybe a minimal viable change could be disabling the |
Hey @jankeromnes!
You're right! I'd consider this issue minor for shipping Teams & Projects but certainly something that needs to be resolved at some point. Pasting below another excerpt from the relevant discussions linked in #5374 (comment). 🙈
However, if we want to ship this sooner and we have the bandwidth to add a fix here, showing a spinner + disabling the button on click as you mentioned in #5374 (comment) sounds optimal. 🎯 I refrained from suggesting this earlier as there are also a few more places where a loading button component variant could be used for consistency, like the git integration modal, but we can progressively add it there later. ➿ 🍊 🍊 🍊 🍊
Let's do this to resolve this issue. Ideally, the spinner design would be the same we've already added in the configurator pages. |
Adding this to the Teams & Projects crew board. Cc @jankeromnes @AlexTugarev @svenefftinge |
Sounds good! Happy to help make it happen. 🚀
Ah, this reminds me of an issue with the current spinner. Could you please provide a spinner SVG with transparent background? (Currently the center background has an explicit color, and making it transparent breaks the image, so it can be used on just one background color) |
On it. Will post here the SVG tomorrow. Thanks for noticing! 👀 |
Incoming SVG for the spinner (loading icon)! 🍕 <svg width="16" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.055 9.771A8 8 0 0016 6h-4a4 4 0 11-6.828-2.828L2.343.343a8 8 0 1012.712 9.428z" fill="#A8A29E"/></svg> Cc @jankeromnes |
Many thanks @gtsiolis! However, the SVG is not square, so adding a spin animation to it makes it look like a misaligned wheel 😅 I've tried fixing the SVG coordinates manually, but didn't succeed. Could you please provide another spinner SVG with transparent background and the same height & width? (So that rotating it around its center creates a perfect circle) |
/schedule |
@JanKoehnlein: Issue scheduled in the meta team (WIP: 0) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Oh, no! You're right @jankeromnes! Here's one with correct dimensions. 🙈
|
Small update to the SVG. Cc @jankeromnes
|
The new spinner is now merged, but the initial attempt to add visual feedback to the |
Problem
After creating a project (gitpod-staging.com/new), since the prebuild didn't automatically run (at least, apparently) and I couldn't trigger it on the configuration page, I went to the prebuilds tab and triggered a prebuild.
That action resulted in no feedback. Refreshed but there was no entry in the list, so I tried again (multiple times?). 5 minutes later when I came back there were three prebuilds running.
Suggested solution
As an improvement, we should provide the user with immediate feedback (whether it started, or failed to start), if possible, by representing it in the list below.
The text was updated successfully, but these errors were encountered: