frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Back button cycles between Add-ons page and specific add-on page

Open Sticky12 opened this issue 3 years ago • 12 comments

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.

Describe the issue you are experiencing

If you go to Settings - Add-ons and go back once, it will go back to Settings, so this works as intended.

When going to Settings - Add-ons and then click on any add-on and click the back button, it will cycle between the add-on page you clicked and the main Add-ons page, it will never go back to Settings.

This issue is annoyting on mobile, but it is possible to come back to settings, when using the back functionality on the phone (physical button or gesture).

Describe the behavior you expected

I expect, when I go to Settings - Add-ons - Node-Red and click back twice I will end up in Settings again.

Steps to reproduce the issue

  1. Go to Settings
  2. Go to Add-ons
  3. Go to any add-on
  4. Use back button
  5. Use back button

What version of Home Assistant Core has the issue?

2022.11.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Google Chrome 107.0.5304.88

Which operating system are you using to run this browser?

Windows 10 21H1

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

Sticky12 avatar Nov 10 '22 10:11 Sticky12

I have the exact same issue.

KarlStrachan avatar Nov 15 '22 16:11 KarlStrachan

Same here

In which browser are you experiencing the issue with?

iOS App

CFenner avatar Nov 16 '22 06:11 CFenner

Same experience on iOS app. I have to force quit the app and relaunch to get out of the add-ons screen.

docwisdom avatar Nov 17 '22 16:11 docwisdom

Same here in the app

XanderTenBoden avatar Nov 18 '22 14:11 XanderTenBoden

still happening on 2022.11.4

Mariusthvdb avatar Nov 23 '22 13:11 Mariusthvdb

I don't think the behavior is unexpected due to the underlying navigation that is performed to access the add-on.

That being said, a potential solution would be to provide a "long-press" behavior when the back button is pressed in which the potential dashboard could be displayed OR jump back to the "top-level" or Overview.

dcmartin avatar Nov 26 '22 19:11 dcmartin

why is this not unexpected? it is faulty, introduced recently and should be fixed.

Mariusthvdb avatar Nov 26 '22 21:11 Mariusthvdb

The problem occurs with lower screen resolution where the main menu is hidden. Tested on iOS, desktop firefox and chrome displayed only on one half of the monitor. No hamburger menu will be displayed, only back arrow in an neverending loop

belkop-ghb avatar Dec 01 '22 18:12 belkop-ghb

this happens on any resolution. For the sake of it, I just full screened my desktop browser and even then there's no way out. Just got confirmation though the Frontend team is aware.

Mariusthvdb avatar Dec 02 '22 07:12 Mariusthvdb

I found that turning iphone to landscape revealed the sidebar enabling navigation menu, but now this doesnt work either.

doddyprodger avatar Dec 16 '22 13:12 doddyprodger

In iOS swipe from left screen edge to the right. This will show the main menu.

belkop-ghb avatar Dec 16 '22 14:12 belkop-ghb

yep just discovered this!

doddyprodger avatar Dec 16 '22 14:12 doddyprodger

tested the issue itself, and as far as I can see, the navigating has been fixed. can go deep into add-on's, and clicking back bring us where we are supposed to go, and finally also out of the add-on menu.

Mariusthvdb avatar Dec 25 '22 23:12 Mariusthvdb

Just re-tested myself because of this comment. Definitely broken when using HomeAssistant Companion in iOS and Chrome/Safari browsers on Mac OS.

Home Assistant 2022.12.8 Supervisor 2022.11.2 Frontend 20221213.1 - latest

Settings > add-ons > any add-on Press back once, goes to add-ons, press back again, goes back to the specific add-on I just navigated away from.

tested the issue itself, and as far as I can see, the navigating has been fixed. can go deep into add-on's, and clicking back bring us where we are supposed to go, and finally also out of the add-on menu.

hgregorian avatar Dec 25 '22 23:12 hgregorian

Fixed in https://github.com/home-assistant/frontend/pull/14555 which is a part of the next supervisor release that is currently in need testing.

ludeeus avatar Dec 25 '22 23:12 ludeeus

Can confirm that post Supervisor 2022.12.1 update, this issue is no longer present. Thanks @ludeeus

hgregorian avatar Dec 28 '22 17:12 hgregorian