Merge lp:~wallyworld/launchpad/infotype-widget-1007984 into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 15361 | ||||
| Proposed branch: | lp:~wallyworld/launchpad/infotype-widget-1007984 | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
274 lines (+71/-28) 5 files modified
lib/lp/app/javascript/choice.js (+4/-4) lib/lp/bugs/javascript/bug_subscription_portlet.js (+4/-2) lib/lp/bugs/javascript/information_type_choice.js (+27/-8) lib/lp/bugs/javascript/tests/test_information_type_choice.html (+2/-0) lib/lp/bugs/javascript/tests/test_information_type_choice.js (+34/-14) |
||||
| To merge this branch: | bzr merge lp:~wallyworld/launchpad/infotype-widget-1007984 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Steve Kowalik (community) | code | 2012-06-05 | Approve on 2012-06-05 |
|
Review via email:
|
|||
Commit Message
Improve bug info type popup widget - add error display amd progress spinner.
Description of the Change
== Implementation ==
1. Implement the showError and handleError methods on the error handler object.
2. Wire up the spinner.
3. Render both the new value and description test when thepopup widget is clicked and reset back if there is an error.
== Tests ==
Update the relevant yui tests. In particular, add a new test to check that the behaviour when an error occurs is as expected.
Also, the tests as written had an issue in that they were failing to disable the animation on the subscribers portlet. This lead to null exceptions and browser issues when running the tests. So I added code to do the correct thing.
== Lint ==
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/

Looks good. I'm glad some of the bugs are contained within ChoiceSource itself.