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

Suggest or highlight current SSID in home SSID dialog #2457

Merged
merged 1 commit into from
Apr 17, 2022

Conversation

jpelgrom
Copy link
Member

Summary

Implements/fixes #2417 by:

  • showing a chip suggesting to add the SSID of the currently connected network, if not already added to the list of home SSIDs
  • tinting the icon color for listed SSIDs to blue for the currently connected network, grey for other networks

I've also added content descriptions to the ImageButtons and fixed some small lint warnings for the dialog.

Screenshots

Light Dark
Chip suggestion image image
Highlight current connection image image

Link to pull request in Documentation repository

I don't think this is required, there are currently no docs for this setting and (hopefully) what's added can be understood intuitively.

Any other notes

 - Show a chip suggesting the user to add the SSID of the currently connected network, if not already added to the list of home SSIDs, in the home SSID dialog
  - Change icon for listed SSIDs in home SSID dialog to DKGRAY by default, and only show currently connected SSID icon in accent color
  - Add missing contentDescription for ImageButtons
  - Use correct tint namespace
  - Update deprecated code
@JBassett JBassett merged commit f4c4d72 into home-assistant:master Apr 17, 2022
@jpelgrom jpelgrom deleted the home-wifi-dialog-2417 branch April 17, 2022 13:55
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.

Choose the Home Network SSID from existing connections
3 participants