[mobile/wifi] Group networks by connection state
ClosedPublic

Authored by nicolasfella on Oct 20 2019, 4:19 PM.

Details

Summary

Makes it easier to see which one is connected

Test Plan

Diff Detail

Repository
R116 Plasma Network Management Applet
Branch
groups
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17942
Build 17960: arc lint + arc unit
nicolasfella created this revision.Oct 20 2019, 4:19 PM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 20 2019, 4:19 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.Oct 20 2019, 4:19 PM
nicolasfella edited the test plan for this revision. (Show Details)Oct 20 2019, 4:19 PM
nicolasfella edited the summary of this revision. (Show Details)
jgrulich added inline comments.Oct 20 2019, 5:30 PM
mobile/wifi/package/contents/ui/main.qml
89

You can use "Section" property from the model, which already contains either "Active connections" or "Available connections".

We use it in the applet as well:

section.property: showSections ? "Section" : ""
section.delegate: Header { text: section }
  • Use section property
jgrulich accepted this revision.Oct 22 2019, 5:56 AM
This revision is now accepted and ready to land.Oct 22 2019, 5:56 AM
This revision was automatically updated to reflect the committed changes.