[Wizard] Allow choosing device by double click
ClosedPublic

Authored by broulik on Dec 14 2019, 3:36 PM.

Details

Summary

Instead of having to select one and clicking "Next"

Test Plan

Clicked New device, double clicked some device and got it paired

Diff Detail

Repository
R97 Bluedevil
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Dec 14 2019, 3:36 PM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 14 2019, 3:36 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Dec 14 2019, 3:36 PM

Is there anything you can do with an item here other than selecting it? If not, then we should just always choose by single-click. Double-click only makes sense for items that have a distinct selection state that lets you do more things with the item (or when using the apply/cancel model, as in KCMs).

I think you can't. It is potentially a long list, so not sure if just clicking it should advance the list, since it is clearly a "wizard" pattern page. If it were a bunch of "command links" it would be obvious that clicking a single item would advance the wizard.

ngraham accepted this revision.Dec 14 2019, 4:15 PM

True enough. This is for sure a nice improvement. I always appreciate it when double-click is a shortcut for "select this thing and the open/apply it."

This revision is now accepted and ready to land.Dec 14 2019, 4:15 PM
drosca accepted this revision.Dec 18 2019, 10:17 AM
This revision was automatically updated to reflect the committed changes.