Merge lp:~thumper/launchpad/choice-widget into lp:launchpad
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12567 |
Proposed branch: | lp:~thumper/launchpad/choice-widget |
Merge into: | lp:launchpad |
Diff against target: |
448 lines (+180/-124) 11 files modified
lib/canonical/launchpad/icing/style-3-0.css.in (+1/-1) lib/lp/app/browser/lazrjs.py (+37/-0) lib/lp/app/doc/lazr-js-widgets.txt (+57/-0) lib/lp/app/javascript/choice.js (+39/-12) lib/lp/app/templates/enum-choice-widget.pt (+17/-0) lib/lp/code/browser/branch.py (+5/-10) lib/lp/code/javascript/branch.status.js (+0/-49) lib/lp/code/stories/branches/xx-branch-edit.txt (+1/-1) lib/lp/code/templates/branch-index.pt (+0/-2) lib/lp/code/templates/branch-information.pt (+1/-9) lib/lp/code/windmill/tests/test_branch_status.py (+22/-40) |
To merge this branch: | bzr merge lp:~thumper/launchpad/choice-widget |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Binns (community) | code | Approve | |
Review via email: mp+52357@code.launchpad.net |
Commit message
[r=gmb][bug=731629] Create an EnumChoiceWidget and use it on the branch page.
Description of the change
Call this a tech-debt removal branch, in that we have too much
specific javascript for simply updating an enum field.
A new widget is created to our bucket of widgets: EnumChoiceWidget.
As a proof of concept, the branch status update is changed to
use this new widget.
To post a comment you must log in.