Villhellm / custom-sidebar

Custom Sidebar for Home Assistant
115 stars 23 forks source link

Dashboards that are moved are automatically highlighted on first load #7

Open u8915055 opened 4 years ago

u8915055 commented 4 years ago

I am using custom-sidebar with home assistant 0.112.5. I have moved a couple of the dashboards, configuration and integrations to the bottom. However when I first load up home assistant and log in, those two dashboards are highlighted for some reason in the sidebar. The picture shows what I am referring to. If I visit them and then leave them the highlight goes away. I realize its not a huge problem but still inconsistent with im sure the way its supposed to work :) Please let me know if you have any idea why this may be happening. Here's my sidebar-order.yaml config:

order:
  - item: overview
    hide: true
  - item: dashboard
  - item: routines
  - item: history
  - item: sensors
  - new_item: true
    item: Integrations
    href: /config/integrations
    icon: "mdi:server"
    bottom: true
  - item: developer tools
    bottom: true
  - item: logbook
    hide: true
  - item: configuration
    bottom: true

Thanks very much. Tom

Screen Shot 2020-07-17 at 9 49 02 AM
Villhellm commented 4 years ago

If the href contains a panel that already exists in the sidebar then both will get highlighted. I'm trying to figure out a way around it, but for now unfortunately that is just the way it is.

What font is that, by the way? It looks very clean

u8915055 commented 4 years ago

Hi there @Villhellm , thanks for the quick answer. That makes sense.. I will look for a way as well. As for the font, its called Comfortaa and is a google font. I am using it as part of the Kibibit theme. https://github.com/Kibibit/hass-kibibit-theme.