custom-sidebar-v2 icon indicating copy to clipboard operation
custom-sidebar-v2 copied to clipboard

Configuration badge (notification) are repeated on all new items

Open samboman opened this issue 2 years ago • 3 comments
trafficstars

The badge from the Settings-menu are repeated to all new_item's in sidebar-order.json. image

In my case Settings is the place where the badge displaying 3 shall be. This is how it looks if I remove everything in sidebar-order.json: image

my sidebar-order.json:

  "order": [
    {
      "new_item": true,
      "item": "Automations",
      "href": "/config/automation",
      "icon": "mdi:home-automation",
      "order": 1,
      "bottom" : true
    },
    {
      "new_item": true,
      "item": "Integrations",
      "href": "/config/integrations",
      "icon": "mdi:puzzle",
      "order": 2,
      "bottom" : true
    },
    {
      "item": "HACS",
      "order": 3,
      "bottom" : true
    },
    {
      "new_item": true,
      "item": "Z-Wave JS UI",
      "href": "http://example.com:8091/",
      "icon": "mdi:z-wave",
      "target": "_blank",
      "order": 4,
      "bottom" : true
    },
    {
      "item": "Developer Tools",
      "order": 5,
      "bottom" : true
    },
    {
      "item": "Settings",
      "order": 6,
      "bottom" : true
    }
  ]
}```

samboman avatar Dec 15 '22 10:12 samboman

FYI, I'm also seeing this same problem

And thanks for making this. This was exactly what I was looking for. I'd spent a bunch of time reordering the sidebar only to discover it's local and then the order got wiped out when I cleared my browser cache.

DanDixon avatar Dec 17 '22 02:12 DanDixon

There already is an open issue on the same (I updated the title now), this has been there since way back. https://github.com/galloween/custom-sidebar-v2/issues/9

n00bcodr avatar Jan 23 '23 09:01 n00bcodr

Posted my fix in #9

ianwitherow avatar Feb 23 '23 03:02 ianwitherow