Merge lp://staging/~gary/launchpad/bug750561-2 into lp://staging/launchpad/db-devel

Proposed by Gary Poster
Status: Merged
Approved by: Gary Poster
Approved revision: no longer in the source branch.
Merged at revision: 10421
Proposed branch: lp://staging/~gary/launchpad/bug750561-2
Merge into: lp://staging/launchpad/db-devel
Prerequisite: lp://staging/~gary/launchpad/bug750561-2-base-merge
Diff against target: 135 lines (+60/-7)
2 files modified
lib/lp/registry/javascript/structural-subscription.js (+19/-5)
lib/lp/registry/javascript/tests/test_structural_subscription.js (+41/-2)
To merge this branch: bzr merge lp://staging/~gary/launchpad/bug750561-2
Reviewer Review Type Date Requested Status
Benji York (community) code Approve
Review via email: mp+57216@code.staging.launchpad.net

Commit message

[r=benji][bug=750561] add a spinner for when you mute a structural subscription.

Description of the change

This branch adds an activity indicator (spinner) to the team structural subscription per-person "mute" UI. It is a follow-on to https://code.launchpad.net/~gary/launchpad/bug750561/+merge/57195 which adds spinners for adding, editing, and deleting. This is done separately because the muting functionality is only in db-devel.

This branch has a dependency on that previous branch. I merged it into db-devel and resolved conflicts in order to give this MP a clean diff.

In the tests, as with the previous branch, I cleaned up and normalized our use of "simulate" as part of the work.

To look at the effects, follow these instructions http://pastebin.ubuntu.com/592749/ and then add a subscription for a team. The new subscription will allow you to change whether you personally receive these messages. Toggling this value will briefly show the spinner.

To QA, make sure you are in a team that has access to the feature-flagged UI (or simply be happy that it is behind feature flags, and move on).

To post a comment you must log in.
Revision history for this message
Benji York (benji) wrote :

This branch looks good.

Unlike some of the other string constants in this file, I like the use
of descriptive names for the muted and unmuted CSS classes.

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: