diff --git a/src/App.vue b/src/App.vue
index 792d107..e6457dc 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -20,5 +20,4 @@ body {
margin: 0;
padding: 0;
}
-
diff --git a/src/components/CSVReference.vue b/src/components/CSVReference.vue
index 1ce39a1..2ba0035 100644
--- a/src/components/CSVReference.vue
+++ b/src/components/CSVReference.vue
@@ -83,4 +83,4 @@ export default defineComponent({
#panels {
background-color: rgb(var(--v-theme-secondary));
}
-
\ No newline at end of file
+
diff --git a/src/components/GeoconnexBackground.vue b/src/components/GeoconnexBackground.vue
index 3320547..a4b152f 100644
--- a/src/components/GeoconnexBackground.vue
+++ b/src/components/GeoconnexBackground.vue
@@ -39,10 +39,8 @@
\ No newline at end of file
+
diff --git a/src/components/MetadataGenerator.vue b/src/components/MetadataGenerator.vue
index c3a7a80..6a9180e 100644
--- a/src/components/MetadataGenerator.vue
+++ b/src/components/MetadataGenerator.vue
@@ -3,47 +3,93 @@ import { fetchAllNamespaces } from '@/lib/helpers'
-
- A namespace is a short name or alias for your organization. It will be created upon
- submission if it does not already exist. If the namespace already exists, your new
- CSV file will be added to the existing namespace
+ A namespace is a short name or alias for your organization. It will be created upon submission
+ if it does not already exist. If the namespace already exists, your new CSV file will be added
+ to the existing namespace
-
-
+
+ v-model="readmeAlreadyUploaded"
+ >
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
- {{ error }}
+ {{ error }}
-
diff --git a/src/components/PageFooter.vue b/src/components/PageFooter.vue
index 2f7a599..f1de613 100644
--- a/src/components/PageFooter.vue
+++ b/src/components/PageFooter.vue
@@ -2,16 +2,25 @@
-
diff --git a/src/components/PageHeader.vue b/src/components/PageHeader.vue
index 65ffabf..1c1bd14 100644
--- a/src/components/PageHeader.vue
+++ b/src/components/PageHeader.vue
@@ -2,15 +2,18 @@
-
-
-
diff --git a/src/components/UploadForm.vue b/src/components/UploadForm.vue
index 912a1ee..f34b486 100644
--- a/src/components/UploadForm.vue
+++ b/src/components/UploadForm.vue
@@ -4,19 +4,21 @@ import URLCheckSummary from '@/components/URLCheckSummary.vue'
import CSVReference from '@/components/CSVReference.vue'
import GeoconnexBackground from '@/components/GeoconnexBackground.vue'
import MetadataGenerator from '@/components/MetadataGenerator.vue'
-
-
+
@@ -26,22 +28,46 @@ import MetadataGenerator from '@/components/MetadataGenerator.vue'
-
-
-
-
+
+
+
-
+
-
+
-
-
+
Ignore warning and override
@@ -50,19 +76,31 @@ import MetadataGenerator from '@/components/MetadataGenerator.vue'
Add Metadata for your CSV Contribution
-
Upload your CSV Mapping
-
+
-
+
@@ -97,19 +135,22 @@ export default defineComponent({
result: '',
progress: { running: false, action: '' },
crawlErrors: [] as ValidationReport['crawlErrors'],
- existingNamespaces: [] as string[],
+ existingNamespaces: [] as string[]
}
},
computed: {
hideNext() {
- return this.checkError.type === 'Issues Checking CSV' || this.progress.running
- },
+ return this.checkError.type === 'Issues Checking CSV' || this.progress.running
+ }
},
methods: {
async checkCSV() {
- this.progress = { running: true, action: 'Validating your CSV data. This may take a minute...' }
-
+ this.progress = {
+ running: true,
+ action: 'Validating your CSV data. This may take a minute...'
+ }
+
if (!this.csv) {
return
}
@@ -138,7 +179,6 @@ export default defineComponent({
},
async valid() {
-
if (!this.csv) {
return false
}
@@ -147,20 +187,18 @@ export default defineComponent({
running: true,
action: 'Validating your CSV data. This may take a minute...'
}
-
},
overrideError() {
this.checkError = { type: undefined, text: '' }
this.crawlErrors = []
},
- setMetadata(metadata: { readme: File | null, namespace: string }) {
+ setMetadata(metadata: { readme: File | null; namespace: string }) {
const { readme, namespace } = metadata
this.namespace = namespace
this.readme = readme
},
async submitForm() {
-
this.result = ''
this.progress = { running: false, action: '' }
@@ -188,7 +226,6 @@ export default defineComponent({