Comments (15)
Just so you guys know, I was having problems with installing it manually too, so i just added xZetsubou's fork in HACS as a custom repository and installed it that way. It is now fully working just as it was in 2023.03.
from custom-sidebar-v2.
I can aggree, stop working since latest update.
from custom-sidebar-v2.
Here too .. ;)
from custom-sidebar-v2.
I'll make a request with changes tho I don't know if the the dev is active atm, if you want to fix this issue manually
1- go to HACS -> frontend remove custom-sidebar v2 since u can't modify the JS Files in HACS dir it will recover them
2- copy everything in https://gist.github.com/xZetsubou/eedbe1c3d00429b630e1cc8186218862
-> into a file in e.g. config/www/custom-sidebar-v2-mod.js
3- HA Settings -> Dashboards -> top right on the 3 dots -> recourses -> bottom right Add Recourse
-> URL locate the file u created e.g. /local/custom-sidebar-v2-fixed.js
-> Resource type is JavaScript Module
in confgiguration.yaml you could add an extra module
- /local/custom-sidebar-v2-fixed.js
from custom-sidebar-v2.
I'll make a request with changes tho I don't know if the the dev is active atm, if you want to fix this issue manually
1- go to HACS -> frontend remove custom-sidebar v2
since u can't modify the JS Files in HACS dir it will recover them
2- copy everything in https://gist.github.com/xZetsubou/eedbe1c3d00429b630e1cc8186218862 -> into a file in e.g.
config/www/custom-sidebar-v2-mod.js
3- HA Settings -> Dashboards -> top right on the 3 dots -> recourses -> bottom right Add Recourse -> URL locate the file u created e.g.
/local/custom-sidebar-v2-fixed.js
-> Resource type is JavaScript Modulein confgiguration.yaml you could add an extra module
- /local/custom-sidebar-v2-fixed.js
I'm freaking out, it's not working. The configuration file structure? And the location?
Thanks
from custom-sidebar-v2.
I'll make a request with changes tho I don't know if the the dev is active atm, if you want to fix this issue manually
1- go to HACS -> frontend remove custom-sidebar v2since u can't modify the JS Files in HACS dir it will recover them
2- copy everything in https://gist.github.com/xZetsubou/eedbe1c3d00429b630e1cc8186218862 -> into a file in e.g.config/www/custom-sidebar-v2-mod.js
3- HA Settings -> Dashboards -> top right on the 3 dots -> recourses -> bottom right Add Recourse -> URL locate the file u created e.g./local/custom-sidebar-v2-fixed.js
-> Resource type is JavaScript Module
in confgiguration.yaml you could add an extra module- /local/custom-sidebar-v2-fixed.js
I'm freaking out, it's not working. The configuration file structure? And the location? Thanks
Where did you get stuck?
This is my settings in dashboard resource JS file is located in config/www/js/custom-sidebar-v2_mod.js
confgiguration.yaml if you don't have browser_mod
and JSON file stays in the same location config/www/
www file is located inside HA main directory
after finishing restart HA
from custom-sidebar-v2.
I'll make a request with changes tho I don't know if the the dev is active atm, if you want to fix this issue manually
1- go to HACS -> frontend remove custom-sidebar v2since u can't modify the JS Files in HACS dir it will recover them
2- copy everything in https://gist.github.com/xZetsubou/eedbe1c3d00429b630e1cc8186218862 -> into a file in e.g.config/www/custom-sidebar-v2-mod.js
3- HA Settings -> Dashboards -> top right on the 3 dots -> recourses -> bottom right Add Recourse -> URL locate the file u created e.g./local/custom-sidebar-v2-fixed.js
-> Resource type is JavaScript Module
in confgiguration.yaml you could add an extra module- /local/custom-sidebar-v2-fixed.js
I'm freaking out, it's not working. The configuration file structure? And the location? Thanks
Where did you get stuck? This is my settings in dashboard resource
JS file is located in config/www/js/custom-sidebar-v2_mod.js
confgiguration.yaml
if you don't have browser_mod
and JSON file stays in the same location
config/www/
www file is located inside HA main directory after finishing restart HA
Thanks for reply.
Yes, I have the "custom-sidebar-v2-fixed.js" file in the www folder.
I uploaded the extra module in "configuration.yaml" and it's placed in dashboard resources.
For example, if you want to hide the "map" and "energy" menus in the sidebar, how should the configuration file be structured?
I had written the previous one in the www folder with the name "sidebar-order.json" but the changes didn't lead to anything. I use HA in Italian.
How can I know if the "custom-sidebar-v2-fixed.js" module was really loaded by HA?
Thanks
from custom-sidebar-v2.
Thanks for reply.
Yes, I have the "custom-sidebar-v2-fixed.js" file in the www folder. I uploaded the extra module in "configuration.yaml" and it's placed in dashboard resources. For example, if you want to hide the "map" and "energy" menus in the sidebar, how should the configuration file be structured? I had written the previous one in the www folder with the name "sidebar-order.json" but the changes didn't lead to anything. I use HA in Italian. How can I know if the "custom-sidebar-v2-fixed.js" module was really loaded by HA?
Thanks
The JSON file should stay the same name ,same settings and same location make sure u deleted old custom sidebar version
from HACS and dashboard recourses also try to open your HA in incognito tab maybe HA cached old version and doesn't make any new changes.
You can check the loaded JS files when u are in ur HA page in chrome press 'F12' to open Developer Tools -> from top tabs select Sources then in pages tab you should see local folder inside it all the loaded JS.
from custom-sidebar-v2.
It was working but HA update broke it.
from custom-sidebar-v2.
Thanks for reply.
Yes, I have the "custom-sidebar-v2-fixed.js" file in the www folder. I uploaded the extra module in "configuration.yaml" and it's placed in dashboard resources. For example, if you want to hide the "map" and "energy" menus in the sidebar, how should the configuration file be structured? I had written the previous one in the www folder with the name "sidebar-order.json" but the changes didn't lead to anything. I use HA in Italian. How can I know if the "custom-sidebar-v2-fixed.js" module was really loaded by HA?
ThanksThe JSON file should stay the same name ,same settings and same location make sure u deleted old custom sidebar version from HACS and dashboard recourses also try to open your HA in incognito tab maybe HA cached old version and doesn't make any new changes. You can check the loaded JS files when u are in ur HA page in chrome press 'F12' to open Developer Tools -> from top tabs select Sources then in pages tab you should see local folder inside it all the loaded JS.
Thanks for the suggestions, it seems to work.
- I put the "custom-sidebar-v2-mod.js" file in the folder "hacsfiles/custom-sidebar-v2-mod"
- I put "sidebar-order.json" file in www folder with downloaded example from https://raw.githubusercontent.com/galloween/custom-sidebar-v2/main/sidebar-order.json
- I modified the "configuration.yaml" file by adding the extra_module_url of the frontend "- /hacsfiles/custom-sidebar-v2-mod/custom-sidebar-v2-mod.js"
- rebooted and now I just have to figure out how to put the items in order and hide the ones I don't need.
Thanks again for the time you gave me
from custom-sidebar-v2.
Working for me too with manual changes mentioned above
from custom-sidebar-v2.
For me it is partialy working. the user that i added to exceptions is working as expected. But a user that should use the default order is not working as expected. when checking the console im getting an error.
custom-sidebar-v2-fixed.js:59 Custom sidebar (ver.301217_2359): Failed Tried 10 times and gave up {tryCounter: 11, Loaded: 'error', DrawerLayoutElement: ha-drawer, TitleElement: div.title, SideBarElement: paper-listbox.ha-scrollbar, …}Dr
from custom-sidebar-v2.
xZetsubou's fork works, just not in the iphone app, the whole sidebar behaviour seems different there. Without custom-sidebar, the mobile and web sidebars had different sorting for me. Really strange behaviour
from custom-sidebar-v2.
I have finally managed to get this working but that is due mainly to me trying to use the example and it basically doing nothing that I could see. Once I stripped it down to just adding the google new item it appeared, so Now I shall attempt to make it do the reodering I'd like to do. Never used any of the previous versions so it's all new to me. Perhaps soon this new one will become v3!
Thanks for the fix @xZetsubou
from custom-sidebar-v2.
@MineLPPhynix did you remove Galloween repository and only kept @xZetsubou? or should I keep both?
Nevermind, solved! I did remove Halloween's code, then added @xZetsubou repo, went to download the HACS and restarted HA
It all works now, at least on my computer
from custom-sidebar-v2.
Related Issues (17)
- iframe support? HOT 2
- App Configuration on iOS device HOT 1
- Sidebar never updates HOT 4
- Exceptions do not hide items HOT 10
- Tooltips
- Fast loading HOT 3
- Icons not showing for new_item HOT 3
- Update Badges repeat on all custom entries HOT 6
- Admin Exception
- Plugin not working for non-admin users HOT 4
- Add "defaultPanel" configuration setting
- Order not respected in mobile app HOT 1
- Ctrl + f5 makes this custom sidebar not work?
- Not working in latest chrome / ha HOT 1
- Configuration badge (notification) are repeated on all new items HOT 3
- Not working on latest HassOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custom-sidebar-v2.