-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING: HA 2023.4 no longer uses app-drawer-layout #27
Comments
Hi @Mariusthvdb, |
Please do, Bram also announced new changes are to be expected. Don't know which, maybe Kiosk mode devs can connect with Bram cs. |
Hi @Mariusthvdb, |
amazing, thank you very much, please release! or maybe let us download to test? |
Hi @Mariusthvdb,
Take into account that branch has all the changes contained in #25 #26 and #28 Regards |
I compiled the new kiosk-mode.js from the branch, removed the old one and replaced with the new one: kios_mode not working and I get the following errors in the log:
Thanks |
Hi @gateriderz, |
Hi @elchininet, This is the only trace I have under my logs:
|
Thanks @gateriderz, |
Hi @gateriderz, |
Can you deploy a beta? |
Things to consider: Menu swipe in from the left is removed from the app. It might be a good idea to notify users about that. Don't know if at all possible ... |
Hi @nelsonamen, the releases will be done when the owner of the repo is back. For now you can try it with the explanation that I gave above. |
Yes, that would require a change on the README with an statement about what occurs if one hides the sidebar. |
Thanks @elchininet , you are correct, I had to reload the kiosk-mode.js again by adding The code shows the proper information now: kiosk mode is working now. Thanks. |
Perfect @gateriderz, |
Hi, Is it possible to have a tutorial to make Kiosk-Mode work? I don't understand anything explained here. What should be replaced? Where to find the files, or to install them? Thx |
Maybe we should have a bit of patience . Why not let the devs here await coming days of Frontend changes until release of HA 2023.4 so we have some certainty things won't break shortly after. |
Hi @Jeremyhu102, Regards |
For those that do not know how to compile the plugin using the code in the working in progress branch, here you are a gist with the compiled version. You can use this code until the new version is released. |
And notice this OK, I know you will all hate me for doing this, but believe me it is better to do it now then later 😬 |
where to find mwc-drawer ? In kiosk-mode.js I can not find it |
Why do you want to find But anyway, if you want to find it, it is not in the current |
It is better to do the changes when they are released, if it is just a plan it could be changed, as almost everything during development. When the next version is released, if it has more changes, the library should be changed to support them. |
Really sorry, I am on mobile and couldn't find the quote code. The above is not me stating that, but main Frontend dev Bram in Discord |
@Mariusthvdb, |
great! Ive dl'd the gist, and all seems to be working swell. Ill add the new options next (hiding the menu items) and will test those, because that will be a major upgrade! |
So this all works just fine! great, and congrats! there is but 1 gripe.... might be an edge case, as I probably will always want tp have at least 1 menu item there, but hiding all menu items takes away the whole triple dot icon. and, that is the anchor for my menu item template using card-mod-themes:
I would like to ask if anything can be done here, to hide the menu-items, but allow this mod to be there anyways. |
Not really an option at this moment.
Yes, I know. It is free. I don't pay money for it. Is that what you mean? I pay for it with my precious time I could spent in doing other things. So i also use my spare time "for free" to help the dev to make it work again. So please don't lecture me about "free" and Open-Source - I am fully aware of that. Let's put it this way: it is a taking and giving and hopefully we will all find the right balance.
I will. |
I tried that piece of Javascript from gist and installed it manually. It does not work here. It was actually the first thing I did after reading it. Maybe I did it wrong, I don't know. But I did exactly what was posted above. And I was also unable to clone the repo with the same error message as posted above (Permission denied). |
Yes, you did it wrong for sure because it works. You just need to check all the people here that have that version working (including myself). |
I‘ll change the instructions, you can only clone a fork of it. |
I only read from people where it does not work. You are the only one who says it works. So I assume it should work. I will try again and report back if I succeed. |
For me gist is also working, I have hidden the title bar again , used the gist, removed the 2 files on the kiosk folder, downloaded the gist there... Restarted , clear cache, that's it |
I don't even know what that means and how to do it. I never used Github. So, that's a bit too complicated for me at this point. I am just a user, not a programmer |
Just as a reference so you can check that what you are saying is not accurate: |
Thanks, so it should work. I will do the same now. So you have 1.7.8 installed, removed the two files (.js and .gz) from kiosk-mode folder and uploaded the javascript from gist (kiosk-mode.js) into the kiosk-mode folder. Is that correct? Then clearing cache etc. and it should work? |
I apologize - overlooked them. |
Just install 1.8.0,doesnt mather, remove files afterwarda, place the gist file there, point correctly with resource , to make it work for sure, add ?v1 add the end in your resource... Then clear cache, restart |
I have removed the old version, but when I want to download it O cant download verdion 1.8.0. Only 1.7.8, tonight I will digg more into it. |
Yeah doesn't mather , you need to remove files anyways, but I suggest you to wait for next version , they are working on it, be patient |
@besiktas97,
Anyway, the pull request that solves the issue is ready to merge. When @NemesisRE take a look at it and merge it, a new version could be released. |
Thanks then I will wait I guess for the new release. Patient patient :-) |
Ha, that did work. I guess I forgot the ?v1 thing in the ressources file. Header bar is gone now, sidebar still there. But one problem at a time. Thanks @pergolafabio and @elchininet Now will wait for the release with a fix. |
A last note before I go to sleep - now kiosk mode even works where it is not even part of the yaml. Now the header bar (not the sidebar) is removed in all views and dashboards no matter if there is an entry with kiosk_mode in the yaml or not. Doesn't bother me too much because I can disable it with ?disable_km where I need it. |
Hi guys. The new version Thanks to all of you for the feedback during the testings 👍 Please, if you notice something, feel free to open an issue with it, closing this issue. |
Hi @DerEmder, Feel free to create an issue describing what you are facing. |
After upgrading to 1.8.1, there was no problem with the computer browser webpage when the header was hidden, and it displayed normally. However, there was a black box below my iPad, which prevented me from displaying everything. @nelsonamen |
I had to reboot and redownload 1.81 to get old version out of system. Seams to working ok |
Morning, Thank you so much for the update, kiosk mode, good job Thank you all |
Hi @Murianwind, |
Awesome all fixed with the latest update. Thank you |
breaking all custom cards that use this functionality
please see #beta in Discord.
app-drawer-layout was replaced by mwc-drawer
link to Discord: https://discord.com/channels/330944238910963714/427516175237382144/1090920193947074642
I did test the fix that is mentioned, to replace
querySelector("app-drawer-layout partial-panel-resolver")
with
querySelector("app-drawer-layout partial-panel-resolver, mwc-drawer partial-panel-resolver")
but can only replace
app-drawer-layout
in the .js file withmwc-drawer
and that does Not fix the cardThe text was updated successfully, but these errors were encountered: