From 4c5329267bc464fb9bfa4c33e17b2269f9df8c7f Mon Sep 17 00:00:00 2001 From: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> Date: Wed, 14 Aug 2024 10:49:30 -0400 Subject: [PATCH] Small form updates (#19) * Delegate CSV link information to docs.geoconnex.us * Use consistent theme in form * Use consistent theme for form * Switch metadata and CSV step - Make form behavior consistent across steps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update spacing around elements * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Format links to satisfy precommit * Update styling on metadata form * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add bottom spacing to override button * Update src/components/CSVReference.vue Co-authored-by: Colton Loftus <70598503+C-Loftus@users.noreply.github.com> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Colton Loftus <70598503+C-Loftus@users.noreply.github.com> --- src/components/CSVReference.vue | 16 +-- src/components/GeoconnexBackground.vue | 13 ++- src/components/MetadataGenerator.vue | 142 ++++++++++++++----------- src/components/UploadForm.vue | 23 ++-- 4 files changed, 101 insertions(+), 93 deletions(-) diff --git a/src/components/CSVReference.vue b/src/components/CSVReference.vue index 2ba0035..15e62b5 100644 --- a/src/components/CSVReference.vue +++ b/src/components/CSVReference.vue @@ -36,21 +36,7 @@
- 1:1 example - 1:N example -
- For more detailed info regarding the format of your CSV, see the + For more detailed info regarding the format of your CSV and examples, see the
CSV formatting documentation diff --git a/src/components/GeoconnexBackground.vue b/src/components/GeoconnexBackground.vue index dc1544c..a002e59 100644 --- a/src/components/GeoconnexBackground.vue +++ b/src/components/GeoconnexBackground.vue @@ -14,14 +14,19 @@ locations within a namespace. The features you link to must already exist online and have their own web page.

- + For more details, the geoconnex documentation provides a general overview of geoconnex and a tutorial for how to:
  1. - 1. - Prepare your data + 1. Prepare your data with the proper metadata context
  2. @@ -30,7 +35,7 @@ that can be linked to as the "target" column in your uploaded CSV
  3. - 3. Submit your CSV data, + 3. Submit your CSV data, either here or Github, after checking it is properly formatted - + + - + />
    - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/src/components/UploadForm.vue b/src/components/UploadForm.vue index a644e20..9490211 100644 --- a/src/components/UploadForm.vue +++ b/src/components/UploadForm.vue @@ -13,17 +13,24 @@ import MetadataGenerator from '@/components/MetadataGenerator.vue' + + - -