Add link to types docs (#1035)

* removed extra character

* Added link to polkadot/types api docs

* Updated yern.lock

* Add info bubble to labels

* Rollback yarn upgrade

* Removed info link

* Poke travis
This commit is contained in:
Stefanie Doll 2019-04-30 15:22:10 +02:00 committed by GitHub
parent e6d290b0be
commit 42e5409339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -56,6 +56,7 @@ class Developer extends React.PureComponent<Props, State> {
<div className='full'>
<InputFile
clearContent={typesHasNoEntries && isTypesValid}
help={t('Save the type definitions for your custom structures as key-value pairs in a valid JSON file. The key should be the name of your custom structure and the value an object containing your type definitions.')}
isError={!isTypesValid}
label={t('Upload your additional type definitions as a JSON file')}
onChange={this.onChangeTypes}
@ -65,7 +66,10 @@ class Developer extends React.PureComponent<Props, State> {
</div>
<div className='ui--row'>
<div className='full'>
<Labelled label={t('Manually enter your custom type definitions as valid JSON')}>
<Labelled
help={t('Please create a key-value pair for each of your custom structures. The key should be the name of your custom structure and the value an object containing your custom type definitions.')}
label={t('Manually enter your custom type definitions as valid JSON')}
>
<Editor
className='editor'
code={code}

View File

@ -15042,4 +15042,4 @@ ylru@^1.2.0:
zepto@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/zepto/-/zepto-1.2.0.tgz#e127bd9e66fd846be5eab48c1394882f7c0e4f98"
integrity sha1-4Se9nmb9hGvl6rSME5SIL3wOT5g=
integrity sha1-4Se9nmb9hGvl6rSME5SIL3wOT5g=