-
Notifications
You must be signed in to change notification settings - Fork 5.5k
compact TUI to monitor layers download progress #10281
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
Conversation
Codecov ReportBase: 72.79% // Head: 73.89% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## v2 #10281 +/- ##
==========================================
+ Coverage 72.79% 73.89% +1.10%
==========================================
Files 2 2
Lines 272 272
==========================================
+ Hits 198 201 +3
+ Misses 62 60 -2
+ Partials 12 11 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!! Looks really good 🥳
|
It's so cute!! |
f376e43 to
ffe3aa8
Compare
|
this unfortunately breaks the progress alignment, need to double check |
| ) | ||
| if jm.Status == "Pull complete" || jm.Status == "Already exists" { | ||
| if jm.Status == "Pushed" || jm.Status == "Already exists" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this strings not use some sort of enum or const ?
(I don't know golang)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately golang doesn't have enums
ideally, const should be defined by the Docker Engine API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it with my projects that had the initial scolling bug of docker-compose
Using artifact from: https://github.com/docker/compose/actions/runs/4182986999
The new UI you propose is comprehensive and clean !
It's easy to understand
Very good work !
1851b42 to
89a36ba
Compare
cc0bbe9 to
51d7307
Compare
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
let me know if the recent changes need that I retry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried it on Windows in PowerShell/CMD/Windows terminal and looks good there as well.


What I did
As terminal height might not allow to display per-layers download progress status, render a compact TUI using 8-dots braille chars as progress status
see demo on https://asciinema.org/a/4jZWUZfhcXouJPd1p6h0yMxtC