From 0b1fb258939e9fee21a4366f799a57955d049c6b Mon Sep 17 00:00:00 2001 From: Stefan Negru Date: Wed, 22 Jul 2020 09:54:38 +0300 Subject: [PATCH] add ui schemas for styling form elements --- src/components/ui_schemas/analysis.json | 8 ++++++++ src/components/ui_schemas/dataset.json | 11 +++++++++++ src/components/ui_schemas/experiment.json | 21 +++++++++++++++++++++ src/components/ui_schemas/policy.json | 10 ++++++++++ src/components/ui_schemas/run.json | 8 ++++++++ src/components/ui_schemas/sample.json | 8 ++++++++ src/components/ui_schemas/study.json | 8 ++++++++ 7 files changed, 74 insertions(+) create mode 100644 src/components/ui_schemas/analysis.json create mode 100644 src/components/ui_schemas/dataset.json create mode 100644 src/components/ui_schemas/experiment.json create mode 100644 src/components/ui_schemas/policy.json create mode 100644 src/components/ui_schemas/run.json create mode 100644 src/components/ui_schemas/sample.json create mode 100644 src/components/ui_schemas/study.json diff --git a/src/components/ui_schemas/analysis.json b/src/components/ui_schemas/analysis.json new file mode 100644 index 00000000..cb6d57bc --- /dev/null +++ b/src/components/ui_schemas/analysis.json @@ -0,0 +1,8 @@ +{ + "description": { + "ui:widget": "textarea", + "ui:options": { + "rows": 5 + } + } +} diff --git a/src/components/ui_schemas/dataset.json b/src/components/ui_schemas/dataset.json new file mode 100644 index 00000000..4f050744 --- /dev/null +++ b/src/components/ui_schemas/dataset.json @@ -0,0 +1,11 @@ +{ + "datasetType": { + "ui:widget": "checkboxes" + }, + "description": { + "ui:widget": "textarea", + "ui:options": { + "rows": 10 + } + } +} diff --git a/src/components/ui_schemas/experiment.json b/src/components/ui_schemas/experiment.json new file mode 100644 index 00000000..bd738026 --- /dev/null +++ b/src/components/ui_schemas/experiment.json @@ -0,0 +1,21 @@ +{ + "description": { + "ui:widget": "textarea", + "ui:options": { + "rows": 5 + } + }, + "desgin": { + "sampleRef": {}, + "libraryDescriptor": { + "targetLoci": { + "description": { + "ui:widget": "textarea", + "ui:options": { + "rows": 5 + } + } + } + } + } +} diff --git a/src/components/ui_schemas/policy.json b/src/components/ui_schemas/policy.json new file mode 100644 index 00000000..b54107e2 --- /dev/null +++ b/src/components/ui_schemas/policy.json @@ -0,0 +1,10 @@ +{ + "policy": { + "policyText": { + "ui:widget": "textarea", + "ui:options": { + "rows": 10 + } + } + } +} diff --git a/src/components/ui_schemas/run.json b/src/components/ui_schemas/run.json new file mode 100644 index 00000000..cb6d57bc --- /dev/null +++ b/src/components/ui_schemas/run.json @@ -0,0 +1,8 @@ +{ + "description": { + "ui:widget": "textarea", + "ui:options": { + "rows": 5 + } + } +} diff --git a/src/components/ui_schemas/sample.json b/src/components/ui_schemas/sample.json new file mode 100644 index 00000000..cb6d57bc --- /dev/null +++ b/src/components/ui_schemas/sample.json @@ -0,0 +1,8 @@ +{ + "description": { + "ui:widget": "textarea", + "ui:options": { + "rows": 5 + } + } +} diff --git a/src/components/ui_schemas/study.json b/src/components/ui_schemas/study.json new file mode 100644 index 00000000..2e613cff --- /dev/null +++ b/src/components/ui_schemas/study.json @@ -0,0 +1,8 @@ +{ + "studyDescription": { + "ui:widget": "textarea", + "ui:options": { + "rows": 5 + } + } +}