etalab / piaf

Question Answering annotation platform - Plateforme d'annotation
https://piaf.etalab.studio
MIT License
87 stars 19 forks source link

Update views.py #29

Closed RachelKer closed 3 years ago

RachelKer commented 3 years ago

If a dataset in json format has questions for a paragraph, it will load them as well. This is useful for the second part of the annotation (collect answers to questions).

Note that this does not load answers that might be in the dataset, only the questions.

Related to the second part of the annotation process (Annotation2.vue for the additional answer collection), I have tried to get rid of the congratulatory message after each answer collection, as it slows down the annotation process. I have found no straightforward way to do it. When I managed to do it using different methods (goToAnnotation after mounting on Bravo.vue for example), I was met with a bug (mostly for non-admin users I believe) where the question would not match the paragraph. Any help on this would be appreciated.

guillim commented 3 years ago

I will make sure the second point is solved in a further commit, and will let you know here! thanks for the ideas

guillim commented 3 years ago

For your second point, it should be good now. There is a new option for the VueJS app (See Readme for more info)

In you case, VUE_APP_PRINT_BRAVO=false should do the trick to hide Bravo page after questions are submitted