Comments

joachim’s picture

Status: Active » Needs review
StatusFileSize
new410 bytes

Here's a patch.

It just removes a max-height. Is there a purpose to this that I'm not seeing?

hefox’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Category: bug » feature
Status: Needs review » Needs work

If a single module provides a huge amount of blocks it will make finding blocks by other modules as keep having to scroll past alll these blocks by that module.

That ui really sucks for huge amount of blocks as is, this would make it worse. Not sure of a better ui.

joachim’s picture

One scrollable inside another is pretty unusable UI -- something that's hardly ever seen on the web I think. It means your scroll wheel does unpredictable things. Moreover, having one scrollbar right next to the other makes it hard to aim for one of them.

How about collapsible fieldsets?

hefox’s picture

The ui of features/context ui in general is :(.

How about how views does it for fields/arguments/etc? Module drop down at top that filters the list :O! Worked well for views, imo.

fxarte’s picture

Some UI improvement, although not exactly views UI dropdown type, but using collapsible field-sets. It includes the patch from #1

fxarte’s picture

Status: Needs work » Needs review
hefox’s picture

Your patch is 404ing o.O

fxarte’s picture

Let's see now.

There seems to be a bug, or url encoding missing on drupal.org file upload functionality. Because added the "#" character the file link is not being interpreted completely, if you replace the hash with "%23", you'll get the file.
Also, I will avoid using the hash character in the file names in the future.
this is the link:
http://drupal.org/files/context.context_ui_blocklist-1077300-%235.patch

fxarte’s picture

Status: Needs review » Fixed
hefox’s picture

why list this as fixed?

mraichelson’s picture

Just to tack another note onto this one, based on how OS X Lion does it's scrollbar behaviors by default (show no scrollbars, only show them when scrolling) this interface becomes a very difficult thing to try to use on Lion.

fxarte’s picture

Status: Fixed » Needs review

Hi hefox, it is not fixed, I just did it to reassign the ticket back to you. I could not find another way to notifying you.
I should've added this comment right away, my bad.

fxarte’s picture

New version of patch #8, with some UI improvements:

  • Excluding patch from #1.
  • Adding vertical-align:top to #context-blockform td.selector.
  • Removing height style declaration on: #context-blockform .context-blockform-selector to allow the block list grow automatically.
wbobeirne’s picture

Status: Needs review » Reviewed & tested by the community

#13 is a solid patch, the only drawback is the lack of ctrl+f to find a block because all the fields are collapsed, but that's a small price for the improved readability.

bfr’s picture

My alternative:
http://drupal.org/node/1463834 (patch for context)
http://drupal.org/project/context_accordion (separate helper module if you dont want to patch)

The thinking is similar but uses JQuery UI accordion instead. I Also tried to put some thinking to the CSS styling instead of just changing the technical side of the form elements.

Context accordion

kclarkson’s picture

@bfr

Thank you for taking the time to do this. context is MUCH better to use !!!

tim.plunkett’s picture

Issue summary: View changes

Fixing input format so anyone can edit.

colan’s picture

Status: Reviewed & tested by the community » Fixed

Committed in 864eb92.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.