Frontend: Add card view hangs since 0.118

Created on 28 Nov 2020  路  3Comments  路  Source: home-assistant/frontend

Checklist

  • [x] I have updated to the latest available Home Assistant version.
  • [x] I have cleared the cache of my browser.
  • [x] I have tried a different browser to see if it is related to my browser.

The problem

I'm doing all my UI within the frontend, so no YAML config. But since 0.118 when pressing the Add card button in the edit dashboard view, the popup with all the card types is super slow.
I need to wait a while before I can use it.

Expected behavior

Able to directly type a card name and filter the types.

Steps to reproduce

Click edit dashboard
Click add card
Time how long you have to wait to be able to enter a name

Environment

Currently running 0.118.4 on an Intel NUC i5 gen 10 with 16GB ram and 500GB SSD.
Everything is lightning fast, except the cards view.

  • Home Assistant release with the issue: 0.118.0
  • Last working Home Assistant release (if known): 0.117.x
  • Browser and browser version: Microsoft Edge, Safari, Chrome
  • Operating system: Linux Debian 10

State of relevant entities

Problem-relevant configuration

Javascript errors shown in your browser console/inspector

Additional information

bug

Most helpful comment

We made some changes in 0.119 (not release) so that the card picker will not load state history. This may fix it but we will take a closer look to make sure

All 3 comments

I came here to write an issue about exactly the same problem that I have.
I can add that in Firefox it even complains that a script is slowing the tab and if I want to wait or stop it. Doing either is not helping

So +1

We made some changes in 0.119 (not release) so that the card picker will not load state history. This may fix it but we will take a closer look to make sure

We made some changes in 0.119 (not release) so that the card picker will not load state history. This may fix it but we will take a closer look to make sure

The history bit intrigued me so I went and purge my history and bingo it is immediately much faster. No more waiting time

So not loading the history it seems will help.

@zsarnett what is the configuration setting for your history?

Edit: I spoke too fast. I tried again half an hour later and the delays are back :(

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KennethLavrsen picture KennethLavrsen  路  3Comments

move[bot] picture move[bot]  路  3Comments

Fusseldieb picture Fusseldieb  路  4Comments

GauthamVarmaK picture GauthamVarmaK  路  3Comments

SeanPM5 picture SeanPM5  路  3Comments