Merge lp:~allenap/launchpad/sub-search-ui-bug-656823-4 into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Gavin Panella | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 12180 | ||||
Proposed branch: | lp:~allenap/launchpad/sub-search-ui-bug-656823-4 | ||||
Merge into: | lp:launchpad | ||||
Prerequisite: | lp:~allenap/launchpad/sub-search-ui-bug-656823-3 | ||||
Diff against target: |
616 lines (+273/-42) 15 files modified
lib/lp/bugs/browser/bug.py (+1/-1) lib/lp/bugs/browser/bugsubscriptionfilter.py (+46/-1) lib/lp/bugs/browser/bugtarget.py (+5/-7) lib/lp/bugs/browser/bugtask.py (+1/-1) lib/lp/bugs/browser/configure.zcml (+9/-0) lib/lp/bugs/browser/tests/test_bugsubscriptionfilter.py (+55/-4) lib/lp/bugs/browser/widgets/bug.py (+62/-10) lib/lp/bugs/browser/widgets/configure.zcml (+19/-0) lib/lp/bugs/doc/bug-tags.txt (+45/-2) lib/lp/bugs/doc/bugwidget.txt (+1/-1) lib/lp/bugs/interfaces/bugsubscriptionfilter.py (+10/-7) lib/lp/bugs/templates/bug-subscription-filter-edit.pt (+14/-0) lib/lp/bugs/templates/bug-subscription-filter.pt (+2/-0) lib/lp/registry/stories/person/xx-person-subscriptions.txt (+3/-0) lib/lp/services/fields/configure.zcml (+0/-8) |
||||
To merge this branch: | bzr merge lp:~allenap/launchpad/sub-search-ui-bug-656823-4 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+45824@code.launchpad.net |
Commit message
[r=adeuring]
Description of the change
The main purpose of this branch is to provide an edit view for bug
subscription filters. However, to pull this off several things also
got done:
- I updated the IBugSubscriptio
better in the web UI. I think they make sense for the web service
API doc too.
- Add a new widget, BugTagsFrozenSe
BugTagsWidget. I made some changes to the latter to make the
subclassing a bit more elegant.
- I moved canonical.
moved the widget registration ZCML to the lp.bugs.
package.
- Added some rudimentary "(edit)" links to the structural subscription
overview page. They are there as much to make manual testing and UI
review easier (though I doubt this branch warrants a UI review as it
stands).
- Some imports and lint needed fixing, but I've stuffed those into a
later branch because this branch is noisy enough.
Nice work! Just one nitpick:
> find_all_tags = exported(
> Bool(
> - title=_("All given tags must be found, or any."),
> + title=_("All given tags must be found"),
I'd prefer something like "If enabled, all tags must match, else at least one tag must match", But that's something for a UI review.