Skip to content

UX: Update new edit content command bar to show all workflow actions #35034

@MariaFernandez778

Description

@MariaFernandez778

Problem Statement

Currently, in the old edit content, all workflow actions are shown the top level, so they are discoverable.

Image

In the new edit content now all workflow actions are fonud inside a split button, because split buttons are typically used to group related functionality, users will have a hard type realizing the rest of the workflow acitions are found inside the split button. So we need to fix this.

Image

Because currently when you design a workflow there is no ability to indicate which buttons should be primary, secondary or tertiary, the admin cannot determine this, so the best we can do right now until we redesign workflows, is to take the first item in the workflow and make that the primary button, then take the rest of the buttons in the workflow and display them as secondary buttons, then we show the Preview command as the only tertiary button. if there is not enough space on the screen, we should show the primary button, then at least 1 secondary button, and the preview tertiaty button and then use the overflow button (...) to show the rest of the workflow actions. if nothing fits on screen, we show everything under the more overflow button, including primary, secondary and tertriarty actions.

Image

When we redesign workflows we will enable admins to assign button types to their workflow actions and then we will know how to handle the wrorkflow actions in the new edit screen.

Steps to Reproduce

See above.

Acceptance Criteria

Edit content uses new command bar patterns.

dotCMS Version

evergreen

Severity

Critical - System unusable

Links

n/A

Metadata

Metadata

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions