Gives immediate focus to the search entry control after pressing the shortcut to show it
ClosedPublic

Authored by mgallien on Sep 19 2018, 8:12 PM.

Details

Summary

when showing the filter panel, give it focus immediately

clean up the logic behind the filter bar expanded and collapsed states

CCBUG: 398718

Test Plan

pressing the shortcut gives focus

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.
mgallien requested review of this revision.Sep 19 2018, 8:12 PM
mgallien created this revision.
mgallien retitled this revision from clean up the logic behind the filter bar expanded and collapsed states to Gives immediate focus to the search entry control after pressing the shortcut to show it.Sep 19 2018, 8:16 PM
mgallien edited the summary of this revision. (Show Details)
mgallien added a project: Elisa.
astippich accepted this revision.Sep 21 2018, 3:34 PM

I think there is still one issue: when the view is not collapsed and you click on e.g. artist view, the search field also doesn't get focus immediately. but it's an improvement anyway

This revision is now accepted and ready to land.Sep 21 2018, 3:34 PM

I think there is still one issue: when the view is not collapsed and you click on e.g. artist view, the search field also doesn't get focus immediately. but it's an improvement anyway

Thanks for the review.

This is a good idea. I will do another review for it.

This revision was automatically updated to reflect the committed changes.