From ad9942ca31330bc0d9e3d6a413751fbfd5ab5721 Mon Sep 17 00:00:00 2001 From: janorivera Date: Tue, 10 Feb 2026 14:07:34 -0300 Subject: [PATCH 1/8] fix (#3882) --- .../form-definitions/usvc/v1/insights/oneToOneConfigSpec.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usvc/v1/insights/oneToOneConfigSpec.json b/lambdas/packages/hrm-form-definitions/form-definitions/usvc/v1/insights/oneToOneConfigSpec.json index f3b31f427a..3597d40bda 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usvc/v1/insights/oneToOneConfigSpec.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/usvc/v1/insights/oneToOneConfigSpec.json @@ -19,13 +19,13 @@ }, { "name": "preferredLanguage", - "insights": ["conversations", "initiated_by"] + "insights": ["conversations", "conversation_attribute_6"] } ], "childInformation": [ { "name": "user", - "insights": ["customers", "customer_email"] + "insights": ["conversations", "conversation_attribute_7"] }, { "name": "frequencyOfAccess", From e873caa9be95b73bf89ae5d6edc9986238386dd2 Mon Sep 17 00:00:00 2001 From: Humairaa127 <41548706+Humairaa127@users.noreply.github.com> Date: Wed, 11 Feb 2026 00:52:57 +0200 Subject: [PATCH 2/8] zmvawie --- .../zm/v1/CallTypeButtons.json | 6 -- .../zm/v1/caseForms/IncidentForm.json | 38 ++++++++ .../zm/v1/caseForms/PerpetratorForm.json | 9 ++ .../zm/v1/caseForms/ReferralForm.json | 6 +- .../tabbedForms/IssueCategorizationTab.json | 94 +++---------------- 5 files changed, 64 insertions(+), 89 deletions(-) diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/CallTypeButtons.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/CallTypeButtons.json index d710019543..1375b40f94 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/CallTypeButtons.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/CallTypeButtons.json @@ -17,12 +17,6 @@ "type": "button", "category": "non-data" }, - { - "name": "VAWIE", - "label": "VAWIE", - "type": "button", - "category": "non-data" - }, { "name": "blank", "label": "Blank", diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/IncidentForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/IncidentForm.json index d1239f504b..43a7293e34 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/IncidentForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/IncidentForm.json @@ -111,6 +111,44 @@ "type": "checkbox", "isPII": false }, + { + "name": "electoralActor", + "label": "Electoral Actor", + "type": "select", + "options": [ + { + "label": "Voter/Individual" + }, + { + "label": "Candidate/Aspiring candidate" + }, + { + "label": "Party activist/Member" + }, + { + "label": "Party agent/Pollwatcher" + }, + { + "label": "Nonpartisan election observer" + }, + { + "label": "CSO Rep" + }, + { + "label": "Security Agent" + }, + { + "label": "Media" + }, + { + "label": "Family/Community" + }, + { + "label": "Election worker/official" + } + ], + "isPII":false + }, { "name": "locationElectionIncident", "label": "Location of the incident in Relation to Politics/Elections", diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json index f9cf973485..a39bb2301c 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json @@ -1091,5 +1091,14 @@ "label": "Ethnicity", "type": "input", "isPII": true + }, + { + "name": "Vawiecomments", + "label": "VAWIE Notes", + "type": "textarea", + "placeholder": "", + "rows": 10, + "width": 289, + "isPII": true } ] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json index c0cfb930ba..6c6420776b 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json @@ -15,7 +15,7 @@ { "name": "referredTo", "label": "Referred To", - "type": "select", + "type": "listbox-multiselect", "options": [ { "value": "", @@ -57,6 +57,10 @@ "value": "Chief/Head man", "label": "Chief/Head man" }, + { + "value": "legal aid", + "label": "Legal Aid" + }, { "value": "Head teacher", "label": "Head teacher" diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/tabbedForms/IssueCategorizationTab.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/tabbedForms/IssueCategorizationTab.json index bef05d32c0..9d3e3b9777 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/tabbedForms/IssueCategorizationTab.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/tabbedForms/IssueCategorizationTab.json @@ -51,9 +51,6 @@ { "label": "Online Addiction" }, - { - "label": "VAWIE" - }, { "label": "Other Online Harm" } @@ -147,9 +144,6 @@ { "label": "Physical violence" }, - { - "label": "Political related GBV" - }, { "label": "Sexual violence" }, @@ -462,51 +456,22 @@ "color": "#47BA5E", "subcategories": [ { - "label": "Violence Experienced During Election" - }, - { - "label": "VAWIE Confirmed GBV component" - }, - { - "label": "VAWIE Possible GBV component" - }, - { - "label": "Unspecified/Other" - } - ] - }, - "VAWIE Electoral Actor": { - "color": "#472A5E", - "subcategories": [ - { - "label": "Voter/Individual" - }, - { - "label": "Candidate/Aspiring candidate" - }, - { - "label": "Party activist/Member" - }, - { - "label": "Party agent/Pollwatcher" - }, - { - "label": "Nonpartisan election observer" + "label": "Physical" }, { - "label": "CSO Rep" + "label": "Sexual" }, { - "label": "Security Agent" + "label": "Psychological/Emotional" }, { - "label": "Media" + "label": "Threats and Coercion" }, { - "label": "Family/Community" + "label": "Economic" }, { - "label": "Election worker/official" + "label": "Information seeking about VAWE services" }, { "label": "Unspecified/Other" @@ -616,9 +581,6 @@ { "label": "Hacking" }, - { - "label": "VAWIE" - }, { "label": "Online Addiction" }, @@ -723,9 +685,6 @@ { "label": "Physical violence" }, - { - "label": "Political related GBV" - }, { "label": "Sexual violence" }, @@ -919,51 +878,22 @@ "color": "#47BA5E", "subcategories": [ { - "label": "Violence Experienced During Election" - }, - { - "label": "VAWIE Confirmed GBV component" - }, - { - "label": "VAWIE Possible GBV component" - }, - { - "label": "Unspecified/Other" - } - ] - }, - "VAWIE Electoral Actor": { - "color": "#472A5E", - "subcategories": [ - { - "label": "Voter/Individual" - }, - { - "label": "Candidate/Aspiring candidate" - }, - { - "label": "Party activist/Member" - }, - { - "label": "Party agent/Pollwatcher" - }, - { - "label": "Nonpartisan election observer" + "label": "Physical" }, { - "label": "CSO Rep" + "label": "Sexual" }, { - "label": "Security Agent" + "label": "Psychological/Emotional" }, { - "label": "Media" + "label": "Threats and Coercion" }, { - "label": "Family/Community" + "label": "Economic" }, { - "label": "Election worker/official" + "label": "Information seeking about VAWE services" }, { "label": "Unspecified/Other" From 9a2aca054594fae129c615eb5e1c63f9839652d5 Mon Sep 17 00:00:00 2001 From: Humairaa127 <41548706+Humairaa127@users.noreply.github.com> Date: Wed, 11 Feb 2026 16:35:34 +0200 Subject: [PATCH 3/8] Update PerpetratorForm.json --- .../form-definitions/zm/v1/caseForms/PerpetratorForm.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json index a39bb2301c..afa1b3b3a9 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json @@ -1093,7 +1093,7 @@ "isPII": true }, { - "name": "Vawiecomments", + "name": "vawieComments", "label": "VAWIE Notes", "type": "textarea", "placeholder": "", @@ -1101,4 +1101,4 @@ "width": 289, "isPII": true } -] \ No newline at end of file +] From 5232eee5eb41cf9a4499c1bba8aff1bea144efdd Mon Sep 17 00:00:00 2001 From: Humairaa127 <41548706+Humairaa127@users.noreply.github.com> Date: Wed, 11 Feb 2026 16:36:11 +0200 Subject: [PATCH 4/8] Update ReferralForm.json --- .../form-definitions/zm/v1/caseForms/ReferralForm.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json index 6c6420776b..c0141f05d8 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json @@ -58,7 +58,7 @@ "label": "Chief/Head man" }, { - "value": "legal aid", + "value": "Legal aid", "label": "Legal Aid" }, { @@ -92,4 +92,4 @@ "width": 300, "isPII": true } -] \ No newline at end of file +] From 778815adb0d8e3d71ea84b25935c188533bc9cb9 Mon Sep 17 00:00:00 2001 From: Humairaa127 <41548706+Humairaa127@users.noreply.github.com> Date: Wed, 11 Feb 2026 22:13:45 +0200 Subject: [PATCH 5/8] Update PerpetratorForm.json --- .../form-definitions/zm/v1/caseForms/PerpetratorForm.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json index afa1b3b3a9..627688ee9d 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json @@ -1017,7 +1017,7 @@ "options": [ { "value": "Unknown", - "label": "" + "label": "Unknown" }, { "value": "partyMember", @@ -1098,7 +1098,7 @@ "type": "textarea", "placeholder": "", "rows": 10, - "width": 289, - "isPII": true + "width": 100, + "isPII": false } ] From 6f6988ed15bd62589b5e16ef83d3589afdce035f Mon Sep 17 00:00:00 2001 From: Humairaa127 <41548706+Humairaa127@users.noreply.github.com> Date: Wed, 11 Feb 2026 22:15:15 +0200 Subject: [PATCH 6/8] Update ReferralForm.json --- .../form-definitions/zm/v1/caseForms/ReferralForm.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json index c0141f05d8..25cd5c5535 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/ReferralForm.json @@ -18,8 +18,8 @@ "type": "listbox-multiselect", "options": [ { - "value": "", - "label": "" + "value": "Unknown", + "label": "Unknown" }, { "value": "OSC", From cd53a4ae1078cc7882a60298e03d752650871033 Mon Sep 17 00:00:00 2001 From: Humairaa127 <41548706+Humairaa127@users.noreply.github.com> Date: Wed, 11 Feb 2026 22:18:07 +0200 Subject: [PATCH 7/8] Update IssueCategorizationTab.json --- .../zm/v1/tabbedForms/IssueCategorizationTab.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/tabbedForms/IssueCategorizationTab.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/tabbedForms/IssueCategorizationTab.json index 9d3e3b9777..e0a7fbd34a 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/tabbedForms/IssueCategorizationTab.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/tabbedForms/IssueCategorizationTab.json @@ -471,7 +471,7 @@ "label": "Economic" }, { - "label": "Information seeking about VAWE services" + "label": "Information seeking about VAWIE services" }, { "label": "Unspecified/Other" @@ -893,7 +893,7 @@ "label": "Economic" }, { - "label": "Information seeking about VAWE services" + "label": "Information seeking about VAWIE services" }, { "label": "Unspecified/Other" From d7f6c89121b7a0a7cd842310cdd744f0d8f0d31d Mon Sep 17 00:00:00 2001 From: janorivera Date: Wed, 11 Feb 2026 21:47:02 -0300 Subject: [PATCH 8/8] fixes (#3889) --- .../zm/v1/caseForms/IncidentForm.json | 80 +++++++++++-------- .../zm/v1/caseForms/PerpetratorForm.json | 10 +-- 2 files changed, 50 insertions(+), 40 deletions(-) diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/IncidentForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/IncidentForm.json index 43a7293e34..dbc05f75c5 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/IncidentForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/IncidentForm.json @@ -100,7 +100,7 @@ "isPII": false }, { - "name": "Witnesses", + "name": "witnesses", "label": "Who was the incident witnessed by?", "type": "input", "isPII": true @@ -116,38 +116,48 @@ "label": "Electoral Actor", "type": "select", "options": [ - { - "label": "Voter/Individual" - }, - { - "label": "Candidate/Aspiring candidate" - }, - { - "label": "Party activist/Member" - }, - { - "label": "Party agent/Pollwatcher" - }, - { - "label": "Nonpartisan election observer" - }, - { - "label": "CSO Rep" - }, - { - "label": "Security Agent" - }, - { - "label": "Media" - }, - { - "label": "Family/Community" - }, - { - "label": "Election worker/official" - } - ], - "isPII":false + { + "label": "Voter/Individual", + "value": "Voter/Individual" + }, + { + "label": "Candidate/Aspiring candidate", + "value": "Candidate/Aspiring candidate" + }, + { + "label": "Party activist/Member", + "value": "Party activist/Member" + }, + { + "label": "Party agent/Pollwatcher", + "value": "Party agent/Pollwatcher" + }, + { + "label": "Nonpartisan election observer", + "value": "Nonpartisan election observer" + }, + { + "label": "CSO Rep", + "value": "CSO Rep" + }, + { + "label": "Security Agent", + "value": "Security Agent" + }, + { + "label": "Media", + "value": "Media" + }, + { + "label": "Family/Community", + "value": "Family/Community" + }, + { + "label": "Election worker/official", + "value": "Election worker/official" + } + ], + "isPII": false }, { "name": "locationElectionIncident", @@ -212,11 +222,11 @@ "isPII": true }, { - "name": "VAWIENote", + "name": "vawieNote", "label": "VAWIE Notes", "type": "textarea", "rows": 25, "width": 300, "isPII": false } -] \ No newline at end of file +] diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json index 627688ee9d..333f8d259b 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/zm/v1/caseForms/PerpetratorForm.json @@ -1020,23 +1020,23 @@ "label": "Unknown" }, { - "value": "partyMember", + "value": "Party Member", "label": "Party Member" }, { - "value": "supporter", + "value": "Supporter", "label": "Supporter" }, { - "value": "candidate", + "value": "Candidate", "label": "Candidate" }, { - "value": "pollingAgent", + "value": "Polling Agent", "label": "Polling Agent" }, { - "value": "other", + "value": "Other", "label": "Others" } ],