0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-22 11:07:57 +01:00
wagtail/client
Tim Heap 1f2b8ccaf1 Filter pop-out explorer pages using 'construct_explorer_page_queryset'
The pages listed when browsing the /admin/pages/ explorer differed from
the pages listed in the new React/admin API powered pop-out explorer.
The latter did not pass the queryset through the
'construct_explorer_page_queryset' hook, so pages that should have been
hidden were visible. Visiting these pages in the explorer could then
lead to unexpected behaviours, as hidden sections of the site became
browsable.

A new `for_explorer=1` query parameter has been added to the admin API,
which will pass the page queryset through the
'construct_explorer_page_queryset' hooks.
2017-10-31 15:55:01 +00:00
..
scss Change Sass linting configuration to take advantage of stylelint capabilities 2017-08-26 16:39:45 +03:00
src Filter pop-out explorer pages using 'construct_explorer_page_queryset' 2017-10-31 15:55:01 +00:00
template Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00
tests Update explorer for latest scope, UI, with tests 2017-05-13 23:53:10 +03:00
webpack Hide all modules in Webpack output by default 2017-06-09 16:42:48 +03:00
package-lock.json Add package-lock.json and remove npm-shrinkwrap.json 2017-08-11 15:40:43 +01:00
package.json Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00
README.md Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00

Wagtail client-side components

This library aims to give developers the ability to subclass and configure Wagtail's UI components.

Usage

npm install wagtail
import { Explorer } from 'wagtail';
// [...]
<Explorer />

Development

# From the project root, start the webpack + styles compilation.
npm run start

You will also need:

Releases

The front-end is bundled at the same time as the Wagtail project. This package also aims to be available separately on npm as wagtail.