Joystream Stats fdc214021b Pioneer: Show active proposals per default | 2 лет назад | |
---|---|---|
.. | ||
.storybook | 4 лет назад | |
docker | 4 лет назад | |
img | 4 лет назад | |
packages | 2 лет назад | |
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 | 3 лет назад | |
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.