Sage Abdullah
dbf3c7c586
Adjust margin-bottom of w-field__wrapper in drilldown component
...
Prevent the focus outline from being cut-off
2024-01-23 09:43:08 +00:00
Thibaud Colas
f1520bfcdd
Clean up unfinished aspects of DrilldownController
2024-01-23 09:22:30 +00:00
Sage Abdullah
7ba218a094
Use data-action to listen to w-swap:success in DrilldownController
...
and rename the method to updateParamsCount
2024-01-23 09:22:30 +00:00
Thibaud Colas
a1e3f755e5
Fix tests after filters-dialog removal
2024-01-23 09:22:30 +00:00
Thibaud Colas
68df8a0ba3
Add drilldown filters interface for universal listings
2024-01-23 09:22:30 +00:00
Sage Abdullah
59479a49cc
Restore changelog entry for #10104
2024-01-23 09:20:42 +00:00
Thibaud Colas
4790b44ba1
Move accessibility checker inside the editor ( #11478 ). Fix #10136
2024-01-23 08:15:34 +00:00
Sage Abdullah
d518db125a
Apply nice-padding to pagination in generic listing_results.html template
...
All views that extend the generic BaseListingView (including generic
IndexView) along with its template should already be adjusted to have
the full-width table styles, so the pagination needs to have its own
nice-padding so it's not too far to the left/right.
2024-01-23 06:50:07 +00:00
Sage Abdullah
71c7b24b62
Fix nice-padding of before_results block in images listing
...
Without this fix, the "other searches bar" will have the nice-padding
applied twice, making it appear too close to the centre.
Unfortunately, we have to use a new nice-padding wrapper instead of just
applying the class to the <ul>, because we apply the "unlist" mixin to
ul.listing which includes setting the left padding to 0 (and it beats
the specificity of a single .nice-padding class).
2024-01-23 06:50:07 +00:00
Sage Abdullah
1ab78fc5c1
Fix first column padding in page listings when custom ordering is active
2024-01-23 06:50:07 +00:00
Sage Abdullah
bbd22d8c43
Use bulk actions header's checkbox to detect bulk actions in listing styles
...
bulk-action-checkbox is the checkbox in the <td> elements. On page
listings, if you're searching and there are no results, the table will
still be displayed (to give you the option to search the whole site).
The table has no data rows, which means there are no elements with
bulk-action-checkbox class.
Change the selector to target the bulk-actions-filter-checkbox class
instead, which is the bulk action's <th> checkbox. This element (in the
header cell) is always available even when there are no results.
2024-01-23 06:50:07 +00:00
Rohit Sharma
50bdb724b5
Fix chooser buttons focus color is too dark in dark mode
...
Fixes #10875
2024-01-23 12:30:41 +10:00
elhussein almasri
175b7ac044
Fix exclude_fields_in_copy
issues with default/unique values
...
- Ensure that revisions also exclude the field as an initial revision is created on page creation
- Fixes #11428
- Fixes #10922
- See also #11323 & #11323
2024-01-23 08:33:15 +10:00
Sage Abdullah
fa267c9b1a
Fix workflow action buttons initialisation in footer actions
...
Regression in e801e6cec4
and 568256fb67
Dropdowns are now rendered using a <template> element from the server to
then be initialised by Tippy.js on the client. When the inline script in
_workflow_init.html runs (which is very early as it's inline), the
dropdown hasn't been rendered by Tippy, so the event listener can't be
attached.
2024-01-23 07:56:45 +10:00
Sage Abdullah
e664396135
Add data-edit-form to <form> element in generic/form.html template
...
Regression in dae20c2038
and 663f9603ca
This broke the preview panel and scheduled publishing dialog for snippets.
2024-01-23 07:56:45 +10:00
Salvo Polizzi
dd338de6f3
docs: documented get_children in Page model reference
...
Fixes #11499
2024-01-23 07:49:40 +10:00
Nick Smith
3d7bbeb908
Raise meaningful error when no site for SiteSetting ( #11513 )
2024-01-22 21:13:32 +00:00
Stefan Hammer
c51baf6d42
Update the fields in the database while the object is in draft state ( #10104 )
...
Fixes #9285
2024-01-22 20:09:32 +00:00
Sage Abdullah
acbadc1fad
Use items_count directly in _page_title_column_header.html
2024-01-22 18:07:54 +00:00
Sage Abdullah
aff18d6788
Fix current pagination info when custom ordering is active in page listings
2024-01-22 18:07:54 +00:00
Matt Westcott
b5a1fd6cac
Avoid error when ordering search results by latest_revision_created_at
2024-01-22 16:23:10 +00:00
Matt Westcott
8d32c8cb8d
Use Django's built-in for ordering nulls first/last, instead of a custom annotation
2024-01-22 16:23:10 +00:00
Matt Westcott
97f80bfe20
Split out a get_valid_orderings method
2024-01-22 16:23:10 +00:00
Sage Abdullah
b07ed3d17d
Release note for #11463
2024-01-22 16:06:26 +00:00
Thibaud Colas
76d91d55af
Update color variables documentation and tests
2024-01-22 16:04:06 +00:00
Thibaud Colas
90ca9b7001
Roll out new theme tokens where appropriate
2024-01-22 16:04:06 +00:00
Thibaud Colas
95e763ca2e
Introduce new border-button-outline-hover and text-button-outline-hover theming tokens
2024-01-22 16:04:05 +00:00
Thibaud Colas
c70a4da5cb
Add new color tokens for Wagtail and update existing tokens, dark theme
2024-01-22 16:04:05 +00:00
Thibaud Colas
e022625187
Set the color-scheme property based on Wagtail theming support. Fix #11309
2024-01-22 16:04:05 +00:00
Thibaud Colas
bd8c38ed49
Only apply set widths to actions styles within footer
2024-01-22 11:48:10 +00:00
Thibaud Colas
57d75e2870
Add text ellipsis styles and shorten wording in title header search results label
2024-01-22 11:48:10 +00:00
Thibaud Colas
90ecdb4928
Force title listing header cell to wrap
2024-01-22 11:48:10 +00:00
Thibaud Colas
ec65511eb0
Use tighter horizontal spacing for listing columns
2024-01-22 11:48:10 +00:00
Nandini Arora
8a5d228d37
Remove unused SCSS variable -button-size-mobile ( #11507 )
...
Missed on original #11411 changes
2024-01-22 18:35:42 +10:00
Curtis Maloney
399aad2ce7
Fix documentation - TableBlock example ( #11502 )
...
Add missing comma in `contextMenu` configuration.
2024-01-22 16:29:06 +10:00
Jake Howard
8fcf6ec1e9
Use FileResponse
when serving files
...
- Ensure text documents are binary
- Django internally will deadlock if the file sent isn't bytes
- Remove unnecessary open call
2024-01-22 08:06:34 +10:00
Matt Westcott
5b1ab02be5
Document MIT licensing terms for handsontable 6.2.2
...
Ref: #11497
People regularly raise concerns about handsontable as a commercial product being incompatible with Wagtail's licence. Clarify that we are using the last version available under the MIT licence, and link to the relevant git tag to allow people to verify this (since the handsontable website no longer mentions the open-source version, and is probably a vastly different product at this point).
2024-01-21 14:41:46 +00:00
LB Johnston
b41e196489
Formatting documentation for whitespace fixes
...
Also include actual footnote reference for upgrading patch release note
2024-01-21 19:59:57 +10:00
LB Johnston
bbcf1e74ee
Add changelog & a few fixes for #11194
...
Partially reverts commit 7fa335c20d
(fixing some issues with the URL updates)
2024-01-21 18:55:43 +10:00
LB Johnston
24725fe681
Add documentation guidelines section for external (Django) links
2024-01-21 10:09:21 +10:00
Neeraj P Yetheendran
7fa335c20d
Update Django intersphinx references to new format
2024-01-21 10:09:21 +10:00
Neeraj P Yetheendran
ecc1194f61
Add myst_url_schemes config for external links
2024-01-21 10:09:21 +10:00
Neeraj P Yetheendran
d0f5c4fa7e
Upgrade myst_parser to 2.0.0
2024-01-21 10:09:21 +10:00
Alex Tomkins
f73ae8db90
Raise 404 with bulk actions for models which don't exist
...
Fixes #11491
2024-01-21 08:16:48 +10:00
Rohit Sharma
80f433143d
Migrate Image URL generator views to class based views
...
- Relates to #8365 (class based views migration)
2024-01-20 22:12:57 +10:00
nandini584
c99c74cc7e
Ensure panel anchor sizes meet minimum accessible size
...
Fixes #11411
2024-01-20 22:01:59 +10:00
Matt Westcott
33e4e1a136
Update docs on get_language_info tag
...
Prompted by https://stackoverflow.com/q/77646918/1853523 - link to the docs for the tag rather than the function, and include the `{% load i18n %}` line.
2024-01-20 21:48:26 +10:00
Rohitansh
cb90ffeaf3
Ensure a visual only th element gets ignored by accessibility tooling
...
Empty table header found in the 'Your locked pages' dashboard section
Fixes #11459
2024-01-20 21:46:21 +10:00
LB Johnston
b710044f29
Add changelog for #11137 & #11490
2024-01-20 21:38:03 +10:00
Rohit Sharma
d3baed615c
Add unit tests for fixing broken checkboxes in MultipleChooserPanel
...
Fixes #11134
2024-01-20 21:38:03 +10:00