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

904 Commits

Author SHA1 Message Date
Matt Westcott
dc99bd02c1 Change create tab ID back to 'upload'
This allows the 'upload one now' link to work again without having to update the translation string (which has tab-upload hard-coded)
2022-07-04 19:01:28 +01:00
Matt Westcott
cbe8e3e794 move collection chooser into filter form 2022-07-04 19:01:28 +01:00
Matt Westcott
0159913261 use generic creation_form.html for document chooser upload template 2022-07-04 19:01:28 +01:00
Matt Westcott
3b993611b0 Inherit from generic chooser.html template 2022-07-04 19:01:28 +01:00
Matt Westcott
4dd3483617 Add a (non-functional) 'create' form to generic chooser modal 2022-07-04 13:48:35 +01:00
LB Johnston
04839f7caf Migrate Portal React component to Typescript 2022-07-04 11:57:28 +01:00
LB Johnston
2ba00d99b0 fix - ensure tooltips get re-initialised
- chooser modals (e.g. documents)
- header search
2022-07-04 07:57:16 +10:00
Matt Westcott
172b133568 Eliminate the custom response name 'snippetChosen'
This makes the snippet chooser modal code a completely vanilla implementation of ChooserModalOnloadHandlerFactory, so we don't need snippet-chooser-modal.js at all.
2022-06-29 13:42:04 +10:00
Matt Westcott
be5b8c41c7 Deprecate createSnippetChooser 2022-06-29 13:42:04 +10:00
Matt Westcott
f3e40571f1 Make SnippetChooser a subclass of Chooser 2022-06-29 13:42:04 +10:00
Matt Westcott
b5733d92d4 eliminate jquery from SnippetChooser 2022-06-29 13:42:04 +10:00
Matt Westcott
9af3efd261 Refactor a SnippetChooser class out of createSnippetChooser
Use the client/src/components/ChooserWidget Chooser class as a guide, but don't copy code from there (so that any snippet-specific customisations don't get lost in translation)
2022-06-29 13:42:04 +10:00
Bernd de Ridder
013ff2179b Update human-readable-date with accessible tooltip
- resolves #8697
2022-06-29 11:02:16 +10:00
PaarthAgarwal
87172278a9 Remove old legacy breadcrumbs completely 2022-06-28 22:13:06 +10:00
LB Johnston
d6baee0754 gettext utils - fix issue where ngettext would not work
- ngettext was not correctly set up and would not do any pluralisation
- add full unit test suite for JS translation utils
- add full JSDOC definitions for JS translation utils
2022-06-27 14:44:32 +01:00
LB Johnston
f797896cba Update some React component files to use .tsx
- these can be converted to Typescript components without any changes
2022-06-27 09:45:59 +01:00
LB Johnston
f252aa83d1 eslint - remove prefer-object-pread ignoring & format/fix 2022-06-24 11:17:04 +01:00
LB Johnston
5ba404704b eslint - remove operator-assignment & format 2022-06-24 08:25:02 +10:00
LB Johnston
a0c769b845 eslint - remove no-extra-boolean-cast & format 2022-06-24 08:25:02 +10:00
LB Johnston
0c3c8ae49b eslint - remove 'no-lonely-if' & format 2022-06-24 08:25:02 +10:00
LB Johnston
75d2f063a2 eslint - update lines-between-class-members & format
- allow single line members to be compact
2022-06-24 08:25:02 +10:00
LB Johnston
9f7c023c12 eslint - remove import/no-extraneous-dependencies & add ignore
- ignoring in one location where import is added for dev only
2022-06-23 13:41:59 +01:00
LB Johnston
6995ba4aee eslint - move import/first & fix
- import/first is useful in tests when we need to set up globals before importing (jquery)
2022-06-23 13:35:09 +01:00
LB Johnston
6fd77175aa eslint - remove import/no-useless-path-segments & format 2022-06-23 13:35:09 +01:00
LB Johnston
e0b6d54e25 eslint - remove import/order & format 2022-06-23 13:35:09 +01:00
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