diff --git a/package-lock.json b/package-lock.json index 2d8092ab..94014e71 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "multer": "^1.4.2", "mustache-express": "^1.3.0", "neuroweblab": "github:neuroanatomy/neuroweblab", - "nwl-components": "^1.0.0", + "nwl-components": "^1.0.5", "pako": "^1.0.11", "passport": "^0.4.1", "passport-github": "^1.1.0", @@ -8688,9 +8688,9 @@ } }, "node_modules/nwl-components": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/nwl-components/-/nwl-components-1.0.0.tgz", - "integrity": "sha512-lQNIuZnZs5MQGs7wIcr9dzmp6RvTkx2/xHMLZH/nAvWr6MhAPN2uXPYNyqB4mLUQlSTRvESrHR67dPSJw9NEVQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nwl-components/-/nwl-components-1.0.5.tgz", + "integrity": "sha512-6z77UCuhXV/c0339DIfsemb0vgMTQ54wwXKP6jemo+X12jTNHa4RDiIEdESmRZJQfrUYaiQ83HgbJ40NQ9GrOQ==", "dependencies": { "dompurify": "^2.3.6", "jdenticon": "^3.1.1", @@ -19846,9 +19846,9 @@ } }, "nwl-components": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/nwl-components/-/nwl-components-1.0.0.tgz", - "integrity": "sha512-lQNIuZnZs5MQGs7wIcr9dzmp6RvTkx2/xHMLZH/nAvWr6MhAPN2uXPYNyqB4mLUQlSTRvESrHR67dPSJw9NEVQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nwl-components/-/nwl-components-1.0.5.tgz", + "integrity": "sha512-6z77UCuhXV/c0339DIfsemb0vgMTQ54wwXKP6jemo+X12jTNHa4RDiIEdESmRZJQfrUYaiQ83HgbJ40NQ9GrOQ==", "requires": { "dompurify": "^2.3.6", "jdenticon": "^3.1.1", diff --git a/package.json b/package.json index 7a7107e7..24e06b65 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "multer": "^1.4.2", "mustache-express": "^1.3.0", "neuroweblab": "github:neuroanatomy/neuroweblab", - "nwl-components": "^1.0.0", + "nwl-components": "^1.0.5", "pako": "^1.0.11", "passport": "^0.4.1", "passport-github": "^1.1.0", diff --git a/view/brainbox/src/components/ProjectPage.vue b/view/brainbox/src/components/ProjectPage.vue index 380435d8..af1ea89b 100644 --- a/view/brainbox/src/components/ProjectPage.vue +++ b/view/brainbox/src/components/ProjectPage.vue @@ -26,7 +26,7 @@ @on-close="displayOntology = false" @label-click="handleOntologyLabelClick" /> - + @@ -87,6 +87,8 @@ const { title, displayAdjustSettings, displayOntology, + displayChat, + displayScript, currentLabel, ontology, currentView, diff --git a/view/brainbox/src/components/Tools.vue b/view/brainbox/src/components/Tools.vue index acaba863..68161d8f 100644 --- a/view/brainbox/src/components/Tools.vue +++ b/view/brainbox/src/components/Tools.vue @@ -182,7 +182,7 @@ - +
{ @@ -359,4 +359,26 @@ button img.icon { :deep(button) { flex-grow: 1; } + +:deep #logScript { + height: 100%; +} + + + diff --git a/view/brainbox/src/store/visualization.js b/view/brainbox/src/store/visualization.js index 8021e318..e195f09a 100644 --- a/view/brainbox/src/store/visualization.js +++ b/view/brainbox/src/store/visualization.js @@ -10,6 +10,8 @@ const state = reactive({ receivedMessages: [], displayAdjustSettings: false, displayOntology: false, + displayChat: true, + displayScript: false, ontology: null, currentLabel: 0, currentFile: null,