From 59d5b78d725ba98316a7607937678485993b78bb Mon Sep 17 00:00:00 2001 From: denishov Date: Tue, 10 Oct 2023 10:58:05 +0200 Subject: [PATCH] Hide by default chat in MRI mode (#375) --- .eslintrc.js | 8 ++- view/brainbox/src/components/MRIPage.vue | 80 ++++++++++++++++-------- 2 files changed, 61 insertions(+), 27 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 87f30197..c63eecd3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,9 +6,13 @@ module.exports = { 'rules': { 'vue/multi-word-component-names': 'off' }, 'overrides': [ { - files: ['view/brainbox/src/components/Tools.vue'], + files: [ + 'view/brainbox/src/components/Tools.vue', + 'view/brainbox/src/components/MRIPage.vue' + ], rules: { - 'max-lines': 'off' + 'max-lines': 'off', + 'no-undef': 'off' } } ] diff --git a/view/brainbox/src/components/MRIPage.vue b/view/brainbox/src/components/MRIPage.vue index 85a20fd1..f86c97da 100644 --- a/view/brainbox/src/components/MRIPage.vue +++ b/view/brainbox/src/components/MRIPage.vue @@ -5,7 +5,10 @@
-
+
You are seeing this private MRI because you were added as a collaborator with access to files. Share with caution.
@@ -58,7 +61,13 @@ {{ atlas.project }} {{ new Date(atlas.modified).toLocaleDateString() }} - + + + @@ -77,26 +86,42 @@ v-for="annotation in formattedTextAnnotations" :key="annotation.name" > - {{ annotation.name }} - {{ annotation.data }} + + {{ annotation.name }} + + + {{ annotation.data }} + - {{ + {{ annotation.project }} - {{ new Date(annotation.modified).toLocaleDateString() }} + + {{ new Date(annotation.modified).toLocaleDateString() }} +
- -