Repository navigation
Description
Description
Before a workflow action runs, show the user exactly which contentlets it will apply to, and let them drop some of them.
Choosing an action in the Workflow Center opens a preview: a checkable table of the affected contentlets with enough columns to recognise a row — thumbnail, title, publish status and content type — with every row checked by default. Unchecking a row removes it from the run. Executing fires only the checked rows.
Scoping the preview to the items the action really applies to. The bulk endpoint reports counts but never says which contentlets sit behind a count, so a single lookup over a mixed selection cannot answer "which of these does Translate apply to". The preview reconstructs it client-side: the selection is grouped by content type, POST /api/v1/workflow/contentlet/actions/bulk is called once per group, and each action records which content types contributed it. Because workflow schemes are assigned per content type, that mapping is exact at scheme level — enough to stop a Blog action from listing a VtlInclude.
What it deliberately does not resolve: an item's step position within a scheme, and Velocity conditions (conditionPresent), neither of which the endpoint exposes per item. So the preview can be a superset of what actually succeeds, and the backend still skips what does not apply — reported through skippedCount / skipReason.
Rows are keyed on inode, not identifier. Language variants of one contentlet share an identifier but have distinct inodes, and inodes are what gets fired, so keying on identifier would collapse two variants into one selection entry.
Per-item execution results — the spinner / check / error state and retry — are not part of this. They need backend changes to the SSE endpoint and are tracked separately.
Acceptance Criteria
- Choosing a workflow action opens a preview of the contentlets it will run on, with a way back to the action list
- The preview lists only contentlets whose content type can run the chosen action, not the whole selection
- Every row starts checked; unchecking a row excludes it from the run
- Executing fires only the checked rows, and the execute affordance reflects how many that is
- Rows are identified by inode, so two language variants of the same contentlet appear as separate rows
- Columns are limited to what identifies a row — thumbnail, title, publish status, content type
- The table paginates only once the list outgrows a page, so a small confirmation step carries no paginator
- The table body scrolls with its header pinned and the paginator outside the scroll region; the dialog itself does not grow
- Checkboxes are frozen while an action is in flight
- Behaviour is defined when every row is unchecked — execution is not possible
- A selection whose content types produce no grouped result falls back to the whole selection rather than rendering an empty table
- Unit tests cover the eligibility filtering, the per-content-type merge, and the preview's own selection behaviour
Priority
Medium
Additional Context
Why per-content-type lookups rather than one call. POST /api/v1/workflow/contentlet/actions/bulk aggregates on the wfstep field and returns counts per action. There is no response field carrying the identifiers behind a count, and no endpoint that returns "eligible inodes for action X". Grouping by content type is the closest exact answer available without backend work, because scheme assignment is a per-content-type property.
The cost is one request per distinct content type in the selection instead of one request overall. For a typical selection that is a small number; a selection spanning many content types will fan out.
Naming: the dialog is presented to users as Workflow Center (content-drive.action-center.header), while the code and i18n keys keep the action-center prefix.
Sibling issues: #36817 (the dialog itself), #36818 (spike on multiple actions per run), #36844 (Lock/Unlock), #36845 (Refresh).
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity
github-actions commentedon Aug 4, 2026
PRs linked to this issue
[-]Content Drive Action Center: per-item drill-down with execution results[/-][+]Workflow Center: preview the items a workflow action will run on[/+]ihoffmann-dot commentedon Aug 6, 2026
QA Passed
Build:
9307301 / Staging-TrunkVideo
0806.mp4