Book module usability: Stop using vertical tabs

Created on 7 March 2013, about 12 years ago
Updated 4 September 2024, 7 months ago

Problem/Motivation

While I was testing book module's conversion to twig, I failed, three times in a row, to actually use book module correctly because the usability is so bad. Each time I tried to create a book page, my workflow was as follows: 1) enter title 2) enter body 3) save. When people follow this workflow (as dictated by the book node page) book nodes fail to be placed in any "book" at all - let alone have any book hierarchy set in the outline.

Placing things in the vertical tabs (or in D8, on the right hand side of the page) tells people that "these things will be set for you by default, and you don't need to think about them when creating content". That was, after all, the whole point of adding vertical tabs in d7 - so that we would have a place to hide stuff.

However, we should not be hiding stuff in vertical tabs that is crucial for functionality.

Additionally, since the vertical tabs functionality that used to let me see what was in those fieldsets has been lost in D8/Seven theme, I had no idea this was happening while I was creating the content. (see #1936708: Current element values missing from vertical tabs when shown in 2-column layout )

Proposed resolution

For enabled content types, the "Book outline" settings need to be moved out of vertical tabs, and in to the main form.

Remaining tasks

  • Move book settings out of vertical tabs
  • hide the weight field until a book is selected
  • Implement hook_fields_extra_fields to allow the book outline settings to be weighted

User interface changes

See above.

API changes

None

Related Issues

#1936708: Current element values missing from vertical tabs when shown in 2-column layout

Feature request
Status

Closed: outdated

Version

1.0

Component
Book 

Last updated 2 months ago

Created by

🇺🇸United States jenlampton

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024