From 14fdc8c76cab5af829182d835995f85e0bc95f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Pereira?= Date: Tue, 14 Jul 2020 18:44:27 -0300 Subject: [PATCH 01/76] changed autosave behavior in etymology section --- app/javascript/vue/components/markdown-editor.vue | 3 +++ .../nomenclature/new_taxon_name/components/etymology.vue | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/javascript/vue/components/markdown-editor.vue b/app/javascript/vue/components/markdown-editor.vue index df0ce8174e..1c071625ac 100644 --- a/app/javascript/vue/components/markdown-editor.vue +++ b/app/javascript/vue/components/markdown-editor.vue @@ -53,6 +53,9 @@ export default { this.simplemde.codemirror.on('change', () => { this.$emit('input', this.simplemde.value()) }) + this.simplemde.codemirror.on('blur', () => { + this.$emit('blur', this.simplemde.value()) + }) this.simplemde.codemirror.on('mousedown', (cm, ev) => { let that = this diff --git a/app/javascript/vue/tasks/nomenclature/new_taxon_name/components/etymology.vue b/app/javascript/vue/tasks/nomenclature/new_taxon_name/components/etymology.vue index ff7e09f74b..0d8238058a 100644 --- a/app/javascript/vue/tasks/nomenclature/new_taxon_name/components/etymology.vue +++ b/app/javascript/vue/tasks/nomenclature/new_taxon_name/components/etymology.vue @@ -7,6 +7,7 @@ slot="body" v-show="expanded"> From a6da0eadfdaab6ed3cd21b39df58fa473a285365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Pereira?= Date: Wed, 15 Jul 2020 12:23:16 -0300 Subject: [PATCH 02/76] Fix #1617 --- .../components/depictions/depictionImage.vue | 157 ++++++++++++------ .../components/collectionObject.vue | 32 ++-- .../type_specimens/components/depictions.vue | 2 +- .../components/typeMaterial.vue | 2 +- 4 files changed, 121 insertions(+), 72 deletions(-) diff --git a/app/javascript/vue/components/depictions/depictionImage.vue b/app/javascript/vue/components/depictions/depictionImage.vue index 3005029f9c..581e34e16b 100644 --- a/app/javascript/vue/components/depictions/depictionImage.vue +++ b/app/javascript/vue/components/depictions/depictionImage.vue @@ -2,47 +2,61 @@
+ @close="viewMode = false">

View

-
- -
- +
+
+ +
+ + Annotate image + + Navigate image +
-
-