When selecting "Block" from the "Add a Reaction" pulldown, the right-most list is vertically center-aligned in its table cell, has a height of 20em, and does not alphabetically display options (though the parent groups are alphabetical).

This makes the interface difficult to work with, particularly when operating on larger sites.

Comments

joecrespo’s picture

joecrespo’s picture

Status: Active » Needs review
joecrespo’s picture

Modified name to fit Drupal guidelines:
[project_name]-[short-description]-[issue-number]-[comment-number].patch

joecrespo’s picture

Patch re-uploaded without .zip compression (still learning the ropes here).

greggles’s picture

Title: Context UI: Block Reaction: Display issues on right column list » Context UI: Block Reaction: Make more blocks visible in the list, make it easier to find/select blocks

More accurate title.

@jcrespo - would be great to post a before/after screenshot of this idea so it can easily be evaluated.

It also seems like this hunk isn't relevant to what you described:

+      asort($form['selector'][$group]['#options']);

Is that for #2028185: <select> list on admin/structure/ds/fields/manage_block is not sorted by alpha?

joecrespo’s picture

Added the ability to drag/drop blocks into regions.

joecrespo’s picture

StatusFileSize
new233.21 KB

Attached image demonstrates the before and after. Thanks for the suggestion @greggles

joecrespo’s picture

@greggles, I submitted a similar patch to Display Suite, @swentel says he's going to commit it shortly.

tekante’s picture

The patch in #6 did not apply for me so I've rerolled it with a few adjustments:
* left a max height on the overall block list as sites with large numbers of blocks would see an unbounded list
* used the drupal.behaviors mechanism for making the block options draggable

tekante’s picture

Category: bug » feature
joecrespo’s picture

Thanks!

kendouglass’s picture

Very nice. Thanks tekante.
The drag/drop doesn't work for me but fixing the limited height scrolling is great.

damienmckenna’s picture

Assigned: joecrespo » Unassigned
Issue summary: View changes