-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
progress: add main bars #3594
progress: add main bars #3594
Conversation
Fixes iterative#3452 Related iterative#1840 Related iterative#3565
Example: https://asciinema.org/a/YEsnExZypmhtq6k2aDSYi5nvr (start at 20th s) Main progress bar looks great. UI/UX comments, some possible optimizations (not sure if some of them are related this PR particularly cc @efiop @pmrowla):
|
Was just about to post a recording; thanks.
There's no way to do this automatically - what if the last 50 jobs finish at exactly the same time? All will leave these messages behind. The only solution in that case would be to manually clear
Same problem as before. Either we move running bars upwards when other things finish (old
Yes, this should be a separate issue.
There's one main bar (initial description "Checkout") which updates its description based on the last successfully checked out file. If item to be checked out is large, a nested bar appears showing its progress.
|
Thanks for the explanation, @casperdcl ! Ok, I see. We can create a ticker to try to remove blank lines.
Probably the most confusing part here is this switch from Checkout 0% to some file name. (similar to the ticket with Git). My 2cs on this - I would try keep the Checkout message stable (above, below, or in the progress bar itself). File names should appear somewhere (e.g. below) "Processing: ". So, it's similar to the nested case - always show the file below the main progress bar. In some cases with progress on its own, in some cases w/o. |
@efiop why was #528 closed? Seems like we need to re-open it. @shcheklein I just opened #3597. |
I think it was not clear why was it not relevant anymore :) |
@shcheklein Because it had had questionable effectiveness, that wasn't worth the effort. At least that is what our consensus was back then, IIRC. I am still not sure if it is worth it, so have to trust @casperdcl 's research 🙂 |
Ok, it seems like there should have been a slight speed improvement. Anyway I think a secondary gain here is reducing whitespace between bars by ordering them in advance. |
Yeah, but if we have file sizes it's (for pull we don't have them yet, might need them for other tickets #3568 ) we can improve pretty significantly in certain cases for free. And indeed improve UI along the way. |
Well, we might just use 1 progress bar as we've discussed earlier. Doing the sorting to compensate for flickery pbar sounds strange to me, I would probably reconsider single progress bar again. But could go with the proposed approach too |
@casperdcl Any progress on this? |
@efiop Updated description just to be clear: a lot of discussion is probably for other issues. I think this can me merged as-is. Maybe need a new issue to collate things blocked on the |
ah srry didn't notice the merge conflicts :) |
@casperdcl No worries :) Btw, this indeed greatly improves the experience for |
push
/pull
main baraddawaiting @efiop changesimport
/get
main barappend to rather than remove initialmoved to progress: append to desc #3681desc
(perhaps even in other places in a different issue)?ThreadPool
exit #3597