Matt Westcott
b1920b0bce
Update Nikhil S Kalburgi's name as per https://github.com/wagtail/wagtail/pull/11408#issuecomment-1873961960
2024-01-02 12:49:20 +00:00
nikhilkalburgi
4f24171b3b
docs: update contributing/developing.md guidelines ( #11408 )
...
Fixes #11399
Signed-off-by: nikhilkalburgi <nikhilkalburgi19@gmail.com>
2024-01-02 10:35:33 +00:00
Thibaud Colas
2cf9730c23
Release notes for #11332
2024-01-02 09:00:58 +00:00
Thibaud Colas
cd61adbd31
Disable header buttons for snippet models index
2024-01-02 09:00:58 +00:00
Thibaud Colas
fbed2788ce
Add missing sliders icon to icon table
2024-01-02 09:00:58 +00:00
Sage Abdullah
ae6a4fe516
Add aria-label to icon-only header buttons
...
Even though they have tooltips on hover/focus, axe will complain if they don't have aria-label
2024-01-02 09:00:58 +00:00
Sage Abdullah
7e65b453b4
Refactor snippets index_results.html template to extend generic index_results.html template
...
Missed this in 4082acca9b
2024-01-02 09:00:58 +00:00
Sage Abdullah
df8a5ea329
Fix is_searching value when an empty query string is used
...
Before c8edfd13b2
, empty q is considered invalid, so is_searching is False. After that commit, empty q is valid so set is_searching based on the truthiness of the search_query instead
2024-01-02 09:00:58 +00:00
Sage Abdullah
d792346752
Move filters to be inside the search form and use AJAX to submit the form
...
Also make the search form optional. The <form> element may still be
rendered as if there is either the search form or the filters, or both.
2024-01-02 09:00:58 +00:00
Sage Abdullah
a0a0b1343c
Don't add padding to first column on report pages
...
Report pages have styles for .report that adds margins similar to nice-padding
2024-01-02 09:00:58 +00:00
Sage Abdullah
81ea6d6266
Remove nice-padding from documents, users, and generic listing views tables
...
The added CSS handles the case when nice padding is removed (to make the listing
go full-width) and no bulk actions are available (e.g. a ModelViewSet index view
or some other view that extends generic listing view).
This allows us to not rely on the full-width class (which should
eventually be removed) while correctly apply the spacing regardless
whether nice-padding is used or not, and whether bulk actions are
available or not.
If nice-padding is used, then the listing view will look as they
previously do.
2024-01-02 09:00:58 +00:00
Sage Abdullah
1ad22f530d
Enforce bulk action checkbox column via CSS
...
10px was never the right width.
Using CSS instead of the column's width attribute allows us to use media queries to change the width responsively
2024-01-02 09:00:58 +00:00
Sage Abdullah
174146edef
Reuse search_form block from slim_header in page_listing_header.html
...
And rename get_results_url() in pages' BaseIndexView to
get_index_results_url to match the method in generic IndexView
2024-01-02 09:00:58 +00:00
Sage Abdullah
28d21bf066
Make styles for header buttons consistent
2024-01-02 09:00:58 +00:00
Sage Abdullah
73f7a1abc4
Use button components pattern for slim header buttons
2024-01-02 09:00:58 +00:00
Sage Abdullah
2274a44572
Add default template for Button component
2024-01-02 09:00:58 +00:00
Sage Abdullah
4554dbdf4f
Rename main_actions and more_actions to header_buttons and header_more_buttons
...
To follow the pattern for get_list_buttons and get_list_more_buttons
This will be made clearer in the next commit
2024-01-02 09:00:58 +00:00
Sage Abdullah
c900ba6c8e
Reduce slim header search bar height to match filter button
2024-01-02 09:00:58 +00:00
Sage Abdullah
8a7dd1f5a1
Don't use legacy header when breadcrumbs are used
2024-01-02 09:00:58 +00:00
Sage Abdullah
5ede8a132d
Show edit as a main action in generic history and usage views
2024-01-02 09:00:58 +00:00
Sage Abdullah
2e23981021
Change 'Usage of' page title to 'Usage'
...
page_title and page_subtitle are not meant to be read as one phrase
2024-01-02 09:00:58 +00:00
Sage Abdullah
e7e9ae5a1e
Use border instead of underline in breadcrumbs to prevent gap with sublabel
2024-01-02 09:00:58 +00:00
Sage Abdullah
62f4ebe0d1
Add sublabel to history, usage, and inspect breadcrumb items
2024-01-02 09:00:58 +00:00
Sage Abdullah
3cbf3b4b6a
Add sublabel support to breadcrumbs
2024-01-02 09:00:58 +00:00
Sage Abdullah
4407c5b5b0
Improve styles of slim header's search and filters for better vertical alignment
2024-01-02 09:00:58 +00:00
Sage Abdullah
71f826575a
Add filters to slim_header.html
2024-01-02 09:00:58 +00:00
Sage Abdullah
b8ad40170a
Add header actions in generic index view
2024-01-02 09:00:58 +00:00
Sage Abdullah
370351bcda
Add the ability to define header actions in generic views
2024-01-02 09:00:58 +00:00
Sage Abdullah
3f23fe35da
Add stripped option to fragment tag
2024-01-02 09:00:58 +00:00
Sage Abdullah
a6a51cbc63
Allow actions in slim_header.html to be passed as variable
2024-01-02 09:00:58 +00:00
Sage Abdullah
db2c8d842f
Add search support in slim_header.html template
2024-01-02 09:00:58 +00:00
Sage Abdullah
3fbf792621
Use bigger font size for last breadcrumb item by default except on create/edit views
...
We want to make the slim_header.html as the basis for the modern header
template that will be used everywhere, eventually replacing header.html.
Rather than making the page explorer be the special case where we want
the last item to be bigger, do it the other way around i.e. use the
smaller font size on the create/edit views. This ensures that the big
font size is used on all other views e.g. Inspect view.
2024-01-02 09:00:58 +00:00
Sage Abdullah
f4f08ee2fe
Move breadcrumbs styling in _listing.scss to its own _breadcrumbs.scss file
2024-01-02 09:00:58 +00:00
Sage Abdullah
6f92a71253
Move page explorer header's extra spacing to CSS
...
For better colocation with the CSS that increases the font size
2024-01-02 09:00:58 +00:00
Sage Abdullah
3c5f485201
Introduce get_header_title in WagtailAdminTemplateMixin for <title> and slim header's h1
2024-01-02 09:00:58 +00:00
Sage Abdullah
d9b340ab68
Add dedicated blocks for title, breadcrumbs, and actions in slim_header.html and refactor page header templates to make better use of them
2024-01-02 09:00:58 +00:00
Sage Abdullah
454c4eabae
Explicitly pass, document, and limit the variables accepted by slim_header.html
...
We'll be building this as the replacement for header.html eventually.
So, we should properly document each variable and make sure the template
is used as intended by not implicitly passing all variables.
Unfortunately, this isn't possible yet for pages and snippets due to the
side panels relying on some variables from the view.
2024-01-02 09:00:58 +00:00
Sage Abdullah
efd7d85f9f
Rename actions block in slim_header.html to toggles
...
We're going to add a block for the three-dot dropdown actions menu (beside the breadcrumbs), which is more fitting to use the 'actions' name
The old actions block is for placing the side panel toggles (and the Live link), so it's more fitting to use the name 'toggles'
2024-01-02 09:00:58 +00:00
Sage Abdullah
b0deeab728
Change page listing's add button to icon-only
2024-01-02 09:00:58 +00:00
Sage Abdullah
568e926043
Move page listing search form to be in the same row as the breadcrumbs
2024-01-02 09:00:58 +00:00
Sage Abdullah
5926e9fabe
Standardise search form placeholder to 'Search…'
2024-01-02 09:00:58 +00:00
Matt Westcott
5eb38c2c8b
Release note for #11403
2024-01-02 06:16:11 +00:00
Cynthia Kiser
3bc5564a8b
Correct pygments lexer names
2024-01-02 06:14:24 +00:00
Cynthia Kiser
4bf3f82b7e
Link target was removed when the setting was removed
2024-01-02 06:14:24 +00:00
Cynthia Kiser
56135dbb66
Corrected links to Django documentation
...
Apparently you can't use implicit references with url fragments
2024-01-02 06:14:24 +00:00
Cynthia Kiser
1b76b8154f
Fix additional ambiguous reference warnings during sphinx build
2024-01-02 06:14:24 +00:00
Cynthia Kiser
a69586f61c
Renamed rich_text reference to eliminate ambiguous reference warnings
2024-01-02 06:14:24 +00:00
Sylvain Fankhauser
b62d043f70
Relax django-taggit dependency to allow 5.0 ( #11363 )
2024-01-02 05:32:27 +00:00
Damilola Oladele
247b83030d
Documentation: GSoD—Improve the clarity of new tutorial ( #11357 )
...
Clarified tutorial based on feedback
2023-12-30 20:33:45 -08:00
Sævar Öfjörð Magnússon
2b061ac96e
Fix a typo in the SnippetsViewSet documentation ( #11390 )
2023-12-22 13:40:29 +00:00