Problem/Motivation

When a node has an alias, and you go back to the edit screen, the details element is closed. You have no idea there's a value in there when you're in the seven theme.

Proposed resolution

Fix it.

User interface changes

Details element will be open when a node has an alias

API changes

None

Data model changes

None

Comments

swentel created an issue. See original summary.

swentel’s picture

Status: Active » Needs review
StatusFileSize
new700 bytes
swentel’s picture

Issue summary: View changes
swentel’s picture

StatusFileSize
new1.65 KB
new2.33 KB

Now with test - I had to enable the seven theme because on a different theme, all the node options are wrapped inside vertical tabs.

The last submitted patch, 4: 2635410-3-test.patch, failed testing.

swentel’s picture

Issue tags: +Needs usability review
webbykat’s picture

StatusFileSize
new135.15 KB

First: The patch did effect the intended behavior for me, but here's some usability review feedback.

It's a good point that people won't be able to see an alias is set unless they look for it - but it applies to the other tabs as well (e.g. not being able to see if it's promoted unless you expand Promotion Options). Along with URL Path Settings, two other tabs -- Promotion Options and Authoring Information -- don't expand by default, but Menu Settings does. Admittedly, Authoring Information would always be expanded no matter what since it's always filled out, so perhaps that was the impetus for the current setup.

For consistency of experience, the behavior should be the same across all tabs (e.g. everything expands if it has a value, or everything stays collapsed). Expanding all four sections (plus whatever others are added) would make the page quite long. Instead, I'd suggest there be a consistent indicator for whether or not something is populated.

This could be done in one of two ways:

  • Using the same setup as Drupal 7 did with vertical tabs, in that a preview is shown if it's collapsed. I've attached a screenshot of how that was handled. This is a bit complicated because currently the summary element is being used to show the title of the section, and that limits the styling opportunities.
  • Adding an indicator to all tabs, indicating whether or not a selection has been made inside them. If an alias was set, it would get an indicator (e.g. a color change?). If a menu item was set, it would get the indicator, etc. People could then be aware that data has been entered and open the tab to see what the data is.

Option #2 is likely easiest (would need to write logic that checks whether or not fields are populated, and adds a class if they are), and would communicate the affordance to the user so they knew that there was an action they could take (reviewing information).

yoroy’s picture

Issue summary: View changes
Issue tags: -Needs usability review +Usability
StatusFileSize
new57.2 KB

The structural fix would indeed be to bring back the summaries.

We could even consider to show just the summaries and hide the "heading"(?), replacing static labels with actual status/settings info:

swentel’s picture

Issue summary: View changes
Issue tags: +JavaScript
StatusFileSize
new2.41 KB
new21 KB

Love the idea - here's a patch and a screenshot.

Code should probably live in a different js file though, this is just a poc.

nod_’s picture

swentel’s picture

Status: Needs review » Closed (duplicate)

Indeed