[mobile/wifi] Move network en/disable into main action
ClosedPublic

Authored by nicolasfella on Jun 30 2019, 9:52 PM.

Details

Summary

The current switch at the top is both not very visually appealing and violates the Kirigami principle of putting relevant controls on the bottom where they are easily reachable

Test Plan

Before:

After:

Diff Detail

Repository
R116 Plasma Network Management Applet
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Jun 30 2019, 9:52 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 30 2019, 9:52 PM
Restricted Application added a reviewer: jgrulich. · View Herald Transcript
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
nicolasfella requested review of this revision.Jun 30 2019, 9:52 PM
nicolasfella edited the test plan for this revision. (Show Details)Jun 30 2019, 9:54 PM
ngraham added a subscriber: ngraham.EditedJun 30 2019, 11:11 PM

+1 for porting to use the correct Kirigami paradigm.

I feel like trying to do this exposes problems with our general style (toggle-able toolbar button don't have a special appearance to indicate this) as well as the "floating text-less button" paradigm for mobile (same problem, plus the lack of text makes it even harder to tell what it's going to do for semi-complex actions). I won't block it, but the matter might require more discussion.

+1 for porting to use the correct Kirigami paradigm.

I feel like trying to do this exposes problems with our general general style (toggle-able toolbar button don't have a special appearance to indicate this) as well as the "floating text-less button" paradigm for mobile (same problem, plus the lack of text makes it even harder to tell what it's going to do for semi-complex actions). I won't block it, but the matter might require more discussion.

I agree. I'm not particularly happy with the current solution

I kind of feel like on mobile, the toolbar itself should just move to the bottom. No need to use a whole new paradigm of floating text-less buttons that obscure the content and don't have labels. I know this is basically copied from Android, but I don't really like it there either. It just seems like an over-complicated and over-designed solution to a simple problem.

Anyway, I'll shut up now, and we should have that discussion somewhere else, not in the comments section of your patch here. :)

jgrulich accepted this revision.Jul 1 2019, 5:28 AM
This revision is now accepted and ready to land.Jul 1 2019, 5:28 AM
This revision was automatically updated to reflect the committed changes.