0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

Move v5.0 snippets release notes to their own section

This commit is contained in:
Thibaud Colas 2023-04-28 16:20:39 +01:00
parent aa96dda15a
commit 5cc663cf28

View File

@ -72,6 +72,22 @@ Wagtails admin interface now supports dark mode. The new dark theme can be en
We hope this new theme will bring accessibility improvements for users who perfer light text on dark backgrounds, and energy usage efficiency improvements for users of OLED monitors. This feature was developed by Thibaud Colas, with designs from Ben Enright.
### Snippets parity with ModelAdmin
Continuing on recent improvements to snippets, we have made the following improvements to how snippets can be customised in the admin interface:
* Allow customising the base URL and URL namespace for snippet views.
* Allow customising the default ordering and number of items per page for snippet listing views.
* Allow admin templates for snippets to be overridden on a per-model or per-app basis.
* Allow overriding the base queryset to be used in snippet `IndexView`.
* Allow customising the `search_fields` and search backend via SnippetViewSet.
* Allow filters on snippet index views to be customised through the `list_filter` attribute.
* Allow `panels` / `edit_handler` to be specified via `SnippetViewSet`.
* Support for customising icons for snippets via `SnippetViewSet.icon`.
* Allow snippets to be registered into arbitrary admin menu items.
These features were developed by Sage Abdullah.
### Other features
* Add `WAGTAILIMAGES_EXTENSIONS` setting to restrict image uploads to specific file types (Aman Pandey, Ananjan-R)
@ -88,22 +104,14 @@ We hope this new theme will bring accessibility improvements for users who perfe
* Add the ability to [disable model indexing](wagtailsearch_disable_indexing) by setting `search_fields = []` (Daniel Kirkham)
* Enhance `wagtail.search.utils.parse_query_string` to allow inner single quotes for key/value parsing (Aman Pandey)
* Add helpful properties to [`Locale`](locale_model_ref) for more convenient usage within templates, see [](i18n_basic_example) (Andy Babic)
* Allow customising the base URL and URL namespace for snippet views (Sage Abdullah)
* Allow customising the default ordering and number of items per page for snippet listing views (Sage Abdullah)
* Re-label "StreamField blocks" option in block picker to "Blocks" (Thibaud Colas)
* Switch styleguide navigation to use panel components and minimap (Thibaud Colas)
* Explicitly specify `MenuItem.name` for Snippets, Reports, and Settings menu items (Sage Abdullah)
* Move the help text of fields and blocks directly below their label for easier reading (Thibaud Colas)
* Allow filters on snippet and generic index views to be customised through the `list_filter` attribute (Sage Abdullah)
* The select all checkbox in simple translation's submit translation page will now be in sync with other checkbox changes (Hanoon)
* Allow admin templates for snippets to be overridden on a per-model or per-app basis (Sage Abdullah)
* Allow overriding the base queryset to be used in snippet `IndexView` (Sage Abdullah)
* Revise alignment and spacing of form fields and sections (Thibaud Colas)
* Update Wagtails type scale so StreamField block labels and field labels are the same size (Thibaud Colas)
* Allow customising the `search_fields` and search backend via SnippetViewSet (Sage Abdullah)
* Style comments as per page editor design, in side panel (Karl Hobley, Thibaud Colas)
* Allow `panels` / `edit_handler` to be specified via `SnippetViewSet` (Sage Abdullah)
* Allow snippets to be registered into arbitrary admin menu items (Sage Abdullah)
* ReferenceIndex modified to only index Wagtail-related models, and allow other models to be explicitly registered (Daniel Kirkham)
### Bug fixes