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

13582 Commits

Author SHA1 Message Date
Sage Abdullah
99aa7adc0b Add filtering support to Snippets listing view 2022-07-21 09:40:05 +01:00
Sage Abdullah
dc525f56ae Extract filters styles and template from report to its own component 2022-07-21 09:40:05 +01:00
Sage Abdullah
5a957a629a Retain other query params in header search behaviour 2022-07-21 09:40:05 +01:00
Sage Abdullah
4bedf6e045 Extract queryset filtering code from ReportView to generic IndexView 2022-07-21 09:40:05 +01:00
Sage Abdullah
17ca97e0ab Remove SearchableListMixin
Functionality is already covered by IndexView, and we can't make
IndexView extend from SearchableListMixin because the queryset still needs to
be manipulated (e.g. for filtering).

Calling get_queryset() from SearchableListMixin (using super().get_queryset())
will return a search result object instead of a queryset.
2022-07-21 09:40:05 +01:00
Sage Abdullah
f1627195f3 Allow searching on non-indexed models in generic IndexView 2022-07-21 09:40:05 +01:00
Sage Abdullah
1cf7713a38 Move snippets' get_queryset and paginate_queryset methods to generic IndexView 2022-07-21 09:40:05 +01:00
Thibaud Colas
4a7892a9b5 Add release notes for #8874 and rework existing WHCM release notes 2022-07-20 21:55:09 +01:00
anujaraj
10afd9d7ed
Add a border around modal dialogs so they can be identified in forced colors mode. Fixes #8833 (#8874) 2022-07-20 21:53:41 +01:00
anujaraj
df50d8a1a4
Add bottom border to messages. Fixes #8836 (#8875)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-20 21:34:23 +01:00
LB (Ben Johnston)
aa55457c82
Convert reference pages documentation section to Markdown (#8881)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-20 16:49:25 +01:00
LB Johnston
a24a5f204b remove original POC wagtail_icon shared template
- added in 4e7ccdcdc9 / #4381
- replaced in  eed16e0034 but the original template was never removed
2022-07-20 15:22:14 +01:00
LB Johnston
8bce3c5a05 fix up icon usage to use the icon template tag
- follow up from #8743
- found two other icon usages that should be updated
2022-07-20 15:22:14 +01:00
Matt Westcott
3b99d2026e Release note for #8822 2022-07-20 13:59:03 +01:00
Matt Westcott
8f34e47b68 Note that paragraph / line breaks are not counted toward the limit 2022-07-20 13:59:03 +01:00
Matt Westcott
3fa5eb125c Implement max_length validation on RichTextBlock 2022-07-20 13:59:03 +01:00
Matt Westcott
8970568b93 Make max_length on RichTextField validate the length of the text, excluding HTML tags 2022-07-20 13:59:03 +01:00
Thibaud Colas
598071b7a2 Release notes for #8824. Fix #8424 2022-07-20 12:08:47 +01:00
Thibaud Colas
624ca4b7cc Add missing grey-150 and teal-75 2022-07-20 12:08:47 +01:00
Thibaud Colas
c87628758c Update documentation for custom admin colours, with live example
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2022-07-20 12:08:47 +01:00
Thibaud Colas
5c362bf831 Refactor all stylesheets to use CSS variables
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2022-07-20 12:08:47 +01:00
Thibaud Colas
758a40d650 Remove now-unneeded switch variant 2022-07-20 12:08:47 +01:00
Thibaud Colas
d43f5d7e77 Set up separate Sass-based color definitions for userbar 2022-07-20 12:08:47 +01:00
Thibaud Colas
0d1b76b58e Refactor existing usage of color utility classes 2022-07-20 12:08:47 +01:00
Thibaud Colas
08a7c9a4e4 Configure stylelint to pick up hard-coded colors 2022-07-20 12:08:47 +01:00
Thibaud Colas
73ce1b6f8e Remove now-unused color variables styles 2022-07-20 12:08:47 +01:00
Thibaud Colas
1b2aa07a57 Remove legacy colour palettes from styleguide 2022-07-20 12:08:47 +01:00
Thibaud Colas
8f96a5669d Switch Tailwind color theme to use customisable CSS variables
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2022-07-20 12:08:47 +01:00
Thibaud Colas
9b0c9010bd Update to latest Tailwind release 2022-07-20 12:08:47 +01:00
LB Johnston
f9648349d6 contributor - use Tidiane (preferred name) instead of Tidjani 2022-07-20 20:32:26 +10:00
LB Johnston
c8d1a6b00a documentation - fix a few internal references 2022-07-20 17:30:08 +10:00
tijani
8cdb3f3a60 Added blocks_by_name, first_block_by_name methods to StreamValue
- A shortcut for accessing StreamField blocks by name
2022-07-20 17:13:20 +10:00
LB Johnston
0c9d72669c documentation - fix table of contents issue for pages reference 2022-07-20 17:11:23 +10:00
LB Johnston
2bb18d7703 remove duplicate custom bulk actions docs
- introduced in #8574
- move snippets bulk actions docs to existing markdown docs variant
2022-07-20 17:10:45 +10:00
PaarthAgarwal
c404acb10d cleanup page listing styles
- fixes #8867
- relates to PR #8792
2022-07-20 16:27:19 +10:00
Dolidodzik
b131b4813e replace latin abbreviations with english phrases & updated docs guidelines
- added sub-section to language part of general_guidelines.md
- fixes #8860
2022-07-20 16:11:38 +10:00
anujaraj
b3768a1145 Contrast themes – Update help-block styles
- Ensure help blocks show more appropriately in Windows High Contrast Mode with less reliance on communication via colour alone
- fixes #8817
- added dashed-dotted borders styles and removed forced-colors-adjust:none properties to/from help boxes
2022-07-20 15:47:11 +10:00
Coen van der Kamp
1b9628f06c Add styling for Django 4 div-based radio select markup
- fixes #8869
2022-07-20 15:41:45 +10:00
PaarthAgarwal
0ed07c66db adopted shared header for form submission page
- relates to #8539
- fixes #3759
- fixes #3236
- rename index_submissions to submissions_index (aligns with naming of all other index views)
2022-07-19 22:00:54 +10:00
Sage Abdullah
efaad25932 Fix locale selector link in page explorer 2022-07-19 06:46:11 +01:00
Sage Abdullah
de53c7b22d Reintroduce .form-side style edits from preview side panel 2022-07-19 06:46:11 +01:00
Sage Abdullah
c942096ab1 Remove side panel init code in page-editor.js 2022-07-19 06:46:11 +01:00
Paarth Agarwal
35b5ed350a
Adopt slim header in page listing views (#8792)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-18 18:28:51 +01:00
Matt Westcott
d07ff422d8 Documentation and release note for #8703 2022-07-18 15:53:32 +01:00
Jaspreet-singh-1032
3eb1dab37f review fixes 2022-07-18 15:15:14 +01:00
Jaspreet-singh-1032
3ac2302065 fixed indentation in template 2022-07-18 15:15:14 +01:00
Jaspreet-singh-1032
c4d17e5535 review fixes 2022-07-18 15:15:14 +01:00
Jaspreet-singh-1032
8466203129 review fixes 2022-07-18 15:15:14 +01:00
Jaspreet singh
fbaa382512 Update wagtail/admin/templates/wagtailadmin/pages/confirm_delete.html
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2022-07-18 15:15:14 +01:00
Jaspreet singh
c92aebe47d Update wagtail/admin/templates/wagtailadmin/pages/confirm_delete.html
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
2022-07-18 15:15:14 +01:00