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

927 Commits

Author SHA1 Message Date
anujaraj
8daf1554ae
Display the correct color for icons in forced colors mode. Fix #8816 (#8852)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-15 15:41:59 +01:00
Paarth Agarwal
e10648ffc2
Display data for Twitter embed blocks (#8167)
Co-authored-by: Iman Syed <52247241+imansyed000@users.noreply.github.com>
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-15 14:38:03 +01:00
sag᠎e
5ee5acb7ce
Introduce a new auto-updating preview panel inside the page editor (#8671)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-14 13:59:05 +01:00
Paarth Agarwal
6a6cb880cf
Fix typo in header icon class name (#8831) 2022-07-13 06:53:30 +01:00
Thibaud Colas
27ff5bfeaf
Remove button-group from ModelAdmin InspectView footer actions (#8832) 2022-07-13 03:11:41 +01:00
Thibaud Colas
b070ce1cd3
Add new Draftail toolbars and command palette, with new styles (#8806) 2022-07-13 01:35:22 +01:00
Thibaud Colas
22cf8c240d Implement Draftail character count / max length component in meta toolbar 2022-07-11 20:35:27 +01:00
Thibaud Colas
0c4c2ff374 Implement link copy-paste processing in Draftail 2022-07-11 20:35:27 +01:00
Thibaud Colas
d30eec40a8 Update to Draftail v2 alpha 2022-07-11 20:35:27 +01:00
Shohan
7286c530e9
Snippets bulk actions (#8574) 2022-07-10 11:42:38 +01:00
anujaraj
3cb9b70d12
Make checkboxes visible in forced colors mode. Fix #8334 (#8718)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-10 02:05:07 +01:00
anujaraj
3f0a648181
Make progress bars’ progress visible in forced colors mode (#8719)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-10 00:18:39 +01:00
LB Johnston
d57021e1cc clean up eslint for test files
- disable general rules to make writing tests simpler
2022-07-06 19:28:25 +10:00
LB Johnston
b66d2232d0 remove needless stylelint disables 2022-07-06 19:23:38 +10:00
LB Johnston
220fedaec9 cleanup - add noop function for common usecase
- this avoids the need to add ignoring where used legitimately
2022-07-06 19:23:14 +10:00
LB Johnston
510a6bf350 utils/text - move cleanForSlug into same file & add tests/jsdoc 2022-07-06 19:22:04 +10:00
LB Johnston
0dfa39d3c5 eslint - remove react/jsx-no-useless-fragment ignoring & fix 2022-07-06 19:21:35 +10:00
LB Johnston
441a32fb22 eslint - remove react/jsx-curly-brace-presence ignoring & format 2022-07-06 19:21:35 +10:00
LB Johnston
14c4bcff68 eslint - remove anchor-is-valid ignoring & fix 2022-07-06 19:21:35 +10:00
LB Johnston
8e13985bc0 eslint - remove jsx-a11y/alt-text ignoring & fix 2022-07-06 19:21:35 +10:00
PaarthAgarwal
79a212b4b5 added prefix w- before header classes
- refine existing scss to use classes & remove unused scss
2022-07-06 19:13:19 +10:00
LB Johnston
cff9aac514 remove commented out css 2022-07-06 19:13:19 +10:00
PaarthAgarwal
3b9c9fce5b adopt the shared header include in the dashboard (home) view 2022-07-06 18:30:08 +10:00
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