Cleanup portlet styling and markup

Bug #599522 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
JimPGlenn

Bug Description

As we found in My Communities, the portlet markup and styling is too clever. It got fragile and complex with hacks to overcome hacks.

In this task, find other portlets (such as My Tags on profile, the Related Tags tagbox on viewing a tag, etc.) and clean up the markup and styling:

1) Find all the boxes using that "tag_page_side" class.

2) Stop using the <dl> approach.

3) Convert the #my-communities-portlet identifier to something generic that can apply across other portlets.

4) Make sure no JS anticipated using it.

5) Reduce the CSS if possible. Don't leave fossils behind.

6) Make the <h3> title on the box centered, with less padding above/below to save space.

7) Try to get a little whitespace on the left, so text such as the bio or the communities listing don't run right into the left border of the box.

8) Consider use of alternating row color to make separation between community names easier. If this works, decrease the padding between rows to fit more on the screen at once.

9) Other suggestions from the screencast I sent Chrissy: http://www.screencast.com/t/ZTk0ODNiYTY

Estimated effort: 5 hours

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

We just started m43, so I'll put this in m44.

Changed in karl3:
assignee: nobody → Carlos de la Guardia (cguardia)
importance: Undecided → Low
milestone: none → m44
status: New → Confirmed
description: updated
description: updated
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Re-assigning this to Chrissy. I'll post some comments in just a second.

Changed in karl3:
assignee: Carlos de la Guardia (cguardia) → Chrissy Wainwright (chrissy)
milestone: m44 → m43
Revision history for this message
Carlos de la Guardia (cguardia) wrote :

The current my communities portlet is not using dl anymore and may serve as a basis for this. I abandoned the 'tag-page-side' class and added a generic-portlet class, together with portlet-item, portlet-help and others. The 'my-communities-list' div inside the communities portlet is the one used by js.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Hi Chrissy. On this one, OSI will need to review any really big changes, such as alternating colors. So for the first step, take the structure Carlos did for my-communities-portlet and try to get that woven into any other portlets. As noted in the task, grep for tag_page_side in the ZPTs.

Revision history for this message
Chrissy Wainwright (chrissy) wrote :

all portlets and their surrounding space should all be the same now. I removed the CSS that is now no longer used.

Changed in karl3:
assignee: Chrissy Wainwright (chrissy) → Paul Everitt (paul-agendaless)
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Assigning back to Chrissy. The other portlets are not formatted at all, at least not in IE7 on osi.staging.sixfeetup.com which was updated from trunk. I'll attach a screenshot in a second.

Changed in karl3:
assignee: Paul Everitt (paul-agendaless) → Chrissy Wainwright (chrissy)
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

This screenshot shows "My Tags" on the "MY PROFILE" screen in IE7. The same problem exhibits itself on other boxes, such as viewing a tag:

  http://staging.osi.sixfeetup.com/showtag/advocacy

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Seems staging wasn't completely restarted, looks fine now. Assigning to JimP who can do testing after we update.

Changed in karl3:
assignee: Chrissy Wainwright (chrissy) → JimPGlenn (jpglenn09)
status: Confirmed → Fix Committed
Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.