webiny / webiny-js

Open-source serverless enterprise CMS. Includes a headless CMS, page builder, form builder, and file manager. Easy to customize and expand. Deploys to AWS.
https://www.webiny.com
Other
7.24k stars 590 forks source link

feat(api-headless-cms-tasks): HCMS bulk actions via background tasks #4112

Open leopuleo opened 2 months ago

leopuleo commented 2 months ago

Changes

With this PR, we are introducing the bulk actions handled via background tasks.

By default, the users will be able to perform the following bulk actions:

api-headless-cms-tasks

The package is responsible for:

app-headless-cms + app-trash-bin

When all entries are selected, a new banner will prompt asking if the user wants to select all of them.

The banner will appear if:

In case the user confirms the selection, the action will be performed by the designated background task instead of the default in-series client worker.

At the moment:

How Has This Been Tested?

Jest + manually

Documentation

Needed user guide + developer guide