android icon indicating copy to clipboard operation
android copied to clipboard

Websocket persistent notification: hide the "Websocket settings" link after first use

Open mattdm opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe.

The "Websocket settings" link is handy in the notification initially, but is not something one will normally want to change frequently. It quickly becomes irritating for this to take up valuable attention and screen space.

This is part of several suggestions to improve the persistent notification (linked by #2266).

Describe the solution you'd like

After the configuration link is used once, it should be replaced by a much more subtle :gear: icon.

Describe alternatives you've considered, if any

  1. Have it always be a gear icon, even at first.
  2. Just never have that link there; people can find and configure it in the app

Additional context

As noted, following on from https://github.com/home-assistant/android/issues/2266#issuecomment-1037329212_

mattdm avatar Feb 12 '22 18:02 mattdm

It quickly becomes irritating for this to take up valuable attention and screen space.

It should only be visible if the notification is expanded, which is one of the reasons why there is a suggestion to minimize the notification in the settings.

Have it always be a gear icon, even at first.

I think showing a gear isn't really a good solution because we're using the default layout; you either end up replacing the existing text with an emoji (which can be unclear, and doesn't free up any space), or we would have to start using a custom notification layout (which is a lot of work, and will make the notification look out of place so the opposite of subtle)

Just never have that link there; people can find and configure it in the app

The setting in the notification was actually added because when this was released to beta there were a lot of questions about what this is and how you can change it, so people didn't find it :)

jpelgrom avatar Feb 12 '22 18:02 jpelgrom

It should only be visible if the notification is expanded, which is one of the reasons why there is a suggestion to minimize the notification in the settings.

Sure, but "minimized" Android notifications aren't really very minimized. They're still a full bar in the notifications list, and in my experience get tapped open all the time. I don't think this negates the problem.

I think showing a gear isn't really a good solution because we're using the default layout; you either end up replacing the existing text with an emoji (which can be unclear, and doesn't free up any space), or we would have to start using a custom notification layout (which is a lot of work, and will make the notification look out of place so the opposite of subtle)

I don't think a gear is particularly unclear — it's pretty universally recognized for 'settings". Using an emoji wouldn't clear up layout space, but I think it would help with cognitive space.

The setting in the notification was actually added because when this was released to beta there were a lot of questions about what this is and how you can change it, so people didn't find it :)

Yeah, but initial surprise at a new persistent notification is different from long-term use. Both are important.

Although I was asked to separate out this request, it possibly could combine with #2268 (have the link to websocket settings only show when it's the default) or #2269 — which would effectively replace this with dashboard links (and again could do so only when those dashboards are configured).

In any case, thank you for considering.

mattdm avatar Feb 12 '22 19:02 mattdm

2022.2.1 was released yesterday, the action button now simply says "Settings" I think as part of #2271 and #2269 we can probably allow the user to replace the button upon adding the 3rd action instead of adding in logic to hide the button once configured.

dshokouhi avatar Feb 13 '22 17:02 dshokouhi