silly question but where can i find the icon files? how do i know what kind of icons i can take?
You can use any icon from the FontAwesome or Material Design Icon sets. Searchable lists are at each location.
FontAwesome - http://fontawesome.io/icons/
this should be some where in the description ā¦ or maybe i didnt see but thanks a lot mate!
thanks dude
Fixed in beta 2
@aimc Could the reload widget be adjusted to reload the page DOM? Iām not seeing the jquery, ie $(document).ready, being reloaded when clicking the reload widget.
At the moment itās calling location.reload(true)
- what would you prefer?
Not quite sure yet, its unclear if the head js include is getting loaded again after clicking the refresh widget. Doesnāt appear to be as Iām not getting the single line alert in the included .js file.
Generell question. Will we have cam included in dashboard?
That should reload everything.
Yes, I have plans for that but not right away - I don;t even have a cam yet but I am planning to get one.
Great news. I wanna open a new threat ādashboard comoetitionā we might want to offer the winner a free home assistant t-shirt? Goal should be to post Screenshot and the whole code for beginners. What do u think?
Has anyone tried installing HADashboard v2 in Docker, on a Synology?
Not really sure where to start.
Maybe I am doing something really wrong but I donāt get the JS loaded after clicking the reload widget. Googled around a bit and it appears Ruby on Rails will only reload JS if it changes since last time it was drawn, could that maybe be the case here? Can anyone else confirm if a simple js include with a simple console.log or alert command will run after initial dashboard load and then clicking reload widget?
Testing in chrome, but also tried in firefox and safari.
Thanks
Interesting - I think the ruby on rails is a red herring, this is more about browser behavior. Every time you reload, the files will be served back to you form HADashboard exactly the same, so it must be something in the browser that decides not to run it because it hasnāt changed. All of my initialization code runs on reload - where in the doc are you putting this? You are using a body include?
I am happy to change things around if we can figure out that it will help. I could alter where in the doc the include goes and I am happy to change the reload command too, but I am not sure why this is happening.
Yeah, iām at a loss as well. Iām including it in the head include. Also tried some meta no cache tags without any luck even though I running chrome dev tools with caching disabled.
I also believe its browser related and only loading the JS again if it changed in some way.
just noticed changing the js file, while dashboard is open, save js, click reload widget loads the updated js, so think that confirms browser item.
Can you share the code? All of my code is in included files, the difference is that I actually call it from the code in the body. Could you try something similar?
Simplyred does this - I use a head include to load the timer.js and set a meta refresh for 1 hour. See if that gets reloaded.