Problem

The status of the node being edited (published, unpublished) and the workflow state (draft, ready to review etc.) are not clear to the user editing a node in admin/node-edit.

Proposed solution

Add the status and the workflow state to the page title block, either between the Node title and the shortcut link or after the shortcut link, so that the user has a clear reference point in a prominent location. Also add to the Meta content column. See images.

image
image
image

This concept was reviewed by the UX team in the weekly meeting on 6/21/2016, and the issue was proposed with no objections.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

tkoleary created an issue. See original summary.

tkoleary’s picture

Issue summary: View changes
FileSize
441.79 KB
tkoleary’s picture

Issue summary: View changes
anavarre’s picture

I'd vote for only adding this information in the sidebar and the reason is simple: conceptually the left column is for content and the right column is for metadata attributes.

Small change, great UX win.

agentrickard’s picture

Traditionally the functionality described in #4 is provided by Workbench proper. In the D8 version, we still have hook_workbench_block() for that purpose.

https://github.com/agentrickard/workbench/blob/8.x-1.x/src/Plugin/Block/...

tkoleary’s picture

Traditionally the functionality described in #4 is provided by Workbench proper. In the D8 version, we still have hook_workbench_block() for that purpose.

That is no help to the user who does not have workbench. We should not be forcing a dependency for a basic usability feature.

Bojhan’s picture

We shouldn't use comma's. Lets put the information under each other and style them slightly differently. I think published is less important given the state implicates it largely.

tkoleary’s picture

Why should we not use commas?

We are already taking up a lot of vertical space and you're suggesting we take up even more?

mcdruid’s picture

Project: Workbench Moderation » Drupal core
Version: 8.x-1.x-dev » 8.3.x-dev
Component: User interface » content_moderation.module

Moving to core's issue queue for the content_moderation.module component.

The current moderation state is still not displayed anywhere prominent (e.g. either the title or the sidebar) in the node edit form in the latest 8.3.x-dev.

mcdruid’s picture

FileSize
96.71 KB
73.72 KB

Started looking at putting together a patch to add the moderation state info into the sidebar in the node edit form.

The first problem I've encountered is that the edit-meta div at the top of the sidebar:

edit-meta

...is actually provided by seven_form_node_form_alter (in the seven theme).

With a different admin theme (e.g. bartik), this meta info is not there:

bartik admin theme

So that's not an insurmountable problem but it means it's perhaps a little less straightforward for the content moderation module to add the moderation state information in exactly the way illustrated:

suggested UI

tkoleary’s picture

@mcdruid

Doesn't this suggest we should open another issue to move: seven_form_node_form_alter into the node module template?

mcdruid’s picture

@tkoleary - yup, that sounds reasonable.

Filed #2803875: Node form meta information should not come from a theme to work on that.

tkoleary’s picture

@mcdruid

Thanks!

timmillwood’s picture

Status: Needs work » Active

I think as this has currently not had any patch I'm going to make this "active" rather than "needs work". Was tempted to postpone based on #2803875: Node form meta information should not come from a theme but don't want to mute any potential discussion here.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Sam152’s picture

I wonder if this can be closed now that the moderation widget clearly indicates the current state?

timmillwood’s picture

The state is now in the meta block on the right too, but this issue talks about moving it to the title / header.

timmillwood’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +Needs usability review

With @tkoleary not so involved with Drupal now and @Gábor Hojtsy, @jojototh, and @yoroy currently out I am going to postpone this. We can have some more discussion over the next few weeks / months and implement some improvements for 8.5.x if needed.

yoroy’s picture

Status: Postponed (maintainer needs more info) » Active
Issue tags: -Needs usability review
FileSize
28.1 KB
30.91 KB

Discussed this during yesterday’s ux meeting and we think that given the current UI this is a won’t fix:

screenshot of content edit save button where text labels indicate both the current workflow state and the new state after saving

This of course still only shows the workflow state and not explicitly explains if that workflow state is a published or unpublished one. We didn't think we should want to fix that by explicitly adding that information. If this becomes a problem then people can fix that themselves by using more clear labels for the workflow state:

screenshot where the workflow state says - Draft (= not published you dummy!) -

So we think that what we have now (which is more than what we had when this issue was opened/discussed) is sufficiently clear.

amateescu’s picture

Status: Active » Closed (outdated)
Issue tags: -status, -workflow, -workbench moderation workflow

Thanks @yoroy for the update, I agree with #20 which means we can close this issue as "outdated".