From 05b3cfcc741664f4f1e8cd6be395dd9a7421c8fe Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 4 Mar 2019 13:46:13 -0300 Subject: [PATCH] add real copy for all steps --- src/data/form-publish.json | 21 +++++++++++---------- src/routes/Publish/Files/index.tsx | 4 +--- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/data/form-publish.json b/src/data/form-publish.json index a8bc3e4..588ed38 100644 --- a/src/data/form-publish.json +++ b/src/data/form-publish.json @@ -1,17 +1,15 @@ { - "title": "Publish a new data asset", - "description": "A cool form description", "steps": [ { "title": "Essentials", - "description": "A description about these essential fields", + "description": "Start by adding a title and URLs for your data set.", "fields": { "name": { "label": "Title", - "placeholder": "i.e. My cool data set", + "placeholder": "i.e. Almond sales data", "type": "text", "required": true, - "help": "Help me Obiwan" + "help": "Enter a concise title. You will be able to enter a more thorough description in the next step." }, "files": { "label": "Files", @@ -24,18 +22,21 @@ }, { "title": "Information", - "description": "A description about these fields", + "description": "Further describe and categorize your data set to help people discover it.", "fields": { "description": { "label": "Description", - "placeholder": "i.e. My cool data set", + "description": "Add a thorough description with as much detail as possible.", + "placeholder": "i.e. Almond sales data ", "type": "textarea", "required": true, "rows": 5 }, "categories": { "label": "Categories", + "description": "Pick a category which best fits your data set.", "type": "select", + "required": true, "options": [ "Image Recognition", "Dataset Of Datasets", @@ -74,7 +75,7 @@ }, { "title": "Authorship", - "description": "A description about these credentials fields", + "description": "Give proper attribution for your data set.", "fields": { "author": { "label": "Author", @@ -84,7 +85,7 @@ }, "copyrightHolder": { "label": "Copyright Holder", - "placeholder": "i.e. fwhfiw", + "placeholder": "i.e. Marine Institute of Jellyfish", "type": "text", "required": true }, @@ -106,7 +107,7 @@ }, { "title": "Register", - "description": "We got all the data, now let's register your data set.", + "description": "Splendid, we got all the data. Now let's register your data set.", "content": "After clicking the button below you will be asked by your wallet to sign this request." } ] diff --git a/src/routes/Publish/Files/index.tsx b/src/routes/Publish/Files/index.tsx index 9afb006..dd8f40f 100644 --- a/src/routes/Publish/Files/index.tsx +++ b/src/routes/Publish/Files/index.tsx @@ -1,11 +1,10 @@ -import React, { PureComponent, ChangeEvent } from 'react' +import React, { PureComponent } from 'react' import { CSSTransition, TransitionGroup } from 'react-transition-group' import Button from '../../../components/atoms/Button' import Help from '../../../components/atoms/Form/Help' import ItemForm from './ItemForm' import Item from './Item' import styles from './index.module.scss' -import { Logger } from '@oceanprotocol/squid'; interface FilesProps { files: any[] @@ -13,7 +12,6 @@ interface FilesProps { help?: string name: string onChange: any - // resetForm: any } interface FilesStates {