Shorten the block configuration page

marco.robotangel - December 18, 2007 - 23:47
Project:Drupal
Version:7.x-dev
Component:block.module
Category:task
Priority:normal
Assigned:andreashaugstrup
Status:patch (code needs review)
Description

Steps to reproduce: Try to configure a block.

The block configuration page is way too big. All those options are, especially for newbies, just overwhelming. The suggestion made at [1] is to shorten the page by collapsing 'role' and 'page specific visibility settings'. This would shorten the page a lot.

[1] http://groups.drupal.org/node/7043

#1

Bevan - January 7, 2008 - 04:55

tag for newbie

#2

andreashaugstrup - January 31, 2008 - 20:12
Assigned to:Anonymous» andreashaugstrup
Status:active» patch (code needs review)

I'm certainly a newbie. I have attached a patch that collapses the role visibility and page specific visibility fieldsets (setting collapsed to TRUE in the form definition in block.admin.inc).

AttachmentSize
block_config_shorten.patch906 bytes

#3

Pancho - February 1, 2008 - 08:21

In the contrary to #202548, I'm not having major headaches with this. I'm just asking myself: Why do we collapse role and page visibility fieldsets and have the user specific visibility fieldset open. But I think it is okay this way.

#4

andreashaugstrup - February 1, 2008 - 21:54

I assumed the user specific visibility would be used much more often than the other two.

#5

Bevan - February 1, 2008 - 22:42

Applies cleanly. Code style is good.

I assumed the user specific visibility would be used much more often than the other two.

We don't know this and have no easy way of finding out. Usability testing of this wouldn't give useful data because the result would be dependent on the task.

However my suspicion is that 'Page specific visibility settings' are the most commonly used. My opinion is that we should collapse 'User specific visibility settings', and move 'Page' first, leaving it collapsed. I think this is quite subjective though.

#6

moshe weitzman - February 2, 2008 - 03:54

collapse them all?

#7

Bevan - February 2, 2008 - 07:35

collapsing them all is definitely edging on fieldsetitis -- wdyt?

#8

andreashaugstrup - February 2, 2008 - 15:35

Collapsing all *looks* great on pages with custom blocks because they have a large textarea and the form just ends up looking like the node form. It looks a tiny bit more silly for blocks from modules because you are left with one textfield (the block title) and then three collapsed fieldsets.

Personally, I would collapse them all.

Collapsing all means having the submit button above the fold and that would remove the only annoyance I have when I configure blocks that only is to get a new title. It would help me when I'm only on the configure screen to check values (e.g. see what roles can see the block) because I only have to look through the 3 fieldset titles to find the info I need rather than browse over the entire form.

The trade off would be a more annoying block configuration screen when I have to use 2 or more of the fieldsets (setting roles *and* page visibility). In that case it would take marginally longer, but it's not something that would bother me a lot.

#9

dmitrig01 - February 2, 2008 - 17:27
Version:6.x-dev» 7.x-dev

I am going to set this to Drupal 7, but it should definitely get in. However it's a UI improvement, which is not allowed anymore in Drupal 6

#10

andreashaugstrup - February 2, 2008 - 23:07

Patch attached that collapses all three fieldsets.

AttachmentSize
block_config_shorten_2.patch1.16 KB

#11

Bevan - February 3, 2008 - 00:51

What do others think about swapping the order to put 'page' first?

#12

andreashaugstrup - February 3, 2008 - 16:51

It's impossible to say what people in general use the most. In my personal experience I would say that I use the "user specific" fieldset the least and I would enjoy to see that moved to the bottom. "role" and "page visibility" I use around the same amount and I have no opinion about which one should be the top-most fieldset.

#13

esllou - April 15, 2008 - 09:38

I use:

most - page
then - role
lastly - user

so +1 for page coming up the page.

#14

catch - April 15, 2008 - 10:35

First I've seen of this issue but a couple of weeks ago I thought about submitting a patch to put 'page' first but never got round to doing it. So +1 here as well.

 
 

Drupal is a registered trademark of Dries Buytaert.