0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 01:22:07 +01:00
Commit Graph

15219 Commits

Author SHA1 Message Date
Thibaud Colas
6bb7e129b6 Fix color contrast of red error messages in dark mode 2023-05-25 08:36:49 +01:00
Thibaud Colas
7cb23a00d9 Simplify rich text commenting color styles for dark mode compatibility 2023-05-25 08:36:49 +01:00
Thibaud Colas
b920ced26d Fix text color for time picker options 2023-05-25 08:36:48 +01:00
Thibaud Colas
770a01f458 Use the correct text color for info boxes in workflow side panel section 2023-05-25 08:36:48 +01:00
Thibaud Colas
88417e1567 Use the correct color for status/info side panel dividers in dark mode 2023-05-25 08:36:30 +01:00
Thibaud Colas
56f97890da Fix hover styles for secondary buttons in listings 2023-05-25 08:36:30 +01:00
Thibaud Colas
de12dbbd4e Remove unneeded border for footer actions 2023-05-25 08:36:30 +01:00
Thibaud Colas
ed13e0f7e8 Fix text color for selected / highlighted items in chooser modal listings 2023-05-25 08:36:30 +01:00
Thibaud Colas
cf116f90cf Fix close button appearances in choosers & dialogs 2023-05-25 08:36:30 +01:00
Thibaud Colas
13df497014 Use the correct hover color for form panel icons 2023-05-25 08:36:30 +01:00
Thibaud Colas
4d4feb2ca0 Fix switch component having a white border in dark mode 2023-05-25 08:36:30 +01:00
Thibaud Colas
aca7159b45 Re-add distinctive borders in page explorer 2023-05-25 08:36:30 +01:00
Thibaud Colas
91f2e18b22 Update focus color to a shade that works better in dark mode 2023-05-25 08:36:29 +01:00
Matt Westcott
530531ab62 Release note for #10388 2023-05-24 11:07:50 +01:00
Sage Abdullah
f005990b4a Apply suggestions from code review 2023-05-24 11:06:00 +01:00
Sage Abdullah
9107fdd8aa Add documentation for using inline models with snippets 2023-05-24 11:06:00 +01:00
Sage Abdullah
4d49ebe061 Clarify that TaggableManager should only be used if RevisionMixin is not applied 2023-05-24 11:06:00 +01:00
Sage Abdullah
0c075fb8de Replace mentions of ModelAdmin with their snippets equivalent 2023-05-24 11:06:00 +01:00
Sage Abdullah
f2accc89e3 Add link to snippets icon customisation from icons documentation 2023-05-24 11:06:00 +01:00
Sage Abdullah
6ec734f836 Add separate headings for each snippets view customisation 2023-05-24 11:06:00 +01:00
Sage Abdullah
88c6cfcba6 Restructure snippets customisation example to show the viewset before explaining the attributes 2023-05-24 11:06:00 +01:00
Sage Abdullah
d2c33b7513 Add intro paragraphs for rendering snippets and optional features 2023-05-24 11:06:00 +01:00
Sage Abdullah
8f9c908af7 Explicitly recommend using register_snippet as a function 2023-05-24 11:06:00 +01:00
Sage Abdullah
fb734e9184 Split snippets documentation into separate pages 2023-05-24 11:06:00 +01:00
Sage Abdullah
939b14b33c Move snippets.md docs to its own directory 2023-05-24 11:06:00 +01:00
viragjain30
9790cccd9c
Prevent lowercase conversions of IndexView column headers 2023-05-23 15:28:41 +01:00
Christer Jensen
bd38c91163
Fix incorrect link to UsageView in EditView for snippets
Currently all links to UsageView in EditView link to `None` instead.
2023-05-23 15:03:21 +01:00
Thibaud Colas
b5aa8e24be Release notes for #10460 2023-05-23 08:22:53 +01:00
Sage Abdullah
1375def81c Prevent comment notifications toggle from overlapping with side panel close button 2023-05-23 08:22:53 +01:00
Sage Abdullah
a29d573af8 Remove comment button on InlinePanel fields 2023-05-23 08:22:53 +01:00
Thibaud Colas
aca340f368 Release notes for #10437 2023-05-22 11:00:21 +01:00
sag᠎e
f8a9ddff09
Move comment notifications toggle to the comments side panel (#10437)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-05-22 10:56:15 +01:00
Thibaud Colas
f372551a83 Fix StreamBlock documentation indentation 2023-05-20 07:21:48 +10:00
Thibaud Colas
37ea0b16ef Release notes for #10282 2023-05-19 07:12:49 +01:00
Thibaud Colas
0e1de4ccfa Release notes for #10282 2023-05-19 07:12:22 +01:00
Sage Abdullah
188bbbb0c5 Pass the correct for_update value for get_form_class in SnippetViewSet's edit views (#10445)
Fixes #10438
2023-05-17 13:59:15 +01:00
Sage Abdullah
cc30fd3a13 Fix crash when deleting a single snippet using the bulk actions interface (#10447)
Fixes #10441
2023-05-17 12:46:02 +01:00
Thibaud Colas
efb75c0ae3
Ensure comment buttons always respect WAGTAILADMIN_COMMENTS_ENABLED. Fix #10406 2023-05-17 10:49:16 +01:00
Sage Abdullah
1e9f925ff8
Add changelog for #10448 2023-05-17 10:19:13 +01:00
Christer Jensen
2189652ae9
Update documentation for log_action parameter on RevisionMixin.save_revision
Previous documentation seemed to incorrectly imply that
the default value for `log_action` was `True` when it is
in fact `False`. This can confuse readers not looking at
the method signature.
2023-05-17 10:10:03 +01:00
Sage Abdullah
351bffa304
Release notes for #10421 2023-05-15 16:02:26 +01:00
Matt Westcott
a29c5c883e
Ensure that copying page correctly picks up the latest revision
Fixes #10393
2023-05-15 15:59:02 +01:00
Matt Westcott
8b32acb2ad add mock for updateSettings when testing TableBlock 2023-05-15 15:29:11 +01:00
Sage Abdullah
31948fc9db Fix TableBlock resize target selector
Fixes #10427.

In d51ec00ce1, the target was changed from
'[data-field] > .handsontable' to '.handsontable', as the .handsontable
element is no longer a direct descendant of the [data-field] element.

However, this means that we're marking ALL elements with .handsontable
as resize targets, which is not ideal as pretty much all elements
generated by Handsontable have that class.

The original logic would presumably only select the outermost element
with the .handsontable class, which is equal to the element with the
foo-handsontable-container ID (we store this in the containerId
variable).

Frankly, removing this selector outright would also fix the issue. That
said, let's keep this selector in anyway, to match the logic in older
releases.
2023-05-15 14:39:06 +01:00
Sage Abdullah
b42e934449 Fix incorrect check of Handsontable size options
Regression in 933a730928 introduced in 4.2.

This causes the discrepancy seen between 4.1 vs 4.2 (and later). In 4.2,
this check was broken, which means the event handler never gets added.

The combination of the event handler and the incorrect selector (fixed
in the next commit) would resize all Handsontable elements, resulting in
the bug where the table cannot be interacted with.

The commit b9f8a6b6c0 fixed another cause
of the issue, which was calling `resizeWidth(getWidth())`. The
getWidth() function should only be used to set the Handsontable's
settings, while resizeWidth should be called with '100%' as done within
the event handler.

However, seeing that the event listener is not even attached in 4.2
onwards, dispatching the resize event might not be necessary and
Handsontable might already handle this correctly. That said, let's
avoid making other changes that could potentially cause issues.

With this commit, the bug should reappear in 4.2 and later releases,
making it consistent with 4.1. The bug will be fixed in the next commit.
2023-05-15 14:37:45 +01:00
Matt Westcott
d8e8e240f4 Release note for #10430 in 5.0.1 2023-05-15 14:37:41 +01:00
Matt Westcott
df91b382f3 Release note for #10430 in 4.2.4 2023-05-15 14:34:12 +01:00
Matt Westcott
900dce9362 Release note for #10430 in 4.1.6 2023-05-15 14:34:06 +01:00
Daniel Kirkham
c895e9031b Fix treebeard link 2023-05-14 07:40:13 +10:00
Matt Westcott
728d70e4f9 Allow django-taggit 4.x 2023-05-12 17:49:06 +01:00