Welcome. We are so happy that you want to contribute.
panel-material-ui is automatically built, tested and released on Github Actions. The setup heavily leverages pixi, though we recommend using it, you can also set up your own virtual environment.
panel-material-ui, unlike other Panel extensions, has to be compiled and is shipped with a compiled JavaScript bundle. When making any changes you must recompile it.
Below we describe how to install and use this project for development.
To install for development you will have to clone the repository with git:
git clone https://github.com/panel-extensions/panel-material-ui.git
cd panel-material-uiInstall pixi as described on the Pixi web site.
To see all available commands run:
pixi task listTo install the dependencies run:
pixi installIn order for changes to the React code (i.e. the .jsx files) to take effect you need to recompile the JS bundle. To make this process easier we recommend you run:
pixi run compile-devThis will continuously watch the files for changes and automatically recompile.
In a separate terminal you can now launch a Panel server to preview the components:
pixi run serve-devTo run the test suite locally you can run linting, unit tests and UI tests with:
pixi run pre-commit-run
pixi run -e test-312 test
pixi run -e test-ui test-ui