Merge lp:~barry/launchpad/440220-slot into lp:launchpad
Proposed by
Barry Warsaw
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp:~barry/launchpad/440220-slot | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
38 lines 2 files modified
lib/canonical/launchpad/icing/style-3-0.css (+7/-1) lib/lp/app/templates/base-layout-macros.pt (+2/-2) |
||||
To merge this branch: | bzr merge lp:~barry/launchpad/440220-slot | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | ui | Approve | |
Michael Nelson (community) | ui | Approve | |
Abel Deuring (community) | code | Approve | |
Review via email: mp+12786@code.launchpad.net |
To post a comment you must log in.
reviewer adeuring code
reviewer michael.nelson ui
reviewer rockstar ui
= Summary =
Bug 440220 describes an annoying problem with the interaction between the
registering slot and the application tabs. The registering slot is where
information, such as who reported a bug and when, goes. The app tabs are the
"Overview, Branches..." facet links that appear at the top of the page.
If the registering slot contents are long, they'll overrun the tabs and cause
them to wrap.
== Proposed fix ==
Tweak the CSS to nowrap the app tabs, and bump the registering slot down a bit
so even long contents won't overrun the tabs.
== Pre-implementation notes ==
None too much, though I had several discussions with Michael and Paul tweaking
the specifics of the ui changes.
== Implementation details ==
The only implementation detail of note is that I had to add a CSS class called
'facetmenu' to the <ul> which contains the app tabs. Then I was able to apply
a white-space: nowrap to that class.
== Tests ==
None, this is only a visible change.
== Demo and Q/A ==
In various browsers with windows of various widths, visit these pages:
* https:/ /bugs.launchpad .dev/firefox/ +bug/1 /bugs.launchpad .dev/firefox
* https:/
You can also try changing name12's display name to something insanely long and
visit the same pages to see that they still look good.
These are captured in screenshots on the bug report. The images in comments
13 through 16 are from the changes under review:
* http:// launchpadlibrar ian.net/ 32863199/ ff-2em. png launchpadlibrar ian.net/ 32863206/ ff-bug- 2em.png launchpadlibrar ian.net/ 32863216/ opera-ff- 2em.png launchpadlibrar ian.net/ 32863217/ opera-ff- bug-2em. png
* http://
* http://
* http://
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: app/templates/ base-layout- macros. pt /launchpad/ icing/style- 3-0.css
lib/lp/
lib/canonical