- Notifications
You must be signed in to change notification settings - Fork393
Allow user to set hardware address instead of SSID when using macOS#3934
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull Request Overview
This PR enhances network configuration capabilities by adding support for hardware address (BSSID) input alongside network name (SSID) and makes the connection security level setting always visible in settings. It also adjusts modal presentation styles on macCatalyst to use fullScreenCover.
- Added hardware address (BSSID) input field for macCatalyst platform
- Made connection security level setting always visible (removed conditional hiding)
- Changed modal presentation from sheet to fullScreenCover on macCatalyst for better UX
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| HomeNetworkInputView.swift | Refactored to support both network name and hardware address input with new context struct and conditional display for macCatalyst |
| OnboardingPermissionsNavigationViewModel.swift | Updated to save both network name and hardware address from the new context |
| OnboardingPermissionsNavigationView.swift | Updated callback to use new context-based approach |
| ConnectionSecurityLevelBlockView.swift | Changed modal presentation to fullScreenCover on macCatalyst and refactored settings view into a computed property |
| ConnectionSettingsViewController.swift | Removed conditional hiding logic for connection security level setting |
💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.
...g/Steps/Permissions/Steps/LocalAccessAndNetworkInput/NetworkInput/HomeNetworkInputView.swift OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
...g/Steps/Permissions/Steps/LocalAccessAndNetworkInput/NetworkInput/HomeNetworkInputView.swift OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
...g/Steps/Permissions/Steps/LocalAccessAndNetworkInput/NetworkInput/HomeNetworkInputView.swift OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
...g/Steps/Permissions/Steps/LocalAccessAndNetworkInput/NetworkInput/HomeNetworkInputView.swift OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Sources/App/WebView/Views/ConnectionSecurityLevelBlock/ConnectionSecurityLevelBlockView.swift OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Sources/App/WebView/Views/ConnectionSecurityLevelBlock/ConnectionSecurityLevelBlockView.swiftShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…ionSecurityLevelBlockView.swiftCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Summary
Screenshots
Link to pull request in Documentation repository
Documentation: home-assistant/companion.home-assistant#
Any other notes