Merge lp:~sinzui/launchpad/edit-question-bug-210312 into lp:launchpad
Proposed by
Curtis Hovey
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Aaron Bentley | ||||||||||||
Approved revision: | not available | ||||||||||||
Merged at revision: | not available | ||||||||||||
Proposed branch: | lp:~sinzui/launchpad/edit-question-bug-210312 | ||||||||||||
Merge into: | lp:launchpad | ||||||||||||
Diff against target: |
333 lines (+86/-60) 7 files modified
lib/lp/answers/browser/question.py (+11/-12) lib/lp/answers/browser/tests/views.txt (+31/-12) lib/lp/answers/interfaces/faq.py (+2/-2) lib/lp/answers/interfaces/question.py (+1/-1) lib/lp/answers/stories/question-subscriptions.txt (+24/-24) lib/lp/answers/stories/this-is-a-faq.txt (+6/-2) lib/lp/answers/templates/question-subscription.pt (+11/-7) |
||||||||||||
To merge this branch: | bzr merge lp:~sinzui/launchpad/edit-question-bug-210312 | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+15695@code.launchpad.net |
To post a comment you must log in.
This is my branch to fix some simple issues with Launchpad Answers.
lp:~sinzui/launchpad/edit-question-bug-210312 /bugs.launchpad .net/bugs/ 210312 /bugs.launchpad .net/bugs/ 275475 /bugs.launchpad .net/bugs/ 386158 subscriptions implementation: no one
Diff size: 334
Launchpad bug: https:/
https:/
https:/
Test command: ./bin/test -vv \
-t answers.*views.txt
-t question-
-t this-is-a-faq
Pre-
Target release: 3.1.12
= Fix some simple issues with Launchpad Answers =
Bug 210312 [cannot edit the language of the question]
The question +edit page only shows the user's preferred languages. It
must show all languages so that the user can fix the language.
Bug 275475 [launchpad displays the hint for subscribing when i click on
unsubscribe]
The paragraph talks about subscribing, but the action is unsubscribing.
Bug 386158 [confusingly redundant fields in create faq page]
There are two textareas, each of which seems to want the answer to the faq.
== Rules ==
Bug 210312 [cannot edit the language of the question] LanguageMixin and use the interface's
* Remove the QuestionSupport
language
Bug 275475 [launchpad displays the hint for subscribing when i click on
unsubscribe]
* Add a condition to the template to select the right paragraph to show.
Bug 386158 [confusingly redundant fields in create faq page]
* Revise the field labels and hints to distinguish between the FAQ and
the question the user is answering.
== QA ==
Bug 210312 [cannot edit the language of the question]
* Edit a question on edge.
* Verify the language choice contains every language registered in
Launchpad.
Bug 275475 [launchpad displays the hint for subscribing when i click on
unsubscribe]
* Choose the subscribe link on a a question.
* Verify the link to your subscriptions page actually goes to your
subscription page.
* Choose the Subscribe button
* Choose the Unsubscribe link
* Verify that the paragraph talks about the consequence of unsubscribing.
Bug 386158 [confusingly redundant fields in create faq page]
* Choose create a new FAQ link from any question.
* Verify the FAQ field speak of "this FAQ".
* Verify the last field labeled "Additional comment for question #..."
== Lint ==
Linting changed files: answers/ browser/ question. py answers/ browser/ tests/views. txt answers/ interfaces/ faq.py answers/ interfaces/ question. py answers/ stories/ question- subscriptions. txt answers/ stories/ this-is- a-faq.txt answers/ templates/ question- subscription. pt
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Test ==
* lib/lp/ answers/ browser/ tests/views. txt unsubscribe were created for the automated rules. answers/ stories/ question- subscriptions. txt
* Modernised part of the test--they predated LaunchpadFormView
* Added label and page_title tests to verify that sane fragments
for subscribe/
* Verified that the QuestionEdit form uses the LanguageVocabulary.
* lib/lp/
* Removed some cruft from the story.
* Revised the story to verify the links in the subscr...