Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show server name in "Unable to connect to Home Assistant" dialog #3995

Merged

Conversation

jpelgrom
Copy link
Member

@jpelgrom jpelgrom commented Nov 3, 2023

Summary

By suggestion: show the server name instead of a generic "Home Assistant" to prevent confusion when the app cannot connect in the WebViewActivity, when using multiserver.

Adding a button to switch servers here would probably also be a nice improvement, but that doesn't fit and this dialog currently is used for a lot of things so let's not try to do everything in one PR. (Switching now requires going to Settings or dismissing the dialog and using swipe gestures.)

Screenshots

Server name: Home

Light Dark
Dialog for connection issues titled 'Unable to connect to Home', light mode Dialog for connection issues titled 'Unable to connect to Home', dark mode

Link to pull request in Documentation repository

n/a

Any other notes

 - Shows the server name instead of a generic "Home Assistant" to prevent confusion when the app cannot connect in the WebViewActivity, when using multiserver.
Copy link
Member

@dshokouhi dshokouhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement (and suggestion!)

@JBassett JBassett merged commit ac7ba33 into home-assistant:master Nov 4, 2023
@jpelgrom jpelgrom deleted the could-not-connect-server-name branch November 4, 2023 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants