0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 13:10:14 +01:00
Commit Graph

16745 Commits

Author SHA1 Message Date
Thibaud Colas
d79bac199f Adjust footer action styles based on new designs 2024-01-17 16:42:00 +00:00
Thibaud Colas
6668f23beb Switch workflow and workflow task editing to use a button when enable/disable are not allowed 2024-01-17 16:42:00 +00:00
Thibaud Colas
7c057661ff Remove legacy dropdown component 2024-01-17 16:42:00 +00:00
Thibaud Colas
885cf7b76c Clean up footer actions styles 2024-01-17 16:42:00 +00:00
Thibaud Colas
e801e6cec4 Convert pages footer actions to dropdown_button 2024-01-17 16:39:31 +00:00
Thibaud Colas
b68735a3be Convert workflow and workflow task create/edit views to dropdown_button 2024-01-17 16:39:30 +00:00
Thibaud Colas
ee2d274da4 Apply new footer styles to contrib.settings 2024-01-17 16:39:30 +00:00
Thibaud Colas
568256fb67 Convert snippets action menus to dropdown_button 2024-01-17 16:39:30 +00:00
Thibaud Colas
67c97b2168 Add warning styles for dropdown-button 2024-01-17 16:39:30 +00:00
Thibaud Colas
bc461d4de3 Convert all header dropdowns to new dropdown_button component 2024-01-17 16:39:30 +00:00
Thibaud Colas
91aa28b11a Add new dropdown-button component 2024-01-17 16:39:30 +00:00
Thibaud Colas
89aa153168 Universal listings release notes first draft 2024-01-17 15:33:07 +00:00
Sage Abdullah
5039d0f630 Fix results URL for HistoryView 2024-01-17 15:33:07 +00:00
Sage Abdullah
c232caaa66 Use w-swap for removing active filters
This allows the filters to be removed via AJAX. However, the filter form
won't reflect the updates automatically, as it's not part of the results
response. This should be fixed separately, once we have the filter popup
component in place.

