diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 30446353f4..31898535d8 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -17,9 +17,11 @@ Changelog * Add unit tests for the `classnames` Wagtail admin template tag (Mehrdad Moradizadeh) * Show an inverse locked indicator when the page has been locked by the current user in reports and dashboard listings (Vaibhav Shukla, LB (Ben Johnston)) * Add clarity to the development documentation that `admonition` should not be used and titles for `note` are not supported, including clean up of some existing incorrect usage (LB (Ben Johnston)) + * Unify the styling of delete/destructive button styles across the admin interface (Paarth Agarwal) * Fix: Prevent `PageQuerySet.not_public` from returning all pages when no page restrictions exist (Mehrdad Moradizadeh) * Fix: Ensure that duplicate block ids are unique when duplicating stream blocks in the page editor (Joshua Munn) * Fix: Revise colour usage so that privacy & locked indicators can be seen in Windows High Contrast mode (LB (Ben Johnston)) + * Fix: Ensure that disabled buttons have a consistent presentation on hover to indicate no interaction is available (Paarth Agarwal) 4.0.2 (xx.xx.xxxx) - IN DEVELOPMENT diff --git a/docs/releases/4.1.md b/docs/releases/4.1.md index ce018eaa64..21036bbb8c 100644 --- a/docs/releases/4.1.md +++ b/docs/releases/4.1.md @@ -26,17 +26,23 @@ Wagtail 4.1 is designated a Long Term Support (LTS) release. Long Term Support r * Add unit tests for the `classnames` Wagtail admin template tag (Mehrdad Moradizadeh) * Show an inverse locked indicator when the page has been locked by the current user in reports and dashboard listings (Vaibhav Shukla, LB (Ben Johnston)) * Add clarity to the development documentation that `admonition` should not be used and titles for `note` are not supported, including clean up of some existing incorrect usage (LB (Ben Johnston)) + * Unify the styling of delete/destructive button styles across the admin interface (Paarth Agarwal) ### Bug fixes * Prevent `PageQuerySet.not_public` from returning all pages when no page restrictions exist (Mehrdad Moradizadeh) * Ensure that duplicate block ids are unique when duplicating stream blocks in the page editor (Joshua Munn) * Revise colour usage so that privacy & locked indicators can be seen in Windows High Contrast mode (LB (Ben Johnston)) + * Ensure that disabled buttons have a consistent presentation on hover to indicate no interaction is available (Paarth Agarwal) ## Upgrade considerations ### Button styling class changes +When adding custom buttons using the `ModelAdmin` `ButtonHelper` class, custom buttons will no longer include the `button-secondary` class by default in index listings. + +If using the hook `register_user_listing_buttons` to register buttons along with the undocumented `UserListingButton` class, the `button-secondary` class will no longer be included by default. + The following button classes have been removed: * `unbutton`