Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions content/pages/blacklist/feedback.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"1": {
"name": "Publish",
"description": "Make the dataset available for anyone to find and download.",
"status": "pending"
}
}
88 changes: 88 additions & 0 deletions content/pages/blacklist/form.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"metadata": {
"title": "Metadata",
"fields": [
{
"name": "title",
"label": "Title",
"placeholder": "e.g. Shapes of Desert Plants",
"required": true
},
{
"name": "description",
"label": "Description",
"help": "Add a thorough description with as much detail as possible. You can use [Markdown](https://daringfireball.net/projects/markdown/basics). You can change the description at any time. If you provide personal data, please note that it will remain in the transaction history. For more information on how personal data is handled within the metadata, please refer to our [privacy policy](/privacy/en).",
"type": "textarea",
"required": true
},
{
"name": "authors",
"label": "Authors",
"placeholder": "e.g. Jelly McJellyfish",
"help": "Comma separated list. Give proper attribution for your data set. You are welcome to use a pseudonym, and you can change your author name at any time. Please note that it will remain in the transaction history. For more information on how personal data is handled within the metadata, please refer to our [privacy policy](/privacy/en).",
"required": true
},
{
"name": "license",
"label": "License",
"placeholder": "e.g. CC0 Public Domain",
"help": "A dataset license should clearly describe how to properly and responsibly use a dataset. See https://paperswithcode.com/datasets/license",
"required": true,
"type": "radio",
"options": [
"CC0 Public Domain",
"CC BY",
"CC BY-SA",
"CC BY-NC",
"CC BY-NC-SA",
"CC BY-ND",
"CC BY-NC-ND",
"MIT",
"GPL",
"Apache License, Version 2.0",
"BSD-3-Clause",
"Unknown"
]
},
{
"name": "doi",
"label": "DOI",
"placeholder": "e.g. https://doi.org/10.1109/5.771073",
"help": "A link of your Digital Object Identifier, see https://www.doi.org/hb.html"
},
{
"name": "keywords",
"label": "Keywords",
"placeholder": "e.g. logistics, ai",
"help": "Separate keywords with comma."
},
{
"name": "termsAndConditions",
"label": "Terms & Conditions",
"type": "checkbox",
"options": ["I agree to the Terms and Conditions"],
"required": true
}
]
},
"datasets": {
"title": "Dataset",
"fields": [
{
"name": "datasetId",
"label": "Dataset",
"placeholder": "dataset1/",
"help": "Select a dataset from your Data Locker to publish to Commons. This will allow others to search for and download your dataset.",
"prominentHelp": true,
"type": "dataset",
"required": true
}
]
},
"preview": {
"title": "Preview"
},
"submission": {
"title": "Submit"
}
}
6 changes: 6 additions & 0 deletions content/pages/blacklist/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"title": "Blacklist",
"description": "Blacklist datasets which violate licenses and privacy",
"warning": "By blacklisting a dataset would make it inaccessible",
"tooltipAvailableNetworks": "Assets are published to the network your wallet is connected to. These networks are currently supported:"
}
20 changes: 20 additions & 0 deletions src/pages/blacklist/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React, { ReactElement } from 'react'
import Publish from '../../components/Publish'
import Page from '@shared/Page'
import content from '../../../content/publish/index.json'
import router from 'next/router'

export default function BlacklistDataset(): ReactElement {
const { title, description } = content

return (
<Page
title={title}
description={description}
uri={router.route}
noPageHeader
>
<Publish content={content} />
</Page>
)
}