Browse Source

Merge branch 'release/v0.4.0'

Jérôme BUISINE 5 years ago
parent
commit
1e3bd9b92a

+ 4 - 2
src/mixins/ExperimentBaseExtracts.vue

@@ -25,7 +25,8 @@ export default {
       extractsInfos: null,
 
       showHoverBorder: null,
-      lockConfig: null
+      lockConfig: null,
+      comment: null
     }
   },
   computed: {
@@ -207,7 +208,8 @@ export default {
           zone: x.zone
         })),
         qualities: this.qualities,
-        referenceImage: this.referenceImage
+        referenceImage: this.referenceImage,
+        comment: this.comment
       }
       this.sendMessage({ msgId: experimentMsgId.VALIDATED, msg: obj })
       this.setExperimentFinished()

+ 4 - 0
src/views/Experiments/MatchExtractsWithReference.vue

@@ -73,6 +73,10 @@
       </v-flex>
       <!-- Experiment validation button -->
       <v-layout justify-end align-content-end>
+        <v-text-field
+          v-model="comment"
+          label="Add a comment here"
+        />
         <v-btn @click="finishExperiment" color="primary" large right>Finish experiment</v-btn>
       </v-layout>
       <!--/ Experiment validation button -->