Skip to content

[TASK] Show default workflow actions on Content Drive toolbar #33450

Description

@zJaaal

Description

Implement workflow action buttons in the Content Drive toolbar for both single and multi-content selection scenarios. The toolbar should display contextually appropriate workflow actions based on the content's current state (archived/unarchived, published/unpublished) and selection type.

This feature will enable users to perform common workflow operations directly from the Content Drive interface without navigating to separate pages, improving the content management experience for both individual items and bulk operations.

Image

Acceptance Criteria

Single Selection Rules

  • When content is NOT archived: Hide Unarchive, Delete actions
  • When content IS archived: Hide Publish, Unpublish, and Archive actions
  • When content is already published: Hide the Publish button (avoid duplication)
  • When content is unpublished: Hide the Unpublish button (avoid duplication)
  • Edit button should route to either UVE (Universal Visual Editor) or Edit Content based on content type
  • New button should NOT be present in the toolbar
  • Add button to Rename on Single Selection (Can be a workflow action that changes the title - needs discussion)
  • Add Download button on FileAsset/DotAsset

Multi-Selection Rules

  • Edit button should NOT be displayed in multi-selection mode
  • Actions are narrowed to "all compatible" - only show actions that can be applied to ALL selected items
  • Handle empty state scenario: When selected items have no common available actions (e.g., selecting both archived and published content results in no compatible actions), show appropriate empty state
  • Apply the same archived/published logic as single selection but intersect across all selected items
  • No Rename on Multi Selection
  • If the Selection includes a non FileAsset/DotAsset we should hide the Download button

Technical Requirements

  • Implement conditional logic for showing/hiding actions based on content state and selection type
  • Implement intersection logic for multi-selection to find common available actions
  • Ensure proper routing for Edit action in single selection (UVE vs Edit Content)
  • Handle empty state gracefully when no common actions are available in multi-selection
  • Follow existing UI/UX patterns for toolbar actions
  • Implement proper error handling for workflow action failures
  • Add appropriate loading states during action execution
  • Support bulk operation execution for multi-selection scenarios

UI/UX Requirements

  • Follow the Figma design specifications for Content Drive toolbar
  • Maintain consistent styling with existing dotCMS UI components
  • Ensure accessibility compliance for all action buttons
  • Design and implement empty state UI for multi-selection scenarios with no compatible actions
  • Show clear visual feedback for bulk operations in progress

Priority

High

Additional Context

Empty State Example: If a user selects both an archived content item and a published (non-archived) content item, the intersection of available actions would be empty because archived content only allows Unarchive/Delete actions while published content only allows Publish/Unpublish/Archive actions - these sets have no common actions.

The workflow actions should integrate with the existing dotCMS workflow system and respect all current workflow permissions and constraints. The implementation should handle both individual and bulk workflow operations efficiently.

Activity

  1. added
    OKR : User Experience
    javascript
    and removed on Oct 6, 2025
  2. changed the title [-][TASK] Show default workflow actions on Content Drive toolbar for single and multi-selection[/-] [+][TASK] Show default workflow actions on Content Drive toolbar[/+] on Oct 6, 2025
  3. added theissue type on Oct 6, 2025
  4. moved this from New to Next 2-4 Sprints in dotCMS - Product Planningon Oct 6, 2025
  5. moved this from Next 2-4 Sprints to Next Sprint in dotCMS - Product Planningon Oct 6, 2025
  6. 6 remaining items

  7. removed their assignment
    on Oct 21, 2025
  8. KevinDavilaDotCMS commented on Oct 21, 2025

    @KevinDavilaDotCMS
    Contributor

    QA Passed

    Tested in main: d8a03f9

    My comments about text will be resolved in a next PR that is already created, so all good.

    2025-10-21.11-47-31.mov
  9. removed their assignment
    on Oct 21, 2025
  10. added a commit that references this issue on Nov 3, 2025
    47e10a8
  11. added a commit that references this issue on Dec 9, 2025
    8d6907b
  12. added a commit that references this issue on Feb 20, 2026
    3538098
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions