Merge lp:~sinzui/launchpad/headings-and-words-0 into lp:launchpad
| Status: | Merged | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Merged at revision: | 11919 | ||||||||||||||||
| Proposed branch: | lp:~sinzui/launchpad/headings-and-words-0 | ||||||||||||||||
| Merge into: | lp:launchpad | ||||||||||||||||
| Diff against target: |
363 lines (+127/-84) 9 files modified
lib/lp/registry/browser/team.py (+2/-0) lib/lp/registry/browser/tests/product-portlet-packages-view.txt (+6/-4) lib/lp/registry/browser/tests/test_product.py (+37/-5) lib/lp/registry/browser/tests/test_team.py (+70/-1) lib/lp/registry/stories/product/xx-product-index.txt (+2/-2) lib/lp/registry/stories/teammembership/xx-add-member.txt (+0/-67) lib/lp/registry/templates/person-editpgpkeys.pt (+6/-2) lib/lp/registry/templates/product-new.pt (+3/-2) lib/lp/registry/templates/product-portlet-packages.pt (+1/-1) |
||||||||||||||||
| To merge this branch: | bzr merge lp:~sinzui/launchpad/headings-and-words-0 | ||||||||||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Abel Deuring (community) | code | 2010-11-11 | Approve on 2010-11-12 |
|
Review via email:
|
|||
Description of the Change
This is my branch to fix some text issues in Launchpad registry pages.
lp:~sinzui/launchpad/headings-and-words-0
Diff size:
Launchpad bug:
https:/
https:/
https:/
https:/
Test command: ./bin/test -vv \
-t product-
-t TestProductAddView \
-t TestTeamMemberA
Pre-
Target release: 10.11
Fix some text issues in Launchpad registry pages
-------
652039 Project page implies "Squeeze" and "Lenny" are Ubuntu version
The "Packages in Distributions" portlet was changed to say "Ubuntu"
to support the Ubuntu suggestions feature. But the listing of
packages can always includes debian packages.
282980 Register project suggests that I use staging when I am using staging
This is a regressing. We lot the is_demo check
672735 odd phrasing on +editgpgkeys
The phrasing about deactivating a key does not clearly state that this
only affects Launchpad.
244553 "New member" field is confusingly pre-filled after use
After adding a member, the form is redisplayed with the new member field
prefilled with the new member. The field should be cleared so that the
form can be reused.
Rules
-----
652039 Project page implies "Squeeze" and "Lenny" are Ubuntu version
Change portlet heading back to Distributions. The Ubuntu suggestions
feature is not contradictory.
282980 Register project suggests that I use staging when I am using staging
Add an is_demo check to the template and a tests to ensure it is not
lost again
672735 odd phrasing on +editgpgkeys
Used the proposed text which clearly states deactivating a key only
affects Launchpad.
244553 "New member" field is confusingly pre-filled after use
I wanted to set the next_url to the team page, but users still use
the form to add members in succession. The action must reset the widget's
value so that the field is ready to be reused.
QA
--
652039 Project page implies "Squeeze" and "Lenny" are Ubuntu version
* Visit https:/
* Verify the portlet says "Packages in Distributions":
282980 Register project suggests that I use staging when I am using staging
* visit staging.
* Verify you are not direct to register test projects on staging.
672735 odd phrasing on +editgpgkeys
* Visit your +editgpgkeys and verify this text:
Note: deactivating a key in Launchpad disables all Launchpad features
that use that key such as signed codes of conduct. Deactivating the key
in Launchpad does not alter the key outside of Launchpad.
244553 "New member" field is confusingly pre-filled after use
* Visit the +addmember form for a team you admin.
* Add a member
* Verify the notification says the user was added and that the field
is empty.
Lint
----
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
Test and Implementation
-------
652039 Project page implies "Squeeze" and "Lenny" are Ubuntu version
Used find and replace to restore "Packages in Distributions"
* lib/lp/
* lib/lp/
* lib/lp/
282980 Register project suggests that I use staging when I am using staging
Added a test to verify the staging message is not shown when registering
a project on staging.
* lib/lp/
* lib/lp/
672735 odd phrasing on +editgpgkeys
Revised the sentence.
* lib/lp/
244553 "New member" field is confusingly pre-filled after use
Added a test to verify that the newmember field is cleared when a member
is added, then updated the view code. Converted 3 bad stories into
unittests.
* lib/lp/
* lib/lp/
* lib/lp/

nice work