Merge lp:~bac/launchpad/nix-subscriber-list into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12904 |
Proposed branch: | lp:~bac/launchpad/nix-subscriber-list |
Merge into: | lp:launchpad |
Diff against target: |
317 lines (+74/-39) 3 files modified
lib/lp/bugs/browser/bug.py (+1/-1) lib/lp/bugs/browser/tests/test_bugsubscription_views.py (+60/-27) lib/lp/bugs/templates/bug-portlet-subscribers-content.pt (+13/-11) |
To merge this branch: | bzr merge lp:~bac/launchpad/nix-subscriber-list |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary Poster (community) | Approve | ||
Review via email: mp+58723@code.launchpad.net |
Commit message
[r=gary][bug=768483] Do not show 'Also notified' in the bug subscriber portlet when advanced subscriptions are used.
Description of the change
= Summary =
With advanced bug subscriptions it is unclear whether a person will be
notified for any given change to a bug. Because of this new granularity
of notification, the list of subscribed people shown under 'Also
notified' is misleading. We feel the list is now of diminished
usefulness and are removing it.
== Proposed fix ==
Use a feature flag currently tied to the malone-alpha team to suppress
the generation of that portion of the portlet.
== Pre-implementation notes ==
Chat with Gary and Benji.
== Implementation details ==
Some changes were made to other parts of the test for clarity regarding
the use of feature flags.
== Tests ==
bin/test -vvm lp.bugs -t test_bugscripti
== Demo and Q/A ==
= Launchpad lint =
I'll fix the lint.
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
./lib/lp/
190: local variable 'level' is assigned to but never used
210: local variable 'level' is assigned to but never used
235: local variable 'level' is assigned to but never used
269: local variable 'subscription' is assigned to but never used
340: local variable 'subscribe_view' is assigned to but never used
361: local variable 'subscribe_view' is assigned to but never used
450: local variable 'sub' is assigned to but never used
500: local variable 'mute_view' is assigned to but never used
Great, thank you Brad!
Per our discussion on IRC:
- We agreed that the comment on line 206 is wrong ("# Subscribe someone to the target.") Please move or delete it.
- Calculating also notified subscribers can be expensive; if we don't render it, let's not calculate it.
Gary