Muting a bug should have a non JS fallback
Bug #734732 reported by
Graham Binns
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Graham Binns |
Bug Description
Once the work on bug 204980 is complete we need to add a non-JS fallback for the Mute / Unmute bug functionality.
This might be a good time to consolidate all of the mute / unmute logic into a couple of server-side methods which the JS implementation can call via the API (e.g. IBug.mute(user) and IBug.unmute(user)). This would allow us to make changes to the way that muting and unmuting works without having to do too much work on the JS side of things.
Related branches
lp:~gmb/launchpad/non-js-muting-bug-734732
- Brad Crittenden (community): Approve (code)
-
Diff: 170 lines (+110/-3)5 files modifiedlib/lp/bugs/browser/bug.py (+1/-3)
lib/lp/bugs/browser/bugsubscription.py (+34/-0)
lib/lp/bugs/browser/configure.zcml (+6/-0)
lib/lp/bugs/browser/tests/test_bugsubscription_views.py (+37/-0)
lib/lp/bugs/templates/bug-mute.pt (+32/-0)
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r12624 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12624>.