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

Icons for ascending & descending are not shown correctly #406

Open
feliwir opened this issue Dec 18, 2024 · 11 comments
Open

Icons for ascending & descending are not shown correctly #406

feliwir opened this issue Dec 18, 2024 · 11 comments

Comments

@feliwir
Copy link

feliwir commented Dec 18, 2024

Hi, I use this docker registry UI and I have an issue...

Bug description

I can't see the icons when entering the image details page. A placeholder is displayed instead:

How to Reproduce

  1. Select an image from the list
  2. It will only show icons placegolders

My docker-compose file

services:
  registry:
    image: registry:2.8.3
    restart: always
    ports:
      - 5000:5000
    environment:
      REGISTRY_AUTH: htpasswd
      REGISTRY_AUTH_HTPASSWD_REALM: Registry
      REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
    volumes:
      - ./config/auth:/auth
      - ./config/data:/var/lib/registry
      - ./config/credentials.yml:/etc/docker/registry/config.yml
    container_name: registry

  registry-ui:
    image: joxit/docker-registry-ui:2.5.7
    restart: always
    ports:
      - 80:80
    depends_on:
      - registry
    environment:
      - SINGLE_REGISTRY=true
      - REGISTRY_TITLE=Docker Registry
      - REGISTRY_URL=http://localhost:5000
      - DELETE_IMAGES=true
      - SHOW_CONTENT_DIGEST=true
      - SHOW_CATALOG_NB_TAGS=true
      - CATALOG_MIN_BRANCHES=1
      - CATALOG_MAX_BRANCHES=1
      - TAGLIST_PAGE_SIZE=100
      - REGISTRY_SECURED=true
      - CATALOG_ELEMENTS_LIMIT=1000
    container_name: registry-ui

My credentials.yml

version: 0.1
log:
  fields:
    service: registry
storage:
  delete:
    enabled: true
  cache:
    blobdescriptor: inmemory
  filesystem:
    rootdirectory: /var/lib/registry
http:
  addr: :5000
  headers:
    X-Content-Type-Options: [nosniff]
    Access-Control-Allow-Origin: ['http://localhost']
    Access-Control-Allow-Methods: ['HEAD', 'GET', 'OPTIONS', 'DELETE']
    Access-Control-Allow-Headers: ['Authorization', 'Accept']
    Access-Control-Max-Age: [1728000]
    Access-Control-Allow-Credentials: [true]
    Access-Control-Expose-Headers: ['Docker-Content-Digest']
auth:
  htpasswd:
    realm: basic-realm
    path: /etc/docker/registry/htpasswd

Expected behavior

See the correct icons there

Screenshots

image

System information

  • OS: [e.g. Debian, Windows, Mac OS, Android 9...]
  • Browser:
    • Tested both Firefox & Chrome
  • Docker registry UI:
    • Version:Tested 2.5.7 and main
    • Server: docker
    • Docker version: 27.4.0, build bde2b89
    • OS/Arch: [Fedora Linux]
    • Tools: docker-compose
@Joxit
Copy link
Owner

Joxit commented Jan 11, 2025

Hi,

Thank you for using my project and submitting issues.

I'm using the UTF-8 arrow character which doesn't seems to work for you... Even if I cannot reproduce your issue, I will change it to my new symbol library.

@Joxit
Copy link
Owner

Joxit commented Jan 11, 2025

Oh, I just found out that this was supposed to be working with Material Icons that is included in the project. Do you have some font restrictions or something ?

@Joxit Joxit closed this as completed in 9960afe Jan 11, 2025
@github-project-automation github-project-automation bot moved this from To do to Done in docker-registry-ui Jan 11, 2025
@Joxit
Copy link
Owner

Joxit commented Jan 11, 2025

Tell me if the new version published under main tag is working with you

@yglodt
Copy link

yglodt commented Jan 13, 2025

Hello, I see to have the same issue. I use the "main" tag and I pulled the latest version of that image right now.

image

@xuruiye
Copy link

xuruiye commented Jan 13, 2025

Hello, I see to have the same issue. I use the "main" tag and I pulled the latest version of that image right now.

image

By changing the image from joxit/docker-registry-ui:main to joxit/docker-registry-ui:latest, I resolved the issue. I hope this helps you.

@yglodt
Copy link

yglodt commented Jan 13, 2025

I tried now using the "latest" tag, but no change. The version is this one:

image

I run docker-registry-ui behind a proxy (Apache 2), not sure if that can be problematic.

@xuruiye
Copy link

xuruiye commented Jan 13, 2025

I tried now using the "latest" tag, but no change. The version is this one:

image

I run docker-registry-ui behind a proxy (Apache 2), not sure if that can be problematic.

After restarting the service, I was only able to see the correct icon content when using Chrome's incognito mode. I'm uncertain if you are also being affected by caching.

@yglodt
Copy link

yglodt commented Jan 13, 2025

@xuruiye It works also for me now, after some refreshes. Thank you for the hint.

@xuruiye
Copy link

xuruiye commented Jan 13, 2025

@xuruiye It works also for me now, after some refreshes. Thank you for the hint.

Glad I could help

@sebimoe
Copy link

sebimoe commented Jan 16, 2025

Just to update on the status - I have just installed the UI (for the first time ever), version 2.6.0-68313a1bae and I am seeing the arrow_downward alt text for material icons

Joxit added a commit that referenced this issue Jan 16, 2025
@Joxit
Copy link
Owner

Joxit commented Jan 16, 2025

Hi there, thank you for all your feedback, since I didn't get to reproduce @feliwir issue and thought using the name would work for everybody, I'm reverting the commit, the new version will be under the id 3c7429b and the original issue is unresolved.

@Joxit Joxit reopened this Jan 16, 2025
@github-project-automation github-project-automation bot moved this from Done to In progress in docker-registry-ui Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

5 participants