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

[Feature] Highlight image names over hashes #626

Open
yozachar opened this issue Apr 27, 2023 · 3 comments
Open

[Feature] Highlight image names over hashes #626

yozachar opened this issue Apr 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@yozachar
Copy link

Describe your feature request

Currently, hashes are highlighted for images instead of names, whereas for pods, names are highlighted over hashes.

Images

image

Pods

image

I think it's better to swap places of hashes and image names, as latter is more readable.

@yozachar yozachar added the enhancement New feature or request label Apr 27, 2023
@marhkb
Copy link
Owner

marhkb commented Apr 28, 2023

Thanks for the report.

I totally understand your point. The reason why the Id is in the title and the repositiory + tag is in the subtitle is that an image can have multiple tags.

grafik

Swapping Ids and repo tags isn't as trivial as one would assume, because podman returns the repo tags as part of an image.

To make this work one had to flatten the list to build pairs of Ids and repo tags. Podman Desktop does exactly this. But honestly, I don't like this approach, because it somehow hides the fact that two rows can be the same image.

The other simple idea would be to still keep multiple repo tags together but swap title and subtitle. In this way, the title could be multiline.
I'll probably gonna try this and see how it looks.

@github-actions
Copy link

github-actions bot commented Jul 8, 2023

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jul 8, 2023
@yozachar
Copy link
Author

yozachar commented Jul 8, 2023

Not stale.

@marhkb marhkb removed the stale label Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants