From 57a7e7d413960dbb112d06357253351eb9bb15fa Mon Sep 17 00:00:00 2001 From: Michael Olund Date: Wed, 14 Oct 2020 12:42:13 -0700 Subject: [PATCH 1/6] Minor tweaks to image compression settings --- vue/src/components/Uploader/Uploader.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vue/src/components/Uploader/Uploader.vue b/vue/src/components/Uploader/Uploader.vue index 26a84f9a..6865579a 100644 --- a/vue/src/components/Uploader/Uploader.vue +++ b/vue/src/components/Uploader/Uploader.vue @@ -247,8 +247,9 @@ if (newFile.file && newFile.type.substr(0, 6) === "image/") { new Compressor(newFile.file, { quality: 0.9, - maxWidth: 3600, - maxHeight: 3600, + maxWidth: 3300, + maxHeight: 3300, + convertSize: Infinity, success(result) { console.log(result); self.$refs.upload.update(newFile, { From 20f4eb40b83c9fe7716928b257a74a5883d1693b Mon Sep 17 00:00:00 2001 From: ariannedee Date: Wed, 14 Oct 2020 13:49:29 -0700 Subject: [PATCH 2/6] DIV-1179: Don't show children section if all children are grown --- edivorce/apps/core/templates/overview.html | 8 +++---- .../core/templates/partials/progress.html | 2 +- .../core/templates/question/12_review.html | 6 +++--- edivorce/apps/core/templatetags/step_order.py | 13 +++++------- edivorce/apps/core/tests/test_logic.py | 21 +++++++++++++++++++ edivorce/apps/core/utils/conditional_logic.py | 4 +++- edivorce/apps/core/utils/derived.py | 4 +--- 7 files changed, 38 insertions(+), 20 deletions(-) diff --git a/edivorce/apps/core/templates/overview.html b/edivorce/apps/core/templates/overview.html index a1c96995..294e9b2a 100644 --- a/edivorce/apps/core/templates/overview.html +++ b/edivorce/apps/core/templates/overview.html @@ -41,7 +41,7 @@ Step 5
Your separation
{% include "partials/progress_icon.html" with step_status_string=step_status.your_separation with_status=True %} - {% if children_of_marriage == 'YES' or derived.has_children_of_marriage %} + {% if derived.has_children_of_marriage %} Step {% step_order step="children" %}
Your children
@@ -49,7 +49,7 @@
{% endif %} - {% if 'Spousal support' in which_orders.0.value|load_json %} + {% if derived.wants_spousal_support %} Step {% step_order step="support" %}
Spousal support
@@ -57,7 +57,7 @@
{% endif %} - {% if 'Division of property and debts' in which_orders.0.value|load_json %} + {% if derived.wants_property_division %} Step {% step_order step="property" %}
Property and debt
@@ -65,7 +65,7 @@
{% endif %} - {% if 'Other orders' in which_orders.0.value|load_json %} + {% if derived.wants_other_orders %} Step {% step_order step="other_orders" %}
Other orders
diff --git a/edivorce/apps/core/templates/partials/progress.html b/edivorce/apps/core/templates/partials/progress.html index b1c38b91..510c34b6 100644 --- a/edivorce/apps/core/templates/partials/progress.html +++ b/edivorce/apps/core/templates/partials/progress.html @@ -34,7 +34,7 @@ {% include "partials/progress_icon.html" with step_status_string=step_status.your_separation%}
- {% if children_of_marriage == 'YES' or derived.has_children_of_marriage %} + {% if derived.has_children_of_marriage %}