Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
john-thomas-dotcms opened this issue Sep 10, 2024 · 2 comments

Comments

@john-thomas-dotcms
Copy link
Contributor

john-thomas-dotcms commented Sep 10, 2024

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
Copy link
Contributor Author

@jcastro-dotcms note that I added one bullet to the end of the acceptance criteria, about the order of the results.

@john-thomas-dotcms john-thomas-dotcms changed the title Update Workflow Actions to support new content edit features Spike: How to Update Workflow Actions to support new content edit features Oct 16, 2024
Copy link

jdotcms added a commit that referenced this issue Oct 18, 2024
jdotcms added a commit that referenced this issue Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants