Skip to content

Commit

Permalink
feat: reorganisation + add todo list
Browse files Browse the repository at this point in the history
  • Loading branch information
harryle95 committed Aug 23, 2024
1 parent b15e3af commit 49d7547
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 14 deletions.
27 changes: 27 additions & 0 deletions TODOLIST.md
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -82,4 +83,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}
26 changes: 13 additions & 13 deletions src/components/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 49d7547

Please sign in to comment.