Multiple/bulk actions in the content navigator

Description

Background

Sometimes a large amount of documents need to be changed, for example: migrate 100 articles to another category, add the keyword "big bird" to all articles found when searching for "pino".

Limits

This functionality will currently be limited to 1000 content items, to avoid the use of background tasks / crons. When we have improved features in Integrated for background tasks this feature will be extended to be used with more items.

Functional requirements

Please see the screens for each step

  • Step 1: menu option in Content Navigator, Tools -> Bulk change this selection

  • Step 2: display a list of titles marked with a checkbox. The user can de-select items he do not want. If over 1000 items are in the selection only the first 1000 will be displayed. A red message will appear on top "Bulk change is limited to 1000 items at once. Only the first 1000 items have been included.".

  • Step 3: for every relation add a "Add" and "Remove" select2, conform the select2 on the content edit page (note: in the future other options (for example migrate to another content type, or change a workflow status) will be added here)

  • Step 4: confirm page

  • After confirm a flash message confirms the migration. The migration will be started after that (in the front or as a background process)

  • The buttons need to be styled conform the content edit page (Next in orange, Previous in grey)

Technical requirements

  • A bulk action will be executed immediately, not as background task

  • Please use services to be able to use them in code (maybe for migration scripts will over 1000 items) and for background tasks in the future

Deployment actions

None

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Anonymous

Product owner

Marijn Otte

OTM project ID

None

Client

Integrated Marijn

Plan date

None

Developer

Jeroen van Leeuwen

Code reviewer

Jan Sanne Mulder

Max. hours

None

Error message

None

Follow up date

None

Switches

None

Refiner

None

Story Points

8

Time tracking

35h

Epic Link

Sprint

None

Fix versions

Due date

2017/03/24

Priority

Major
Configure