integration icon indicating copy to clipboard operation
integration copied to clipboard

Popup first, then load information

Open rikardronnkvist opened this issue 1 year ago • 5 comments

Web browser

Chrome

Web browser version

105.0

System Health details

N/A

Checklist

Describe the issue

When the connection to GitHub is slow and you popup information on an updated integration the delay between the actual window popping up and the click is way to long.

My guess: the popup shows after GitHub info is loaded If my guess is right, it would probably be better to popu first, show a spinner and then load the GitHub-info

Reproduction steps

  1. Download some large file with FTP or other lousy protocol that eats you bandwidth
  2. Click on an update ...

Screenshots

N/A

Javascript logs from your browser console

N/A

Diagnostics dump

No response

rikardronnkvist avatar Sep 22 '22 05:09 rikardronnkvist

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a :+1: reaction to the issue description. Thanks! :+1:

hacs-bot[bot] avatar Sep 22 '22 05:09 hacs-bot[bot]

Popup?

ludeeus avatar Sep 22 '22 05:09 ludeeus

Popup?

The one when you click on one of the Updates... In this case it takes about one second between the click on "Xiaomi Miot Auto" until the dialog is displayed (without me trying to download anything in the background).

1

2

rikardronnkvist avatar Sep 22 '22 06:09 rikardronnkvist

Kind of hard to record... but I think you can see the time between the click and the dialogue.

Demo

rikardronnkvist avatar Sep 22 '22 06:09 rikardronnkvist

Okey 👍 This will not be fixed, that dialog and that listing of updates will be removed.

https://hacs.xyz/docs/entities/update_entities are the future

ludeeus avatar Sep 22 '22 06:09 ludeeus