-
Notifications
You must be signed in to change notification settings - Fork 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
image/tree: Print longest names first and use full width #5757
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5757 +/- ##
==========================================
- Coverage 59.47% 59.45% -0.02%
==========================================
Files 346 346
Lines 29367 29376 +9
==========================================
Hits 17465 17465
- Misses 10929 10938 +9
Partials 973 973 |
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.
LGTM
When printing image names, sort them by length and print the longest first. This also allows them to use a full terminal width because they are not printed alongside other columns. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
708b732
to
26010e4
Compare
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.
SHIP IT
When printing image names, sort them by length and print the longest first. This also allows them to use a full terminal width because they are not printed alongside other columns.
Before

After

- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)