home-assistant / my.home-assistant.io

The portal to your home.
https://my.home-assistant.io/
32 stars 19 forks source link

"Open app" button #464

Open Diegorro98 opened 2 months ago

Diegorro98 commented 2 months ago

In this PR I added a button that opens the redirect link in the app. Regular open link button and this new button are always present except if mobile param is 1, which will cause the regular button to not be displayed and the app button will be set to "Open link" to look like before the changes. Regular open link button has been changed to "Open link here". image

Also, now if the instance URL is not set yet, it will not automatically redirect to the page that changes the URL, but if the user clicks on the "Open link here" button, the user will be redirected to the page that changes the URL.