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

Refactored WiFi configuration window #156

Merged

Conversation

ErrorErrorError
Copy link
Collaborator

@ErrorErrorError ErrorErrorError commented Aug 9, 2020

Hey everyone!

I hope everyone is doing great! I just came with another update to make our lives a bit easier, at least in regards to duplicated classes for the same idea, WiFi windows!

This pull requests removes JoinPopWindow, WiFiPopoverView, WiFiPopupWindow, and PrefsViewWiFiInfoModal in favor of a simplified class WiFiConfigWindow. The initial constructor without any arguments creates a JoinPopWindow. I hope this reduces the number of places to make changes, i.e. adding more security options.

I also renamed the edit button from PrefsSavedNetworksView to view since you can only view the information as of now. Maybe in the future once more implementations of security are available, we can allow users to change their saved passwords, but as of now you can only view or removed saved networks.

-Window now changes state based on the WindowState

- removed JoinPopWindow, WiFiPopoverView,  WiFiPopupWindow, and PrefsViewWiFiInfoModal in favor a more simplified, single file WiFiConfigWindow.
- Removed add button from `.viewCredentialsWiFi` window and renamed edit to view
@ErrorErrorError ErrorErrorError added the enhancement New feature or request label Aug 9, 2020
@ErrorErrorError
Copy link
Collaborator Author

This should also fix part of #66 in regards to JoinPopWindow is not resizeable when different encryptions are selected and everything overlays each other however I am not in Big Sur. If anyone can test and let me know that will be great!

@williambj1 williambj1 merged commit 7433db5 into OpenIntelWireless:master Aug 18, 2020
@williambj1
Copy link
Collaborator

Thanks!!!

@williambj1 williambj1 added this to the v1.0.0 milestone Aug 18, 2020
@ErrorErrorError ErrorErrorError deleted the wifi-window-cleanup branch August 19, 2020 01:28
@williambj1 williambj1 modified the milestones: v1.0.0, v1.0.2 Nov 23, 2020
@williambj1 williambj1 linked an issue Nov 23, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

[Bug] UI issues on macOS Big Sur
3 participants