implement shortcut to toggle filter view
ClosedPublic

Authored by astippich on Mar 25 2018, 9:49 AM.

Details

Summary

use the shortcut as in dolphin to toggle the filter view. also simplifies the implementation a bit and adjust tests

Test Plan

filter view is toggled persistently across all views either with shortcut or button. test passes

Diff Detail

Repository
R255 Elisa
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
astippich requested review of this revision.Mar 25 2018, 9:49 AM
astippich created this revision.

Thanks, this is a nice idea.
You have a type on the title.
Could you also add a test using keyboard and triggering the action shortcut ? It looks missing to me (I may be wrong here).

mgallien requested changes to this revision.Mar 27 2018, 8:45 PM
This revision now requires changes to proceed.Mar 27 2018, 8:45 PM

The state of the view is only controlled by a property binding to an external variable. This is already tested with the tests. The code for setting this variable via a shortcut is in the main qml file and cannot be tested here.

astippich retitled this revision from implememt shortcut to toggle filter view to implement shortcut to toggle filter view.Mar 28 2018, 5:30 PM
mgallien accepted this revision.Apr 15 2018, 10:38 AM

Thanks. Unfortunately, I will have very few available time the next few days.

This revision is now accepted and ready to land.Apr 15 2018, 10:38 AM
This revision was automatically updated to reflect the committed changes.