-
Notifications
You must be signed in to change notification settings - Fork 620
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
feat(api-headless-cms-tasks): HCMS bulk actions via background tasks #4112
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # apps/api/graphql/tsconfig.json # packages/cwp-template-aws/template/ddb-es/apps/api/graphql/src/types.ts # packages/cwp-template-aws/template/ddb-os/apps/api/graphql/src/types.ts # packages/cwp-template-aws/template/ddb/apps/api/graphql/src/types.ts
leopuleo
changed the title
wip: HCMS bulk actions via background tasks
feat(api-headless-cms-tasks): HCMS bulk actions via background tasks
Jun 19, 2024
…tead mutation name
Pavel910
approved these changes
Aug 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
CmsGraphQLSchemaPlugin
allowing to trigger bulk actions via custom mutationapp-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:
hasMoreItems: true
)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