-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pop up no longer works with updated browser-mod #19
Comments
I see there is a change in the browser_mod. I'll look into it. Unfortunately I won't be able to do that for the next two or three weeks, because I can't access my development system until then. As a temporary workaround you can set the value for the popup to false:
|
No rush. I was just letting you know rather than requiring it be fixed immediately. The workaround isn't needed as the card itself works absolutely fine even with "popup: true". It's just that the popup doesn't work when on true. |
I've finally found some time to work on this issue. I had to completely rebuild my development system, which took some time. I fixed the issue with the popup itself, but it's not complete yet. When working with the color configuration options, the background of the popup is not completely filled. This is because of the many changes in the code of browser_mod. Will continue working on that. Just wanted to let you know that the issue is in progress. :) |
Thanks for the update, I appreciate it. Still no rush for me and actually less so at the moment as I'm moving house next week and my FR24 plane tracker is currently in a box. |
@masterfish1 Are you completely settled after the move, and have you already taken HA and your plane tracker out of the box? I made a pre-release of the card today and tested it in production at my place. Can you also test the release? If you have installed it via HACS you can choose 'show beta versions' at the redownload option. Then you can install version |
Semi settled. Still loads to unpack but the plane tracker is done. I won't get chance to test this until tomorrow afternoon but will do so and report back. |
No problem. I'll wait for your feedback. Thanks for testing. |
The pop-ups are working for me ok. One thing that I notice is that there isn't a "X" to close the pop-up which is sort of counter-intuitive. I think that it is because you don't have a "Title" object for the pop-up? I'm wondering if that main first line (with the flag, registration, and icon) could be the browser_mod pop-up window title (and then a "X" to close would be displayed?). Also, if the "Flight" is known and different from the "Registration", could that be added to that title line? |
@fratsloos It isn't working for me but given that it is working for you and @BrettEBowman, I suspect the issue is with my install. Unfortunately, I don't have time to investigate right now. Sorry for not getting back to you yesterday, Sunday was even worse than Saturday in the end. |
You're right. Because
Edit: the changes will be available in a pre-release later this week.
That would indeed have been nice. Unfortunately it seems that the popup only accepts text as input and not HTML. See the source code.
No problem! It's a hobby for all of us, right? ;) Just to be sure, did you fully install the new version of browser_mod? I got in the sidebar of HA an item 'Browser Mod' in which I first had to turn on the 'Register' option. |
I've just released version v0.6.0-beta which is available in HACS beta versions with the latest changes. |
Seems to be working fine for me. Even the pop-up is working now. It started working on the alpha version too without me changing anything so no idea what was going on there at first. |
I'm not seeing the Title in the pop-up. I'm pretty sure that the new code is in place OK because the "sub-title" line (with the flag and horizonal icon) is showing the new format. Is there a change that I need to make to the card's configuration? |
Update: I'm getting the Title in the pop-up when I use Edge as the browser, but not with Chrome. I'll have to try to dig into it more later and see if I can figure out why. EDIT: I got it to work in Chrome. I followed the instructions from the browser_mod page to force a hard cache reload. (I had already tried just doing a Ctrl-F5, which didn't make any difference.) So here's what I did:
|
Yes, in these cases it's a caching issue almost every time. HA is known for an aggressive caching method. Just a tip, when By the way; good to know it's working for the both of you now. I'll make a proper release somewhere this week. :) |
Fixed in v0.6.0. |
I imagine this is related to the update to browser_mod (https://github.com/thomasloven/hass-browser_mod) as I just had to edit all my personal popups but, as a result the popup in your card no longer works.
The text was updated successfully, but these errors were encountered: