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

Fixes #36968 - Add container manifest list to UI and aria-label for repo icon #10821

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

sjha4
Copy link
Member

@sjha4 sjha4 commented Dec 8, 2023

What are the changes introduced in this pull request?

Considerations taken when implementing this change?

What are the testing steps for this pull request?

Create a docker repo with manifest lists. ex: libpod/testimage from quay.io
Sync repo and have the repo sync to a capsule
Check the capsule content page to make sure you see manifest lists in content counts.
Also do an inspect element on repo type icon. It should have aria-lebel = Repo type

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

I just realized that content view versions don't list manifest lists either!

image

@@ -55,6 +56,11 @@ const AdditionalCapsuleContent = ({ counts }) => {
{`${dockerManifestCount} Container manifests`}<br />
</>
}
{dockerManifestListCount > 0 &&
<>
{`${dockerManifestListCount} Container manifest lists`}<br />
Copy link
Member

Choose a reason for hiding this comment

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

One thing I realized -- it doesn't look like the container bits are getting translated (except ansible collections?) for some reason:

image

vs

image

@sjha4
Copy link
Member Author

sjha4 commented Dec 14, 2023

Added https://projects.theforeman.org/issues/36988 for adding the CV version container manifest list counts and comparisons..

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

Translations work now!

@sjha4 sjha4 merged commit c40e0d8 into Katello:master Dec 15, 2023
5 of 6 checks passed
ianballou pushed a commit to ianballou/katello that referenced this pull request Dec 19, 2023
…epo icon (Katello#10821)

* Fixes #36968 - Add container manifest list to UI and aria-label for repo icon

* Fixes #36968 - Add translations to content counts

(cherry picked from commit c40e0d8)
ianballou pushed a commit that referenced this pull request Dec 19, 2023
…epo icon (#10821)

* Fixes #36968 - Add container manifest list to UI and aria-label for repo icon

* Fixes #36968 - Add translations to content counts

(cherry picked from commit c40e0d8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants