Skip to content
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

ui: display manifest list size range (PROJQUAY-6393) #2469

Merged
merged 4 commits into from
Nov 16, 2023

Conversation

dmesser
Copy link
Contributor

@dmesser dmesser commented Nov 10, 2023

Instead of displaying N/A or Unknown in the size column, a tag pointing to a manifest list should display size information. Since clients by default select only a specific child manifest of a manifest list, I opted here for a display of the size of the smallest and the largest child manifest.

Screen.Recording.2023-11-09.at.23.00.47.mov

Signed-off-by: dmesser <dmesser@redhat.com>
Signed-off-by: dmesser <dmesser@redhat.com>
Signed-off-by: dmesser <dmesser@redhat.com>
@dmesser dmesser changed the title UI: display manifest list size range (PROJQUAY-6393) ui: display manifest list size range (PROJQUAY-6393) Nov 10, 2023
Copy link

codecov bot commented Nov 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e2d2569) 70.50% compared to head (7047876) 70.55%.
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2469      +/-   ##
==========================================
+ Coverage   70.50%   70.55%   +0.04%     
==========================================
  Files         434      434              
  Lines       39817    39826       +9     
  Branches     5164     5164              
==========================================
+ Hits        28074    28099      +25     
+ Misses      10121    10104      -17     
- Partials     1622     1623       +1     
Flag Coverage Δ
unit 70.55% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JustinXHale
Copy link

I like this

Copy link
Contributor

@bcaton85 bcaton85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just some small nitpicks. LMK if you want to make any changes otherwise I'll approve

web/src/components/Table/ImageSize.tsx Outdated Show resolved Hide resolved
web/src/components/Table/ImageSize.tsx Outdated Show resolved Hide resolved
web/src/components/Table/ManifestListSize.tsx Outdated Show resolved Hide resolved
Signed-off-by: dmesser <dmesser@redhat.com>
Copy link
Contributor

@bcaton85 bcaton85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dmesser dmesser merged commit 0c08bff into quay:master Nov 16, 2023
15 checks passed
@dmesser dmesser deleted the manifest-list-display branch November 16, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants