LB Johnston
20a75b2a90
eslint - remove rule import/newline-after-import & format
...
- relates to #8731
2022-06-23 13:35:09 +01:00
PaarthAgarwal
4411b76388
Added new non collapsible breadcrumbs to page chooser
2022-06-23 07:16:19 +10:00
PaarthAgarwal
8c2c4a1098
Add new breadcrumbs to page explorer
...
- added test and updated existing test for breadcrumbs-next
- fix background issue so that the breadcrumbs work correctly on any background
2022-06-15 17:27:33 +10:00
Jacob Topp-Mugglestone
46d947bb07
Fix/splitting blocks with highlights ( #8668 )
...
* Fix splitting block with highlighted text deleting text
* Fix issue with splitting blocks at start/end crashing editor
* Add unit tests for Draftail split behaviour
2022-06-13 16:33:57 +01:00
LB Johnston
9cb0c96001
fix issue with spinner icon & longrunning active state
...
- using padding meant the icon would visually spin 'wobbly'
- button content is no longer centre aligned so button longrunning active state should not be either
- fixes #8615
2022-06-13 15:29:55 +01:00
PaarthAgarwal
25b82aef76
Removed breadcrumbs next's reliance on data-slim-header
...
- fixes #8644
2022-06-13 21:24:38 +10:00
Matt Westcott
2e08b67546
Eliminate jQuery from chooser widget
2022-06-12 15:47:24 +10:00
Matt Westcott
79884dd257
Add generic chooser widget JS
2022-06-12 15:47:24 +10:00
Matt Westcott
c90bbcb9c8
Add a default chooser-modal.js endpoint for chooser modals that need no custom JS configuration
2022-06-12 15:47:24 +10:00
LB Johnston
2abe439064
ensure non-square avatar image will correctly overlay content
...
- fixes #8428
2022-06-12 15:26:11 +10:00
Sage Abdullah
052115f261
Fix locale selector background color
...
- fixes #8588
2022-06-10 07:38:20 +10:00
Steve Steinwand
ab92256b09
Fix sidebar rtl styles, add wagtail branding module to sidebar stories
...
- fixes #8641
2022-06-09 22:03:03 +10:00
PaarthAgarwal
764d3bc1fd
Adopted new Tabs in Workflow History Detail page
...
- resolves #8562
2022-06-09 17:32:47 +10:00
Thibaud Colas
fbabd6ef5e
Disable Webpack css-loader URL handling in Storybook. Fix #8646
2022-06-09 17:12:52 +10:00
Matt Westcott
d641f6a9ac
Restore previous styles for status tags in title cell
2022-06-08 17:35:40 +01:00
Matt Westcott
d21cdad976
Convert search results view to wagtail.admin.ui.tables framework
2022-06-08 17:35:40 +01:00
Matt Westcott
87db15927a
Move _page_title_choose.html include contents into _list_choose.html
2022-06-08 17:35:40 +01:00
Matt Westcott
a3098acd53
Move parent page row into the <tbody>
element
...
The general-purpose listing include put it in the `thead` to handle the explorer page design (where the parent page appears above the header row) - it isn't really meaningful for the chooser view to do that.
2022-06-08 17:35:40 +01:00
Thibaud Colas
4eb35dbc0a
Refactor styles to be loaded via single core.css file ( #8419 )
2022-06-07 13:26:58 +01:00
Thibaud Colas
2ab656a8d3
Move Wagtail’s stylesheets and vendor CSS & image files to client subfolder ( #8419 )
2022-06-07 13:26:58 +01:00
LB Johnston
6d0659333d
fix spelling - behaviour vs behavior
...
- documentation should be using the British english spelling
- most other spelling is `behaviour` so this aligns with the majority
2022-06-02 07:56:05 +10:00
jacobtoppm
a72b89b38d
Tweak border: none to border: 0 to fix linting
2022-06-01 17:19:17 +01:00
Tidiane Dia
5af282625d
Make images listing style consistent across views
2022-06-01 16:50:25 +01:00
Tidiane Dia
a5e5f46b2d
Group filter select fields in images listing view
2022-06-01 16:50:25 +01:00
Steve Stein
910844eb30
Implement redesign of the Workflow Status dialog, fixing accessibility issues. Fix #8476 ( #8538 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-06-01 16:21:11 +01:00
LB (Ben Johnston)
0012c344d9
auto-format core markdown files ( #8603 )
...
- clean up formatting on existing martkdown files to align with prettier
2022-06-01 23:08:56 +10:00
LB (Ben Johnston)
9a04aefe9a
Disable ESLint prefer-default-export globally ( #8577 )
...
- default / named exports are used in varying places and it is not a critical blocker for future code
- disable this rule and in the future it can be re-assessed or moved to the core wagtail eslint config
2022-05-31 22:47:50 +01:00
Paarth Agarwal
61c9422104
Added unit test for breadcrumb ( #8606 )
...
* completed tests for breadcrumbs
* clean up redundant code
2022-05-30 17:04:43 +10:00
Tibor Leupold
4f5d688021
Add ability for upgrade notification to show the relevant release to the user
...
This now implements the logic to link to the next minor's release notes
when such a version difference is computed. If a patch release
difference is computed, then those release notes are linked.
The utils.tests.js seemed a bit unexpected location, because there is no
`utils.js` module. Now the module defining the tests and the one
defining the functionality are named similarly, as is common in the rest
of the code base.
- resolves #7336
- resolves #7405
- resolves #3938
- fixes #8537
Fix issue where upgrade notification was not using translated content.
2022-05-26 19:57:46 +10:00
Hitansh Shah
f8a7c6f4ae
Added functionality in bulk actions: ability to use shift+click to select multiple items at once
...
- Signed-off-by: Hitansh Shah <shah.hitanshsanjay.mat20@itbhu.ac.in>
- resolves #8490
2022-05-25 21:45:12 +10:00
Stefan Hammer
906dfa2773
Added missing gettext calls to the CommentComponent
2022-05-25 20:45:09 +10:00
Matt Westcott
a67fd85fcf
Rename reshow_upload_form step on document chooser to reshow_creation_form
...
We'll standardise on this name, since not all creation forms involve uploads.
2022-05-25 20:10:47 +10:00
Matt Westcott
34f646c611
Move reshow_creation_form step handling into the base ChooserModalOnloadHandlerFactory
2022-05-25 20:10:47 +10:00
Matt Westcott
29fbfd0ea4
Move ajaxifyDocumentUploadForm logic into the base ChooserModalOnLoadHandlerFactory
2022-05-25 20:10:47 +10:00
Matt Westcott
c5d6bb32e5
Use data-chooser-modal-search-filter attribute to identify the snippet locale filter
2022-05-25 20:10:47 +10:00
Matt Westcott
b45d2a0973
Adopt a standard data-chooser-modal-search attribute to identify the search form
2022-05-25 20:10:47 +10:00
Matt Westcott
b958585ff8
Add a containerElement option to SearchController to limit scope of selectors
...
This will allow us to use more generic selector names without risking false matches. While we're at it, consistently use containerElement as the variable name for this rather than context, because context typically refers to template context dictionaries.
2022-05-25 20:10:47 +10:00
Matt Westcott
910ca8ca51
Change document chooser step names to 'choose' and 'chosen' for consistency with snippet chooser
2022-05-25 20:10:47 +10:00
Matt Westcott
b37d16b07b
Adopt a standard data-chooser-modal-choice attribute to identify 'chosen' links
2022-05-25 20:10:47 +10:00
Matt Westcott
b5746c386b
Convert document chooser modal onload handlers to a subclass of ChooserModalOnloadHandlerFactory
2022-05-25 20:10:47 +10:00
Matt Westcott
0ac07eba5e
Introduce a factory class for generating the onload handlers
2022-05-25 20:10:47 +10:00
Matt Westcott
6b30a1aae9
Use SearchController on task chooser modal
2022-05-25 19:00:50 +10:00
Matt Westcott
fc31a6711d
Use SearchController on snippet chooser modal
2022-05-25 19:00:50 +10:00
Matt Westcott
1fc66294a4
Move snippet-chooser-modal.js to client js
2022-05-25 19:00:50 +10:00
Matt Westcott
2af6ad3683
Use SearchController on document chooser modal
2022-05-25 19:00:50 +10:00
Matt Westcott
6e9660c67b
Add a reusable helper function for submitting creation forms
2022-05-25 19:00:50 +10:00
Matt Westcott
d311a40e27
Use gettext for server error messages in modals
...
This avoids the need to pass them in jsonData (which was broken in a few cases anyhow, since we were forgetting to pass jsonData to the ajaxify function)
2022-05-25 19:00:50 +10:00
Matt Westcott
9aa672c01c
Add a get_value_data method to AdminTaskChooser for consistency with others
2022-05-25 16:32:07 +10:00
Matt Westcott
55fdafdfe6
Make radio buttons / checkboxes display vertically under Django 4.0
...
Fixes #8190
Django 4 changed the rendering of radio button / checkbox lists to nested divs rather than ul/li - see 5942ab5eb1
. This change simply applies the existing li styles to second-level divs.
2022-05-25 08:31:11 +10:00
Matt Westcott
820c27fca9
lint fix for dialog.js
...
I'm guessing this was caused by #8541 and #8543 being merged in close succession...
2022-05-20 16:55:06 +01:00