diff --git a/TODOLIST.md b/TODOLIST.md new file mode 100644 index 0000000..001dae0 --- /dev/null +++ b/TODOLIST.md @@ -0,0 +1,27 @@ +## Actionable Items +- Auto-generate/pre-select id +- Format the select when there are multiple select items +- Change schema +- Prefill +- Have UI only required one at first expand later +- Serialise to RO-Crate format +- Import csv/rdf/json-ld +- Add documentation +- Export the local ids + + +## Schema Design +- Observation Unit + - Study + - Biological Material + - Observation Unit Type - plot/plant + - Experimental Factor + - Facility + - Spatial Distribution + + +- Observed Variable + - Trait + - Method + - Unit + - Device \ No newline at end of file diff --git a/package.json b/package.json index 5f22bfa..80b8f61 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "vite", "build": "vite build", + "dev-deploy": "vite --host 0.0.0.0 --port 8080", "lint": "eslint src ", "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"", "preview": "vite preview", @@ -82,4 +83,4 @@ "path": "./node_modules/cz-conventional-changelog" } } -} +} \ No newline at end of file diff --git a/src/components/navbar/navbar.tsx b/src/components/navbar/navbar.tsx index 7ea3b40..1991f2b 100644 --- a/src/components/navbar/navbar.tsx +++ b/src/components/navbar/navbar.tsx @@ -13,28 +13,28 @@ interface SchemaType { } const Schema: SchemaType = { - "Study Definition": { + "Stage 1 - Onboarding": { Investigation: "investigation", Study: "study", - Institution: "institution", Staff: "staff", - "Data File": "dataFile", - Experiment: "experiment", - }, - "Data Collection Setup": { + Institution: "institution", Facility: "facility", + Device: "device", + "Biological Material": "biologicalMaterial", + }, + "Stage 2 - Ongoing": { + "Experimental Factor": "experimentalFactor", + "Experimental Design": "experiment", + Environment: "environment", "Observation Unit": "observationUnit", Sample: "sample", Event: "event", }, - "Variable Definition": { - Unit: "unit", - Method: "method", - Device: "device", - "Biological Material": "biologicalMaterial", - Environment: "environment", - "Experimental Factor": "experimentalFactor", + "Stage 3 - Compilation": { "Observed Variable": "observedVariable", + Method: "method", + Unit: "unit", + "Data File": "dataFile", }, Ontology: { Vocabulary: "vocabulary", diff --git a/vite.config.js b/vite.config.js index 21be199..3f1a02a 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,6 +6,7 @@ export default defineConfig({ server: { proxy: { "/api": { + // target: "http://203.101.227.144:8000", target: "http://127.0.0.1:8000", changeOrigin: true, secure: false,