There are two problems:

1) When adminsitering views, the main operations contain 'clone, export, enable, disable'. However, when editing a display, there are some operations (clone, export) but enabled/disabled status is a checkbox that you open up. It would be better if this were operations. i.e, you'd see 'clone, export, disable' or 'clone, export, enable'.

2) Disabled views aren't clearly marked. Especially if the advanced fieldset is closed, it's *really* difficult to tell if the display is disabled, and that will likely cause confusion.

Comments

dawehner’s picture

Status: Active » Needs work
StatusFileSize
new4.94 KB

Here is a initial work.

Don't even think to commit this because

a) there is no visual change whether a display is enabled/disabled
b) the click on the link does not work as expected at the moment.

merlinofchaos’s picture

Disabled displays can be indicated in two ways:

1) Add a class to the display tab. This class will change the fore and background color of the tab to be lighter than the nearby tabs.
2) Add text to the top of the disabled display to indicate that the display is disabled, probably after the display name.
3) Disabled displays should have 'enable' as the default display dropdown link.

dawehner’s picture

StatusFileSize
new7.63 KB

This basically should work, but

if you disable a page display it automatically disables the value on the master display which isn't that good, because every new dispaly get's disabled too.

I'm wondering wether this setting makes sense as defautlable action.

Added some css to change opacity on disabled state.

merlinofchaos’s picture

No, disabling absolutely shoud not be defaultable. It's very much per-display only.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new7.93 KB

Okay now it works. Thanks for the solution!

dawehner’s picture

The enabled/display_comment change should be backported. Just add this as a note.

dawehner’s picture

Status: Needs review » Fixed

This is fixed now.

A possible follow up would be to use ajax here.
The backport is also done.

Status: Fixed » Closed (fixed)

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