Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.45k stars 39 forks source link

Tons of errors when editing via GUI #434

Closed mfabiani53 closed 2 months ago

mfabiani53 commented 2 months ago

Describe the bug Everytime i try to edit via GUI the bubble-card i get tons of errors like these

2024-04-08 15:01:56.179 ERROR (MainThread) [frontend.js.latest.202404041] Uncaught error from Chrome 123.0.0.0 on Windows 10 TypeError: Cannot read properties of null (reading 'classList') /hacsfiles/Bubble-Card/bubble-card.js:520:1627 2024-04-08 15:02:09.715 ERROR (MainThread) [frontend.js.latest.202404041] Uncaught error from Chrome 123.0.0.0 on Windows 10 TypeError: Cannot read properties of null (reading 'classList') /hacsfiles/Bubble-Card/bubble-card.js:520:1627 2024-04-08 15:09:28.641 ERROR (MainThread) [frontend.js.latest.202404041] Uncaught error from Chrome 123.0.0.0 on Windows 10 TypeError: Cannot read properties of null (reading 'classList') /hacsfiles/Bubble-Card/bubble-card.js:520:1627 2024-04-08 15:10:48.878 ERROR (MainThread) [frontend.js.latest.202404041] Uncaught error from Chrome 123.0.0.0 on Windows 10 TypeError: Cannot read properties of null (reading 'classList') /hacsfiles/Bubble-Card/bubble-card.js:520:1627 2024-04-08 15:12:55.140 ERROR (MainThread) [frontend.js.latest.202404041] Uncaught error from Chrome 123.0.0.0 on Windows 10 TypeError: Cannot read properties of null (reading 'classList') /hacsfiles/Bubble-Card/bubble-card.js:520:1627

To Reproduce Steps to reproduce the behavior:

  1. Go to 'dashboards'
  2. Click on 'edit'
  3. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information): MiniPC

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Thank you! 🍻

Clooos commented 2 months ago

Hi! This issue will be fixed in the next version, and it will be a major release! For more informations you can take a look on the subreddit 🙂

https://www.reddit.com/r/BubbleCard/

mfabiani53 commented 2 months ago

Ok, thanks... i noticed also other errors when casting to chromecasts devices:

2024-04-08 15:23:16.267 ERROR (MainThread) [frontend.js.latest.202404041] Uncaught error from Chrome 120.0.0.0 on Chromecast 1.56.500000 TypeError: Cannot convert undefined or null to object /hacsfiles/Bubble-Card/bubble-card.js:1:16782 /hacsfiles/Bubble-Card/bubble-card.js:520:30201 2024-04-08 15:24:16.199 ERROR (MainThread) [frontend.js.latest.202404041] Uncaught error from Chrome 90.0.4430.225 on Chromecast 1.56.500000 TypeError: Cannot convert undefined or null to object /hacsfiles/Bubble-Card/bubble-card.js:1:16782 /hacsfiles/Bubble-Card/bubble-card.js:520:30201

Clooos commented 2 months ago

I don't have any Chromecast device but with some luck it will be fixed too because of the new code structure, an alpha is already available on GitHub if you want to try. Keep me informed 🙂

mfabiani53 commented 2 months ago

Hmmm, thanks, but i have no time for debugging... i'll wait the new release...

mfabiani53 commented 2 months ago

I don't have any Chromecast device but with some luck it will be fixed too because of the new code structure, an alpha is already available on GitHub if you want to try. Keep me informed 🙂

I download the alpha, but now, how to install it? Simply copying the files over the old?