Remember expanded/collapsed portlet states with cookies

Bug #83615 reported by Matthew Paul Thomas
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
James Henstridge

Bug Description

When you expand or collapse a portlet, we could use JavaScript to set a cookie that remembers the expanded/collapsed state and renders the same portlet the same way on later pages. (Idea from Stuart Bishop.)

Not to be confused with bug 84328 (Let some portlets default to expanded state) and bug 88342 (All portlets should be expanded by default).

Kees Cook (kees)
Changed in launchpad:
status: Unconfirmed → Confirmed
Revision history for this message
Chris Rose (chris-vault5) wrote :

I think this is pretty important. Either this, or default some portlets to be uncolapsed.

It is really annoying to expand the 'Bug Details' & 'Subscriber' portlets for each bug page that I view. It makes triaging bugs that little bit more tedious and we need to be encouraging people to do it by making it easier :-)

description: updated
Revision history for this message
Wouter van Heyst (larstiq) wrote :

The collapsing of Bug Details by default is really annoying. The new UI has been rolled out with that gripe in place, will it be fixed soon?

Revision history for this message
Wouter van Heyst (larstiq) wrote :

Feh, I meant to comment on bug 84328 but got lost in the maze.

Revision history for this message
Sam Brightman (sambrightman) wrote :

I agree - this is incredibly annoying. Vertical space may be an issue for some users with lower resolution/smaller displays, so maybe all open by default would be just as annoying for them? Also, for logged in users, the preferences could surely be stored server-side, without necessitating cookies.

Revision history for this message
James Henstridge (jamesh) wrote :

I've got a branch that redoes the portlet JS to remember the expansion state in a cookie. It isn't complete yet, since it requires ID attributes on the portlets to identify them.

Changed in launchpad:
assignee: nobody → jamesh
status: Confirmed → In Progress
Revision history for this message
James Henstridge (jamesh) wrote :

Fix merged as r4718. This will be available in the 1.1.8 release.

Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
James Henstridge (jamesh) wrote :

Fix has been rolled out

Changed in launchpad:
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.