cli icon indicating copy to clipboard operation
cli copied to clipboard

image/tree: Hide Content size column without containerd store

Open vvoland opened this issue 9 months ago • 2 comments
trafficstars

  • stacked on: https://github.com/docker/cli/pull/5744

With graph drivers, all content sizes are zero because the compressed content isn't stored. This makes the whole column useless and wasting the terminal space.

Hide the whole column if all its values would be zero.

Before

image

After

image

vvoland avatar Jan 24 '25 15:01 vvoland

Codecov Report

Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Project coverage is 59.17%. Comparing base (5b90e0e) to head (203ce87).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5771      +/-   ##
==========================================
- Coverage   59.20%   59.17%   -0.04%     
==========================================
  Files         353      353              
  Lines       29522    29538      +16     
==========================================
  Hits        17478    17478              
- Misses      11072    11088      +16     
  Partials      972      972              

codecov-commenter avatar Jan 24 '25 15:01 codecov-commenter

@vvoland did you want this merged soon?

Benehiko avatar Feb 21 '25 09:02 Benehiko