core icon indicating copy to clipboard operation
core copied to clipboard

Spike: How to Update Workflow Actions to support new content edit features

Open john-thomas-dotcms opened this issue 5 months ago • 2 comments

Parent Issue

No response

User Story

As a content architect, I want to be able to specify which Workflow actions are primary and secondary, and provide help tips for each workflow action, to make it easier for content editors to know what actions to take.

Acceptance Criteria

  • Workflow Actions contain a new property: Priority.
    • The choices are Primary and Secondary.
    • The default choice is Primary.
  • Workflow Actions contain a new property: Hint.
    • The field where this property is entered behaves the same as the Hint field in the content type field properties.
  • All Workflow APIs which return information about a Workflow action include the values for Priority and Hint in the response.
    • This includes findActionsByStep, findAvailableActions, etc.
  • All Workflow viewtool methods which return information about a Workflow action include the values for Priority and Hint in the response.
    • This includes findAction, findActions, etc.
  • These additional properties are enabled by the feature flag for the new content edit screen.
    • When the feature flag is disabled, the new properties are not displayed in the responses for either the APIs or the viewtool methods.
  • The order of actions returned by both APIs and viewtool methods must match the order that those actions are shown in the Workflow portlet.

Note: These properties are not currently used outside the new content edit screen. This card needs to be completed before the new content edit screen can implement the new workflow action menus.

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

john-thomas-dotcms avatar Sep 10 '24 18:09 john-thomas-dotcms