Joxit / docker-registry-ui

The simplest and most complete UI for your private registry

Home Page:https://joxit.dev/docker-registry-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hide SHA-Hash column

Herr-Sepp opened this issue · comments

Hi thanks for your great UI.

On your gif the column for the sha-hash is hidden and if i understand it correctly it will only show if i hover over with the cursor.

image

But on my instance and even the demo the column is always shown and makes the table difficult to read because the rows are so wide.
image

Is this a bug or how can I achieve to hide the sha-column by default?

Hi

Sorry, this is not a bug, the gif was made at version 1.3.0 and the latest UI version is 1.4.8...
The feature has been added in 1.4.0 with #102
We did some tests with different windows sizes and the digest should be hidden at 710px.

I should update the GIF 😅

Any chance to give us a flag or something to hide this column?
I dont need it and when a tag is rellay long, i got a scrollbar on the bottom of the table even on big screens.

Hum... Yes I think it's possible

What is the spec of your screen ? In px ? Retina supported ?

image

27" 2560X1440 (windows scaling 100%)

But this happens on any screen, because the table will be wider then the hard limit of 1440px with Content Digest and Tag column.

Oh! Ok, this is because the tag name is longer than expected ! I understand, thanks for the intel 🙂

Hi @Herr-Sepp, I did a PR for this issue, you can hide the digest with SHOW_CONTENT_DIGEST=false.
But I also fixed the digest length when a tag is too long 😄