diff --git a/client/src/components/ControlPanel.vue b/client/src/components/ControlPanel.vue index be986c6a..f572cbd9 100644 --- a/client/src/components/ControlPanel.vue +++ b/client/src/components/ControlPanel.vue @@ -27,6 +27,7 @@ export default { 'proxyManager', 'scanCachedPercentage', 'showCrosshairs', + 'storeCrosshairs', 'myCurrentProjectRoles', ]), ...mapGetters([ @@ -126,6 +127,7 @@ export default { ]), ...mapMutations([ 'setShowCrosshairs', + 'setStoreCrosshairs', ]), async switchLock(newExp, oldExp = null) { if (!this.navigateToNextIfCurrentScanNull()) { @@ -237,48 +239,56 @@ export default { > - - Project + + Project + Experiment - {{ currentViewData.projectName }} - - - - - Experiment +
+ +
Loading...
+
- - {{ currentViewData.experimentName }} + {{ currentViewData.projectName }} +
+ + {{ currentViewData.experimentName }} +
- - + +
+ +
+
+ +
+
@@ -304,7 +337,7 @@ export default { class="pa-0" > - + - - - Display crosshairs - - - - - - + - -
- -
Loading...
-
-
-
-
- - - - - - - +
- -
- This scan has no prior comments. -
- + This scan has no prior comments. +
-
+ + +
diff --git a/client/src/components/DecisionButtons.vue b/client/src/components/DecisionButtons.vue index 21841ad0..0175fcbd 100644 --- a/client/src/components/DecisionButtons.vue +++ b/client/src/components/DecisionButtons.vue @@ -23,7 +23,6 @@ export default { newComment: '', confirmedPresent: [], confirmedAbsent: [], - storeCrosshairs: true, }; }, computed: { @@ -31,6 +30,7 @@ export default { 'currentViewData', 'proxyManager', 'vtkViews', + 'storeCrosshairs', ]), ...mapGetters([ 'currentViewData', @@ -109,10 +109,14 @@ export default { }, methods: { convertValueToLabel(artifactName) { - return artifactName.replace('susceptibility_metal', 'metal_susceptibility').replace(/_/g, ' ').replace( - /\w\S*/g, - (txt) => txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(), - ); + return artifactName + .replace('susceptibility_metal', 'metal_susceptibility') + .replace('partial_brain_coverage', 'partial_coverage') + .replace(/_/g, ' ') + .replace( + /\w\S*/g, + (txt) => txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(), + ); }, getCurrentChipState(artifact) { // this function determines the styling of the four chip states. @@ -220,36 +224,38 @@ export default { diff --git a/client/src/components/ScanDecision.vue b/client/src/components/ScanDecision.vue index e5764bd9..ffdd9ddd 100644 --- a/client/src/components/ScanDecision.vue +++ b/client/src/components/ScanDecision.vue @@ -42,60 +42,63 @@ export default { + {{ chip.value }} + + +
{{ decision.created }} - - +
+