sage
70bb15a7e1
Prevent long preview mode names from making the select element overflow the side panel. Fix #10240 ( #10354 )
2023-04-19 14:30:21 +01:00
Thibaud Colas
69fc0d41d2
Release notes for #10056
2023-04-19 13:38:23 +01:00
Thibaud Colas
bf1f15c3d5
Update relevant color declarations to use theme-agnostic color tokens
2023-04-19 13:38:23 +01:00
Thibaud Colas
567b999548
Set up new color design tokens for light and dark themes
2023-04-19 13:38:23 +01:00
Thibaud Colas
35868364c5
Remove unused dropzone styles
2023-04-19 13:38:23 +01:00
Thibaud Colas
308f01b3b1
Remove legacy dropdown-button--white variant
2023-04-19 13:38:23 +01:00
Thibaud Colas
5f050ec84b
Add theme class to HTML root based on user profile
2023-04-19 13:38:23 +01:00
Thibaud Colas
42600f8bec
Fix Storybook rendering of body element
2023-04-19 13:38:23 +01:00
Thibaud Colas
69eef34e56
Add more components to Storybook
2023-04-19 13:38:23 +01:00
Thibaud Colas
9325f7dd6f
Add theme field on UserProfile model and form
2023-04-19 13:38:23 +01:00
Matt Westcott
26a14da3d7
Release note for #10299
2023-04-19 13:25:58 +01:00
Sage Abdullah
66c0ef48e9
Add docs for setting panels/edit_handler on SnippetViewSet
2023-04-19 13:24:17 +01:00
Sage Abdullah
88b742b979
Clarify docs of Snippets features to better reflect current state
2023-04-19 13:24:17 +01:00
Sage Abdullah
5ae3b444da
Add edit_handler/form_class overrides to Snippets preview and compare views
2023-04-19 13:24:17 +01:00
Sage Abdullah
ecfafa595a
Add RevisionsCompareView.edit_handler attribute
2023-04-19 13:24:01 +01:00
Sage Abdullah
0087b811e8
Extract PreviewOnEdit.get_form_class() method
2023-04-19 13:24:01 +01:00
Sage Abdullah
e2c7b640d9
Add test examples of snippet models with panels/edit_handler on the viewset
2023-04-19 13:23:29 +01:00
Sage Abdullah
f41098fd26
Allow overriding get_edit_handler and get_form_class via SnippetViewSet
2023-04-19 13:23:29 +01:00
Sage Abdullah
14e5341e76
Extract ModelViewSet.{get_form_fields,get_exclude_form_fields}() methods
2023-04-19 13:23:15 +01:00
Matt Westcott
8ceede175f
Deprecate the partial_match argument
2023-04-19 10:53:25 +01:00
Matt Westcott
db691b5f1b
Remove use of partial_match on search
2023-04-19 10:53:25 +01:00
Matt Westcott
3ddc74941e
Switch Elasticsearch backend to non-partial match behaviour
2023-04-19 10:53:25 +01:00
Matt Westcott
ecc73762fa
Remove partial_match from search test fixtures and update Elasticsearch backend tests accordingly
2023-04-19 10:53:25 +01:00
Matt Westcott
32ad2a209a
Provide an autocomplete
endpoint on the fallback search backend
...
This is identical to the search method, since the standard search disregards word boundaries anyhow, but providing this endpoint means that we can document a common endpoint across all backends.
2023-04-19 01:40:08 +01:00
Thibaud Colas
9b4378485c
Release notes for #10344
2023-04-18 15:58:20 +01:00
Thibaud Colas
8f797266d2
Change the width of the minimap
2023-04-18 15:58:07 +01:00
Thibaud Colas
cd867ec952
Make sure link text conveys they can be used to expand minimap
2023-04-18 15:58:07 +01:00
Thibaud Colas
fdf930e49f
Implement nicer hover styles for side panel resizing
2023-04-18 15:58:07 +01:00
Thibaud Colas
6a8096bdb8
Reveal section on minimap click
2023-04-18 15:58:07 +01:00
Thibaud Colas
1c27af0618
Move the minimap to be next to side panels
2023-04-18 15:58:07 +01:00
Thibaud Colas
caf78e1ce9
Make the minimap store its state between page reloads
2023-04-18 15:58:07 +01:00
Thibaud Colas
64058647ec
Update resize icon in side panels
2023-04-18 15:58:07 +01:00
Thibaud Colas
79df3f8f01
Fix minimap overlapping with footer actions on mobile
2023-04-18 15:58:07 +01:00
Thibaud Colas
117eae2299
Release notes for #10347
2023-04-18 15:32:56 +01:00
Thibaud Colas
78eb3d5844
Always set Sass output to expanded so CSS process is identical in dev and prod builds ( #10347 )
2023-04-18 15:32:05 +01:00
Sage Abdullah
72f77e4359
Add tests and release notes for #10336
2023-04-18 20:25:33 +07:00
fidoriel
b9e629f63e
Fix template configuration on snippets index results view
2023-04-18 19:39:41 +07:00
SwA
0447b259c7
fix: modify get_full_url to omit adding base_url in inaplicable cases ( #10291 )
...
Fixes #10285
2023-04-18 12:30:20 +01:00
Matt Westcott
cc223daa17
Fix autocompletion on sqlite FTS backend
...
* Fix incorrect signatures for `SQLiteAutocompleteQueryCompiler`
* Syntax for an autocomplete search should have the `*` outside of quotes - `"foo"*` rather than `"foo*"`
* Query compiler was hardcoded to search on the 'title' and 'body' fields of the FTS table, rather than 'autocomplete'
Full support for searching on specified fields is still lacking - the 'title' and 'body' fields are special cased, and other column names will return a SQL error.
2023-04-18 11:11:46 +01:00
Matt Westcott
5c65ac98f8
Fix autocompletion on MySQL FTS backend
...
Similar to #10341 ; the `*` operator should be appended to the term, not prepended. `title` and `body` are special-cased, and specifying other columns explicitly still does not work.
2023-04-18 11:11:23 +01:00
Sage Abdullah
ba239e12eb
Update default FieldPanel icon test to use the placeholder icon instead of arrow-down-big
2023-04-18 19:14:02 +10:00
Sage Abdullah
64ea6dd8b8
Fix missing newline in editing interface customisation docs
...
Regression in 2abd7916af
2023-04-18 19:14:02 +10:00
Daniel Kirkham
0d77311fb6
Update number of tests
2023-04-18 18:14:48 +10:00
LB Johnston
dd2a21bad1
Allow blocking redirect in Stimulus Action controller #10035
...
- If values were false/empty string, it would fall back to the event value
- Instead, ensure that the custom event details OR the param can be used to override this and stop redirection
2023-04-18 15:38:41 +10:00
Thibaud Colas
68cea0429a
Release notes for #10320
2023-04-18 02:49:04 +01:00
Sage Abdullah
c872ca6027
Remove default icon for RegexField and add comments for form field icon fallback
2023-04-18 02:49:04 +01:00
Sage Abdullah
2df0a244cf
Add test for overriding panel icons
2023-04-18 02:49:04 +01:00
Sage Abdullah
a1af255673
Safely resolve model field before falling back to form field when resolving FieldPanel icon
2023-04-18 02:49:04 +01:00
Sage Abdullah
0916c42b3a
Unify default icons for model fields and blocks
...
URLField/URLBlock: link-external
RichTextField/RichTextBlock: pilcrow
FloatField/DecimalField/FloatBlock/DecimalBlock: decimal
RegexField/RegexBlock: regex
PageChooserBlock: doc-empty-inverse
IntegerField: None (will use the arrow-down-big)
IntegerBlock: placeholder
2023-04-18 02:49:04 +01:00
Sage Abdullah
136a5486d8
Add decimal and regex icons
2023-04-18 02:49:04 +01:00