Merge lp:~sinzui/launchpad/ask-a-question-bug-438467 into lp:launchpad
Proposed by
Curtis Hovey
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~sinzui/launchpad/ask-a-question-bug-438467 |
Merge into: | lp:launchpad |
Diff against target: |
75 lines (+17/-12) 3 files modified
lib/lp/answers/browser/questiontarget.py (+10/-7) lib/lp/answers/stories/question-add.txt (+6/-0) lib/lp/answers/templates/question-listing.pt (+1/-5) |
To merge this branch: | bzr merge lp:~sinzui/launchpad/ask-a-question-bug-438467 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Canonical Launchpad Engineering | ui code | Pending | |
Review via email: mp+14766@code.launchpad.net |
To post a comment you must log in.
This is my branch to solve 1.0 action buttons must die die die.
lp:~sinzui/launchpad/ask-a-question-bug-438467 /bugs.launchpad .net/bugs/ 438467 implementation: no one
Diff size: 76
Launchpad bug: https:/
Test command: ./bin/test -vvt "question-add"
Pre-
Target release: 3.1.11
= 1.0 action buttons must die die die =
The 1.0 - 2.0 Ask a question button should be replaced with the 3.0 Ask a
question involvement menu. I imaging this should be the same way the Report a
bug was added tot he bug listing.
== Rules ==
* Updated the markup for the +ask-a- question- button to return the people. canonical. com/~curtis/ ask-a-question. png
involvement style menu.
* See http://
== QA ==
* Visit the answers host for any project.
* Verify that the 1.0 button is gone.
* Verify there is an Ask a question link in the involvement menu.
== Lint ==
Linting changed files: answers/ browser/ questiontarget. py answers/ stories/ question- add.txt answers/ templates/ question- listing. pt
lib/lp/
lib/lp/
lib/lp/
== Test ==
* lib/lp/ answers/ stories/ question- add.txt
* Add an explicit test for the involvement menu. The other tests were
implicit and since we added the create a question link to the menu in
3.0, it was no longer clear of the button was still on the page.
== Implementation ==
* lib/lp/ answers/ browser/ questiontarget. py answers/ templates/ question- listing. pt
* Updated the markup of the +ask-a-question view's __call__ method.
* lib/lp/
* Moved the call to +ask-a-question from the content to the side bar.