In addition, also simulate the future intended behaviour of opening the
active filter when clicking on the filter (not the remove button) by
opening the filters dialog instead.
2024-01-17 15:33:07 +00:00
Sage Abdullah
a352eee9d1 Move index_results_url_name to BaseListingView and add index_results_url cached property 2024-01-17 15:33:07 +00:00
Sage Abdullah
85408d8626 Implement design for active filter pills 2024-01-17 15:33:07 +00:00
Sage Abdullah
0de0cf4dd5 Add info-125 shade to color variables 2024-01-17 15:33:07 +00:00
Sage Abdullah
d8f2a6297f Rename active-filters class to w-active-filters 2024-01-17 15:33:07 +00:00
Matt Westcott
e82cb3d8fe Add links for removing active filters from listings 2024-01-17 15:33:07 +00:00
Matt Westcott
2a68a4cb9e Make index_url into a cached property on BaseListingView
Also clean up a few views that redundantly add it to the template context again
2024-01-17 15:33:07 +00:00
Matt Westcott
76049460a5 Display the list of active filters as part of index results 2024-01-17 15:33:07 +00:00
Matt Westcott
7fd4e14f8e Set datetimepicker events to bubble so that they trigger a filter form refresh 2024-01-17 15:33:07 +00:00
Thibaud Colas
be14465c4e
Improve CSS authoring guidelines (#10049)
Co-authored-by: sag​e <laymonage@gmail.com>
2024-01-17 07:40:47 +00:00
Rohit Sharma
6f93b1a2c4 Fix long comment UI issues (scroll shaking & comment overflow)
- Includes PR #11322
- Fixes #10984 (scrolling issues with long initial comments)
- Fixes #11324 (overflow of comment reply with long words)
2024-01-17 17:34:48 +10:00
nandini584
a88a775aea Ensure the sidebar account toggle has no duplicate accessible labels
- Remove the integration test for this element as it was failing even though the element has valid content.
- Fixes #11372
2024-01-17 12:43:38 +10:00
nandini584
e91cdb47da Update Jest version (package.json) 2024-01-17 12:43:38 +10:00
Neeraj P Yetheendran
3faeabb4d7 Allow admin backend login URL to be customised (#11415)
Fixes #10882
2024-01-16 23:50:31 +00:00
nandini584
daf0c96841 Fix close button visibility in new dialog non-message variant
- Add w-dialog root classname to support overall styling of the dialog if a message is provided
- Fix up layout of dynamic classes to avoid additional spaces
- Fixes #11306
2024-01-17 09:27:50 +10:00
DevilsAutumn
fe1a306285 Move to a select field for determining the way TableBlock will use headers
- Make the new table_header_choice select backwards compatible with tables stored before Wagtail 6.0
- Built on previous PRs #9673 & #6763
- Fixes #5989
2024-01-17 08:37:40 +10:00
Tommaso Amici
a4c18b4957 Add optional caption field to TypedTableBlock
- Closes #8507
- Make caption default to "" for tables that predate adding the caption field
- Update the html generated in JS so the rendered form matches our new styles
- Use a consistent period (full stop) at the end of the help text sentence (including table fields)
2024-01-17 08:15:35 +10:00
LB Johnston
0ec50f0d82 Migrate Styleguide ad-hoc JS to use styles only 2024-01-16 19:03:45 +10:00
LB Johnston
fdad793a50 Fix up contributor name for #11294 2024-01-16 18:59:41 +10:00
Rohit Sharma
33fbbed19d Resolve error when specifying 'slug' as a read-only field (#11447) 2024-01-15 19:19:40 +00:00
Matt Westcott
67f495bb4c Rewrite recent edits panel to use audit log
As per https://github.com/wagtail/wagtail/issues/11323#issuecomment-1889520913

Fixes #11323. Thanks to @elhussienalmasri for the initial investigation and proposed fix.
2024-01-15 19:08:28 +00:00
LB Johnston
15f7486e67 Add changelog for #11294 2024-01-15 09:01:26 +10:00
Aman Pandey
3de0eca7e4 Remove inline script usage for enabling commenting
- Fixes #11287
- Add basic unit tests for form element data attributes showing/not showing based on commenting configs
2024-01-15 09:01:26 +10:00
LB Johnston
b93508f4ce Enhance Stimulus InitController to support additional custom event dispatching 2024-01-15 09:01:26 +10:00
LB Johnston
0ee97d45de Add upgrade considerations for data-tippy attribute deprecation 2024-01-11 16:23:09 +00:00
LB Johnston
edc5991f50 Remove initTooltips util & move plugins to controller files
- Fully remove initTooltips util and replace with Controller usage
- Move plugins to their used Controller files
- Export hideTooltipOnEsc as it's used by other code
- Add unit tests for plugin behaviour in the controller tests
- Fixes #10668
- Built on #10869
2024-01-11 16:23:09 +00:00
Neeraj P Yetheendran
f0a67975db Add ability to override a Page's copy form
- Documentation added for Customising Copy Form with an auto-incrementing slug example
- Add tests
- Resolves #10147
2024-01-11 08:35:53 +10:00
vaishnav dasari
3680e32ca8 Fix a few grammar issues in code inline docs/comments
Closes #11429
2024-01-11 07:47:29 +10:00
LB Johnston
235f217fee Add changelog for #11419 2024-01-11 07:43:16 +10:00
Thibaud Colas
445773a2a6 Reorder and rewrite CONTRIBUTING.md to be more actionable
Add link to issue tracking page
2024-01-11 07:43:16 +10:00
Thibaud Colas
2706a4c0ce Add a new "first-time contributor" section at the top of contribution guidelines 2024-01-11 07:43:16 +10:00
Thibaud Colas
75efe99ed2 Reword first contribution guide for readability 2024-01-11 07:43:16 +10:00
Thibaud Colas
1c063da0bc Update issue templates with a new "Who can work on this" section 2024-01-11 07:43:16 +10:00
Matt Westcott
a099cf7ac3 Release note for #11436 2024-01-10 16:18:14 +00:00
Matt Westcott
785f79a184 Remove redundant paginate_queryset method 2024-01-10 16:17:10 +00:00
Matt Westcott
0135b3c27f Replace calls to BaseListingView.get_ordering elsewhere with self.ordering 2024-01-10 16:16:05 +00:00
Matt Westcott
4d435c5ec9 Make self.ordering into a cached property so that we don't have to explicitly call get_ordering 2024-01-10 16:16:05 +00:00