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

274 Commits

Author SHA1 Message Date
Karl Hobley
62ccde9c09 Fetch all pages of translations 2020-11-16 17:07:22 +00:00
Karl Hobley
41b0abc28c Fix performance issue in React explorer when there are many languages
Requesting translations to be nested with each page causes major
performance problems when there are many languages. Mozilla have 61
languages, each with a separate homepage that's a translation of the
others, so the response for this query contains details of 61 * 61 pages
for them.

This isn't actually required since we only need to know the translations
if the user navigates into a page, and the translations are requested
again anyway by the getPageTranslations function.
2020-11-16 17:07:22 +00:00
Karl Hobley
d58f74f7bd
Implement locale selector in React page explorer (#6481) 2020-10-23 14:40:25 +01:00
Karl Hobley
123d9cef92 Add locale indication to the React page explorer 2020-10-23 09:09:52 +01:00
Karl Hobley
e8e91fa1ac Add locale selector to snippet edit 2020-10-22 16:57:32 +01:00
Karl Hobley
6a84461dbc Add locale selector to snippet listing 2020-10-22 16:57:32 +01:00
Karl Hobley
f0ce1f4775 Replace pushPage/popPage with more flexible gotoPage method
- page explorer
2020-10-22 19:45:34 +10:00
Coen van der Kamp
fd5e6b657f Switch breadcrumb icons to SVG 2020-10-21 23:57:09 +10:00
Karl Hobley
1edea5edb2 Add root State/Action types 2020-10-21 23:33:51 +10:00
Karl Hobley
ae80df24b7 Add typings for API 2020-10-21 23:33:51 +10:00
Karl Hobley
61692b3ffa Add typings for Redux actions 2020-10-21 23:33:51 +10:00
Karl Hobley
89d296c562 Merge all page state types into a single type 2020-10-21 23:33:51 +10:00
Karl Hobley
650045b573 Convert Explorer into TypeScript
And replace PropTypes with TypeScript annotations
2020-10-21 23:33:51 +10:00
Thibaud Colas
d316677b89 Switch from Babel to TypeScript 2020-10-21 12:48:40 +01:00
Thibaud Colas
d7490de076 Disable Webpack performance hints 2020-10-21 12:33:25 +01:00
Thibaud Colas
c24c326ec3 Change how IE11 polyfills are added to Webpack build 2020-10-21 12:33:25 +01:00
Thibaud Colas
de2d66e08e Update Webpack config for Webpack 4 API 2020-10-21 12:33:25 +01:00
Thibaud Colas
ef2c177a7b Remove only usage of Webpack aliases and resolver, incompatible with new setup 2020-10-21 12:33:25 +01:00
Thibaud Colas
992ea2a0ef Remove extra package.json which causes problems for Jest config resolution 2020-10-21 12:33:25 +01:00
Thibaud Colas
d41df6ca46 Combine all Webpack modes into single file 2020-10-21 12:33:25 +01:00
Thibaud Colas
6e404740c7 Implement admin-only IE11 support warning message, linking to support plans 2020-10-21 12:05:27 +01:00
Karl Hobley
3e158ca2aa
Enable TypeScript (#6472)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-10-21 00:51:09 +01:00
Karl Hobley
0c2bae7941
Update to Babel 7 (#6471)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-10-20 17:06:52 +01:00
Cole Maclean
80c65390a4 Reset padding for checkbox & radio inputs
Previously, the normalize stylesheet covered this, however that's
no longer applicable due to selector specificity.
2020-10-10 14:57:14 +01:00
Matt Westcott
499193d05c Pass snippet chooser URL via data attribute instead of chooserUrls 2020-09-30 22:05:45 +01:00
Karl Hobley
7c86c4e14f Implemented Locales UI 2020-09-21 12:55:41 +01:00
Karl Hobley
87b40bf166 Allow nested sections in tabs
This CSS rule was hiding all nested sections, not just the one the tabs
are using.
2020-09-17 14:32:16 +01:00
Karran Besen
0c8ad63adb
Fix admin submit inputs focus (#6369)
* Fix admin submit inputs focus

Co-authored-by: Coen van der Kamp <coen@fourdigits.nl>
2020-09-17 11:04:18 +02:00
Coen van der Kamp
58e4f3fe1c Fix menu item icon margin 2020-08-17 17:09:03 +01:00
Jesse Menn
b934194622
Make page-level actions accessible to keyboard users in page listing tables (#6280)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-08-01 21:52:28 +01:00
Dan Braghis
d74be82319 Add Draftail button hover border 2020-07-28 17:18:50 +01:00
Matt Westcott
eb5b17c281 Remove final vestiges of clipboard-list being part of the icon font 2020-07-24 16:59:33 +01:00
Dan Braghis
310ea2af35 Add helper class to have form without floated elements
and apply for task chooser
2020-07-24 16:59:33 +01:00
Dan Braghis
e0c6aab536 Tweak styles based on design feedback 2020-07-24 16:59:33 +01:00
Dan Braghis
97e78f4ade Introduce the concept of "secondary" (less prominent) action in action menu
and make delete/unpublish/lock/unlock "secondary"
2020-07-24 16:59:33 +01:00
Dan Braghis
1f8fc4b6d8 Tidy up page edit header 2020-07-24 16:59:33 +01:00
Dan Braghis
1dc7bc2713 Make the publishing bar width fluid 2020-07-24 16:59:33 +01:00
Dan Braghis
1d2c68ebef Tweak header/content/action bar alignment 2020-07-24 16:59:33 +01:00
Dan Braghis
24cbaeefd4 Add action menu item icons
Mechism for adding the icons, plus page action item icons
2020-07-24 16:59:33 +01:00
Dan Braghis
709a15e88d Bring in the button icon changes from PR 6151
TODO: drop when rebasing on master when 6151 is merged
2020-07-24 16:59:33 +01:00
Dan Braghis
a00136a9ba Add sensible modifiers for svg icons
- initial 1em x 1em
- default 1.5em x 1.5em
2020-07-24 16:59:33 +01:00
Dan Braghis
0665f6ba43 Update action menu dropdown with white background on add/edit 2020-07-24 16:59:33 +01:00
Dan Braghis
3d432aaa8e Add header meta row
- includes workflow info, link to page history, page type
2020-07-24 16:59:33 +01:00
Dan Braghis
c7279d407e Improve audit log report pages
- new icon
- simplify filters
- add workflow task comments
- inline action buttons where possible
2020-07-24 16:59:33 +01:00
Karl Hobley
bd9c73a00f Various UI tweaks to workflow management (#6177)
* Make workflow tasks management into a separate settings menu item
* UI improvements to make it match the design
2020-07-24 16:59:33 +01:00
Karl Hobley
a80c34983b Workflow pages formset (#6171)
* Give "Create task" its own template
* Implement workflow pages formset
* Delete 'add workflow to page' view
* Moved $object-title-height to variables.scss
2020-07-24 16:59:33 +01:00
Dan Braghis
dce5020e17 Add a 'uniform' icon style 2020-07-24 16:59:33 +01:00
jacobtoppm
0fbc40bd41 Tweak icon alignment in nav to raise icons relative to text by 5%, as previously looked like clipboard icon was misaligned 2020-07-24 16:59:33 +01:00
jacobtoppm
b10ba56b26 Add new clipboard-list icon and use for workflows. Fix if statement in views/pages to add buttons outside main conditional clauses 2020-07-24 16:59:33 +01:00
Maylon Pedroso
93a8227a52
Add edit button to draftail images and embeds blocks tooltip. Fix #2674 (#5885) 2020-07-23 13:55:38 +01:00