farridav / django-jazzmin

Jazzy theme for Django
https://django-jazzmin.readthedocs.io
MIT License
1.6k stars 277 forks source link

Some FA icons do not show up in the sidebar menu #600

Open Huge opened 6 days ago

Huge commented 6 days ago

as described in https://github.com/farridav/django-jazzmin/pull/586#issuecomment-2320785873 , where it probably has zero reach by now.

The v6 icons in the side-bar/menu act really weird in my case. image - the icons are applied correctly to users and groups, but fail to display on all other model admin items.

My settings.py:

single_uniform_icon = "fab fa-microsoft"

# Jazzmin Settings
JAZZMIN_SETTINGS = {
    "dark_mode_theme": "darkly",  # Ensure dark mode theme is set
    "default_icon_children": single_uniform_icon,
    "default_icon_parent": single_uniform_icon,
    "icons": {
        # "auth": "fas fa-users-cog",
        "auth.user": single_uniform_icon, # default was "fas fa-user" and "fas fa-users", gets back if this gets removed..
        "auth.Group": single_uniform_icon,
    },
      #...
Huge commented 3 days ago

Uhh, this seems have been a glitch with live-reloading of runserver, but what is related and unpleasant is that when an icon is not applicable( misspelled, or one from FA6.6 like gear), there seems to be no warning nor error displayed in the console.

Should we implement handling of such situations better or is it just me not having logging set up correctly?