Merge lp://staging/~gary/launchpad/bug-772763-remove-unmute-dialog into lp://staging/launchpad/db-devel

Proposed by Gary Poster
Status: Merged
Approved by: Brad Crittenden
Approved revision: no longer in the source branch.
Merged at revision: 10583
Proposed branch: lp://staging/~gary/launchpad/bug-772763-remove-unmute-dialog
Merge into: lp://staging/launchpad/db-devel
Prerequisite: lp://staging/~danilo/launchpad/bug-772763-remove-unmute-dialog
Diff against target: 28 lines (+8/-7)
1 file modified
lib/lp/bugs/javascript/bugtask_index_portlets.js (+8/-7)
To merge this branch: bzr merge lp://staging/~gary/launchpad/bug-772763-remove-unmute-dialog
Reviewer Review Type Date Requested Status
Brad Crittenden (community) code Approve
Review via email: mp+61806@code.staging.launchpad.net

Commit message

[r=bac][bug=772763] Include JS to be able to unmute without a dialog, simply restoring the previous subscription.

Description of the change

This branch addresses the review comments from https://code.launchpad.net/~danilo/launchpad/bug-772763-remove-unmute-dialog/+merge/61780 to handle the case when an unmute moves the subscriber list from "no subscribers" to showing a subscriber. Before, the unmuted subscriber would be shown in addition to "no subscribers". Now, "no subscribers" disappears when appropriate.

I added a green flash to any newly added item in the subscriber list because it made this particular case look better balanced (since muting also uses a green flash on the muted subscriber) and because I thought it was generally appropriate for our UI patterns.

Thank you

Gary

To post a comment you must log in.
Revision history for this message
Brad Crittenden (bac) wrote :

Thanks for the fix and explanation Gary.

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: