galloween / custom-sidebar-v2

Home Assistant (HACS) plugin that allows you to rearrange, hide, and add sidebar menu items. Refactor of https://github.com/Villhellm/custom-sidebar
21 stars 13 forks source link

Sidebar never updates #3

Closed drinfernoo closed 2 years ago

drinfernoo commented 2 years ago

This component seems to be causing me nothing but trouble...

The only way I can get the sidebar to update when I make changes in sidebar-order.json is in Incognito Mode (I use Chrome). I've tried clearing data for that site, force refreshing, etc... And it seems that if I'm ever able to get it to update, it's only in Incognito.

My sidebar-order.json here: https://pastebin.com/fcqXhmgD

Is there any particular reason why this one doesn't seem to want to update for me?

galloween commented 2 years ago

@drinfernoo Sorry to hear that! Im also using Chrome and "empty cash and hard reload" usually works for me. I made some adjustments, can you try to update/redownload the plugin and see if it helps. Also, check the console - there might be some errors. Also note the version in the log from the plugin - make sure it is the latest (301217_2359). There will also be an object with some data that may help you figure out the problem - you will be able to see if it actually gets your config file or not... Let me know if this helps!

CleanShot 2021-12-18 at 00 22 33@2x
drinfernoo commented 2 years ago

I'll give it a try in a while... I don't have the option to "Empty Cache and Hard Reload", but Ctrl+F5 has always worked for me with other Lovelace resources.

galloween commented 2 years ago

ah, always forget to mention that "clear cache and hard-refresh" menu appears if you right-click on the refresh button while Dev Tools panel is open(F12)

drinfernoo commented 2 years ago

This seems to be working now 👍 Will let you know if I have any more issues.