- Run `npx -p @storybook/cli sb init --type react --builder webpack5`
- Moved .storybook and stories folders into client
- Run `npm i --save-dev html-webpack-plugin@latest` to workaround https://github.com/storybookjs/storybook/issues/13332
- Add storybook-static to .gitignore
* checks for Page InlinePanel related model panels
* add panels check to modelAdmin models
* add and revise tests for panel model checks
* revise related model usage
* remove unused keys from format string
* fix up unique error collection
* rework check_panels_in_model - variable names and string formatting
* rework tests for check_panels_in_model to use new string formatting
plus linting of some unused imports
* add checks to snippet models
* use consistent naming for returning errors from checks in modeladmin
* add tests for snippets check_panels_in_model checks
* ignore vscode config files
* remove additional line added
Depending on libsass for all Wagtail installations was causing issues
with various operating systems, dramatically increasing installation
times, and preventing front end development adopting modern practices.
libsass has been removed as a dependency. Sass files are compiled before
release as a dependency of the `sdist` setup command. Sass compilation
is done through `gulp`. People wishing to hack on the frontend assets
should now install wagtail locally, install the node dependencies, and
run `gulp`:
$ pip install -e path/to/wagtail
$ cd path/to/wagtail
$ npm install
$ npm start
All the templates and JS files have been updated to reference the new
compiled CSS files instead of the Sass files.
Precompiled CSS for jquery-ui and similar have been moved out of the
`scss/` directory to the `css/` directory.
.swp files are made automatically by vim and are easy to accidentally commit
/venv is a very common place to put a virtual environment which we wouldn't want to be committed