diff --git a/Dockerfile b/Dockerfile index ee68f5b..4ee3d2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,10 @@ ARG VITE_API_URL ARG VITE_OSM_URL ARG VITE_RAPID_URL ARG VITE_PATHWAYS_EDITOR_URL +ARG VITE_IMAGERY_SCHEMA +ARG VITE_IMAGERY_EXAMPLE_URL +ARG VITE_LONG_FORM_QUEST_SCHEMA +ARG VITE_LONG_FORM_QUEST_EXAMPLE_URL ARG CODE_VERSION=unknown WORKDIR /app/ @@ -24,4 +28,4 @@ RUN echo "This is (frontend, cgimap, osmrails, pathways, rapid, taskingmanager) RUN chown -R nginx:nginx /usr/share/nginx/html/ -COPY nginx.conf /etc/nginx/conf.d/default.conf \ No newline at end of file +COPY nginx.conf /etc/nginx/conf.d/default.conf diff --git a/README.md b/README.md index da0e418..132166b 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. -### ⚠️ Reminder: you must set the tag of the environment you wish to deploy in this repo, then run the deploy workflow in workspaces-stack to deploy to dev, stage or prod. +### ⚠️ Reminder: you must set the tag of the environment you wish to deploy in this repo, then run the deploy workflow in workspaces-stack to deploy to dev, stage or prod. ## Dev Setup NB: This will start the dev server against the cloud-hosted backend. If you need to change both the frontend and the backend, you'll -need to start a local copy of the backend (workspaces-tasking-manager) and set the environment vars appropriately below. +need to start a local copy of the backend (workspaces-tasking-manager) and set the environment vars appropriately below. The below values are for cloud-hosted dev: @@ -19,6 +19,10 @@ export VITE_OSM_URL=https://osm.workspaces-dev.sidewalks.washington.edu/ export VITE_RAPID_URL=https://rapid.workspaces-dev.sidewalks.washington.edu/ export VITE_PATHWAYS_EDITOR_URL=https://pathways.workspaces-dev.sidewalks.washington.edu/ export CODE_VERSION="local" +export VITE_IMAGERY_SCHEMA=https://raw.githubusercontent.com/TaskarCenterAtUW/tdei-tools/main/docs/imagery-layer/schema.json +export VITE_IMAGERY_EXAMPLE_URL=https://raw.githubusercontent.com/TaskarCenterAtUW/tdei-tools/main/docs/imagery-layer/example.json +export VITE_LONG_FORM_QUEST_SCHEMA=https://raw.githubusercontent.com/TaskarCenterAtUW/tdei-tools/refs/heads/main/docs/quest-definition/schema.json +export VITE_LONG_FORM_QUEST_EXAMPLE_URL=https://raw.githubusercontent.com/TaskarCenterAtUW/tdei-tools/refs/heads/main/docs/quest-definition/example.json # install deps npm install diff --git a/package-lock.json b/package-lock.json index 683d4bf..08a0f2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,8 @@ "hasInstallScript": true, "dependencies": { "@zip.js/zip.js": "^2.7.41", + "ajv": "^8.17.1", + "ajv-formats": "^3.0.1", "bootstrap": "^5.3.3", "js-cookie": "^3.0.5", "nuxt": "^4.0.0", @@ -4514,6 +4516,39 @@ "node": ">= 14" } }, + "node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, "node_modules/alien-signals": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/alien-signals/-/alien-signals-2.0.7.tgz", @@ -6528,6 +6563,22 @@ "url": "https://github.com/sponsors/antfu" } }, + "node_modules/fast-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", + "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/fastq": { "version": "1.19.1", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", @@ -7556,9 +7607,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "license": "MIT", "dependencies": { "argparse": "^2.0.1" diff --git a/package.json b/package.json index dbd7290..e4a8db9 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,8 @@ }, "dependencies": { "@zip.js/zip.js": "^2.7.41", + "ajv": "^8.17.1", + "ajv-formats": "^3.0.1", "bootstrap": "^5.3.3", "js-cookie": "^3.0.5", "nuxt": "^4.0.0", diff --git a/pages/workspace/[id]/settings.vue b/pages/workspace/[id]/settings.vue index 356edf7..2c3a197 100644 --- a/pages/workspace/[id]/settings.vue +++ b/pages/workspace/[id]/settings.vue @@ -15,14 +15,16 @@ - - + + + + -
Deleting a workspace is permanent. This action will not remove any TDEI datasets outside of Workspaces.
++ Deleting a workspace is permanent. This action will not remove any + TDEI datasets outside of Workspaces. +
-