diff --git a/app_data/assets/contents.json b/app_data/assets/contents.json
index 5f3a80b..546f794 100644
--- a/app_data/assets/contents.json
+++ b/app_data/assets/contents.json
@@ -271,6 +271,10 @@
"md5Checksum": "bfa1481824dc135d25527d63175fb4df",
"size_kb": 10
},
+ "images/gb.svg": {
+ "md5Checksum": "d3ddd6025a06a78535b0d432d14905bf",
+ "size_kb": 0.5
+ },
"images/gender_box_1.jpg": {
"md5Checksum": "9525932e5536ed941400ec4bd4dd7b41",
"size_kb": 112.6
@@ -527,6 +531,10 @@
"md5Checksum": "a850396cfae4bb31f6d5b3f703f1c26d",
"size_kb": 75.7
},
+ "images/shield.svg": {
+ "md5Checksum": "7bef996b92b5d2cadd4e1ca2bac7c2d1",
+ "size_kb": 2.8
+ },
"images/south_africa_medical_research_council_logo.jpg": {
"md5Checksum": "9dbff98c117c766774ab84fecb371979",
"size_kb": 68.5
diff --git a/app_data/assets/images/gb.svg b/app_data/assets/images/gb.svg
new file mode 100644
index 0000000..132dbed
--- /dev/null
+++ b/app_data/assets/images/gb.svg
@@ -0,0 +1,7 @@
+
diff --git a/app_data/assets/images/shield.svg b/app_data/assets/images/shield.svg
new file mode 100644
index 0000000..877928e
--- /dev/null
+++ b/app_data/assets/images/shield.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/app_data/sheets/contents.json b/app_data/sheets/contents.json
index e96cf88..4ef8991 100644
--- a/app_data/sheets/contents.json
+++ b/app_data/sheets/contents.json
@@ -1039,11 +1039,6 @@
"flow_subtype": "generated",
"flow_type": "template"
},
- "onboarding_user_name": {
- "flow_name": "onboarding_user_name",
- "flow_subtype": "generated",
- "flow_type": "template"
- },
"parent_childhood_abilities_tbg": {
"flow_name": "parent_childhood_abilities_tbg",
"flow_subtype": "generated",
diff --git a/app_data/sheets/data_list/app_config_language_list/language.json b/app_data/sheets/data_list/app_config_language_list/language.json
index a0f3f29..7273acb 100644
--- a/app_data/sheets/data_list/app_config_language_list/language.json
+++ b/app_data/sheets/data_list/app_config_language_list/language.json
@@ -9,12 +9,12 @@
"id": "gb_en",
"country_code": "gb",
"country_label": "United Kingdom",
- "country_icon": "images/flags/gb.svg",
+ "country_icon": "images/gb.svg",
"language_code": "en",
"language_label": "English",
"name": "gb_en",
"text": "English",
- "image": "images/flags/gb.svg"
+ "image": "images/gb.svg"
}
],
"_xlsxPath": "global/data_lists/deployment_data_pfr.xlsx"
diff --git a/app_data/sheets/data_list/generated/onboarding_tasks.json b/app_data/sheets/data_list/generated/onboarding_tasks.json
index 5e6e4cc..87776d0 100644
--- a/app_data/sheets/data_list/generated/onboarding_tasks.json
+++ b/app_data/sheets/data_list/generated/onboarding_tasks.json
@@ -31,13 +31,6 @@
"completed_field": "task_onboarding_ground_rules_completed",
"completed": "@fields.task_onboarding_ground_rules_completed"
},
- {
- "id": "onboarding_user_name",
- "data_list_name": "onboarding_content",
- "row_id": "user_name",
- "completed_field": "task_onboarding_user_name_completed",
- "completed": "@fields.task_onboarding_user_name_completed"
- },
{
"id": "onboarding_praise",
"data_list_name": "praise",
diff --git a/app_data/sheets/data_list/onboarding.json b/app_data/sheets/data_list/onboarding.json
index c8e70e2..8abec91 100644
--- a/app_data/sheets/data_list/onboarding.json
+++ b/app_data/sheets/data_list/onboarding.json
@@ -23,11 +23,6 @@
"data_list_name": "onboarding_content",
"row_id": "ground_rules"
},
- {
- "id": "onboarding_user_name",
- "data_list_name": "onboarding_content",
- "row_id": "user_name"
- },
{
"id": "onboarding_praise",
"data_list_name": "praise",
diff --git a/app_data/sheets/data_list/onboarding_content.json b/app_data/sheets/data_list/onboarding_content.json
index bd12557..b906fe3 100644
--- a/app_data/sheets/data_list/onboarding_content.json
+++ b/app_data/sheets/data_list/onboarding_content.json
@@ -20,13 +20,6 @@
"text": "These may include:\n* Complete all sessions and activities.\n* If you have a spouse, encourage them to take these sessions as well.\n* Encourage their spouses to enrol in the programme.\n* Do home practice when given.\n* Commit yourself to becoming a role model and a champion of good parenting in your community.\n* Maintaining confidentiality.",
"question_text": "What will enable you to participate freely in the programme?",
"question_type": "text_input_long"
- },
- {
- "id": "user_name",
- "title": "About you",
- "icon_asset": "images/icons/paper_pencil.svg",
- "question_text": "What is your name?",
- "question_type": "text_input"
}
],
"_xlsxPath": "global/data_lists/onboarding.xlsx"
diff --git a/app_data/sheets/template/generated/onboarding_user_name.json b/app_data/sheets/template/generated/onboarding_user_name.json
deleted file mode 100644
index bcc6c4e..0000000
--- a/app_data/sheets/template/generated/onboarding_user_name.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "flow_name": "onboarding_user_name",
- "flow_subtype": "generated",
- "flow_type": "template",
- "rows": [
- {
- "type": "template",
- "name": "onboarding_content",
- "value": "onboarding_content",
- "action_list": [
- {
- "trigger": "completed",
- "action_id": "emit",
- "args": [
- "completed"
- ],
- "_raw": "completed | emit: completed",
- "_cleaned": "completed | emit: completed"
- },
- {
- "trigger": "uncompleted",
- "action_id": "emit",
- "args": [
- "uncompleted"
- ],
- "_raw": "uncompleted | emit: uncompleted",
- "_cleaned": "uncompleted | emit: uncompleted"
- }
- ],
- "rows": [
- {
- "name": "id",
- "value": "user_name",
- "_translations": {
- "value": {}
- },
- "type": "set_variable",
- "_nested_name": "onboarding_content.id"
- }
- ],
- "_nested_name": "onboarding_content"
- }
- ]
-}
\ No newline at end of file
diff --git a/app_data/sheets/template/onboarding_content.json b/app_data/sheets/template/onboarding_content.json
index dd7b41d..4fe7bc9 100644
--- a/app_data/sheets/template/onboarding_content.json
+++ b/app_data/sheets/template/onboarding_content.json
@@ -13,7 +13,7 @@
},
{
"name": "session_task_id",
- "value": "onboarding_user_name",
+ "value": "onboarding_pfr_goals",
"_translations": {
"value": {}
},
diff --git a/app_data/sheets/template/session_card.json b/app_data/sheets/template/session_card.json
index e50e66d..3527dec 100644
--- a/app_data/sheets/template/session_card.json
+++ b/app_data/sheets/template/session_card.json
@@ -718,7 +718,7 @@
"parameter_list": {
"task_group_id": "@local.session_id@local.tasks",
"task_group_data": "@local.session_id@local.tasks",
- "completed_field": "@local.completed_field",
+ "completed_field": "@local.session_tasks_data.completed_field",
"title": "@local.card_title",
"subtitle": "@local.card_subtitle",
"image": "@local.card_image",
@@ -819,10 +819,10 @@
],
"completed_field": [
{
- "fullExpression": "@local.completed_field",
- "matchedExpression": "@local.completed_field",
+ "fullExpression": "@local.session_tasks_data.completed_field",
+ "matchedExpression": "@local.session_tasks_data.completed_field",
"type": "local",
- "fieldName": "completed_field"
+ "fieldName": "session_tasks_data"
}
],
"title": [
@@ -884,7 +884,7 @@
"parameter_list.task_group_id",
"parameter_list.task_group_data"
],
- "@local.completed_field": [
+ "@local.session_tasks_data.completed_field": [
"parameter_list.completed_field"
],
"@local.card_title": [
diff --git a/config.ts b/config.ts
index c2c2c21..e34a817 100644
--- a/config.ts
+++ b/config.ts
@@ -13,7 +13,7 @@ config.google_drive = {
config.git = {
content_repo: "https://github.com/IDEMSInternational/pfr-app-content.git",
- content_tag_latest: "1.1.9",
+ content_tag_latest: "1.1.10",
};
config.error_logging = {