Merge lp:~wallyworld/launchpad/expose-bug-infotype-search-66206 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Curtis Hovey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 15600 |
Proposed branch: | lp:~wallyworld/launchpad/expose-bug-infotype-search-66206 |
Merge into: | lp:launchpad |
Prerequisite: | lp:~wallyworld/launchpad/proprietary-information-type-933782 |
Diff against target: |
389 lines (+151/-21) 12 files modified
lib/lp/bugs/browser/bugtask.py (+9/-1) lib/lp/bugs/browser/tests/bugtask-search-views.txt (+36/-0) lib/lp/bugs/interfaces/bugtarget.py (+2/-1) lib/lp/bugs/interfaces/bugtask.py (+20/-7) lib/lp/bugs/model/bugtarget.py (+2/-1) lib/lp/bugs/model/bugtasksearch.py (+5/-2) lib/lp/bugs/templates/bugtask-macros-tableview.pt (+17/-1) lib/lp/bugs/tests/test_bugtask_search.py (+2/-2) lib/lp/bugs/tests/test_searchtasks_webservice.py (+34/-0) lib/lp/code/model/branch.py (+1/-1) lib/lp/registry/services/tests/test_sharingservice.py (+21/-3) lib/lp/registry/vocabularies.py (+2/-2) |
To merge this branch: | bzr merge lp:~wallyworld/launchpad/expose-bug-infotype-search-66206 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+114147@code.launchpad.net |
Commit message
Update bugtask search UI and webservice API to allow searching bugtasks using information type to filter.
Description of the change
== Implementation ==
This branch allows to advanced bugtask search form and webservice api to be used to search for bugtasks filtering on information type. On the ui, like for Importance and Status, the Information Type checkboxes are all unclicked by default (meaning no filtering). The Proprietary option appears as necessary for projects with commercial subscriptions (if feature flag allows).
There was some whitespace to the right of the status and importance checkboxes on the advanaced bugtask search form so I added the information type checkboxes there. It seems to work well even on narrow screens.
The search backend uses the work done in the previous branch. I made some tweaks to improve the usability. eg the caller can just pass in an iterable of info types rather than having to construct an any().
== Demo ==
See screenshot:
http://
== Tests ==
I enhanced bugtask-
I added a new test case to test the search over the webservice: TestSearchByInf
== Lint ==
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
./lib/lp/
1: narrative uses a moin header.
207: narrative uses a moin header.
222: source exceeds 78 characters.
286: narrative uses a moin header.
326: source exceeds 78 characters.
353: narrative uses a moin header.
377: source exceeds 78 characters.
380: source exceeds 78 characters.
389: narrative uses a moin header.
451: want exceeds 78 characters.
./lib/lp/
930: E302 expected 2 blank lines, found 1
Thank you very much.
Can you fix the link in ./lib/lp/ bugs/interfaces /bugtask. py?