Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
path.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Dec 2015 at 10:23 UTC
Updated:
1 Mar 2016 at 18:12 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
swentel commentedComment #3
swentel commentedComment #4
swentel commentedNow with test - I had to enable the seven theme because on a different theme, all the node options are wrapped inside vertical tabs.
Comment #6
swentel commentedComment #7
webbykat commentedFirst: 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:
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).
Comment #8
yoroy commentedThe 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:
Comment #9
swentel commentedLove the idea - here's a patch and a screenshot.
Code should probably live in a different js file though, this is just a poc.
Comment #10
nod_Almost a dup #1936708: Current element values missing from vertical tabs when shown in 2-column layout
Comment #11
swentel commentedIndeed