Martin 0d47ce0d57 Merge pull request #2423 from DzhideX/sumer-update-tokenomics-operation | 3 年 前 | |
---|---|---|
.. | ||
.storybook | 4 年 前 | |
docker | 4 年 前 | |
img | 4 年 前 | |
packages | 3 年 前 | |
scripts | 4 年 前 | |
test | 4 年 前 | |
.123trigger | 4 年 前 | |
.babelrc.js | 4 年 前 | |
.codeclimate.yml | 4 年 前 | |
.dockerignore | 4 年 前 | |
.editorconfig | 4 年 前 | |
.env-example | 4 年 前 | |
.eslintignore | 4 年 前 | |
.eslintrc.js | 4 年 前 | |
.gitignore | 4 年 前 | |
.gitlab-ci.yml | 4 年 前 | |
.npmignore | 4 年 前 | |
.nvmrc | 4 年 前 | |
.prettierignore | 4 年 前 | |
.stylelintrc | 4 年 前 | |
.travis.yml | 4 年 前 | |
BOUNTIES.md | 4 年 前 | |
CHANGELOG.md | 4 年 前 | |
CONTRIBUTING.md | 4 年 前 | |
Dockerfile | 4 年 前 | |
I18N.md | 4 年 前 | |
LICENSE | 4 年 前 | |
README.md | 3 年 前 | |
babel.config.js | 4 年 前 | |
deployment.extras.yml | 4 年 前 | |
deployment.template.yml | 4 年 前 | |
env.sh | 4 年 前 | |
gh-pages-refresh.sh | 4 年 前 | |
i18next-scanner.config.js | 4 年 前 | |
jest.config.js | 4 年 前 | |
lerna.json | 4 年 前 | |
package.json | 3 年 前 | |
tsconfig.json | 4 年 前 | |
tsfmt.json | 4 年 前 | |
types.json | 4 年 前 | |
yarn.lock | 4 年 前 |
A Portal into the Joystream network. Provides a view and interaction layer from a browser.
This can be accessed as a hosted application via https://testnet.joystream.org.
The repo is split into a number of packages, each representing an application. These are -
In addition the following libraries are also included in the repo. These are to be moved to the @polkadot/ui repository once it reaches a base level of stability and usability. (At this point with the framework being tested on the apps above, it makes development easier having it close)
Contributions are welcome!
To start off, this repo (along with others in the @polkadot family) uses yarn workspaces to organise the code. As such, after cloning dependencies should be installed via yarn
, not via npm, the latter will result in broken dependencies.
To get started -
git clone https://github.com/joystream/joystream <optional local path>
yarn
yarn run start
There is a StoryBook implementation, the UI for which can be started with yarn storybook
and then accessed in a browser via http://localhost:3001 (and the server will open a new browser tab by default when it starts).
Story code can be placed anywhere in the packages
directory, and will be detected as long as the file name ends in `.stories.tsx. Stories should be defined in the Component Story Format (CSF) for consistency.
There are several StoryBook addons available, the most useful of which is Knobs, which allows props to be altered in real time.
Note that currently StoryBook only allows for stateless components; it has no connection to polkadot.js or any Substrate node. This means that existing components, which are often tightly coupled with the Polkadot API, cannot be used in storybook.