-
-
Notifications
You must be signed in to change notification settings - Fork 14
WifiInterface: use SettingsToggle #337
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
base: master
Are you sure you want to change the base?
Conversation
Context menu over Popover feels like too many layers. The radical solution would be to just remove AP list completely from the popover. Instead open WiFi settings. Because how often do we switch WiFis on PC? |
I think submenus are pretty normal 🤷🏻♀️ in iOS control center the AP list is actually in the 3rd level submenu There's kind of some issues currently when you have multiple WiFi devices about which device you want to connect when you select an AP, so that's why we show multiple lists which is cumbersome with space. A submenu solves that nicely imo, especially for the hidden network item. I still think we should prioritize previously connected networks in the list, but I think a submenu solves enough issues that we don't really have to worry anymore about showing the full list. I agree mostly that you only really connect to a new wireless network when you're somewhere you've never been before which is probably not super often and it would be okay to just kick you to settings for that I suppose there wouldn't be any difference to most people between just not opening the context menu vs removing the AP list. It's there if you want it, but mostly it's hidden 🤷🏻♀️ |
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.
I like the solution, it works as expected and code looks good. Approved.
To be clear, I'm not against submenus, per se. Just sharing an opinion that it looks a bit odd to me (it gave gnome2/xfce vibes). Also, should we add an updated screenshot for readme? Since the UI change. |
I think we should definitely keep the AP list (maybe even with all APs). I use eOS on my laptop and I regularly have to connect to different and new wifi networks. E.g. Home, University, Cafe, a new Cafe we want to try, Train, library, public space. Regarding the proposed solution here I'm not sure it's intuitive and even less discoverable. Nowhere else we use "menu on button" (or do we?). The only case we use it is when it's the primary function i.e. menu button. Also on mobile you can't open settings via the indicator then (or did I miss something?). |
@stsdc I don't totally love the design of the stack switcher submenu, but I'm not totally opposed to it either. In GTK4 we have a lot more freedom with positioning popovers and styling them etc. So I think I want to try some alternatives there. @leolost2605 ah yeah in iOS having further options on long-press for quick controls is pretty standard so I probably carried my assumptions over here. I guess one thing else they do is that there's a disclosure triangle next to the description text and that's also tappable, so you're probably right this needs some kind of further affordances. Gonna convert back to draft since there was some valid criticisms raised! Thank you for all of your input :) |
Maybe not on PC, but on laptops definitely. I have to switch to a different wifi every day, since there is an ap that's preferred mostly for some reason and the laptop will try to connect to that at any cost, even though it's barely reachable in my kitchen - then I have to switch manually.
Exactly that's what I miss! At least some visual/clickable clue would be useful. On the other hand, showing the list right away is even more comfortable from my perspective |
This new Android Quick Settings solves some issues: https://youtu.be/j7W2v_FmCuE?si=v4pqBBApxd3msAy0&t=534 |
Fixes #23
Fixes #299
Uses a SettingsToggle for Wifi interfaces:

Available APs are shown in a context menu:
