API for shortcut blocks

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

Bug Description

As part of Bug #1181010 we put the "text" and "image" blocks on the top of the block picker for easy access. But, we actually just hard-coded them in there. It'd be better if we did this via an API. I propose adding a blocktype category "shortcut", for the blocks that go on the top of the block picker.

Aaron Wells (u-aaronw) wrote :

Reviewed: https://reviews.mahara.org/3943
Committed: http://gitorious.org/mahara/mahara/commit/c098b01b69286b1a9ef28f6ddb08ea308d620c4c
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit c098b01b69286b1a9ef28f6ddb08ea308d620c4c
Author: Aaron Wells <email address hidden>
Date: Fri Nov 7 19:46:09 2014 +1300

Put blocks in "shortcut" category to put them at top of the block picker

Bug 1390339: Before, we had hard-coded the "image" and "text" blocks into
the top of the block picker. With this change, a block developer can
just give their blocktype the category "shortcut" and it will show up there.

Change-Id: Ibaafc481745dd290442aa125b637394084705b00

Robert Lyon (robertl-9) on 2014-11-11
Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
Robert Lyon (robertl-9) on 2015-04-17
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