Merge lp:~bac/launchpad/bug-421986-team-list-pages into lp:launchpad
Proposed by
Brad Crittenden
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Eleanor Berger | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~bac/launchpad/bug-421986-team-list-pages | ||||
Merge into: | lp:launchpad | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp:~bac/launchpad/bug-421986-team-list-pages | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Albisetti (community) | ui | Approve | |
Eleanor Berger (community) | Approve | ||
Review via email: mp+11672@code.launchpad.net |
To post a comment you must log in.
= Summary =
Bug 421986 list three team pages that need mechanical updates for UI 3.0.
== Proposed fix ==
Provide changes to fulfill the new UI requirements.
== Pre-implementation notes ==
N/A
== Implementation details ==
* team-mailinglis t-subscribers. pt SubscribersView as 'label'. column- list in the CSS if that is desired. The current
* Convert to use main_only layout.
* Move page title into the TeamMailingList
* Leave the hand-crafted table construction in the view since it
uses a four column presentation. I could create a
four-
approach works so I prefer to keep these changes minimal.
* team-mailinglis t-moderate. pt ListModerationV iew keep the existing 'label'.
* Convert to use main_only layout.
* Remove page title from pagetitles.py. In
TeamMailing
* teammembership- invitation. pt
* Convert to use main_only layout.
* Move the pagetitle from pagetitles.py as 'label' and make
page_title be a synonym for it. I *thought* having page_title was
not going to be required after Barry's changes but it is for this
view.
== Tests ==
bin/test -vvm lp.registry -t stories/ mailinglists/ subscriptions. txt \ mailinglists/ moderation. txt
-t stories/
== Demo and Q/A ==
Screenshots are available at people. canonical. com/~bac/ bug-421986- team-list- pages/
http://
* As Mark, go to https:/ /launchpad. dev/~hwdb- team/+addmember and add spanish- team' /launchpad. dev/~testing- spanish- team/+invitatio n/hwdb- team
'testing-
Then go to:
https:/
* Go to https:/ /launchpad. dev/~testing- spanish- team/+mailing- list-subscriber s
Note I for the screenshot I created a large team with lots of
subscribers *and* hacked the dev config to use a batching size of 50
(same as in production) rather than the normal 5 in the development
environment. (If you'd like my script for creating the team with
mailing list subscribers using launchpadlib let me know.)
Also note I am unhappy that the default batch size is 50 but we're
using four columns, so a full page will not have four full columns.
I could do some higher math based on the default batch size and set
a lower custom size for this view but haven't done so yet as it
seems outside the scope of these "mechanical" changes.
* Go to /launchpad. dev/~testing- spanish- team/+mailingli st-moderate
https:/
Creating sample data was painful and done by hand based on the
moderation.txt test.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: registry/ stories/ mailinglists/ moderation. txt registry/ stories/ mailinglists/ subscriptions. txt /launchpad/ pagetitles. py registry/ templates/ team-mailinglis t-moderate. pt registry/ browser/ team.py registry/ templates/ team-mailinglis t-subscribers. pt registry/ templates/ teammembership- invitation. pt registry/ browser/ person. py
lib/lp/
lib/lp/
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ registry/ browser/ person. py
119: [F0401] Unable to import 'lazr.delegates' (No module named delegates)
120: [F0401] Unable to import 'lazr.config' (No module named config)
121: [F0401] ...