This repository is deprecated, please use Main Parity Repo for issues.
A set of Parity built-in Dapps and UI components.
- Dapps React Components - Re-usable set of React Components
- Home Page & TopBar - Parity Home Page & TopBar
- Status Page - Status Page for your Parity node
- Ethereum Wallet - Ethereum Wallet bundled for Parity
- Trusted Signer - Trusted Signer Dapp
- Trusted Signer Chrome Extension - Parity Integration Chrome Extension
See description in Parity Dapps.
Development procedures for each project are described in its' README files.
You can use ./web.sh
script to automate some actions for all projects.
$ ./web.sh clean
- Removenode_modules
for each project.$ ./web.sh build
- Compile JS files for each project.$ ./web.sh lint
- Run linting for each project.$ ./web.sh test
- Run tests for each project.$ ./web.sh shrinkwrap
- Regenerateshrinkwrap.json
file for each project.
Before making a PR with your changes you should pre-compile all JS files (they are used when building Parity):
$ cd parity-ui
$ ./web.sh build
Make sure to commit pre-compiled files.
By default Parity is using pre-compiled files while building:
$ cd parity
$ cargo build --release # this will use pre-compiled JS files
You can do full Parity build using:
$ cd parity
$ cargo build --no-default-features --features ui
You can use Cargo Config file to use local version of your Parity UI (without modyfing original Cargo.toml files)
# ~/.cargo/config
# Location of parity-ui repo: ~/path/to/parity-ui
paths = [
"path/to/parity-ui/dapps",
"path/to/parity-ui/wallet",
"path/to/parity-ui/home",
"path/to/parity-ui/status",
"path/to/parity-ui/signer"
]
This will always use your local version of Parity-UI while compiling Parity.
You can install pre-push hook to run linting and tests for all projects.
$ cd parity-ui
$ ./scripts/hook.sh