Joxit / docker-registry-ui

The simplest and most complete UI for your private registry
https://joxit.dev/docker-registry-ui/
GNU Affero General Public License v3.0
2.6k stars 323 forks source link

feature: allow to hide tag history to simplify the user interface #362

Closed lukengda closed 8 months ago

lukengda commented 9 months ago

I would like to use docker-registry-ui to inform users about the available tags for our images. The users of this interface are not interested in the technical backgrounds how it works and I worry that it would confuse them.

Note: One needs to be aware, that this is data is available nonetheless. This is only a user interface switch for hiding the button.

If desired, i could also rephrase the variables to "show-tag-history", defaulting to true, to match the name of other options.

Is there anything else that is required for the merge request?

Closes #358

Joxit commented 8 months ago

Hi, thank you for your contribution, I think you're right, you should rename the variable to show-tag-history

lukengda commented 8 months ago

okay, thank you for the feedback. This will be be the first "default true" config, but i think i can make it happen. Will update this PR.

lukengda commented 8 months ago

I reversed the logic and called it SHOW_TAG_HISTORY, defaulting to true. Hope this fits better now :)