From 0e036d228f27afc9d7312251a5f226d9e96d01de Mon Sep 17 00:00:00 2001 From: LB Johnston Date: Mon, 19 Sep 2022 19:40:46 +1000 Subject: [PATCH] Add changelog entry for 4.0 - bulk actions for snippets #8574 - also add Shohan to contributors list - resolves #8183 --- CHANGELOG.txt | 1 + CONTRIBUTORS.rst | 1 + docs/extending/custom_bulk_actions.md | 2 ++ docs/releases/4.0.md | 1 + 4 files changed, 5 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 6a5e7c9089..d35fdbded3 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -170,6 +170,7 @@ Changelog * Add support for previews, revisions and drafts on snippets (Sage Abdullah) * Add "Translate" button within pages’ Actions dropdown when editing pages (Sage Abdullah) * Add translated labels to the bulk actions tags and collections bulk update fields (Stefan Hammer) + * Add bulk actions support for snippet listings (Shohan Dutta Roy) * Fix: Typo in `ResumeWorkflowActionFormatter` message (Stefan Hammer) * Fix: Issue where `ModelAdmin` index listings with export list enabled would show buttons with an incorrect layout (Josh Woodcock) * Fix: Throw a meaningful error when saving an image to an unrecognised image format (Christian Franke) diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 10b81f8e46..09c0b8e6e8 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -625,6 +625,7 @@ Contributors * Josh Thomas * Christophe Bastin * Nicholas Johnson +* Shohan Dutta Roy Translators diff --git a/docs/extending/custom_bulk_actions.md b/docs/extending/custom_bulk_actions.md index 5fb8157b9d..a6b4421051 100644 --- a/docs/extending/custom_bulk_actions.md +++ b/docs/extending/custom_bulk_actions.md @@ -207,6 +207,8 @@ class CustomUserBulkAction(UserBulkAction): ... ``` +(wagtailsnippets_custom_bulk_actions)= + ## Adding bulk actions to the snippets listing When creating a custom bulk action class for snippets, subclass from `wagtail.snippets.bulk_actions.snippet_bulk_action.SnippetBulkAction` diff --git a/docs/releases/4.0.md b/docs/releases/4.0.md index 03b931f021..2824dffbb9 100644 --- a/docs/releases/4.0.md +++ b/docs/releases/4.0.md @@ -195,6 +195,7 @@ There are also many improvements to the documentation both under the hood and in * Simplify page chooser views by converting to class-based views (Matt Westcott) * Add "Translate" button within pages’ Actions dropdown when editing pages (Sage Abdullah) * Add translated labels to the bulk actions tags and collections bulk update fields (Stefan Hammer) + * Add support for bulk actions, including [](wagtailsnippets_custom_bulk_actions) (Shohan Dutta Roy) ### Bug fixes