Make block title retract/expand collapsible blocks

Bug #1337013 reported by Aaron Wells on 2014-07-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aaron Wells

Bug Description

This is a feature suggestion from SWITCH in Switzerland.

1. Create a page
2. Put a collapsible block on the page
3. View the page
4. Try to click on the block title to expand/collapse the block

Desired result: It should expand/collapse the block

Actual result: It either does nothing, or if the block is an artefact block that makes its title into a link, it takes you to the artefact detail page.

The current behavior is rather non-intuitive. In most other websites with collapsible sections, the section title can be clicked on to expand/collapse the section. Currently in Mahara, only the arrow icon does the job. And the case where it takes you to the artefact detail page is extra bad, because the user wasn't trying or expecting to leave the current page.

Aaron Wells (u-aaronw) on 2014-07-03
Changed in mahara:
importance: Undecided → Wishlist
status: New → In Progress
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch:

Aaron Wells (u-aaronw) wrote :

This is a tricky one, because of those blocks with the artefact detail page linked in the block title. We need to make the artefact detail page accessible, because that's where artefact comments and the "report objectionable" link are. But at the same time, making the title a link is no good, because users expect to be able to click on it to expand/collapse the block.

Ultimately, after consulting with Evonne, we decided that the best thing to do would be to move the link to a non-intrusive little magnifying glass icon next to the title. I considered doing this only for collapsible blocks (because the title link doesn't pose a problem for non-collapsible blocks), but that made for an inconsistent and confusing experience. So instead, the magnifying glass is now there for all blocks that have a "title link".

I've pushed a series of commits to implement this.

Submitter: Ghada El-Zoghbi (<email address hidden>)
Branch: master

commit a91ae60d195a4e1ea9cde60dcf4d02a989ecb2e0
Author: Aaron Wells <email address hidden>
Date: Thu Jul 3 12:13:30 2014 +1200

Move block detail link to an icon instead of the title

Bug 1337013

Change-Id: I1f0537a4c9a4eff427555751aa3215247ffade28

Mahara Bot (dev-mahara) wrote :

Submitter: Ghada El-Zoghbi (<email address hidden>)
Branch: master

commit d3f8be0caa6e4f66f615e0f69dfe6e5d6186e789
Author: Aaron Wells <email address hidden>
Date: Thu Jul 3 12:14:24 2014 +1200

Make block title clickable to collapse/expand blocks

Bug 1337013

Change-Id: Ibb3c54e62830b74e50f3bf02053c47dd2d4123f6

Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
Aaron Wells (u-aaronw) on 2014-10-21
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers