Merge lp://qastaging/~stolowski/unity-scope-home/phone-disable-filters into lp://qastaging/unity-scope-home
Proposed by
Paweł Stołowski
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Francis Ginther | ||||
Approved revision: | 183 | ||||
Merged at revision: | 174 | ||||
Proposed branch: | lp://qastaging/~stolowski/unity-scope-home/phone-disable-filters | ||||
Merge into: | lp://qastaging/unity-scope-home | ||||
Diff against target: |
954 lines (+519/-154) 13 files modified
configure.ac (+1/-1) src/platform-info.vala (+14/-11) src/scope-registry.vala (+2/-1) src/scope.vala (+18/-6) src/search-util.vala (+0/-11) tests/fake-server/samples/remote-scopes-minimal.txt (+1/-0) tests/unit/Makefile.am (+14/-3) tests/unit/data/unity/scopes/masterscope_a.scope (+2/-2) tests/unit/data/unity/scopes/masterscope_b.scope (+2/-2) tests/unit/data/unity/scopes/more_suggestions.scope (+17/-0) tests/unit/data/unity/scopes/reference.scope (+33/-0) tests/unit/test-home-scope.vala (+221/-117) tests/unit/test-utils.vala (+194/-0) |
||||
To merge this branch: | bzr merge lp://qastaging/~stolowski/unity-scope-home/phone-disable-filters | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Michal Hruby (community) | Approve | ||
Review via email: mp+187021@code.qastaging.launchpad.net |
Commit message
Disable filter updates if phone factor is not 'desktop'.
Description of the change
Disable filter updates if phone factor is not 'desktop' (i.e. currently displayed categores are not reflected in the filters of Home view). This is required because UI in Unity 8 support single selection filters only (any selection made by the user will narrow results to single category in Home).
In addition, sort scope registry by scope id to give more sensible default order on the phone, until real category sorting works there.
To post a comment you must log in.
Could we see some tests for this? Not updating the filters seems a bit scary, does changing the query still reset them etc? Those things should be ensured by a test.