From d6d0aea9ee6ceb4493ca41ee5024e7b60253f80f Mon Sep 17 00:00:00 2001 From: smborio Date: Tue, 1 Jun 2021 23:50:25 +0100 Subject: [PATCH] Update content for release v 0.9.10 --- .../plh_audio/relax/relax_15_audio.mp3 | 3 + .../plh_audio/relax/relax_16_audio.mp3 | 3 + .../plh_audio/relax/relax_17_audio.mp3 | 3 + .../plh_audio/relax/relax_18_audio.mp3 | 3 + .../plh_audio/relax/relax_19_audio.mp3 | 3 + .../plh_audio/relax/relax_20_audio.mp3 | 3 + .../plh_audio/relax/relax_21_audio.mp3 | 3 + .../plh_audio/relax/relax_22_audio.mp3 | 3 + .../plh_audio/relax/relax_23_audio.mp3 | 3 + .../plh_audio/relax/relax_24_audio.mp3 | 3 + .../plh_images/icons/star_circle.svg | 4 +- .../plh_images/icons/star_outline.svg | 4 +- .../plh_images/icons/star_white.svg | 3 + .../Star in white circle icon.svg | 3 - src/data/data_list.ts | 6544 +- src/data/global.ts | 438 +- src/data/template.ts | 81233 +++++++++------- 17 files changed, 48573 insertions(+), 39686 deletions(-) create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_15_audio.mp3 create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_16_audio.mp3 create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_17_audio.mp3 create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_18_audio.mp3 create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_19_audio.mp3 create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_20_audio.mp3 create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_21_audio.mp3 create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_22_audio.mp3 create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_23_audio.mp3 create mode 100644 src/assets/plh_assets/plh_audio/relax/relax_24_audio.mp3 create mode 100644 src/assets/plh_assets/plh_images/icons/star_white.svg delete mode 100644 src/assets/plh_assets/plh_images/orli_upload_folder/Star in white circle icon.svg diff --git a/src/assets/plh_assets/plh_audio/relax/relax_15_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_15_audio.mp3 new file mode 100644 index 0000000000..a840d7574b --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_15_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb44f0374be092f28e99b793bf026a749dd91879754f1142c2b582c02e5dca8a +size 529136 diff --git a/src/assets/plh_assets/plh_audio/relax/relax_16_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_16_audio.mp3 new file mode 100644 index 0000000000..aa9c854209 --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_16_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd81aa1728988aabc58c6ca3d0e24e95575b2beeeda34b60ded21a78c9df30d3 +size 578037 diff --git a/src/assets/plh_assets/plh_audio/relax/relax_17_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_17_audio.mp3 new file mode 100644 index 0000000000..1a93a7719b --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_17_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b716a91c1ef0931a67b67973f7b363701b48fe541582d289bc046e1f0d36515d +size 557139 diff --git a/src/assets/plh_assets/plh_audio/relax/relax_18_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_18_audio.mp3 new file mode 100644 index 0000000000..6761299fc9 --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_18_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a0e8b75d76379b889e4b8f1389f6d6916f8e690ec4f83cf4aaf6a94a0f81c3a +size 1258057 diff --git a/src/assets/plh_assets/plh_audio/relax/relax_19_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_19_audio.mp3 new file mode 100644 index 0000000000..6a3282b652 --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_19_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b544c6aad05a2382d4a84da000aca20d654e63716916c46bbe4f42fd46634c76 +size 1788447 diff --git a/src/assets/plh_assets/plh_audio/relax/relax_20_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_20_audio.mp3 new file mode 100644 index 0000000000..ffed6a9df6 --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_20_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48a7d58ed3eb7e513da3256ab7cf4ba17081593037d93da8ea4d9cad63134af6 +size 1947271 diff --git a/src/assets/plh_assets/plh_audio/relax/relax_21_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_21_audio.mp3 new file mode 100644 index 0000000000..6c6ef3c698 --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_21_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38ebedb911da3b4a718899e4c14552597bec73d0256deea28196823216f4e1ea +size 777822 diff --git a/src/assets/plh_assets/plh_audio/relax/relax_22_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_22_audio.mp3 new file mode 100644 index 0000000000..408a670b01 --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_22_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d348610f589c4b1f3d4266ad8e8f9d1e28f6877ee8ec8eb9806c62fb0eb5ac60 +size 440111 diff --git a/src/assets/plh_assets/plh_audio/relax/relax_23_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_23_audio.mp3 new file mode 100644 index 0000000000..bee445d636 --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_23_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30d70a12c6728ac4ead965a8231b3d7bf1dc56913c94d3ada59b06af949df5d6 +size 512417 diff --git a/src/assets/plh_assets/plh_audio/relax/relax_24_audio.mp3 b/src/assets/plh_assets/plh_audio/relax/relax_24_audio.mp3 new file mode 100644 index 0000000000..11f4f712f2 --- /dev/null +++ b/src/assets/plh_assets/plh_audio/relax/relax_24_audio.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e041672dfcaee246c22f347770100f0086c9de5c32d9f767a42af211469e7b6 +size 464770 diff --git a/src/assets/plh_assets/plh_images/icons/star_circle.svg b/src/assets/plh_assets/plh_images/icons/star_circle.svg index 5e8ae74825..8a17018f2b 100644 --- a/src/assets/plh_assets/plh_images/icons/star_circle.svg +++ b/src/assets/plh_assets/plh_images/icons/star_circle.svg @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d5900345e00782a43ae0b46e5454588449afaafb182a1f651081da83dd042804 -size 634 +oid sha256:3282111424c875f61c526b6cc82b4d7e0c59427a9a2715f9e77056baee7e4f3d +size 1551 diff --git a/src/assets/plh_assets/plh_images/icons/star_outline.svg b/src/assets/plh_assets/plh_images/icons/star_outline.svg index 620a6375ae..2db81c576f 100644 --- a/src/assets/plh_assets/plh_images/icons/star_outline.svg +++ b/src/assets/plh_assets/plh_images/icons/star_outline.svg @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:43dd4961bfff2e70e48f0df8efe6f743242156abdc4ae4d3e406f3e6daf227b9 -size 591 +oid sha256:5c379ba8584c17f8cc7246a5e54b53c57ad96c37ee26bcd3668ffd09225a8769 +size 1006 diff --git a/src/assets/plh_assets/plh_images/icons/star_white.svg b/src/assets/plh_assets/plh_images/icons/star_white.svg new file mode 100644 index 0000000000..d5d8c27301 --- /dev/null +++ b/src/assets/plh_assets/plh_images/icons/star_white.svg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8e8113877d9fe5f72fd0f245c32624e54db0e1bdb22e3cfb7ba0f4f448f0203 +size 1003 diff --git a/src/assets/plh_assets/plh_images/orli_upload_folder/Star in white circle icon.svg b/src/assets/plh_assets/plh_images/orli_upload_folder/Star in white circle icon.svg deleted file mode 100644 index 8a17018f2b..0000000000 --- a/src/assets/plh_assets/plh_images/orli_upload_folder/Star in white circle icon.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3282111424c875f61c526b6cc82b4d7e0c59427a9a2715f9e77056baee7e4f3d -size 1551 diff --git a/src/data/data_list.ts b/src/data/data_list.ts index 5920697ad9..30d621325d 100644 --- a/src/data/data_list.ts +++ b/src/data/data_list.ts @@ -4,7 +4,7 @@ { "flow_type": "data_list", "flow_subtype": "campaign_rows", - "flow_name": "campaign_quick_starts", + "flow_name": "campaign_home_screen", "status": "released", "rows": [ { @@ -29,58 +29,6 @@ ], "icon": "plh_images/icons/play_white.svg" }, - { - "id": "w_self_care_quick_start", - "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - }, - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_self_care_stepper" - ], - "_raw": "go_to: w_self_care_stepper", - "_cleaned": "click | go_to: w_self_care_stepper" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_self_care_quick_start.sent", - true - ], - "_raw": "set_field: w_self_care_quick_start.sent : true", - "_cleaned": "click | set_field: w_self_care_quick_start.sent : true" - } - ], - "priority": 0, - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "w_self_care_completed" - } - }, - "_raw": "get_field | w_self_care_completed : true" - } - ], - "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" - ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_self_care" - }, { "id": "w_self_care_relax", "click_action_list": [ @@ -210,7 +158,7 @@ "campaign_list": [ "parent_centre" ], - "icon": "plh_images/icons/cogwheel_white.svg" + "icon": "plh_images/icons/phone_heart_white.svg" }, { "id": "w_self_care_m_workshop_tomorrow", @@ -383,80 +331,7 @@ "campaign_list": [ "parent_points" ], - "icon": "plh_images/icons/star_outine.svg" - }, - { - "id": "w_1on1_quick_start", - "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - }, - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_1on1_stepper" - ], - "_raw": "go_to: w_1on1_stepper", - "_cleaned": "click | go_to: w_1on1_stepper" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_1on1_quick_start.sent", - true - ], - "_raw": "set_field: w_1on1_quick_start.sent : true", - "_cleaned": "click | set_field: w_1on1_quick_start.sent : true" - } - ], - "priority": 1, - "activation_condition_list": [ - { - "condition_type": "db_lookup", - "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "6", - "unit": "day" - } - } - }, - "_raw": "first_launch | before: 6 : day" - } - ], - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "w_1on1_completed" - } - }, - "_raw": "get_field | w_1on1_completed : true" - } - ], - "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" - ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_1on1" + "icon": "plh_images/icons/star_white.svg" }, { "id": "w_1on1_relax", @@ -1115,80 +990,7 @@ "campaign_list": [ "parent_points" ], - "icon": "plh_images/icons/star_outine.svg" - }, - { - "id": "w_praise_quick_start", - "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - }, - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_praise_stepper" - ], - "_raw": "go_to: w_praise_stepper", - "_cleaned": "click | go_to: w_praise_stepper" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_praise_quick_start.sent", - true - ], - "_raw": "set_field: w_praise_quick_start.sent : true", - "_cleaned": "click | set_field: w_praise_quick_start.sent : true" - } - ], - "priority": 2, - "activation_condition_list": [ - { - "condition_type": "db_lookup", - "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "13", - "unit": "day" - } - } - }, - "_raw": "first_launch | before: 13 : day" - } - ], - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "w_praise_completed" - } - }, - "_raw": "get_field | w_praise_completed : true" - } - ], - "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" - ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_praise" + "icon": "plh_images/icons/star_white.svg" }, { "id": "w_praise_relax", @@ -1621,6 +1423,85 @@ ], "icon": "plh_images/icons/bell_white.svg" }, + { + "id": "w_praise_m_workshop_in_pro", + "click_action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_praise_m_workshop_in_pro" + ], + "_raw": "pop_up: w_praise_m_workshop_in_pro", + "_cleaned": "click | pop_up: w_praise_m_workshop_in_pro" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_praise_m_workshop_in_pro.sent", + true + ], + "_raw": "set_field: w_praise_m_workshop_in_pro.sent : true", + "_cleaned": "click | set_field: w_praise_m_workshop_in_pro.sent : true" + } + ], + "priority": 2.7, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "16", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 16 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_praise_m_workshop_in_pro.sent" + } + }, + "_raw": "get_field | w_praise_m_workshop_in_pro.sent : true" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_praise_started" + } + }, + "_raw": "get_field | w_praise_started : false" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_praise_completed" + } + }, + "_raw": "get_field | w_praise_completed: true" + } + ], + "campaign_list": [ + "weekly_workshops" + ], + "icon": "plh_images/icons/bell_white.svg" + }, { "id": "w_praise_m_hp_reminder", "click_action_list": [ @@ -1750,99 +1631,26 @@ "campaign_list": [ "parent_points" ], - "icon": "plh_images/icons/star_outine.svg" + "icon": "plh_images/icons/star_white.svg" }, { - "id": "w_instruct_quick_start", + "id": "w_instruct_relax", "click_action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ - "do_this_workshop_together", - false + "which_relax", + "relax_4" ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" + "_raw": "set_field: which_relax : relax_4", + "_cleaned": "click | set_field: which_relax : relax_4" }, { "trigger": "click", - "action_id": "go_to", + "action_id": "pop_up", "args": [ - "w_instruct_stepper" - ], - "_raw": "go_to: w_instruct_stepper", - "_cleaned": "click | go_to: w_instruct_stepper" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_instruct_quick_start.sent", - true - ], - "_raw": "set_field: w_instruct_quick_start.sent : true", - "_cleaned": "click | set_field: w_instruct_quick_start.sent : true" - } - ], - "priority": 3, - "activation_condition_list": [ - { - "condition_type": "db_lookup", - "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "20", - "unit": "day" - } - } - }, - "_raw": "first_launch | before: 20 : day" - } - ], - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "w_instruct_completed" - } - }, - "_raw": "get_field | w_instruct_completed : true" - } - ], - "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" - ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_instruct" - }, - { - "id": "w_instruct_relax", - "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_4" - ], - "_raw": "set_field: which_relax : relax_4", - "_cleaned": "click | set_field: which_relax : relax_4" - }, - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_relax" + "m_relax" ], "_raw": "pop_up: m_relax", "_cleaned": "click | pop_up: m_relax" @@ -2196,29 +2004,29 @@ "icon": "plh_images/icons/heart_white.svg" }, { - "id": "w_instruct_m_hp_reminder", + "id": "w_instruct_m_workshop_reminder", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "w_instruct_m_hp_reminder" + "w_instruct_m_workshop_reminder" ], - "_raw": "pop_up: w_instruct_m_hp_reminder", - "_cleaned": "click | pop_up: w_instruct_m_hp_reminder" + "_raw": "pop_up: w_instruct_m_workshop_reminder", + "_cleaned": "click | pop_up: w_instruct_m_workshop_reminder" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_instruct_m_hp_reminder.sent", + "w_instruct_m_workshop_reminder.sent", true ], - "_raw": "set_field: w_instruct_m_hp_reminder.sent : true", - "_cleaned": "click | set_field: w_instruct_m_hp_reminder.sent : true" + "_raw": "set_field: w_instruct_m_workshop_reminder.sent : true", + "_cleaned": "click | set_field: w_instruct_m_workshop_reminder.sent : true" } ], - "priority": 3.8, + "priority": 3.6, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -2243,10 +2051,10 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_instruct_completed" + "evaluate": "w_instruct_started" } }, - "_raw": "get_field | w_instruct_completed: true" + "_raw": "get_field | w_instruct_started : false" } ], "deactivation_condition_list": [ @@ -2254,41 +2062,41 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_instruct_m_hp_reminder.sent" + "evaluate": "w_instruct_m_workshop_reminder.sent" } }, - "_raw": "get_field | w_instruct_m_hp_reminder.sent : true" + "_raw": "get_field | w_instruct_m_workshop_reminder.sent : true | before : 1 : day" } ], "campaign_list": [ - "parent_points" + "weekly_workshops" ], - "icon": "plh_images/icons/parent_heart_white.svg" + "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_instruct_m_parent_points_overview", + "id": "w_instruct_m_workshop_in_pro", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "m_parent_points_overview" + "w_instruct_m_workshop_in_pro" ], - "_raw": "pop_up: m_parent_points_overview", - "_cleaned": "click | pop_up: m_parent_points_overview" + "_raw": "pop_up: w_instruct_m_workshop_in_pro", + "_cleaned": "click | pop_up: w_instruct_m_workshop_in_pro" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_instruct_m_parent_points_overview.sent", + "w_instruct_m_workshop_in_pro.sent", true ], - "_raw": "set_field: w_instruct_m_parent_points_overview.sent : true", - "_cleaned": "click | set_field: w_instruct_m_parent_points_overview.sent : true" + "_raw": "set_field: w_instruct_m_workshop_in_pro.sent : true", + "_cleaned": "click | set_field: w_instruct_m_workshop_in_pro.sent : true" } ], - "priority": 3.9, + "priority": 3.7, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -2302,12 +2110,12 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "26", + "value": "23", "unit": "day" } } }, - "_raw": "first_launch | before: 26 : day" + "_raw": "first_launch | before: 23 : day" } ], "deactivation_condition_list": [ @@ -2315,51 +2123,129 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_instruct_m_parent_points_overview.sent" + "evaluate": "w_instruct_m_workshop_in_pro.sent" } }, - "_raw": "get_field | w_instruct_m_parent_points_overview.sent : true" + "_raw": "get_field | w_instruct_m_workshop_in_pro.sent : true" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_instruct_started" + } + }, + "_raw": "get_field | w_instruct_started : false" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_instruct_completed" + } + }, + "_raw": "get_field | w_instruct_completed: true" } ], "campaign_list": [ - "parent_points" + "weekly_workshops" ], - "icon": "plh_images/icons/star_outine.svg" + "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_stress_quick_start", + "id": "w_instruct_m_hp_reminder", "click_action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_instruct_m_hp_reminder" + ], + "_raw": "pop_up: w_instruct_m_hp_reminder", + "_cleaned": "click | pop_up: w_instruct_m_hp_reminder" + }, { "trigger": "click", "action_id": "set_field", "args": [ - "do_this_workshop_together", - false + "w_instruct_m_hp_reminder.sent", + true ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" + "_raw": "set_field: w_instruct_m_hp_reminder.sent : true", + "_cleaned": "click | set_field: w_instruct_m_hp_reminder.sent : true" + } + ], + "priority": 3.8, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "23", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 23 : day" }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_instruct_completed" + } + }, + "_raw": "get_field | w_instruct_completed: true" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_instruct_m_hp_reminder.sent" + } + }, + "_raw": "get_field | w_instruct_m_hp_reminder.sent : true" + } + ], + "campaign_list": [ + "parent_points" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_instruct_m_parent_points_overview", + "click_action_list": [ { "trigger": "click", - "action_id": "go_to", + "action_id": "pop_up", "args": [ - "w_stress_stepper" + "m_parent_points_overview" ], - "_raw": "go_to: w_stress_stepper", - "_cleaned": "click | go_to: w_stress_stepper" + "_raw": "pop_up: m_parent_points_overview", + "_cleaned": "click | pop_up: m_parent_points_overview" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_stress_quick_start.sent", + "w_instruct_m_parent_points_overview.sent", true ], - "_raw": "set_field: w_stress_quick_start.sent : true", - "_cleaned": "click | set_field: w_stress_quick_start.sent : true" + "_raw": "set_field: w_instruct_m_parent_points_overview.sent : true", + "_cleaned": "click | set_field: w_instruct_m_parent_points_overview.sent : true" } ], - "priority": 4, + "priority": 3.9, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -2373,12 +2259,12 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "26", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 26 : day" } ], "deactivation_condition_list": [ @@ -2386,18 +2272,16 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_stress_completed" + "evaluate": "w_instruct_m_parent_points_overview.sent" } }, - "_raw": "get_field | w_stress_completed : true" + "_raw": "get_field | w_instruct_m_parent_points_overview.sent : true" } ], "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" + "parent_points" ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_stress" + "icon": "plh_images/icons/star_white.svg" }, { "id": "w_stress_relax", @@ -2840,29 +2724,29 @@ "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_stress_m_hp_reminder", + "id": "w_stress_m_workshop_in_progress", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "w_stress_m_hp_reminder" + "w_stress_m_workshop_in_progress" ], - "_raw": "pop_up: w_stress_m_hp_reminder", - "_cleaned": "click | pop_up: w_stress_m_hp_reminder" + "_raw": "pop_up: w_stress_m_workshop_in_progress", + "_cleaned": "click | pop_up: w_stress_m_workshop_in_progress" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_stress_m_hp_reminder.sent", + "w_stress_m_workshop_in_progress.sent", true ], - "_raw": "set_field: w_stress_m_hp_reminder.sent : true", - "_cleaned": "click | set_field: w_stress_m_hp_reminder.sent : true" + "_raw": "set_field: w_stress_m_workshop_in_progress.sent : true", + "_cleaned": "click | set_field: w_stress_m_workshop_in_progress.sent : true" } ], - "priority": 4.8, + "priority": 4.7, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -2882,57 +2766,66 @@ } }, "_raw": "first_launch | before: 30 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_stress_m_workshop_in_progress.sent" + } + }, + "_raw": "get_field | w_stress_m_workshop_in_progress.sent : true" }, { "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_stress_completed" + "evaluate": "w_stress_started" } }, - "_raw": "get_field | w_stress_completed: true" - } - ], - "deactivation_condition_list": [ + "_raw": "get_field | w_stress_started : false" + }, { "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_stress_m_hp_reminder.sent" + "evaluate": "w_stress_completed" } }, - "_raw": "get_field | w_stress_m_hp_reminder.sent : true" + "_raw": "get_field | w_stress_completed: true" } ], "campaign_list": [ - "parent_points" + "weekly_workshops" ], - "icon": "plh_images/icons/parent_heart_white.svg" + "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_stress_m_parent_points_overview", + "id": "w_stress_m_hp_reminder", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "m_parent_points_overview" + "w_stress_m_hp_reminder" ], - "_raw": "pop_up: m_parent_points_overview", - "_cleaned": "click | pop_up: m_parent_points_overview" + "_raw": "pop_up: w_stress_m_hp_reminder", + "_cleaned": "click | pop_up: w_stress_m_hp_reminder" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_stress_m_parent_points_overview.sent", + "w_stress_m_hp_reminder.sent", true ], - "_raw": "set_field: w_stress_m_parent_points_overview.sent : true", - "_cleaned": "click | set_field: w_stress_m_parent_points_overview.sent : true" + "_raw": "set_field: w_stress_m_hp_reminder.sent : true", + "_cleaned": "click | set_field: w_stress_m_hp_reminder.sent : true" } ], - "priority": 4.9, + "priority": 4.8, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -2946,12 +2839,21 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "33", + "value": "30", "unit": "day" } } }, - "_raw": "first_launch | before: 33 : day" + "_raw": "first_launch | before: 30 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_stress_completed" + } + }, + "_raw": "get_field | w_stress_completed: true" } ], "deactivation_condition_list": [ @@ -2959,51 +2861,41 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_stress_m_parent_points_overview.sent" + "evaluate": "w_stress_m_hp_reminder.sent" } }, - "_raw": "get_field | w_stress_m_parent_points_overview.sent : true" + "_raw": "get_field | w_stress_m_hp_reminder.sent : true" } ], "campaign_list": [ "parent_points" ], - "icon": "plh_images/icons/star_outine.svg" + "icon": "plh_images/icons/parent_heart_white.svg" }, { - "id": "w_money_quick_start", + "id": "w_stress_m_parent_points_overview", "click_action_list": [ { "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - }, - { - "trigger": "click", - "action_id": "go_to", + "action_id": "pop_up", "args": [ - "w_money_stepper" + "m_parent_points_overview" ], - "_raw": "go_to: w_money_stepper", - "_cleaned": "click | go_to: w_money_stepper" + "_raw": "pop_up: m_parent_points_overview", + "_cleaned": "click | pop_up: m_parent_points_overview" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_money_quick_start.sent", + "w_stress_m_parent_points_overview.sent", true ], - "_raw": "set_field: w_money_quick_start.sent : true", - "_cleaned": "click | set_field: w_money_quick_start.sent : true" + "_raw": "set_field: w_stress_m_parent_points_overview.sent : true", + "_cleaned": "click | set_field: w_stress_m_parent_points_overview.sent : true" } ], - "priority": 5, + "priority": 4.9, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -3017,12 +2909,12 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "33", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 33 : day" } ], "deactivation_condition_list": [ @@ -3030,18 +2922,16 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_money_completed" + "evaluate": "w_stress_m_parent_points_overview.sent" } }, - "_raw": "get_field | w_money_completed : true" + "_raw": "get_field | w_stress_m_parent_points_overview.sent : true" } ], "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" + "parent_points" ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_money" + "icon": "plh_images/icons/star_white.svg" }, { "id": "w_money_relax", @@ -3484,29 +3374,29 @@ "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_money_m_hp_reminder", + "id": "w_money_m_workshop_in_progress", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "w_money_m_hp_reminder" + "w_money_m_workshop_in_progress" ], - "_raw": "pop_up: w_money_m_hp_reminder", - "_cleaned": "click | pop_up: w_money_m_hp_reminder" + "_raw": "pop_up: w_money_m_workshop_in_progress", + "_cleaned": "click | pop_up: w_money_m_workshop_in_progress" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_money_m_hp_reminder.sent", + "w_money_m_workshop_in_progress.sent", true ], - "_raw": "set_field: w_money_m_hp_reminder.sent : true", - "_cleaned": "click | set_field: w_money_m_hp_reminder.sent : true" + "_raw": "set_field: w_money_m_workshop_in_progress.sent : true", + "_cleaned": "click | set_field: w_money_m_workshop_in_progress.sent : true" } ], - "priority": 5.8, + "priority": 5.7, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -3526,57 +3416,66 @@ } }, "_raw": "first_launch | before: 30 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_money_m_workshop_in_progress.sent" + } + }, + "_raw": "get_field | w_money_m_workshop_in_progress.sent : true" }, { "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_money_completed" + "evaluate": "w_money_started" } }, - "_raw": "get_field | w_money_completed: true" - } - ], - "deactivation_condition_list": [ + "_raw": "get_field | w_money_started : false" + }, { "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_money_m_hp_reminder.sent" + "evaluate": "w_money_completed" } }, - "_raw": "get_field | w_money_m_hp_reminder.sent : true" + "_raw": "get_field | w_money_completed: true" } ], "campaign_list": [ - "parent_points" + "weekly_workshops" ], - "icon": "plh_images/icons/parent_heart_white.svg" + "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_money_m_parent_points_overview", + "id": "w_money_m_hp_reminder", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "m_parent_points_overview" + "w_money_m_hp_reminder" ], - "_raw": "pop_up: m_parent_points_overview", - "_cleaned": "click | pop_up: m_parent_points_overview" + "_raw": "pop_up: w_money_m_hp_reminder", + "_cleaned": "click | pop_up: w_money_m_hp_reminder" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_money_m_parent_points_overview.sent", + "w_money_m_hp_reminder.sent", true ], - "_raw": "set_field: w_money_m_parent_points_overview.sent : true", - "_cleaned": "click | set_field: w_money_m_parent_points_overview.sent : true" + "_raw": "set_field: w_money_m_hp_reminder.sent : true", + "_cleaned": "click | set_field: w_money_m_hp_reminder.sent : true" } ], - "priority": 5.9, + "priority": 5.8, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -3590,12 +3489,21 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "33", + "value": "30", "unit": "day" } } }, - "_raw": "first_launch | before: 33 : day" + "_raw": "first_launch | before: 30 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_money_completed" + } + }, + "_raw": "get_field | w_money_completed: true" } ], "deactivation_condition_list": [ @@ -3603,51 +3511,41 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_money_m_parent_points_overview.sent" + "evaluate": "w_money_m_hp_reminder.sent" } }, - "_raw": "get_field | w_money_m_parent_points_overview.sent : true" + "_raw": "get_field | w_money_m_hp_reminder.sent : true" } ], "campaign_list": [ "parent_points" ], - "icon": "plh_images/icons/star_outine.svg" + "icon": "plh_images/icons/parent_heart_white.svg" }, { - "id": "w_rules_quick_start", + "id": "w_money_m_parent_points_overview", "click_action_list": [ { "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - }, - { - "trigger": "click", - "action_id": "go_to", + "action_id": "pop_up", "args": [ - "w_rules_stepper" + "m_parent_points_overview" ], - "_raw": "go_to: w_rules_stepper", - "_cleaned": "click | go_to: w_rules_stepper" + "_raw": "pop_up: m_parent_points_overview", + "_cleaned": "click | pop_up: m_parent_points_overview" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_rules_quick_start.sent", + "w_money_m_parent_points_overview.sent", true ], - "_raw": "set_field: w_rules_quick_start.sent : true", - "_cleaned": "click | set_field: w_rules_quick_start.sent : true" + "_raw": "set_field: w_money_m_parent_points_overview.sent : true", + "_cleaned": "click | set_field: w_money_m_parent_points_overview.sent : true" } ], - "priority": 6, + "priority": 5.9, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -3661,12 +3559,12 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "33", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 33 : day" } ], "deactivation_condition_list": [ @@ -3674,18 +3572,16 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_rules_completed" + "evaluate": "w_money_m_parent_points_overview.sent" } }, - "_raw": "get_field | w_rules_completed : true" + "_raw": "get_field | w_money_m_parent_points_overview.sent : true" } ], "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" + "parent_points" ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_rules" + "icon": "plh_images/icons/star_white.svg" }, { "id": "w_rules_relax", @@ -4317,80 +4213,7 @@ "campaign_list": [ "parent_points" ], - "icon": "plh_images/icons/star_outine.svg" - }, - { - "id": "w_consequence_quick_start", - "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - }, - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_consequence_stepper" - ], - "_raw": "go_to: w_consequence_stepper", - "_cleaned": "click | go_to: w_consequence_stepper" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_consequence_quick_start.sent", - true - ], - "_raw": "set_field: w_consequence_quick_start.sent : true", - "_cleaned": "click | set_field: w_consequence_quick_start.sent : true" - } - ], - "priority": 7, - "activation_condition_list": [ - { - "condition_type": "db_lookup", - "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "27", - "unit": "day" - } - } - }, - "_raw": "first_launch | before: 27 : day" - } - ], - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "w_consequence_completed" - } - }, - "_raw": "get_field | w_consequence_completed : true" - } - ], - "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" - ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_consequence" + "icon": "plh_images/icons/star_white.svg" }, { "id": "w_consequence_relax", @@ -5022,42 +4845,42 @@ "campaign_list": [ "parent_points" ], - "icon": "plh_images/icons/star_outine.svg" + "icon": "plh_images/icons/star_white.svg" }, { - "id": "w_solve_quick_start", + "id": "w_solve_relax", "click_action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ - "do_this_workshop_together", - false + "which_relax", + "relax_11" ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" + "_raw": "set_field: which_relax : relax_11", + "_cleaned": "click | set_field: which_relax : relax_11" }, { "trigger": "click", - "action_id": "go_to", + "action_id": "pop_up", "args": [ - "w_solve_stepper" + "m_relax" ], - "_raw": "go_to: w_solve_stepper", - "_cleaned": "click | go_to: w_solve_stepper" + "_raw": "pop_up: m_relax", + "_cleaned": "click | pop_up: m_relax" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_solve_quick_start.sent", + "w_solve_relax.sent", true ], - "_raw": "set_field: w_solve_quick_start.sent : true", - "_cleaned": "click | set_field: w_solve_quick_start.sent : true" + "_raw": "set_field: w_solve_relax.sent : true", + "_cleaned": "click | set_field: w_solve_relax.sent : true" } ], - "priority": 8, + "priority": 8.1, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -5084,84 +4907,11 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_solve_completed" + "evaluate": "w_solve_relax.sent" } }, - "_raw": "get_field | w_solve_completed : true" - } - ], - "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" - ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_solve" - }, - { - "id": "w_solve_relax", - "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_11" - ], - "_raw": "set_field: which_relax : relax_11", - "_cleaned": "click | set_field: which_relax : relax_11" - }, - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_relax" - ], - "_raw": "pop_up: m_relax", - "_cleaned": "click | pop_up: m_relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_solve_relax.sent", - true - ], - "_raw": "set_field: w_solve_relax.sent : true", - "_cleaned": "click | set_field: w_solve_relax.sent : true" - } - ], - "priority": 8.1, - "activation_condition_list": [ - { - "condition_type": "db_lookup", - "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "27", - "unit": "day" - } - } - }, - "_raw": "first_launch | before: 27 : day" - } - ], - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "w_solve_relax.sent" - } - }, - "_raw": "get_field | w_solve_relax.sent : true | within: 1 : day" - }, + "_raw": "get_field | w_solve_relax.sent : true | within: 1 : day" + }, { "condition_type": "db_lookup", "condition_args": { @@ -5727,80 +5477,7 @@ "campaign_list": [ "parent_points" ], - "icon": "plh_images/icons/star_outine.svg" - }, - { - "id": "w_safe_quick_start", - "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - }, - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_safe_stepper" - ], - "_raw": "go_to: w_safe_stepper", - "_cleaned": "click | go_to: w_safe_stepper" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_safe_quick_start.sent", - true - ], - "_raw": "set_field: w_safe_quick_start.sent : true", - "_cleaned": "click | set_field: w_safe_quick_start.sent : true" - } - ], - "priority": 9, - "activation_condition_list": [ - { - "condition_type": "db_lookup", - "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "27", - "unit": "day" - } - } - }, - "_raw": "first_launch | before: 27 : day" - } - ], - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "w_safe_completed" - } - }, - "_raw": "get_field | w_safe_completed : true" - } - ], - "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" - ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_safe" + "icon": "plh_images/icons/star_white.svg" }, { "id": "w_safe_relax", @@ -6225,29 +5902,29 @@ "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_safe_m_hp_reminder", + "id": "w_safe_m_workshop_in_progress", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "w_safe_m_hp_reminder" + "w_safe_m_workshop_in_progress" ], - "_raw": "pop_up: w_safe_m_hp_reminder", - "_cleaned": "click | pop_up: w_safe_m_hp_reminder" + "_raw": "pop_up: w_safe_m_workshop_in_progress", + "_cleaned": "click | pop_up: w_safe_m_workshop_in_progress" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_safe_m_hp_reminder.sent", + "w_safe_m_workshop_in_progress.sent", true ], - "_raw": "set_field: w_safe_m_hp_reminder.sent : true", - "_cleaned": "click | set_field: w_safe_m_hp_reminder.sent : true" + "_raw": "set_field: w_safe_m_workshop_in_progress.sent : true", + "_cleaned": "click | set_field: w_safe_m_workshop_in_progress.sent : true" } ], - "priority": 9.8, + "priority": 9.7, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -6267,57 +5944,66 @@ } }, "_raw": "first_launch | before: 30 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_safe_m_workshop_in_progress.sent" + } + }, + "_raw": "get_field | w_safe_m_workshop_in_progress.sent : true" }, { "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_safe_completed" + "evaluate": "w_safe_started" } }, - "_raw": "get_field | w_safe_completed: true" - } - ], - "deactivation_condition_list": [ + "_raw": "get_field | w_safe_started : false" + }, { "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_safe_m_hp_reminder.sent" + "evaluate": "w_safe_completed" } }, - "_raw": "get_field | w_safe_m_hp_reminder.sent : true" + "_raw": "get_field | w_safe_completed: true" } ], "campaign_list": [ - "parent_points" + "weekly_workshops" ], - "icon": "plh_images/icons/parent_heart_white.svg" + "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_safe_m_parent_points_overview", + "id": "w_safe_m_hp_reminder", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "m_parent_points_overview" + "w_safe_m_hp_reminder" ], - "_raw": "pop_up: m_parent_points_overview", - "_cleaned": "click | pop_up: m_parent_points_overview" + "_raw": "pop_up: w_safe_m_hp_reminder", + "_cleaned": "click | pop_up: w_safe_m_hp_reminder" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_safe_m_parent_points_overview.sent", + "w_safe_m_hp_reminder.sent", true ], - "_raw": "set_field: w_safe_m_parent_points_overview.sent : true", - "_cleaned": "click | set_field: w_safe_m_parent_points_overview.sent : true" + "_raw": "set_field: w_safe_m_hp_reminder.sent : true", + "_cleaned": "click | set_field: w_safe_m_hp_reminder.sent : true" } ], - "priority": 9.9, + "priority": 9.8, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -6331,12 +6017,21 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "33", + "value": "30", "unit": "day" } } }, - "_raw": "first_launch | before: 33 : day" + "_raw": "first_launch | before: 30 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_safe_completed" + } + }, + "_raw": "get_field | w_safe_completed: true" } ], "deactivation_condition_list": [ @@ -6344,51 +6039,41 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_safe_m_parent_points_overview.sent" + "evaluate": "w_safe_m_hp_reminder.sent" } }, - "_raw": "get_field | w_safe_m_parent_points_overview.sent : true" + "_raw": "get_field | w_safe_m_hp_reminder.sent : true" } ], "campaign_list": [ "parent_points" ], - "icon": "plh_images/icons/star_outine.svg" + "icon": "plh_images/icons/parent_heart_white.svg" }, { - "id": "w_crisis_quick_start", + "id": "w_safe_m_parent_points_overview", "click_action_list": [ { "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - }, - { - "trigger": "click", - "action_id": "go_to", + "action_id": "pop_up", "args": [ - "w_crisis_stepper" + "m_parent_points_overview" ], - "_raw": "go_to: w_crisis_stepper", - "_cleaned": "click | go_to: w_crisis_stepper" + "_raw": "pop_up: m_parent_points_overview", + "_cleaned": "click | pop_up: m_parent_points_overview" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_crisis_quick_start.sent", + "w_safe_m_parent_points_overview.sent", true ], - "_raw": "set_field: w_crisis_quick_start.sent : true", - "_cleaned": "click | set_field: w_crisis_quick_start.sent : true" + "_raw": "set_field: w_safe_m_parent_points_overview.sent : true", + "_cleaned": "click | set_field: w_safe_m_parent_points_overview.sent : true" } ], - "priority": 10, + "priority": 9.9, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -6402,12 +6087,12 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "33", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 33 : day" } ], "deactivation_condition_list": [ @@ -6415,18 +6100,16 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_crisis_completed" + "evaluate": "w_safe_m_parent_points_overview.sent" } }, - "_raw": "get_field | w_crisis_completed : true" + "_raw": "get_field | w_safe_m_parent_points_overview.sent : true" } ], "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" + "parent_points" ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_crisis" + "icon": "plh_images/icons/star_white.svg" }, { "id": "w_crisis_relax", @@ -6781,29 +6464,29 @@ "icon": "plh_images/icons/heart_white.svg" }, { - "id": "w_crisis_m_workshop_in_progress", + "id": "w_crisis_m_workshop_reminder", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "w_crisis_m_workshop_in_progress" + "w_crisis_m_workshop_reminder" ], - "_raw": "pop_up: w_crisis_m_workshop_in_progress", - "_cleaned": "click | pop_up: w_crisis_m_workshop_in_progress" + "_raw": "pop_up: w_crisis_m_workshop_reminder", + "_cleaned": "click | pop_up: w_crisis_m_workshop_reminder" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_crisis_m_workshop_in_progress.sent", + "w_crisis_m_workshop_reminder.sent", true ], - "_raw": "set_field: w_crisis_m_workshop_in_progress.sent : true", - "_cleaned": "click | set_field: w_crisis_m_workshop_in_progress.sent : true" + "_raw": "set_field: w_crisis_m_workshop_reminder.sent : true", + "_cleaned": "click | set_field: w_crisis_m_workshop_reminder.sent : true" } ], - "priority": 10.7, + "priority": 10.6, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -6823,17 +6506,6 @@ } }, "_raw": "first_launch | before: 30 : day" - } - ], - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "w_crisis_m_workshop_in_progress.sent" - } - }, - "_raw": "get_field | w_crisis_m_workshop_in_progress.sent : true" }, { "condition_type": "field_evaluation", @@ -6843,15 +6515,17 @@ } }, "_raw": "get_field | w_crisis_started : false" - }, + } + ], + "deactivation_condition_list": [ { "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_crisis_completed" + "evaluate": "w_crisis_m_workshop_reminder.sent" } }, - "_raw": "get_field | w_crisis_completed: true" + "_raw": "get_field | w_crisis_m_workshop_reminder.sent : true" } ], "campaign_list": [ @@ -6860,29 +6534,29 @@ "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_crisis_m_parent_points_overview", + "id": "w_crisis_m_workshop_in_progress", "click_action_list": [ { "trigger": "click", "action_id": "pop_up", "args": [ - "m_parent_points_overview" + "w_crisis_m_workshop_in_progress" ], - "_raw": "pop_up: m_parent_points_overview", - "_cleaned": "click | pop_up: m_parent_points_overview" + "_raw": "pop_up: w_crisis_m_workshop_in_progress", + "_cleaned": "click | pop_up: w_crisis_m_workshop_in_progress" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_crisis_m_parent_points_overview.sent", + "w_crisis_m_workshop_in_progress.sent", true ], - "_raw": "set_field: w_crisis_m_parent_points_overview.sent : true", - "_cleaned": "click | set_field: w_crisis_m_parent_points_overview.sent : true" + "_raw": "set_field: w_crisis_m_workshop_in_progress.sent : true", + "_cleaned": "click | set_field: w_crisis_m_workshop_in_progress.sent : true" } ], - "priority": 10.9, + "priority": 10.7, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -6896,12 +6570,12 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "33", + "value": "30", "unit": "day" } } }, - "_raw": "first_launch | before: 33 : day" + "_raw": "first_launch | before: 30 : day" } ], "deactivation_condition_list": [ @@ -6909,51 +6583,129 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_crisis_m_parent_points_overview.sent" + "evaluate": "w_crisis_m_workshop_in_progress.sent" } }, - "_raw": "get_field | w_crisis_m_parent_points_overview.sent : true" + "_raw": "get_field | w_crisis_m_workshop_in_progress.sent : true" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_crisis_started" + } + }, + "_raw": "get_field | w_crisis_started : false" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_crisis_completed" + } + }, + "_raw": "get_field | w_crisis_completed: true" } ], "campaign_list": [ - "parent_points" + "weekly_workshops" ], - "icon": "plh_images/icons/star_outine.svg" + "icon": "plh_images/icons/bell_white.svg" }, { - "id": "w_celebrate_quick_start", + "id": "w_crisis_m_hp_reminder", "click_action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_crisis_m_hp_reminder" + ], + "_raw": "pop_up: w_crisis_m_hp_reminder", + "_cleaned": "click | pop_up: w_crisis_m_hp_reminder" + }, { "trigger": "click", "action_id": "set_field", "args": [ - "do_this_workshop_together", - false + "w_crisis_m_hp_reminder.sent", + true ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" + "_raw": "set_field: w_crisis_m_hp_reminder.sent : true", + "_cleaned": "click | set_field: w_crisis_m_hp_reminder.sent : true" + } + ], + "priority": 10.8, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "30", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 30 : day" }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_crisis_completed" + } + }, + "_raw": "get_field | w_crisis_completed: true" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_crisis_m_hp_reminder.sent" + } + }, + "_raw": "get_field | w_crisis_m_hp_reminder.sent : true" + } + ], + "campaign_list": [ + "parent_points" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_crisis_m_parent_points_overview", + "click_action_list": [ { "trigger": "click", - "action_id": "go_to", + "action_id": "pop_up", "args": [ - "w_celebrate_stepper" + "m_parent_points_overview" ], - "_raw": "go_to: w_celebrate_stepper", - "_cleaned": "click | go_to: w_celebrate_stepper" + "_raw": "pop_up: m_parent_points_overview", + "_cleaned": "click | pop_up: m_parent_points_overview" }, { "trigger": "click", "action_id": "set_field", "args": [ - "w_celebrate_quick_start.sent", + "w_crisis_m_parent_points_overview.sent", true ], - "_raw": "set_field: w_celebrate_quick_start.sent : true", - "_cleaned": "click | set_field: w_celebrate_quick_start.sent : true" + "_raw": "set_field: w_crisis_m_parent_points_overview.sent : true", + "_cleaned": "click | set_field: w_crisis_m_parent_points_overview.sent : true" } ], - "priority": 10, + "priority": 10.9, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -6967,12 +6719,12 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "33", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 33 : day" } ], "deactivation_condition_list": [ @@ -6980,18 +6732,16 @@ "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_celebrate_completed" + "evaluate": "w_crisis_m_parent_points_overview.sent" } }, - "_raw": "get_field | w_celebrate_completed : true" + "_raw": "get_field | w_crisis_m_parent_points_overview.sent : true" } ], "campaign_list": [ - "weekly_workshops", - "workshop_quick_start" + "parent_points" ], - "icon": "plh_images/icons/play_white.svg", - "text": "Start workshop @global.w_celebrate" + "icon": "plh_images/icons/star_white.svg" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/campaign_quick_starts.xlsx" @@ -6999,7 +6749,7 @@ { "flow_type": "data_list", "flow_subtype": "campaign_rows", - "flow_name": "campaign_relax", + "flow_name": "campaign_workshop_quick_start", "status": "released", "rows": [ { @@ -7018,115 +6768,103 @@ ], "priority": -1, "campaign_list": [ - "relax" + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_self_care_relax", + "id": "w_self_care_quick_start", + "workshop": "w_self_care", + "workshop_data": "@data.workshop.w_self_care", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_5" - ], - "_raw": "set_field: which_relax : relax_5", - "_cleaned": "click | set_field: which_relax : relax_5" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" + "w_self_care_stepper" ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, + "_raw": "go_to: w_self_care_stepper", + "_cleaned": "click | go_to: w_self_care_stepper" + } + ], + "priority": 0, + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_self_care_started" + } + }, + "_raw": "get_field | w_self_care_started : true" + } + ], + "campaign_list": [ + "weekly_workshops", + "workshop_quick_start" + ], + "icon": "plh_images/icons/play_white.svg" + }, + { + "id": "w_self_care_continue", + "workshop": "w_self_care", + "workshop_data": "@data.workshop.w_self_care", + "click_action_list": [ { "trigger": "click", - "action_id": "set_field", + "action_id": "go_to", "args": [ - "w_self_care_relax.sent", - true + "w_self_care_stepper" ], - "_raw": "set_field: w_self_care_relax.sent : true", - "_cleaned": "click | set_field: w_self_care_relax.sent : true" + "_raw": "go_to: w_self_care_stepper", + "_cleaned": "click | go_to: w_self_care_stepper" } ], - "priority": 0.1, + "priority": 0, "activation_condition_list": [ { "condition_type": "field_evaluation", "condition_args": { "field_evaluation": { - "evaluate": "w_self_care_completed" + "evaluate": "w_self_care_started" } }, - "_raw": "get_field | w_self_care_completed : true" + "_raw": "get_field | w_self_care_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "6", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_self_care_completed" } }, - "_raw": "first_launch | before : 6 : day" + "_raw": "get_field | w_self_care_completed: true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_1on1_relax", + "id": "w_1on1_quick_start", + "workshop": "w_1on1", + "workshop_data": "@data.workshop.w_1on1", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_2" - ], - "_raw": "set_field: which_relax : relax_2", - "_cleaned": "click | set_field: which_relax : relax_2" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" - ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_1on1_relax.sent", - true + "w_1on1_stepper" ], - "_raw": "set_field: w_1on1_relax.sent : true", - "_cleaned": "click | set_field: w_1on1_relax.sent : true" + "_raw": "go_to: w_1on1_stepper", + "_cleaned": "click | go_to: w_1on1_stepper" } ], - "priority": 1.1, + "priority": 1, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7150,64 +6888,37 @@ ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "13", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_1on1_started" } }, - "_raw": "first_launch | before : 13 : day" + "_raw": "get_field | w_1on1_started : true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_praise_relax", + "id": "w_1on1_continue", + "workshop": "w_1on1", + "workshop_data": "@data.workshop.w_1on1", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_3" - ], - "_raw": "set_field: which_relax : relax_3", - "_cleaned": "click | set_field: which_relax : relax_3" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" - ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_praise_relax.sent", - true + "w_1on1_stepper" ], - "_raw": "set_field: w_praise_relax.sent : true", - "_cleaned": "click | set_field: w_praise_relax.sent : true" + "_raw": "go_to: w_1on1_stepper", + "_cleaned": "click | go_to: w_1on1_stepper" } ], - "priority": 2.1, + "priority": 1, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7221,74 +6932,56 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "13", + "value": "6", "unit": "day" } } }, - "_raw": "first_launch | before: 13 : day" + "_raw": "first_launch | before: 6 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_1on1_started" + } + }, + "_raw": "get_field | w_1on1_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "20", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_1on1_completed" } }, - "_raw": "first_launch | before : 20 : day" + "_raw": "get_field | w_1on1_completed: true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_instruct_relax", + "id": "w_praise_quick_start", + "workshop": "w_praise", + "workshop_data": "@data.workshop.w_praise", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_4" - ], - "_raw": "set_field: which_relax : relax_4", - "_cleaned": "click | set_field: which_relax : relax_4" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" - ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_instruct_relax.sent", - true + "w_praise_stepper" ], - "_raw": "set_field: w_instruct_relax.sent : true", - "_cleaned": "click | set_field: w_instruct_relax.sent : true" + "_raw": "go_to: w_praise_stepper", + "_cleaned": "click | go_to: w_praise_stepper" } ], - "priority": 3.1, + "priority": 2, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7302,74 +6995,47 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "20", + "value": "13", "unit": "day" } } }, - "_raw": "first_launch | before: 20 : day" + "_raw": "first_launch | before: 13 : day" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "27", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_praise_started" } }, - "_raw": "first_launch | before : 27 : day" + "_raw": "get_field | w_praise_started : true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_stress_relax", + "id": "w_praise_continue", + "workshop": "w_praise", + "workshop_data": "@data.workshop.w_praise", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_7" - ], - "_raw": "set_field: which_relax : relax_7", - "_cleaned": "click | set_field: which_relax : relax_7" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" - ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_stress_relax.sent", - true + "w_praise_stepper" ], - "_raw": "set_field: w_stress_relax.sent : true", - "_cleaned": "click | set_field: w_stress_relax.sent : true" + "_raw": "go_to: w_praise_stepper", + "_cleaned": "click | go_to: w_praise_stepper" } ], - "priority": 4.1, + "priority": 2, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7383,74 +7049,56 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "13", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 13 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_praise_started" + } + }, + "_raw": "get_field | w_praise_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "34", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_praise_completed" } }, - "_raw": "first_launch | before : 34 : day" + "_raw": "get_field | w_praise_completed: true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_money_relax", + "id": "w_instruct_quick_start", + "workshop": "w_instruct", + "workshop_data": "@data.workshop.w_instruct", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_8" - ], - "_raw": "set_field: which_relax : relax_8", - "_cleaned": "click | set_field: which_relax : relax_8" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" - ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_money_relax.sent", - true + "w_instruct_stepper" ], - "_raw": "set_field: w_money_relax.sent : true", - "_cleaned": "click | set_field: w_money_relax.sent : true" + "_raw": "go_to: w_instruct_stepper", + "_cleaned": "click | go_to: w_instruct_stepper" } ], - "priority": 5.1, + "priority": 3, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7464,74 +7112,47 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "20", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 20 : day" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "34", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_instruct_started" } }, - "_raw": "first_launch | before : 34 : day" + "_raw": "get_field | w_instruct_started : true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_rules_relax", + "id": "w_instruct_continue", + "workshop": "w_instruct", + "workshop_data": "@data.workshop.w_instruct", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_9" - ], - "_raw": "set_field: which_relax : relax_9", - "_cleaned": "click | set_field: which_relax : relax_9" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" + "w_instruct_stepper" ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_rules_relax.sent", - true - ], - "_raw": "set_field: w_rules_relax.sent : true", - "_cleaned": "click | set_field: w_rules_relax.sent : true" + "_raw": "go_to: w_instruct_stepper", + "_cleaned": "click | go_to: w_instruct_stepper" } ], - "priority": 6.1, + "priority": 3, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7545,74 +7166,56 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "20", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 20 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_instruct_started" + } + }, + "_raw": "get_field | w_instruct_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "34", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_instruct_completed" } }, - "_raw": "first_launch | before : 34 : day" + "_raw": "get_field | w_instruct_completed: true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_consequence_relax", + "id": "w_stress_quick_start", + "workshop": "w_stress", + "workshop_data": "@data.workshop.w_stress", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_10" - ], - "_raw": "set_field: which_relax : relax_10", - "_cleaned": "click | set_field: which_relax : relax_10" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" - ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_consequence_relax.sent", - true + "w_stress_stepper" ], - "_raw": "set_field: w_consequence_relax.sent : true", - "_cleaned": "click | set_field: w_consequence_relax.sent : true" + "_raw": "go_to: w_stress_stepper", + "_cleaned": "click | go_to: w_stress_stepper" } ], - "priority": 7.1, + "priority": 4, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7636,64 +7239,37 @@ ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "34", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_stress_started" } }, - "_raw": "first_launch | before : 34 : day" + "_raw": "get_field | w_stress_started : true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_solve_relax", + "id": "w_stress_continue", + "workshop": "w_stress", + "workshop_data": "@data.workshop.w_stress", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_11" - ], - "_raw": "set_field: which_relax : relax_11", - "_cleaned": "click | set_field: which_relax : relax_11" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" - ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_solve_relax.sent", - true + "w_stress_stepper" ], - "_raw": "set_field: w_solve_relax.sent : true", - "_cleaned": "click | set_field: w_solve_relax.sent : true" + "_raw": "go_to: w_stress_stepper", + "_cleaned": "click | go_to: w_stress_stepper" } ], - "priority": 8.1, + "priority": 4, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7713,68 +7289,50 @@ } }, "_raw": "first_launch | before: 27 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_stress_started" + } + }, + "_raw": "get_field | w_stress_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "34", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_stress_completed" } }, - "_raw": "first_launch | before : 34 : day" + "_raw": "get_field | w_stress_completed: true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_safe_relax", + "id": "w_money_quick_start", + "workshop": "w_money", + "workshop_data": "@data.workshop.w_money", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_12" - ], - "_raw": "set_field: which_relax : relax_12", - "_cleaned": "click | set_field: which_relax : relax_12" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" - ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_safe_relax.sent", - true + "w_money_stepper" ], - "_raw": "set_field: w_safe_relax.sent : true", - "_cleaned": "click | set_field: w_safe_relax.sent : true" + "_raw": "go_to: w_money_stepper", + "_cleaned": "click | go_to: w_money_stepper" } ], - "priority": 9.1, + "priority": 5, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7788,74 +7346,47 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 34 : day" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "34", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_money_started" } }, - "_raw": "first_launch | before : 34 : day" + "_raw": "get_field | w_money_started : true" } ], "campaign_list": [ - "relax" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_crisis_relax", + "id": "w_money_continue", + "workshop": "w_money", + "workshop_data": "@data.workshop.w_money", "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_13" - ], - "_raw": "set_field: which_relax : relax_13", - "_cleaned": "click | set_field: which_relax : relax_13" - }, { "trigger": "click", "action_id": "go_to", "args": [ - "relax" - ], - "_raw": "go_to: relax", - "_cleaned": "click | go_to: relax" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_crisis_relax.sent", - true + "w_money_stepper" ], - "_raw": "set_field: w_crisis_relax.sent : true", - "_cleaned": "click | set_field: w_crisis_relax.sent : true" + "_raw": "go_to: w_money_stepper", + "_cleaned": "click | go_to: w_money_stepper" } ], - "priority": 10.1, + "priority": 5, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7869,15 +7400,57 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "27", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 27 : day" + "_raw": "first_launch | before: 34 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_money_started" + } + }, + "_raw": "get_field | w_money_started : true" } ], "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_money_completed" + } + }, + "_raw": "get_field | w_money_completed: true" + } + ], + "campaign_list": [ + "weekly_workshops", + "workshop_quick_start" + ], + "icon": "plh_images/icons/play_white.svg" + }, + { + "id": "w_rules_quick_start", + "workshop": "w_rules", + "workshop_data": "@data.workshop.w_rules", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_rules_stepper" + ], + "_raw": "go_to: w_rules_stepper", + "_cleaned": "click | go_to: w_rules_stepper" + } + ], + "priority": 6, + "activation_condition_list": [ { "condition_type": "db_lookup", "condition_args": { @@ -7895,67 +7468,42 @@ } } }, - "_raw": "first_launch | before : 34 : day" + "_raw": "first_launch | before: 34 : day" } ], - "campaign_list": [ - "relax" - ], - "icon": "plh_images/icons/smile_eyes_down_white.svg" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/campaign_quick_starts.xlsx" - }, - { - "flow_type": "data_list", - "flow_subtype": "campaign_rows", - "flow_name": "campaign_something_fun", - "status": "released", - "rows": [ - { - "id": "default", - "click_action_list": [ + "deactivation_condition_list": [ { - "trigger": "click", - "action_id": "set_field", - "args": [ - "default.sent", - true - ], - "_raw": "set_field: default.sent : true", - "_cleaned": "click | set_field: default.sent : true" + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_rules_started" + } + }, + "_raw": "get_field | w_rules_started : true" } ], - "priority": -1, "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_1on1_m_something_fun", + "id": "w_rules_continue", + "workshop": "w_rules", + "workshop_data": "@data.workshop.w_rules", "click_action_list": [ { "trigger": "click", "action_id": "go_to", "args": [ - "activity_co_chef" - ], - "_raw": "go_to: activity_co_chef", - "_cleaned": "click | go_to: activity_co_chef" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_1on1_m_something_fun.sent", - true + "w_rules_stepper" ], - "_raw": "set_field: w_1on1_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_1on1_m_something_fun.sent : true" + "_raw": "go_to: w_rules_stepper", + "_cleaned": "click | go_to: w_rules_stepper" } ], - "priority": 1.4, + "priority": 6, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -7969,64 +7517,56 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "7", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 7 : day" + "_raw": "first_launch | before: 34 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_rules_started" + } + }, + "_raw": "get_field | w_rules_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "14", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_rules_completed" } }, - "_raw": "first_launch | before: 14 : day" + "_raw": "get_field | w_rules_completed: true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_praise_m_something_fun", + "id": "w_consequence_quick_start", + "workshop": "w_consequence", + "workshop_data": "@data.workshop.w_consequence", "click_action_list": [ { "trigger": "click", "action_id": "go_to", "args": [ - "activity_dance_moves" - ], - "_raw": "go_to: activity_dance_moves", - "_cleaned": "click | go_to: activity_dance_moves" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "w_praise_m_something_fun.sent", - true + "w_consequence_stepper" ], - "_raw": "set_field: w_praise_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_praise_m_something_fun.sent : true" + "_raw": "go_to: w_consequence_stepper", + "_cleaned": "click | go_to: w_consequence_stepper" } ], - "priority": 2.4, + "priority": 7, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8040,64 +7580,47 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "14", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 14 : day" + "_raw": "first_launch | before: 34 : day" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "21", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_consequence_started" } }, - "_raw": "first_launch | before: 21 : day" + "_raw": "get_field | w_consequence_started : true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_instruct_m_something_fun", + "id": "w_consequence_continue", + "workshop": "w_consequence", + "workshop_data": "@data.workshop.w_consequence", "click_action_list": [ { "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_instruct_m_something_fun" - ], - "_raw": "pop_up: w_instruct_m_something_fun", - "_cleaned": "click | pop_up: w_instruct_m_something_fun" - }, - { - "trigger": "click", - "action_id": "set_field", + "action_id": "go_to", "args": [ - "w_instruct_m_something_fun.sent", - true + "w_consequence_stepper" ], - "_raw": "set_field: w_instruct_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_instruct_m_something_fun.sent : true" + "_raw": "go_to: w_consequence_stepper", + "_cleaned": "click | go_to: w_consequence_stepper" } ], - "priority": 3.4, + "priority": 7, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8111,64 +7634,56 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "21", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 21 : day" + "_raw": "first_launch | before: 34 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_consequence_started" + } + }, + "_raw": "get_field | w_consequence_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "28", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_consequence_completed" } }, - "_raw": "first_launch | before: 28 : day" + "_raw": "get_field | w_consequence_completed: true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_stress_m_something_fun", + "id": "w_solve_quick_start", + "workshop": "w_solve", + "workshop_data": "@data.workshop.w_solve", "click_action_list": [ { "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_stress_m_something_fun" - ], - "_raw": "pop_up: w_stress_m_something_fun", - "_cleaned": "click | pop_up: w_stress_m_something_fun" - }, - { - "trigger": "click", - "action_id": "set_field", + "action_id": "go_to", "args": [ - "w_stress_m_something_fun.sent", - true + "w_solve_stepper" ], - "_raw": "set_field: w_stress_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_stress_m_something_fun.sent : true" + "_raw": "go_to: w_solve_stepper", + "_cleaned": "click | go_to: w_solve_stepper" } ], - "priority": 4.4, + "priority": 8, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8182,64 +7697,47 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "28", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 28 : day" + "_raw": "first_launch | before: 34 : day" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "35", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_solve_started" } }, - "_raw": "first_launch | before: 35 : day" + "_raw": "get_field | w_solve_started : true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_money_m_something_fun", + "id": "w_solve_continue", + "workshop": "w_solve", + "workshop_data": "@data.workshop.w_solve", "click_action_list": [ { "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_money_m_something_fun" - ], - "_raw": "pop_up: w_money_m_something_fun", - "_cleaned": "click | pop_up: w_money_m_something_fun" - }, - { - "trigger": "click", - "action_id": "set_field", + "action_id": "go_to", "args": [ - "w_money_m_something_fun.sent", - true + "w_solve_stepper" ], - "_raw": "set_field: w_money_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_money_m_something_fun.sent : true" + "_raw": "go_to: w_solve_stepper", + "_cleaned": "click | go_to: w_solve_stepper" } ], - "priority": 5.4, + "priority": 8, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8253,64 +7751,56 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "28", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 28 : day" + "_raw": "first_launch | before: 34 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_solve_started" + } + }, + "_raw": "get_field | w_solve_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "35", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_solve_completed" } }, - "_raw": "first_launch | before: 35 : day" + "_raw": "get_field | w_solve_completed: true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_rules_m_something_fun", + "id": "w_safe_quick_start", + "workshop": "w_safe", + "workshop_data": "@data.workshop.w_safe", "click_action_list": [ { "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_rules_m_something_fun" - ], - "_raw": "pop_up: w_rules_m_something_fun", - "_cleaned": "click | pop_up: w_rules_m_something_fun" - }, - { - "trigger": "click", - "action_id": "set_field", + "action_id": "go_to", "args": [ - "w_rules_m_something_fun.sent", - true + "w_safe_stepper" ], - "_raw": "set_field: w_rules_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_rules_m_something_fun.sent : true" + "_raw": "go_to: w_safe_stepper", + "_cleaned": "click | go_to: w_safe_stepper" } ], - "priority": 6.4, + "priority": 9, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8324,64 +7814,47 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "28", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 28 : day" + "_raw": "first_launch | before: 34 : day" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "35", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_safe_started" } }, - "_raw": "first_launch | before: 35 : day" + "_raw": "get_field | w_safe_started : true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_consequence_m_something_fun", + "id": "w_safe_continue", + "workshop": "w_safe", + "workshop_data": "@data.workshop.w_safe", "click_action_list": [ { "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_consequence_m_something_fun" - ], - "_raw": "pop_up: w_consequence_m_something_fun", - "_cleaned": "click | pop_up: w_consequence_m_something_fun" - }, - { - "trigger": "click", - "action_id": "set_field", + "action_id": "go_to", "args": [ - "w_consequence_m_something_fun.sent", - true + "w_safe_stepper" ], - "_raw": "set_field: w_consequence_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_consequence_m_something_fun.sent : true" + "_raw": "go_to: w_safe_stepper", + "_cleaned": "click | go_to: w_safe_stepper" } ], - "priority": 7.4, + "priority": 9, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8395,64 +7868,56 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "28", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 28 : day" + "_raw": "first_launch | before: 34 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_safe_started" + } + }, + "_raw": "get_field | w_safe_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "35", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_safe_completed" } }, - "_raw": "first_launch | before: 35 : day" + "_raw": "get_field | w_safe_completed: true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_solve_m_something_fun", + "id": "w_crisis_quick_start", + "workshop": "w_crisis", + "workshop_data": "@data.workshop.w_crisis", "click_action_list": [ { "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_solve_m_something_fun" - ], - "_raw": "pop_up: w_solve_m_something_fun", - "_cleaned": "click | pop_up: w_solve_m_something_fun" - }, - { - "trigger": "click", - "action_id": "set_field", + "action_id": "go_to", "args": [ - "w_solve_m_something_fun.sent", - true + "w_crisis_stepper" ], - "_raw": "set_field: w_solve_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_solve_m_something_fun.sent : true" + "_raw": "go_to: w_crisis_stepper", + "_cleaned": "click | go_to: w_crisis_stepper" } ], - "priority": 8.4, + "priority": 10, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8466,64 +7931,47 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "28", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 28 : day" + "_raw": "first_launch | before: 34 : day" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "35", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_crisis_started" } }, - "_raw": "first_launch | before: 35 : day" + "_raw": "get_field | w_crisis_started : true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_safe_m_something_fun", + "id": "w_crisis_continue", + "workshop": "w_crisis", + "workshop_data": "@data.workshop.w_crisis", "click_action_list": [ { "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_safe_m_something_fun" - ], - "_raw": "pop_up: w_safe_m_something_fun", - "_cleaned": "click | pop_up: w_safe_m_something_fun" - }, - { - "trigger": "click", - "action_id": "set_field", + "action_id": "go_to", "args": [ - "w_safe_m_something_fun.sent", - true + "w_crisis_stepper" ], - "_raw": "set_field: w_safe_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_safe_m_something_fun.sent : true" + "_raw": "go_to: w_crisis_stepper", + "_cleaned": "click | go_to: w_crisis_stepper" } ], - "priority": 9.4, + "priority": 10, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8537,64 +7985,56 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "28", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 28 : day" + "_raw": "first_launch | before: 34 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_crisis_started" + } + }, + "_raw": "get_field | w_crisis_started : true" } ], "deactivation_condition_list": [ { - "condition_type": "db_lookup", + "condition_type": "field_evaluation", "condition_args": { - "db_lookup": { - "table_id": "app_events", - "filter": { - "field": "event_id", - "value": "app_launch" - }, - "order": "asc", - "evaluate": { - "operator": ">", - "value": "35", - "unit": "day" - } + "field_evaluation": { + "evaluate": "w_crisis_completed" } }, - "_raw": "first_launch | before: 35 : day" + "_raw": "get_field | w_crisis_completed: true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" }, { - "id": "w_crisis_m_something_fun", + "id": "w_celebrate_quick_start", + "workshop": "w_celebrate", + "workshop_data": "@data.workshop.w_celebrate", "click_action_list": [ { "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_crisis_m_something_fun" - ], - "_raw": "pop_up: w_crisis_m_something_fun", - "_cleaned": "click | pop_up: w_crisis_m_something_fun" - }, - { - "trigger": "click", - "action_id": "set_field", + "action_id": "go_to", "args": [ - "w_crisis_m_something_fun.sent", - true + "w_celebrate_stepper" ], - "_raw": "set_field: w_crisis_m_something_fun.sent : true", - "_cleaned": "click | set_field: w_crisis_m_something_fun.sent : true" + "_raw": "go_to: w_celebrate_stepper", + "_cleaned": "click | go_to: w_celebrate_stepper" } ], - "priority": 10.4, + "priority": 11, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8608,15 +8048,48 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "28", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 28 : day" + "_raw": "first_launch | before: 34 : day" } ], "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_celebrate_started" + } + }, + "_raw": "get_field | w_celebrate_started : true" + } + ], + "campaign_list": [ + "weekly_workshops", + "workshop_quick_start" + ], + "icon": "plh_images/icons/play_white.svg" + }, + { + "id": "w_celebrate_continue", + "workshop": "w_celebrate", + "workshop_data": "@data.workshop.w_celebrate", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_celebrate_stepper" + ], + "_raw": "go_to: w_celebrate_stepper", + "_cleaned": "click | go_to: w_celebrate_stepper" + } + ], + "priority": 11, + "activation_condition_list": [ { "condition_type": "db_lookup", "condition_args": { @@ -8629,18 +8102,39 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "35", + "value": "34", "unit": "day" } } }, - "_raw": "first_launch | before: 35 : day" + "_raw": "first_launch | before: 34 : day" + }, + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_celebrate_started" + } + }, + "_raw": "get_field | w_celebrate_started : true" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_celebrate_completed" + } + }, + "_raw": "get_field | w_celebrate_completed: true" } ], "campaign_list": [ - "something_fun" + "weekly_workshops", + "workshop_quick_start" ], - "icon": "plh_images/icons/smile_eyes_up_white.svg" + "icon": "plh_images/icons/play_white.svg" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/campaign_quick_starts.xlsx" @@ -8648,54 +8142,75 @@ { "flow_type": "data_list", "flow_subtype": "campaign_rows", - "flow_name": "campaign_unlock_workshops", + "flow_name": "campaign_relax", "status": "released", "rows": [ { - "id": "unlock_w_self_care", + "id": "default", "click_action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ - "w_self_care_disabled", - false + "default.sent", + true ], - "_raw": "set_field: w_self_care_disabled : FALSE", - "_cleaned": "click | set_field: w_self_care_disabled : FALSE" + "_raw": "set_field: default.sent : true", + "_cleaned": "click | set_field: default.sent : true" } ], "priority": -1, "campaign_list": [ - "unlock_workshops" - ] + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" }, { - "id": "unlock_w_1on1", + "id": "w_self_care_relax", "click_action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ - "w_1on1_disabled", - false + "which_relax", + "relax_5" ], - "_raw": "set_field: w_1on1_disabled : FALSE", - "_cleaned": "click | set_field: w_1on1_disabled : FALSE" + "_raw": "set_field: which_relax : relax_5", + "_cleaned": "click | set_field: which_relax : relax_5" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" }, { "trigger": "click", "action_id": "set_field", "args": [ - "unlock_w_1on1.sent", + "w_self_care_relax.sent", true ], - "_raw": "set_field: unlock_w_1on1.sent : TRUE", - "_cleaned": "click | set_field: unlock_w_1on1.sent : TRUE" + "_raw": "set_field: w_self_care_relax.sent : true", + "_cleaned": "click | set_field: w_self_care_relax.sent : true" } ], - "priority": 1, + "priority": 0.1, "activation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_self_care_completed" + } + }, + "_raw": "get_field | w_self_care_completed : true" + } + ], + "deactivation_condition_list": [ { "condition_type": "db_lookup", "condition_args": { @@ -8713,49 +8228,48 @@ } } }, - "_raw": "first_launch | before: 6 : day" - } - ], - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "unlock_w_1on1.sent" - } - }, - "_raw": "get_field | unlock_w_1on1.sent : TRUE" + "_raw": "first_launch | before : 6 : day" } ], "campaign_list": [ - "unlock_workshops" - ] + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" }, { - "id": "unlock_w_praise", + "id": "w_1on1_relax", "click_action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ - "w_praise_disabled", - false + "which_relax", + "relax_2" ], - "_raw": "set_field: w_praise_disabled : FALSE", - "_cleaned": "click | set_field: w_praise_disabled : FALSE" + "_raw": "set_field: which_relax : relax_2", + "_cleaned": "click | set_field: which_relax : relax_2" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" }, { "trigger": "click", "action_id": "set_field", "args": [ - "unlock_w_praise.sent", + "w_1on1_relax.sent", true ], - "_raw": "set_field: unlock_w_praise.sent : TRUE", - "_cleaned": "click | set_field: unlock_w_praise.sent : TRUE" + "_raw": "set_field: w_1on1_relax.sent : true", + "_cleaned": "click | set_field: w_1on1_relax.sent : true" } ], - "priority": 1, + "priority": 1.1, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8769,54 +8283,74 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "13", + "value": "6", "unit": "day" } } }, - "_raw": "first_launch | before: 13 : day" + "_raw": "first_launch | before: 6 : day" } ], "deactivation_condition_list": [ { - "condition_type": "field_evaluation", + "condition_type": "db_lookup", "condition_args": { - "field_evaluation": { - "evaluate": "unlock_w_praise.sent" + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "13", + "unit": "day" + } } }, - "_raw": "get_field | unlock_w_praise.sent : TRUE" + "_raw": "first_launch | before : 13 : day" } ], "campaign_list": [ - "unlock_workshops" - ] + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" }, { - "id": "unlock_w_instruct", + "id": "w_praise_relax", "click_action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ - "w_instruct_disabled", - false + "which_relax", + "relax_3" ], - "_raw": "set_field: w_instruct_disabled : FALSE", - "_cleaned": "click | set_field: w_instruct_disabled : FALSE" + "_raw": "set_field: which_relax : relax_3", + "_cleaned": "click | set_field: which_relax : relax_3" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" }, { "trigger": "click", "action_id": "set_field", "args": [ - "unlock_w_instruct.sent", + "w_praise_relax.sent", true ], - "_raw": "set_field: unlock_w_instruct.sent : TRUE", - "_cleaned": "click | set_field: unlock_w_instruct.sent : TRUE" + "_raw": "set_field: w_praise_relax.sent : true", + "_cleaned": "click | set_field: w_praise_relax.sent : true" } ], - "priority": 1, + "priority": 2.1, "activation_condition_list": [ { "condition_type": "db_lookup", @@ -8830,31 +8364,2857 @@ "order": "asc", "evaluate": { "operator": ">", - "value": "20", + "value": "13", "unit": "day" } } }, - "_raw": "first_launch | before: 20 : day" + "_raw": "first_launch | before: 13 : day" } ], "deactivation_condition_list": [ { - "condition_type": "field_evaluation", + "condition_type": "db_lookup", "condition_args": { - "field_evaluation": { - "evaluate": "unlock_w_instruct.sent" + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "20", + "unit": "day" + } } }, - "_raw": "get_field | unlock_w_instruct.sent : TRUE" + "_raw": "first_launch | before : 20 : day" } ], "campaign_list": [ - "unlock_workshops" + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" + }, + { + "id": "w_instruct_relax", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_4" + ], + "_raw": "set_field: which_relax : relax_4", + "_cleaned": "click | set_field: which_relax : relax_4" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_instruct_relax.sent", + true + ], + "_raw": "set_field: w_instruct_relax.sent : true", + "_cleaned": "click | set_field: w_instruct_relax.sent : true" + } + ], + "priority": 3.1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "20", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 20 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 27 : day" + } + ], + "campaign_list": [ + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" + }, + { + "id": "w_stress_relax", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_7" + ], + "_raw": "set_field: which_relax : relax_7", + "_cleaned": "click | set_field: which_relax : relax_7" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_stress_relax.sent", + true + ], + "_raw": "set_field: w_stress_relax.sent : true", + "_cleaned": "click | set_field: w_stress_relax.sent : true" + } + ], + "priority": 4.1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" + }, + { + "id": "w_money_relax", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_8" + ], + "_raw": "set_field: which_relax : relax_8", + "_cleaned": "click | set_field: which_relax : relax_8" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_money_relax.sent", + true + ], + "_raw": "set_field: w_money_relax.sent : true", + "_cleaned": "click | set_field: w_money_relax.sent : true" + } + ], + "priority": 5.1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" + }, + { + "id": "w_rules_relax", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_9" + ], + "_raw": "set_field: which_relax : relax_9", + "_cleaned": "click | set_field: which_relax : relax_9" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_rules_relax.sent", + true + ], + "_raw": "set_field: w_rules_relax.sent : true", + "_cleaned": "click | set_field: w_rules_relax.sent : true" + } + ], + "priority": 6.1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" + }, + { + "id": "w_consequence_relax", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_10" + ], + "_raw": "set_field: which_relax : relax_10", + "_cleaned": "click | set_field: which_relax : relax_10" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_consequence_relax.sent", + true + ], + "_raw": "set_field: w_consequence_relax.sent : true", + "_cleaned": "click | set_field: w_consequence_relax.sent : true" + } + ], + "priority": 7.1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" + }, + { + "id": "w_solve_relax", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_11" + ], + "_raw": "set_field: which_relax : relax_11", + "_cleaned": "click | set_field: which_relax : relax_11" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_solve_relax.sent", + true + ], + "_raw": "set_field: w_solve_relax.sent : true", + "_cleaned": "click | set_field: w_solve_relax.sent : true" + } + ], + "priority": 8.1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" + }, + { + "id": "w_safe_relax", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_12" + ], + "_raw": "set_field: which_relax : relax_12", + "_cleaned": "click | set_field: which_relax : relax_12" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_safe_relax.sent", + true + ], + "_raw": "set_field: w_safe_relax.sent : true", + "_cleaned": "click | set_field: w_safe_relax.sent : true" + } + ], + "priority": 9.1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" + }, + { + "id": "w_crisis_relax", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_13" + ], + "_raw": "set_field: which_relax : relax_13", + "_cleaned": "click | set_field: which_relax : relax_13" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "go_to: relax", + "_cleaned": "click | go_to: relax" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_crisis_relax.sent", + true + ], + "_raw": "set_field: w_crisis_relax.sent : true", + "_cleaned": "click | set_field: w_crisis_relax.sent : true" + } + ], + "priority": 10.1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "relax" + ], + "icon": "plh_images/icons/smile_eyes_down_white.svg" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/campaign_quick_starts.xlsx" + }, + { + "flow_type": "data_list", + "flow_subtype": "campaign_rows", + "flow_name": "campaign_something_fun", + "status": "released", + "rows": [ + { + "id": "default", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "default.sent", + true + ], + "_raw": "set_field: default.sent : true", + "_cleaned": "click | set_field: default.sent : true" + } + ], + "priority": -1, + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_1on1_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_co_chef" + ], + "_raw": "go_to: activity_co_chef", + "_cleaned": "click | go_to: activity_co_chef" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_1on1_m_something_fun.sent", + true + ], + "_raw": "set_field: w_1on1_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_1on1_m_something_fun.sent : true" + } + ], + "priority": 1.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "6", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 6 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "13", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 13 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_praise_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_reflect_positive" + ], + "_raw": "go_to: activity_reflect_positive", + "_cleaned": "click | go_to: activity_reflect_positive" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_praise_m_something_fun.sent", + true + ], + "_raw": "set_field: w_praise_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_praise_m_something_fun.sent : true" + } + ], + "priority": 2.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "13", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 13 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "20", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 20 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_instruct_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_dance_moves" + ], + "_raw": "go_to: activity_dance_moves", + "_cleaned": "click | go_to: activity_dance_moves" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_instruct_m_something_fun.sent", + true + ], + "_raw": "set_field: w_instruct_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_instruct_m_something_fun.sent : true" + } + ], + "priority": 3.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "20", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 20 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 27 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_stress_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_check_in_chat" + ], + "_raw": "go_to: activity_check_in_chat", + "_cleaned": "click | go_to: activity_check_in_chat" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_stress_m_something_fun.sent", + true + ], + "_raw": "set_field: w_stress_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_stress_m_something_fun.sent : true" + } + ], + "priority": 4.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_money_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_dream_travel" + ], + "_raw": "go_to: activity_dream_travel", + "_cleaned": "click | go_to: activity_dream_travel" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_money_m_something_fun.sent", + true + ], + "_raw": "set_field: w_money_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_money_m_something_fun.sent : true" + } + ], + "priority": 5.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_rules_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_famous_party" + ], + "_raw": "go_to: activity_famous_party", + "_cleaned": "click | go_to: activity_famous_party" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_rules_m_something_fun.sent", + true + ], + "_raw": "set_field: w_rules_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_rules_m_something_fun.sent : true" + } + ], + "priority": 6.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_consequence_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_two_truths" + ], + "_raw": "go_to: activity_two_truths", + "_cleaned": "click | go_to: activity_two_truths" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_consequence_m_something_fun.sent", + true + ], + "_raw": "set_field: w_consequence_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_consequence_m_something_fun.sent : true" + } + ], + "priority": 7.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_solve_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_mirror" + ], + "_raw": "go_to: activity_mirror", + "_cleaned": "click | go_to: activity_mirror" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_solve_m_something_fun.sent", + true + ], + "_raw": "set_field: w_solve_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_solve_m_something_fun.sent : true" + } + ], + "priority": 8.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_safe_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_time_machine" + ], + "_raw": "go_to: activity_time_machine", + "_cleaned": "click | go_to: activity_time_machine" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_safe_m_something_fun.sent", + true + ], + "_raw": "set_field: w_safe_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_safe_m_something_fun.sent : true" + } + ], + "priority": 9.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + }, + { + "id": "w_crisis_m_something_fun", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_superpowers" + ], + "_raw": "go_to: activity_superpowers", + "_cleaned": "click | go_to: activity_superpowers" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_crisis_m_something_fun.sent", + true + ], + "_raw": "set_field: w_crisis_m_something_fun.sent : true", + "_cleaned": "click | set_field: w_crisis_m_something_fun.sent : true" + } + ], + "priority": 10.4, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "27", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 27 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "34", + "unit": "day" + } + } + }, + "_raw": "first_launch | before : 34 : day" + } + ], + "campaign_list": [ + "something_fun" + ], + "icon": "plh_images/icons/smile_eyes_up_white.svg" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/campaign_quick_starts.xlsx" + }, + { + "flow_type": "data_list", + "flow_subtype": "campaign_rows", + "flow_name": "campaign_hp_review", + "status": "released", + "rows": [ + { + "id": "w_1on1_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_1on1_hp_review" + ], + "_raw": "go_to: w_1on1_hp_review", + "_cleaned": "click | go_to: w_1on1_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_1on1_hp_review.sent", + true + ], + "_raw": "set_field: w_1on1_hp_review.sent : true", + "_cleaned": "click | set_field: w_1on1_hp_review.sent : true" + } + ], + "priority": 1.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "12", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 12 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_1on1_hp_review_completed" + } + }, + "_raw": "get_field | w_1on1_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_praise_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_praise_hp_review" + ], + "_raw": "go_to: w_praise_hp_review", + "_cleaned": "click | go_to: w_praise_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_praise_hp_review.sent", + true + ], + "_raw": "set_field: w_praise_hp_review.sent : true", + "_cleaned": "click | set_field: w_praise_hp_review.sent : true" + } + ], + "priority": 2.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "19", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 19 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_praise_hp_review_completed" + } + }, + "_raw": "get_field | w_praise_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_instruct_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_instruct_hp_review" + ], + "_raw": "go_to: w_instruct_hp_review", + "_cleaned": "click | go_to: w_instruct_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_instruct_hp_review.sent", + true + ], + "_raw": "set_field: w_instruct_hp_review.sent : true", + "_cleaned": "click | set_field: w_instruct_hp_review.sent : true" + } + ], + "priority": 3.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "26", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 26 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_instruct_hp_review_completed" + } + }, + "_raw": "get_field | w_instruct_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_stress_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_stress_hp_review" + ], + "_raw": "go_to: w_stress_hp_review", + "_cleaned": "click | go_to: w_stress_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_stress_hp_review.sent", + true + ], + "_raw": "set_field: w_stress_hp_review.sent : true", + "_cleaned": "click | set_field: w_stress_hp_review.sent : true" + } + ], + "priority": 4.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "33", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 33 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_stress_hp_review_completed" + } + }, + "_raw": "get_field | w_stress_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_money_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_money_hp_review" + ], + "_raw": "go_to: w_money_hp_review", + "_cleaned": "click | go_to: w_money_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_money_hp_review.sent", + true + ], + "_raw": "set_field: w_money_hp_review.sent : true", + "_cleaned": "click | set_field: w_money_hp_review.sent : true" + } + ], + "priority": 5.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "33", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 33 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_money_hp_review_completed" + } + }, + "_raw": "get_field | w_money_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_rules_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_rules_hp_review" + ], + "_raw": "go_to: w_rules_hp_review", + "_cleaned": "click | go_to: w_rules_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_rules_hp_review.sent", + true + ], + "_raw": "set_field: w_rules_hp_review.sent : true", + "_cleaned": "click | set_field: w_rules_hp_review.sent : true" + } + ], + "priority": 6.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "33", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 33 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_rules_hp_review_completed" + } + }, + "_raw": "get_field | w_rules_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_consequence_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_consequence_hp_review" + ], + "_raw": "go_to: w_consequence_hp_review", + "_cleaned": "click | go_to: w_consequence_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_consequence_hp_review.sent", + true + ], + "_raw": "set_field: w_consequence_hp_review.sent : true", + "_cleaned": "click | set_field: w_consequence_hp_review.sent : true" + } + ], + "priority": 7.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "33", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 33 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_consequence_hp_review_completed" + } + }, + "_raw": "get_field | w_consequence_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_solve_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_solve_hp_review" + ], + "_raw": "go_to: w_solve_hp_review", + "_cleaned": "click | go_to: w_solve_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_solve_hp_review.sent", + true + ], + "_raw": "set_field: w_solve_hp_review.sent : true", + "_cleaned": "click | set_field: w_solve_hp_review.sent : true" + } + ], + "priority": 8.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "33", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 33 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_solve_hp_review_completed" + } + }, + "_raw": "get_field | w_solve_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_safe_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_safe_hp_review" + ], + "_raw": "go_to: w_safe_hp_review", + "_cleaned": "click | go_to: w_safe_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_safe_hp_review.sent", + true + ], + "_raw": "set_field: w_safe_hp_review.sent : true", + "_cleaned": "click | set_field: w_safe_hp_review.sent : true" + } + ], + "priority": 9.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "33", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 33 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_safe_hp_review_completed" + } + }, + "_raw": "get_field | w_safe_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + }, + { + "id": "w_crisis_hp_review", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_crisis_hp_review" + ], + "_raw": "go_to: w_crisis_hp_review", + "_cleaned": "click | go_to: w_crisis_hp_review" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_crisis_hp_review.sent", + true + ], + "_raw": "set_field: w_crisis_hp_review.sent : true", + "_cleaned": "click | set_field: w_crisis_hp_review.sent : true" + } + ], + "priority": 10.9, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "33", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 33 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "w_crisis_hp_review_completed" + } + }, + "_raw": "get_field | w_crisis_hp_review_completed : true" + } + ], + "campaign_list": [ + "parent_centre" + ], + "icon": "plh_images/icons/parent_heart_white.svg" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/campaign_quick_starts.xlsx" + }, + { + "flow_type": "data_list", + "flow_subtype": "campaign_rows", + "flow_name": "campaign_unlock_workshops", + "status": "released", + "rows": [ + { + "id": "unlock_w_self_care", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_self_care_disabled", + false + ], + "_raw": "set_field: w_self_care_disabled : FALSE", + "_cleaned": "click | set_field: w_self_care_disabled : FALSE" + } + ], + "priority": -1, + "campaign_list": [ + "unlock_workshops" + ] + }, + { + "id": "unlock_w_1on1", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_1on1_disabled", + false + ], + "_raw": "set_field: w_1on1_disabled : FALSE", + "_cleaned": "click | set_field: w_1on1_disabled : FALSE" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "unlock_w_1on1.sent", + true + ], + "_raw": "set_field: unlock_w_1on1.sent : TRUE", + "_cleaned": "click | set_field: unlock_w_1on1.sent : TRUE" + } + ], + "priority": 1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "6", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 6 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "unlock_w_1on1.sent" + } + }, + "_raw": "get_field | unlock_w_1on1.sent : TRUE" + } + ], + "campaign_list": [ + "unlock_workshops" + ] + }, + { + "id": "unlock_w_praise", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_praise_disabled", + false + ], + "_raw": "set_field: w_praise_disabled : FALSE", + "_cleaned": "click | set_field: w_praise_disabled : FALSE" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "unlock_w_praise.sent", + true + ], + "_raw": "set_field: unlock_w_praise.sent : TRUE", + "_cleaned": "click | set_field: unlock_w_praise.sent : TRUE" + } + ], + "priority": 1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "13", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 13 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "unlock_w_praise.sent" + } + }, + "_raw": "get_field | unlock_w_praise.sent : TRUE" + } + ], + "campaign_list": [ + "unlock_workshops" + ] + }, + { + "id": "unlock_w_instruct", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "w_instruct_disabled", + false + ], + "_raw": "set_field: w_instruct_disabled : FALSE", + "_cleaned": "click | set_field: w_instruct_disabled : FALSE" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "unlock_w_instruct.sent", + true + ], + "_raw": "set_field: unlock_w_instruct.sent : TRUE", + "_cleaned": "click | set_field: unlock_w_instruct.sent : TRUE" + } + ], + "priority": 1, + "activation_condition_list": [ + { + "condition_type": "db_lookup", + "condition_args": { + "db_lookup": { + "table_id": "app_events", + "filter": { + "field": "event_id", + "value": "app_launch" + }, + "order": "asc", + "evaluate": { + "operator": ">", + "value": "20", + "unit": "day" + } + } + }, + "_raw": "first_launch | before: 20 : day" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "unlock_w_instruct.sent" + } + }, + "_raw": "get_field | unlock_w_instruct.sent : TRUE" + } + ], + "campaign_list": [ + "unlock_workshops" ] } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/campaign_unlock_workshops.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/campaign_unlock_workshops.xlsx" + }, + { + "flow_type": "data_list", + "flow_subtype": "campaign_rows", + "flow_name": "m_inactive_data", + "status": "released", + "rows": [ + { + "id": "inactive_0", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "inactive_0.sent", + true + ], + "_raw": "set_field: inactive_0.sent : true", + "_cleaned": "click | set_field: inactive_0.sent : true" + } + ], + "priority": 0, + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "inactive_0.sent" + } + }, + "_raw": "get_field | inactive_0.sent : true" + } + ], + "campaign_list": [ + "m_inactive_campaign" + ], + "notification_schedule": { + "title": "New message from PLH", + "text": "Welcome to ParentApp. Click here to start your journey!", + "time": { + "hour": "19", + "minute": "30" + }, + "delay": { + "days": "0" + } + }, + "title": "New message from PLH", + "text": "Welcome to ParentApp. Click here to start your journey!" + }, + { + "id": "inactive_1", + "priority": 1, + "campaign_list": [ + "m_inactive_campaign" + ], + "notification_schedule": { + "title": "New message from PLH", + "text": "Hope you are feeling OK. Parenting is hard, but it’s never too late to start again with your teenager. Your first parenting workshop is ready for you! Click here to start your ParentApp journey!", + "time": { + "hour": "19", + "minute": "30" + }, + "delay": { + "days": "7" + } + }, + "title": "New message from PLH", + "text": "Hope you are feeling OK. Parenting is hard, but it’s never too late to start again with your teenager. Your first parenting workshop is ready for you! Click here to start your ParentApp journey!" + }, + { + "id": "inactive_2", + "priority": 2, + "campaign_list": [ + "m_inactive_campaign" + ], + "notification_schedule": { + "title": "New message from PLH", + "text": "Hi! Is everything OK? It seems you haven’t opened ParentApp lately. Why don’t you give it a try? Millions of parents have found these materials helpful. We are still here to support you.", + "time": { + "hour": "19", + "minute": "30" + }, + "delay": { + "days": "30" + } + }, + "title": "New message from PLH", + "text": "Hi! Is everything OK? It seems you haven’t opened ParentApp lately. Why don’t you give it a try? Millions of parents have found these materials helpful. We are still here to support you. " + }, + { + "id": "inactive_3", + "priority": -1, + "campaign_list": [ + "m_inactive_campaign" + ], + "notification_schedule": { + "title": "New message from PLH", + "text": "Hello again! It’s never too late to use ParentApp and get tailored parenting support. Why don’t you give it a try when you are commuting to work or when the food is cooking? Millions of parents found our materials helpful.", + "time": { + "hour": "19", + "minute": "30" + }, + "delay": { + "days": "30" + } + }, + "title": "New message from PLH", + "text": "Hello again! It’s never too late to use ParentApp and get tailored parenting support. Why don’t you give it a try when you are commuting to work or when the food is cooking? Millions of parents found our materials helpful." + }, + { + "id": "inactive_4", + "priority": -2, + "campaign_list": [ + "m_inactive_campaign" + ], + "notification_schedule": { + "title": "New message from PLH", + "text": "ParentApp misses you! There is a lot to explore. We are still here to support you.", + "time": { + "hour": "19", + "minute": "30" + }, + "delay": { + "days": "30" + } + }, + "title": "New message from PLH", + "text": "ParentApp misses you! There is a lot to explore. We are still here to support you. " + }, + { + "id": "inactive_5", + "priority": -3, + "campaign_list": [ + "m_inactive_campaign" + ], + "notification_schedule": { + "title": "New message from PLH", + "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to help you manage parenting stress.", + "time": { + "hour": "19", + "minute": "30" + }, + "delay": { + "days": "30" + } + }, + "title": "New message from PLH", + "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to help you manage parenting stress." + }, + { + "id": "inactive_6", + "priority": -4, + "campaign_list": [ + "m_inactive_campaign" + ], + "notification_schedule": { + "title": "New message from PLH", + "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to prepare your teen for success in life.", + "time": { + "hour": "19", + "minute": "30" + }, + "delay": { + "days": "30" + } + }, + "title": "New message from PLH", + "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to prepare your teen for success in life." + }, + { + "id": "inactive_7", + "priority": -5, + "campaign_list": [ + "m_inactive_campaign" + ], + "notification_schedule": { + "title": "New message from PLH", + "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to help you manage your teen's behaviour.", + "time": { + "hour": "19", + "minute": "30" + }, + "delay": { + "days": "30" + } + }, + "title": "New message from PLH", + "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to help you manage your teen's behaviour." + }, + { + "id": "inactive_8", + "priority": -6, + "campaign_list": [ + "m_inactive_campaign" + ], + "notification_schedule": { + "title": "New message from PLH", + "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to bond with your teen again!", + "time": { + "hour": "19", + "minute": "30" + }, + "delay": { + "days": "30" + } + }, + "title": "New message from PLH", + "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to bond with your teen again!" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/no_app_activity.xlsx" + }, + { + "flow_type": "data_list", + "flow_name": "activity_data_list", + "data_list_name": "something_fun", + "status": "released", + "rows": [ + { + "id": "reflect_positive", + "workshop": "praise", + "title": "Reflect on the positive", + "text_template": "activity_reflect_positive", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "check_in_chat", + "workshop": "stress", + "title": "Check-in chat", + "text_template": "activity_check_in_chat", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "dream_travel", + "workshop": "money", + "title": "Dream Travel", + "text_template": "activity_dream_travel", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "famous_party", + "workshop": "rules", + "title": "Famous Party", + "text_template": "activity_famous_party", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "two_truths", + "workshop": "consequence", + "title": "Two truths, one lie", + "text_template": "activity_two_truths", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "time_machine", + "workshop": "safe", + "title": "Time Machine", + "text_template": "activity_time_machine", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "superpowers", + "workshop": "crisis", + "title": "Superpowers", + "text_template": "activity_superpowers", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "friendly_chat", + "title": "Just a friendly chat", + "text_template": "activity_friendly_chat", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "interrupter", + "title": "The Interrupter", + "text_template": "activity_interrupter", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "three_options", + "title": "Three options", + "text_template": "activity_three_options", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "yes_no_maybe", + "title": "Yes, No or Maybe", + "text_template": "activity_yes_no_maybe", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "memory_game", + "title": "Memory game - \"On Saturday...\"", + "text_template": "activity_memory_game", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "invent_story", + "title": "Make up a story", + "text_template": "activity_invent_story", + "fields::favourite": false, + "spend_time": true, + "type": "chat_together" + }, + { + "id": "co_chef", + "workshop": "1on1", + "title": "Co-chef", + "text_template": "activity_co_chef", + "fields::favourite": false, + "spend_time": true, + "type": "do_together" + }, + { + "id": "dance_moves", + "workshop": "instruct", + "title": "Dance moves", + "text_template": "activity_dance_moves", + "fields::favourite": false, + "spend_time": true, + "type": "do_together" + }, + { + "id": "mirror", + "workshop": "solve", + "title": "Mirror", + "text_template": "activity_mirror", + "fields::favourite": false, + "spend_time": true, + "type": "do_together" + }, + { + "id": "whats_new", + "title": "What's new?", + "text_template": "activity_whats_new", + "fields::favourite": false, + "spend_time": true, + "type": "do_together" + }, + { + "id": "get_active", + "title": "Get active!", + "text_template": "activity_get_active", + "fields::favourite": false, + "spend_time": true, + "type": "do_together" + }, + { + "id": "name_that_tune", + "title": "Name that tune", + "text_template": "activity_name_that_tune", + "fields::favourite": false, + "spend_time": true, + "type": "do_together" + }, + { + "id": "pass_the_snap", + "title": "Pass the snap", + "text_template": "activity_pass_the_snap", + "fields::favourite": false, + "spend_time": true, + "type": "do_together", + "intro_text": "Here is a fun game you can do with your family!" + }, + { + "id": "family_workout", + "title": "Family workout", + "text_template": "activity_family_workout", + "fields::favourite": false, + "spend_time": true, + "type": "do_together" + }, + { + "id": "housework", + "title": "Make housework fun", + "text_template": "activity_housework", + "fields::favourite": false, + "spend_time": true, + "has_recording": true, + "type": "do_together", + "intro_text": "Household chores aren’t fun… or are they? You can make them into a game!" + }, + { + "id": "doing_what", + "title": "What are you doing?", + "text_template": "activity_doing_what", + "fields::favourite": false, + "spend_time": true, + "has_recording": true, + "type": "do_together", + "intro_text": "Here is a fun game you can do with your family!" + }, + { + "id": "crazy_chicken", + "title": "Crazy chicken", + "text_template": "activity_crazy_chicken", + "fields::favourite": false, + "spend_time": true, + "type": "do_together" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/data/activity_data_list.xlsx" + }, + { + "flow_type": "data_list", + "flow_name": "habit_data_list", + "status": "released", + "data_list_name": "habit", + "rows": [ + { + "id": "relax", + "title": "Relax", + "description": "Doing a relaxation activity", + "task_id": "task_habit_relax", + "image_asset": "assets/plh_assets/plh_images/habits/habit_relax.svg", + "mark_text": "Every time you do a relax, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + }, + { + "id": "treat_yourself", + "title": "Treat yourself well", + "description": "Doing something they like for themselves", + "task_id": "task_habit_treat_yourself", + "image_asset": "assets/plh_assets/plh_images/habits/habit_treat_yourself.svg", + "mark_text": "Every time you treat yourself well, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + }, + { + "id": "praise_yourself", + "title": "Praise yourself", + "description": "Praising themselves", + "task_id": "task_habit_praise_yourself", + "image_asset": "assets/plh_assets/plh_images/habits/habit_praise_yourself.svg", + "mark_text": "Every time you praise yourself, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + }, + { + "id": "spend_time", + "title": "One-on-one time", + "description": "Spending time with their teen", + "task_id": "task_habit_spend_time", + "image_asset": "assets/plh_assets/plh_images/habits/habit_spend_time.svg", + "mark_text": "Every time you do one-on-one time, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + }, + { + "id": "praise_teen", + "title": "Praise your teen", + "description": "Praising their teen when they did positive thing", + "task_id": "task_habit_praise_teen", + "image_asset": "assets/plh_assets/plh_images/habits/habit_praise_teen.svg", + "mark_text": "Every time you praise your teen, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + }, + { + "id": "instruct_positively", + "title": "Get positive", + "description": "Giving their teen a positive instruction", + "task_id": "task_habit_instruct_positively", + "image_asset": "assets/plh_assets/plh_images/habits/habit_instruct_positively.svg", + "mark_text": "Every time you give a positive instruction, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + }, + { + "id": "breathe", + "title": "Breathe not yell", + "description": "Taking a pause before responding", + "task_id": "task_habit_breathe", + "image_asset": "assets/plh_assets/plh_images/habits/habit_breathe.svg", + "mark_text": "Every time you take a pause before responding, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + }, + { + "id": "money", + "title": "Good money choice", + "description": "Keeping the budget", + "task_id": "task_habit_money", + "image_asset": "assets/plh_assets/plh_images/habits/habit_money.svg", + "mark_text": "Every time you make a good choice about needs, wants and savings, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + }, + { + "id": "consequence", + "title": "Calm consequence", + "description": "Giving their teen a consequence in a calm way", + "task_id": "task_habit_consequence", + "image_asset": "assets/plh_assets/plh_images/habits/habit_consequence.svg", + "mark_text": "Every time you give a calm consequence, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + }, + { + "id": "safe", + "title": "Safe", + "description": "Planning or keeping a family safety plan", + "task_id": "task_habit_safe", + "image_asset": "assets/plh_assets/plh_images/habits/habit_safe.svg", + "mark_text": "Every time you do something to keep your teen safe, tap the @global.parent_point and celebrate your success!", + "short_mark_text": "Did it? Tap it!", + "fields::weekly_count": 0, + "fields::total_count": 0 + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/data/habit_data_list.xlsx" + }, + { + "flow_type": "data_list", + "flow_name": "hp_praise_messages", + "status": "released", + "data_list_name": "praise", + "rows": [ + { + "id": "hp_praise_message_1", + "text": "That’s wonderful! Well done for spending time together. It lays the foundation for a great relationship with your teen!", + "workshop": "w_1on1", + "mood": "happy" + }, + { + "id": "hp_praise_message_2", + "text": "Good for you! One-on-one time shows your teens they are important to you. It really makes a difference!", + "workshop": "w_1on1", + "mood": "happy" + }, + { + "id": "hp_praise_message_3", + "text": "Wonderful! Spending time with your teen may make your teen more willing to help out more often. You are doing great!", + "workshop": "w_1on1", + "mood": "happy" + }, + { + "id": "hp_praise_message_4", + "text": "Well done! One-on-one time with your teen gives you a chance to learn more about your teen’s interests and abilities. You are a star!", + "workshop": "w_1on1", + "mood": "happy" + }, + { + "id": "hp_praise_message_5", + "text": "Excellent job! Spending time together helps to build a strong and positive relationship between you and your teen.", + "workshop": "w_1on1", + "mood": "happy" + }, + { + "id": "hp_praise_message_6", + "text": "Sometimes it will be easy and fun to spend time with your teens, and sometimes it will be more challenging. Spending time together will greatly improve your relationship; well done for trying!   ", + "workshop": "w_1on1", + "mood": "ok" + }, + { + "id": "hp_praise_message_7", + "text": "Sorry to hear that it was difficult for you to spend time with your teen. We all have challenges sometimes. Just be patient with yourself and your teen - things will get better. Well done for trying!", + "workshop": "w_1on1", + "mood": "sad" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/data/praise_data_list.xlsx" }, { "flow_type": "data_list", @@ -8867,394 +11227,406 @@ "title": "Quick pause", "task_id": "task_relax", "text_template": "relax_1_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_1_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_1_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_2", - "module": "1on1", "title": "Power of three", + "workshop": "1on1", "task_id": "task_relax", "text_template": "relax_2_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_2_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_2_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_3", - "module": "praise", "title": "One thing today", + "workshop": "praise", "task_id": "task_relax", "text_template": "relax_3_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_3_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_3_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_4", - "module": "instruct", "title": "Breathe to three", + "workshop": "instruct", "task_id": "task_relax", "text_template": "relax_4_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_4_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_4_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_5", - "module": "self_care", "title": "In and out", + "workshop": "self_care", "task_id": "task_relax", "text_template": "relax_5_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_5_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_5_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_6", "title": "Think about today", "task_id": "task_relax", "text_template": "relax_6_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_6_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_6_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_7", - "module": "stress", "title": "Pause to respond", + "workshop": "stress", "task_id": "task_relax", "text_template": "relax_7_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_7_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_7_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_8", - "module": "money", "title": "Small things", + "workshop": "money", "task_id": "task_relax", "text_template": "relax_8_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_8_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_8_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_9", - "module": "rules", "title": "Body scan", + "workshop": "rules", "task_id": "task_relax", "text_template": "relax_9_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_9_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_9_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_10", - "module": "consequence", "title": "Feel the ground", + "workshop": "consequence", "task_id": "task_relax", "text_template": "relax_10_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_10_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_10_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_11", - "module": "solve", "title": "Counting sounds", + "workshop": "solve", "task_id": "task_relax", "text_template": "relax_11_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_11_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_11_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_12", - "module": "safe", "title": "Feel your feeling", + "workshop": "safe", "task_id": "task_relax", "text_template": "relax_12_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_12_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_12_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { "id": "relax_13", - "module": "crisis", "title": "Your song", + "workshop": "crisis", "task_id": "task_relax", "text_template": "relax_13_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_13_audio.mp3" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_13_audio.mp3", + "fields::favourite": false, + "type": "relax_active" }, { "id": "relax_14", - "module": "celebrate", "title": "Ground & gratitude", + "workshop": "celebrate", "task_id": "task_relax", "text_template": "relax_14_text", - "audio_asset": "assets/plh_assets/plh_audio/relax/relax_14_audio.mp3" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_relax.xlsx" - }, - { - "flow_type": "data_list", - "flow_name": "something_fun_list", - "data_list_name": "something_fun", - "status": "released", - "rows": [ - { - "id": "co_chef", - "module": "1on1", - "title": "Co-chef", - "text_template": "activity_co_chef" - }, - { - "id": "reflect_positive", - "module": "praise", - "title": "Reflect on the positive", - "text_template": "activity_reflect_positive" - }, - { - "id": "dance_moves", - "module": "instruct", - "title": "Dance moves", - "text_template": "activity_dance_moves" - }, - { - "id": "check_in_chat", - "module": "stress", - "title": "Check-in chat", - "text_template": "activity_check_in_chat" - }, - { - "id": "dream_travel", - "module": "money", - "title": "Dream Travel", - "text_template": "activity_dream_travel" - }, - { - "id": "famous_party", - "module": "rules", - "title": "Famous Party", - "text_template": "activity_famous_party" - }, - { - "id": "two_truths", - "module": "consequence", - "title": "Two truths, one lie", - "text_template": "activity_two_truths" - }, - { - "id": "mirror", - "module": "solve", - "title": "Mirror", - "text_template": "activity_mirror" - }, - { - "id": "time_machine", - "module": "safe", - "title": "Time Machine", - "text_template": "activity_time_machine" - }, - { - "id": "superpowers", - "module": "crisis", - "title": "Superpowers", - "text_template": "activity_superpowers" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_something_fun.xlsx" - }, - { - "flow_type": "data_list", - "flow_subtype": "campaign_rows", - "flow_name": "m_inactive_data", - "status": "released", - "rows": [ - { - "id": "inactive_0", - "click_action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "inactive_0.sent", - true - ], - "_raw": "set_field: inactive_0.sent : true", - "_cleaned": "click | set_field: inactive_0.sent : true" - } - ], - "priority": 0, - "deactivation_condition_list": [ - { - "condition_type": "field_evaluation", - "condition_args": { - "field_evaluation": { - "evaluate": "inactive_0.sent" - } - }, - "_raw": "get_field | inactive_0.sent : true" - } - ], - "campaign_list": [ - "inactive_campaign" - ], - "notification_schedule": { - "title": "New message from PLH", - "text": "Welcome to ParentApp. Click here to start your journey!", - "time": { - "hour": "19", - "minute": "30" - }, - "delay": { - "days": "0" - } - }, - "title": "New message from PLH", - "text": "Welcome to ParentApp. Click here to start your journey!" - }, - { - "id": "inactive_1", - "priority": 1, - "campaign_list": [ - "inactive_campaign" - ], - "notification_schedule": { - "title": "New message from PLH", - "text": "Hope you are feeling OK. Parenting is hard, but it’s never too late to start again with your teenager. Your first parenting workshop is ready for you! Click here to start your ParentApp journey!", - "time": { - "hour": "19", - "minute": "30" - }, - "delay": { - "days": "7" - } - }, - "title": "New message from PLH", - "text": "Hope you are feeling OK. Parenting is hard, but it’s never too late to start again with your teenager. Your first parenting workshop is ready for you! Click here to start your ParentApp journey!" + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_14_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { - "id": "inactive_2", - "priority": 2, - "campaign_list": [ - "inactive_campaign" - ], - "notification_schedule": { - "title": "New message from PLH", - "text": "Hi! Is everything OK? It seems you haven’t opened ParentApp lately. Why don’t you give it a try? Millions of parents have found these materials helpful. We are still here to support you.", - "time": { - "hour": "19", - "minute": "30" - }, - "delay": { - "days": "30" - } - }, - "title": "New message from PLH", - "text": "Hi! Is everything OK? It seems you haven’t opened ParentApp lately. Why don’t you give it a try? Millions of parents have found these materials helpful. We are still here to support you. " + "id": "relax_15", + "title": "Notice how you feel", + "task_id": "task_relax", + "text_template": "relax_15_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_15_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { - "id": "inactive_3", - "priority": -1, - "campaign_list": [ - "inactive_campaign" - ], - "notification_schedule": { - "title": "New message from PLH", - "text": "Hello again! It’s never too late to use ParentApp and get tailored parenting support. Why don’t you give it a try when you are commuting to work or when the food is cooking? Millions of parents found our materials helpful.", - "time": { - "hour": "19", - "minute": "30" - }, - "delay": { - "days": "30" - } - }, - "title": "New message from PLH", - "text": "Hello again! It’s never too late to use ParentApp and get tailored parenting support. Why don’t you give it a try when you are commuting to work or when the food is cooking? Millions of parents found our materials helpful." + "id": "relax_16", + "title": "Pause power", + "task_id": "task_relax", + "text_template": "relax_16_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_16_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { - "id": "inactive_4", - "priority": -2, - "campaign_list": [ - "inactive_campaign" - ], - "notification_schedule": { - "title": "New message from PLH", - "text": "ParentApp misses you! There is a lot to explore. We are still here to support you.", - "time": { - "hour": "19", - "minute": "30" - }, - "delay": { - "days": "30" - } - }, - "title": "New message from PLH", - "text": "ParentApp misses you! There is a lot to explore. We are still here to support you. " + "id": "relax_17", + "title": "Praise yourself", + "task_id": "task_relax", + "text_template": "relax_17_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_17_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_short" }, { - "id": "inactive_5", - "priority": -3, - "campaign_list": [ - "inactive_campaign" - ], - "notification_schedule": { - "title": "New message from PLH", - "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to help you manage parenting stress.", - "time": { - "hour": "19", - "minute": "30" - }, - "delay": { - "days": "30" - } - }, - "title": "New message from PLH", - "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to help you manage parenting stress." + "id": "relax_18", + "title": "Taking care of yourself", + "task_id": "task_relax", + "text_template": "relax_18_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_18_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_long", + "intro_text": "Let’s do a short activity that can help when you are feeling you need some more support to get through the day." }, { - "id": "inactive_6", - "priority": -4, - "campaign_list": [ - "inactive_campaign" - ], - "notification_schedule": { - "title": "New message from PLH", - "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to prepare your teen for success in life.", - "time": { - "hour": "19", - "minute": "30" - }, - "delay": { - "days": "30" - } - }, - "title": "New message from PLH", - "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to prepare your teen for success in life." + "id": "relax_19", + "title": "Take a pause", + "task_id": "task_relax", + "text_template": "relax_19_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_19_audio.mp3", + "fields::favourite": false, + "type": "relax_passive_long", + "intro_text": "Let’s do a short activity that you can do whenever you are feeling stressed or worried." }, { - "id": "inactive_7", - "priority": -5, - "campaign_list": [ - "inactive_campaign" - ], - "notification_schedule": { - "title": "New message from PLH", - "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to help you manage your teen's behaviour.", - "time": { - "hour": "19", - "minute": "30" - }, - "delay": { - "days": "30" - } - }, - "title": "New message from PLH", - "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to help you manage your teen's behaviour." + "id": "relax_20", + "title": "Physical activity", + "task_id": "task_relax", + "text_template": "relax_20_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_20_audio.mp3", + "fields::favourite": false, + "type": "relax_active", + "intro_text": "Let’s do a fun physical activity that can help release stress and keep healthy." }, { - "id": "inactive_8", - "priority": -6, - "campaign_list": [ - "inactive_campaign" - ], - "notification_schedule": { - "title": "New message from PLH", - "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to bond with your teen again!", - "time": { - "hour": "19", - "minute": "30" - }, - "delay": { - "days": "30" - } - }, - "title": "New message from PLH", - "text": "Hope you are feeling OK. We know parenting is hard - use ParentApp to bond with your teen again!" + "id": "relax_21", + "title": "List of things", + "task_id": "task_relax", + "text_template": "relax_21_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_21_audio.mp3", + "fields::favourite": false, + "type": "relax_active" + }, + { + "id": "relax_22", + "title": "Connect", + "task_id": "task_relax", + "text_template": "relax_22_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_22_audio.mp3", + "fields::favourite": false, + "type": "relax_active" + }, + { + "id": "relax_23", + "title": "Prevent anger", + "task_id": "task_relax", + "text_template": "relax_23_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_23_audio.mp3", + "fields::favourite": false, + "type": "relax_active" + }, + { + "id": "relax_24", + "title": "Angry? Take a break.", + "task_id": "task_relax", + "text_template": "relax_24_text", + "audio_asset": "assets/plh_assets/plh_audio/relax/relax_24_audio.mp3", + "fields::favourite": false, + "type": "relax_active" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/data/relax_data_list.xlsx" + }, + { + "flow_type": "data_list", + "flow_name": "workshop_data_list", + "status": "released", + "data_list_name": "workshop", + "rows": [ + { + "id": "w_self_care", + "number": 1, + "title": "Welcome and Self-Care", + "in_text_title": "\"Welcome and Self-Care\" workshop", + "image_asset": "assets/plh_assets/plh_images/habits/habit_treat_yourself.svg", + "short_title": "Self-Care", + "tools": "How to add self-care", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": false, + "relax": "relax_5" + }, + { + "id": "w_1on1", + "number": 2, + "title": "One-on-One Time", + "in_text_title": "\"One-on-One Time\" workshop", + "image_asset": "assets/plh_assets/plh_images/habits/habit_spend_time.svg", + "tools": "How to spend one-on-one time", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_2", + "something_fun": "co_chef" + }, + { + "id": "w_praise", + "number": 3, + "title": "Praise", + "in_text_title": "\"Praise\" workshop", + "image_asset": "assets/plh_assets/plh_images/habits/habit_praise_yourself.svg", + "tools": "How to praise", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_3", + "something_fun": "reflect_positive" + }, + { + "id": "w_instruct", + "number": 4, + "title": "Positive Instructions", + "in_text_title": "\"Positive Instructions\" workshop", + "image_asset": "assets/plh_assets/plh_images/habits/habit_instruct_positively.svg", + "tools": "How to give positive instructions", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_4", + "something_fun": "dance_moves" + }, + { + "id": "w_stress", + "number": 5, + "title": "Managing Stress", + "in_text_title": "\"Managing Stress\" workshop", + "image_asset": "assets/plh_assets/plh_images/habits/habit_breathe.svg", + "tools": "How to manage stress", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_7", + "something_fun": "check_in_chat" + }, + { + "id": "w_money", + "number": 6, + "title": "Family Budgets", + "in_text_title": "\"Family Budgets\" workshop", + "image_asset": "assets/plh_assets/plh_images/habits/habit_money.svg", + "tools": "How to budget & save", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_8", + "something_fun": "dream_travel" + }, + { + "id": "w_rules", + "number": 7, + "title": "Rules", + "in_text_title": "\"Rules\" workshop", + "tools": "How to create rules", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_9", + "something_fun": "famous_party" + }, + { + "id": "w_consequence", + "number": 8, + "title": "Calm Consequences", + "in_text_title": "\"Calm Consequences\" workshop", + "image_asset": "assets/plh_assets/plh_images/habits/habit_consequence.svg", + "tools": "How to give calm consequences", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_10", + "something_fun": "two_truths" + }, + { + "id": "w_solve", + "number": 9, + "title": "Problem Solving", + "in_text_title": "\"Problem Solving\" workshop", + "tools": "How to solve problems", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_11", + "something_fun": "mirror" + }, + { + "id": "w_safe", + "number": 10, + "title": "Teen Safety", + "in_text_title": "\"Teen Safety\" workshop", + "image_asset": "assets/plh_assets/plh_images/habits/habit_safe.svg", + "tools": "How to keep your teen safe", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_12", + "something_fun": "time_machine" + }, + { + "id": "w_crisis", + "number": 11, + "title": "Dealing with Crisis", + "in_text_title": "\"Dealing with Crisis\" workshop", + "tools": "How to deal with crisis", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_13", + "something_fun": "superpowers" + }, + { + "id": "w_celebrate", + "number": 12, + "title": "Celebration and Next Steps", + "in_text_title": "\"Celebration and Next Steps\" workshop", + "tools": "How to support each other", + "completion_level": 0, + "fields::started": false, + "fields::completed": false, + "fields::disabled": true, + "relax": "relax_14" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/no_app_activity.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/workshop_data_list.xlsx" }, { "flow_type": "data_list", @@ -9317,7 +11689,8 @@ ], "priority": -1, "campaign_list": [ - "debug_campaign" + "debug_campaign", + "debug_campaign_2" ], "icon": "plh_images/icons/play_white.svg", "text": "Default" @@ -9488,6 +11861,152 @@ "campaign_list": [ "debug_campaign" ] + }, + { + "id": "debug_reminder_5", + "click_action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "@global.example_text" + ], + "_raw": "pop_up: @global.example_text", + "_cleaned": "click | pop_up: @global.example_text" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_5.sent", + true + ], + "_raw": "set_field: debug_reminder_5.sent : true", + "_cleaned": "click | set_field: debug_reminder_5.sent : true" + } + ], + "priority": 1, + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "debug_reminder_5.sent" + } + }, + "_raw": "get_field | debug_reminder_5.sent : true" + } + ], + "campaign_list": [ + "debug_campaign_2" + ], + "icon": "plh_images/icons/bell_white.svg", + "text": 5 + }, + { + "id": "debug_reminder_6", + "click_action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "@global.some_global", + "some_value" + ], + "_raw": "set_field: @global.some_global : some_value", + "_cleaned": "click | set_field: @global.some_global : some_value" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_6.sent", + true + ], + "_raw": "set_field: debug_reminder_6.sent : true", + "_cleaned": "click | set_field: debug_reminder_6.sent : true" + } + ], + "priority": 2, + "activation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "debug_reminder_5.sent" + } + }, + "_raw": "get_field | debug_reminder_5.sent:TRUE" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "debug_reminder_6.sent" + } + }, + "_raw": "get_field | debug_reminder_6.sent : true" + } + ], + "campaign_list": [ + "debug_campaign_2" + ], + "icon": "plh_images/icons/bell_white.svg", + "text": 6 + }, + { + "id": "debug_reminder_7", + "click_action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_@data.workshop.1on1.something_fun" + ], + "_raw": "go_to: activity_@data.workshop.1on1.something_fun", + "_cleaned": "click | go_to: activity_@data.workshop.1on1.something_fun" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_7.sent", + true + ], + "_raw": "set_field: debug_reminder_7.sent : true", + "_cleaned": "click | set_field: debug_reminder_7.sent : true" + } + ], + "priority": 3, + "activation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "debug_reminder_6.sent" + } + }, + "_raw": "get_field | debug_reminder_6.sent:TRUE" + } + ], + "deactivation_condition_list": [ + { + "condition_type": "field_evaluation", + "condition_args": { + "field_evaluation": { + "evaluate": "debug_reminder_7.sent" + } + }, + "_raw": "get_field | debug_reminder_7.sent : true" + } + ], + "campaign_list": [ + "debug_campaign_2" + ], + "icon": "plh_images/icons/bell_white.svg", + "text": 7 } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_campaigns.xlsx" @@ -9655,104 +12174,5 @@ } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_notifications.xlsx" - }, - { - "flow_type": "data_list", - "flow_name": "habit_data_list", - "status": "released", - "data_list_name": "habit", - "rows": [ - { - "id": "relax", - "title": "Relax", - "description": "Doing a relaxation activity", - "task_id": "task_habit_relax", - "image_asset": "assets/plh_assets/plh_images/habits/habit_relax.svg", - "mark_text": "Every time you do a relax, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - }, - { - "id": "treat_yourself", - "title": "Treat yourself well", - "description": "Doing something they like for themselves", - "task_id": "task_habit_treat_yourself", - "image_asset": "assets/plh_assets/plh_images/habits/habit_treat_yourself.svg", - "mark_text": "Every time you treat yourself well, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - }, - { - "id": "praise_yourself", - "title": "Praise yourself", - "description": "Praising themselves", - "task_id": "task_habit_praise_yourself", - "image_asset": "assets/plh_assets/plh_images/habits/habit_praise_yourself.svg", - "mark_text": "Every time you praise yourself, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - }, - { - "id": "spend_time", - "title": "One-on-one time", - "description": "Spending time with their teen", - "task_id": "task_habit_spend_time", - "image_asset": "assets/plh_assets/plh_images/habits/habit_spend_time.svg", - "mark_text": "Every time you do one-on-one time, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - }, - { - "id": "praise_teen", - "title": "Praise your teen", - "description": "Praising their teen when they did positive thing", - "task_id": "task_habit_praise_teen", - "image_asset": "assets/plh_assets/plh_images/habits/habit_praise_teen.svg", - "mark_text": "Every time you praise your teen, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - }, - { - "id": "instruct_positively", - "title": "Get positive", - "description": "Giving their teen a positive instruction", - "task_id": "task_habit_instruct_positively", - "image_asset": "assets/plh_assets/plh_images/habits/habit_instruct_positively.svg", - "mark_text": "Every time you give a positive instruction, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - }, - { - "id": "breathe", - "title": "Breathe not yell", - "description": "Taking a pause before responding", - "task_id": "task_habit_breathe", - "image_asset": "assets/plh_assets/plh_images/habits/habit_breathe.svg", - "mark_text": "Every time you take a pause before responding, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - }, - { - "id": "money", - "title": "Good money choice", - "description": "Keeping the budget", - "task_id": "task_habit_money", - "image_asset": "assets/plh_assets/plh_images/habits/habit_money.svg", - "mark_text": "Every time you make a good choice about needs, wants and savings, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - }, - { - "id": "consequence", - "title": "Calm consequence", - "description": "Giving their teen a consequence in a calm way", - "task_id": "task_habit_consequence", - "image_asset": "assets/plh_assets/plh_images/habits/habit_consequence.svg", - "mark_text": "Every time you give a calm consequence, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - }, - { - "id": "safe", - "title": "Safe", - "description": "Planning or keeping a family safety plan", - "task_id": "task_habit_safe", - "image_asset": "assets/plh_assets/plh_images/habits/habit_safe.svg", - "mark_text": "Every time you do something to keep your teen safe, tap the @global.parent_point and celebrate your success!", - "short_mark_text": "Did it? Tap it!" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/habit_data_list.xlsx" } ] \ No newline at end of file diff --git a/src/data/global.ts b/src/data/global.ts index 7ec766c04a..143512cc3b 100644 --- a/src/data/global.ts +++ b/src/data/global.ts @@ -1,6 +1,124 @@ /* eslint-disable */ import { FlowTypes } from "src/app/shared/model/flowTypes"; export const global: FlowTypes.Global[] = [ + { + "flow_type": "global", + "flow_name": "parent_point_variables", + "status": "released", + "rows": [ + { + "type": "declare_global_constant", + "name": "parent_points_make_me_smile", + "value": "Make me smile" + }, + { + "type": "declare_global_constant", + "name": "parent_points_get_me_going", + "value": "Get me going" + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_relax", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_relax", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_treat_yourself", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_treat_yourself", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_praise_yourself", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_praise_yourself", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_spend_time", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_spend_time", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_praise_teen", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_praise_teen", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_instruct_positively", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_instruct_positively", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_breathe", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_breathe", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_money", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_money", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_consequence", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_consequence", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "weekly_parent_point_safe", + "value": 0 + }, + { + "type": "declare_field_default", + "name": "total_parent_point_safe", + "value": 0 + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/data/habit_globals.xlsx" + }, { "flow_type": "global", "flow_name": "in_week_message_titles", @@ -45,14 +163,9 @@ "type": "declare_global_constant", "name": "m_hp_reminder", "value": "Home practice reminder" - }, - { - "type": "declare_global_constant", - "name": "m_hp_review", - "value": "Home practice review" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_in_week_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/in_week_message_globals.xlsx" }, { "flow_type": "global", @@ -285,7 +398,7 @@ "value": "Grandpa" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_localisation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/localisation_globals.xlsx" }, { "flow_type": "global", @@ -296,9 +409,19 @@ "type": "declare_global_constant", "name": "teen_social_medium", "value": "TikTok" + }, + { + "type": "declare_global_constant", + "name": "data_warning_video", + "value": "Watching this video requires internet access. To limit data use, watch or download this video when on WiFi." + }, + { + "type": "declare_global_constant", + "name": "data_warning_websites", + "value": "Visiting these websites requires internet access. To limit data use, visit these websites when on WiFi." } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_localisation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/localisation_globals.xlsx" }, { "flow_type": "global", @@ -356,7 +479,7 @@ "value": true } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/navigation_globals.xlsx" }, { "flow_type": "global", @@ -388,6 +511,11 @@ "name": "show_me_how_button", "value": "Show me how" }, + { + "type": "declare_global_constant", + "name": "tell_me_more_button", + "value": "Tell me more!" + }, { "type": "declare_global_constant", "name": "lets_go_button", @@ -409,7 +537,7 @@ "value": "Previous" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/navigation_globals.xlsx" }, { "flow_type": "global", @@ -512,7 +640,7 @@ "value": "plh_images/icons/info_phone_white.svg" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_parent_centre.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/parent_centre_globals.xlsx" }, { "flow_type": "global", @@ -580,7 +708,7 @@ "value": true } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_parent_centre.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/parent_centre_globals.xlsx" }, { "flow_type": "global", @@ -590,7 +718,7 @@ { "type": "declare_global_constant", "name": "my_relaxes", - "value": "My relaxes" + "value": "Favourite relaxes" }, { "type": "declare_global_constant", @@ -608,29 +736,24 @@ "value": "This week's relax" }, { - "type": "declare_global_constant", - "name": "my_activities", - "value": "My activities" + "type": "declare_field_default", + "name": "which_relax", + "value": "relax_1" }, { "type": "declare_global_constant", - "name": "all_activities", - "value": "All activities" + "name": "relax_passive_short", + "value": "Listen & relax (1-2 minutes)" }, { "type": "declare_global_constant", - "name": "random_activity", - "value": "Random activity" + "name": "relax_passive_long", + "value": "Listen & relax (3-5 minutes)" }, { "type": "declare_global_constant", - "name": "current_activity", - "value": "This week's activity" - }, - { - "type": "declare_field_default", - "name": "which_relax", - "value": "relax_1" + "name": "relax_active", + "value": "Do & relax (5-10 minutes)" }, { "type": "declare_field_default", @@ -703,125 +826,175 @@ "value": false } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_parent_centre.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/parent_centre_globals.xlsx" }, { "flow_type": "global", - "flow_name": "parent_point_variables", + "flow_name": "activity_variables", "status": "released", "rows": [ { "type": "declare_global_constant", - "name": "parent_points_make_me_smile", - "value": "Make me smile" + "name": "my_activities", + "value": "Favourite activities" }, { "type": "declare_global_constant", - "name": "parent_points_get_me_going", - "value": "Get me going" + "name": "all_activities", + "value": "All activities" + }, + { + "type": "declare_global_constant", + "name": "random_activity", + "value": "Random activity" + }, + { + "type": "declare_global_constant", + "name": "current_activity", + "value": "This week's activity" }, { "type": "declare_field_default", - "name": "weekly_parent_point_relax", - "value": 0 + "name": "which_activity", + "value": "co_chef" + }, + { + "type": "declare_global_constant", + "name": "chat_together", + "value": "Chat together" + }, + { + "type": "declare_global_constant", + "name": "do_together", + "value": "Do together" }, { "type": "declare_field_default", - "name": "total_parent_point_relax", - "value": 0 + "name": "activity_reflect_positive_favourite", + "value": false }, { "type": "declare_field_default", - "name": "weekly_parent_point_treat_yourself", - "value": 0 + "name": "activity_check_in_chat_favourite", + "value": false }, { "type": "declare_field_default", - "name": "total_parent_point_treat_yourself", - "value": 0 + "name": "activity_dream_travel_favourite", + "value": false }, { "type": "declare_field_default", - "name": "weekly_parent_point_praise_yourself", - "value": 0 + "name": "activity_famous_party_favourite", + "value": false }, { "type": "declare_field_default", - "name": "total_parent_point_praise_yourself", - "value": 0 + "name": "activity_two_truths_favourite", + "value": false }, { "type": "declare_field_default", - "name": "weekly_parent_point_spend_time", - "value": 0 + "name": "activity_time_machine_favourite", + "value": false }, { "type": "declare_field_default", - "name": "total_parent_point_spend_time", - "value": 0 + "name": "activity_superpowers_favourite", + "value": false }, { "type": "declare_field_default", - "name": "weekly_parent_point_praise_teen", - "value": 0 + "name": "activity_friendly_chat_favourite", + "value": false }, { "type": "declare_field_default", - "name": "total_parent_point_praise_teen", - "value": 0 + "name": "activity_interrupter_favourite", + "value": false }, { "type": "declare_field_default", - "name": "weekly_parent_point_instruct_positively", - "value": 0 + "name": "activity_three_options_favourite", + "value": false }, { "type": "declare_field_default", - "name": "total_parent_point_instruct_positively", - "value": 0 + "name": "activity_yes_no_maybe_favourite", + "value": false }, { "type": "declare_field_default", - "name": "weekly_parent_point_breathe", - "value": 0 + "name": "activity_memory_game_favourite", + "value": false }, { "type": "declare_field_default", - "name": "total_parent_point_breathe", - "value": 0 + "name": "activity_invent_story_favourite", + "value": false }, { "type": "declare_field_default", - "name": "weekly_parent_point_money", - "value": 0 + "name": "activity_co_chef_favourite", + "value": false }, { "type": "declare_field_default", - "name": "total_parent_point_money", - "value": 0 + "name": "activity_dance_moves_favourite", + "value": false }, { "type": "declare_field_default", - "name": "weekly_parent_point_consequence", - "value": 0 + "name": "activity_mirror_favourite", + "value": false }, { "type": "declare_field_default", - "name": "total_parent_point_consequence", - "value": 0 + "name": "activity_praise_time_favourite", + "value": false }, { "type": "declare_field_default", - "name": "weekly_parent_point_safe", - "value": 0 + "name": "activity_whats_new_favourite", + "value": false }, { "type": "declare_field_default", - "name": "total_parent_point_safe", - "value": 0 + "name": "activity_get_active_favourite", + "value": false + }, + { + "type": "declare_field_default", + "name": "activity_name_that_tune_favourite", + "value": false + }, + { + "type": "declare_field_default", + "name": "activity_pass_the_snap_favourite", + "value": false + }, + { + "type": "declare_field_default", + "name": "activity_family_workout_favourite", + "value": false + }, + { + "type": "declare_field_default", + "name": "activity_housework_favourite", + "value": false + }, + { + "type": "declare_field_default", + "name": "activity_doing_what_favourite", + "value": false + }, + { + "type": "declare_field_default", + "name": "activity_crazy_chicken_favourite", + "value": false } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_parent_points.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/parent_centre_globals.xlsx" }, { "flow_type": "global", @@ -880,7 +1053,7 @@ "value": "Play a game/sport" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_suggestions.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/suggestion_globals.xlsx" }, { "flow_type": "global", @@ -909,7 +1082,7 @@ "value": "Buying a car for my family" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_suggestions.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/suggestion_globals.xlsx" }, { "flow_type": "global", @@ -948,7 +1121,7 @@ "value": "Pandemic (COVID-19)" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_suggestions.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/suggestion_globals.xlsx" }, { "flow_type": "global", @@ -977,7 +1150,7 @@ "value": "In a savings group" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_suggestions.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/suggestion_globals.xlsx" }, { "flow_type": "global", @@ -1036,7 +1209,7 @@ "value": "Extra one-on-one time on Sunday (30 min)" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_suggestions.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/suggestion_globals.xlsx" }, { "flow_type": "global", @@ -1070,7 +1243,7 @@ "value": "Work out where you can get help" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_suggestions.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/suggestion_globals.xlsx" }, { "flow_type": "global", @@ -1093,7 +1266,7 @@ "value": "Tap and choose" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_surveys.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/survey_globals.xlsx" }, { "flow_type": "global", @@ -1146,7 +1319,7 @@ "value": 7 } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_surveys.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/survey_globals.xlsx" }, { "flow_type": "global", @@ -1279,7 +1452,7 @@ "value": "How to support each other" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_workshops.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/workshop_globals.xlsx" }, { "flow_type": "global", @@ -1295,9 +1468,14 @@ "type": "declare_global_constant", "name": "home_practice_problem_solving", "value": "Talk about @global.home_practice" + }, + { + "type": "declare_global_constant", + "name": "hp_review", + "value": "Home Practice Review" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_workshops.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/workshop_globals.xlsx" }, { "flow_type": "global", @@ -1603,9 +1781,69 @@ "type": "declare_field_default", "name": "w_celebrate_disabled", "value": true + }, + { + "type": "declare_field_default", + "name": "w_self_care_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_1on1_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_praise_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_instruct_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_stress_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_money_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_rules_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_consequence_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_solve_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_safe_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_crisis_hp_review_completed", + "value": false + }, + { + "type": "declare_field_default", + "name": "w_celebrate_hp_review_completed", + "value": false } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_workshops.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/data/workshop_globals.xlsx" }, { "flow_type": "global", @@ -1646,9 +1884,37 @@ "type": "declare_field_default", "name": "workshop_day", "value": "friday" + }, + { + "type": "declare_field_default", + "name": "w_money_path", + "value": "alone" + }, + { + "type": "declare_field_default", + "name": "w_safe_path", + "value": "alone" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/data/workshop_globals.xlsx" + }, + { + "flow_type": "global", + "flow_name": "debug_campaign_global", + "status": "released", + "rows": [ + { + "type": "declare_global_constant", + "name": "example_text", + "value": "example_text" + }, + { + "type": "declare_global_constant", + "name": "some_global", + "value": "some_field" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/global_variables/global_workshops.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_campaigns.xlsx" }, { "flow_type": "global", diff --git a/src/data/template.ts b/src/data/template.ts index 9f03322e5a..4d5afb4f41 100644 --- a/src/data/template.ts +++ b/src/data/template.ts @@ -11,6 +11,12 @@ "type": "set_variable", "_nested_name": "tools_title" }, + { + "name": "tip_icon", + "value": "plh_images/icons/house_circle.svg", + "type": "set_variable", + "_nested_name": "tip_icon" + }, { "type": "display_group", "rows": [ @@ -65,6 +71,7 @@ { "name": "tool_style", "value": "tool_1", + "exclude_from_translation": true, "type": "set_variable", "_nested_name": "tool_1.tool_style" } @@ -79,6 +86,7 @@ { "name": "tool_style", "value": "tool_2", + "exclude_from_translation": true, "type": "set_variable", "_nested_name": "tool_2.tool_style" } @@ -93,6 +101,7 @@ { "name": "tool_style", "value": "tool_3", + "exclude_from_translation": true, "type": "set_variable", "_nested_name": "tool_3.tool_style" } @@ -108,6 +117,7 @@ { "name": "tool_style", "value": "tool_4", + "exclude_from_translation": true, "type": "set_variable", "_nested_name": "tool_4.tool_style" } @@ -123,6 +133,7 @@ { "name": "tool_style", "value": "tool_5", + "exclude_from_translation": true, "type": "set_variable", "_nested_name": "tool_5.tool_style" } @@ -152,7 +163,7 @@ "name": "tip_text", "value": "You can always find these tools in the @global.parent_centre ", "parameter_list": { - "icon_src": "plh_images/icons/house_circle.svg", + "icon_src": "@local.tip_icon", "icon_position": "top-left" }, "_nested_name": "tip_text", @@ -164,11 +175,24 @@ "type": "global", "fieldName": "parent_centre" } - ] + ], + "parameter_list": { + "icon_src": [ + { + "fullExpression": "@local.tip_icon", + "matchedExpression": "@local.tip_icon", + "type": "local", + "fieldName": "tip_icon" + } + ] + } }, "_dynamicDependencies": { "@global.parent_centre": [ "value" + ], + "@local.tip_icon": [ + "parameter_list.icon_src" ] } }, @@ -207,6 +231,11 @@ "flow_name": "essential_tool", "status": "released", "rows": [ + { + "name": "tool_style", + "type": "set_variable", + "_nested_name": "tool_style" + }, { "type": "display_group", "parameter_list": { @@ -934,6 +963,111 @@ "flow_name": "weekly_workshops", "status": "released", "rows": [ + { + "name": "quick_start_campaign", + "value": "@campaign.workshop_quick_start", + "type": "set_variable", + "_nested_name": "quick_start_campaign", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@campaign.workshop_quick_start", + "matchedExpression": "@campaign.workshop_quick_start", + "type": "campaign", + "fieldName": "workshop_quick_start" + } + ] + }, + "_dynamicDependencies": { + "@campaign.workshop_quick_start": [ + "value" + ] + } + }, + { + "name": "current_workshop_data", + "value": "@local.quick_start_campaign.workshop_data", + "type": "set_variable", + "_nested_name": "current_workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.quick_start_campaign.workshop_data", + "matchedExpression": "@local.quick_start_campaign.workshop_data", + "type": "local", + "fieldName": "quick_start_campaign" + } + ] + }, + "_dynamicDependencies": { + "@local.quick_start_campaign.workshop_data": [ + "value" + ] + } + }, + { + "name": "current_workshop", + "value": "@local.current_workshop_data.id", + "type": "set_variable", + "_nested_name": "current_workshop", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.current_workshop_data.id", + "matchedExpression": "@local.current_workshop_data.id", + "type": "local", + "fieldName": "current_workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.current_workshop_data.id": [ + "value" + ] + } + }, + { + "name": "current_workshop_in_text_title", + "value": "@local.current_workshop_data.in_text_title", + "type": "set_variable", + "_nested_name": "current_workshop_in_text_title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.current_workshop_data.in_text_title", + "matchedExpression": "@local.current_workshop_data.in_text_title", + "type": "local", + "fieldName": "current_workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.current_workshop_data.in_text_title": [ + "value" + ] + } + }, + { + "name": "current_workshop_number", + "value": "@local.current_workshop_data.number", + "type": "set_variable", + "_nested_name": "current_workshop_number", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.current_workshop_data.number", + "matchedExpression": "@local.current_workshop_data.number", + "type": "local", + "fieldName": "current_workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.current_workshop_data.number": [ + "value" + ] + } + }, { "type": "display_group", "name": "temp_name_1", @@ -996,193 +1130,255 @@ }, { "type": "tile_component", - "name": "quick_start_first_week", + "name": "quick_start_individual", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "do_this_workshop_together", - "@local.do_workshops_together" + false ], - "_raw": "click | set_field:do_this_workshop_together:@local.do_workshops_together", - "_cleaned": "click | set_field:do_this_workshop_together:@local.do_workshops_together" + "_raw": "click | set_field:do_this_workshop_together:false", + "_cleaned": "click | set_field:do_this_workshop_together:false" }, { "trigger": "click", - "action_id": "go_to", + "action_id": "trigger_actions", "args": [ - "w_self_care_stepper" + "@local.quick_start_campaign.click_action_list" ], - "_raw": "click | go_to:w_self_care_stepper", - "_cleaned": "click | go_to:w_self_care_stepper" + "_raw": "click | trigger_actions: @local.quick_start_campaign.click_action_list", + "_cleaned": "click | trigger_actions: @local.quick_start_campaign.click_action_list" } ], - "hidden": "@field.second_week", + "hidden": "@fields.do_workshops_together && \"@local.current_workshop\" != \"w_self_care\"", "parameter_list": { "style": "quick_start_dark", - "first_line_text": "Start workshop", - "second_line_text": "@global.w_self_care", - "icon_src": "plh_images/icons/play_white.svg" + "first_line_text": "Start @local.current_workshop_in_text_title", + "second_line_text": "@global.individual", + "icon_src": "@local.quick_start_campaign.icon" }, - "_nested_name": "quick_start_first_week", + "_nested_name": "quick_start_individual", "_dynamicFields": { "action_list": { - "0": { + "1": { "args": { - "1": [ + "0": [ { - "fullExpression": "@local.do_workshops_together", - "matchedExpression": "@local.do_workshops_together", + "fullExpression": "@local.quick_start_campaign.click_action_list", + "matchedExpression": "@local.quick_start_campaign.click_action_list", "type": "local", - "fieldName": "do_workshops_together" + "fieldName": "quick_start_campaign" } ] }, "_raw": [ { - "fullExpression": "click | set_field:do_this_workshop_together:@local.do_workshops_together", - "matchedExpression": "@local.do_workshops_together", + "fullExpression": "click | trigger_actions: @local.quick_start_campaign.click_action_list", + "matchedExpression": "@local.quick_start_campaign.click_action_list", "type": "local", - "fieldName": "do_workshops_together" + "fieldName": "quick_start_campaign" } ], "_cleaned": [ { - "fullExpression": "click | set_field:do_this_workshop_together:@local.do_workshops_together", - "matchedExpression": "@local.do_workshops_together", + "fullExpression": "click | trigger_actions: @local.quick_start_campaign.click_action_list", + "matchedExpression": "@local.quick_start_campaign.click_action_list", "type": "local", - "fieldName": "do_workshops_together" + "fieldName": "quick_start_campaign" } ] } }, "hidden": [ { - "fullExpression": "@field.second_week", - "matchedExpression": "@field.second_week", - "type": "field", - "fieldName": "second_week" + "fullExpression": "@fields.do_workshops_together && \"@local.current_workshop\" != \"w_self_care\"", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + }, + { + "fullExpression": "@fields.do_workshops_together && \"@local.current_workshop\" != \"w_self_care\"", + "matchedExpression": "@local.current_workshop", + "type": "local", + "fieldName": "current_workshop" } ], "parameter_list": { + "first_line_text": [ + { + "fullExpression": "Start @local.current_workshop_in_text_title", + "matchedExpression": "@local.current_workshop_in_text_title", + "type": "local", + "fieldName": "current_workshop_in_text_title" + } + ], "second_line_text": [ { - "fullExpression": "@global.w_self_care", - "matchedExpression": "@global.w_self_care", + "fullExpression": "@global.individual", + "matchedExpression": "@global.individual", "type": "global", - "fieldName": "w_self_care" + "fieldName": "individual" + } + ], + "icon_src": [ + { + "fullExpression": "@local.quick_start_campaign.icon", + "matchedExpression": "@local.quick_start_campaign.icon", + "type": "local", + "fieldName": "quick_start_campaign" } ] } }, "_dynamicDependencies": { - "@local.do_workshops_together": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@local.quick_start_campaign.click_action_list": [ + "action_list.1.args.0", + "action_list.1._raw", + "action_list.1._cleaned" ], - "@field.second_week": [ + "@fields.do_workshops_together": [ "hidden" ], - "@global.w_self_care": [ + "@local.current_workshop": [ + "hidden" + ], + "@local.current_workshop_in_text_title": [ + "parameter_list.first_line_text" + ], + "@global.individual": [ "parameter_list.second_line_text" + ], + "@local.quick_start_campaign.icon": [ + "parameter_list.icon_src" ] } }, { "type": "tile_component", - "name": "quick_start_second_week", + "name": "quick_start_together", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "do_this_workshop_together", - "@local.do_workshops_together" + true ], - "_raw": "click | set_field:do_this_workshop_together:@local.do_workshops_together", - "_cleaned": "click | set_field:do_this_workshop_together:@local.do_workshops_together" + "_raw": "click | set_field:do_this_workshop_together:true", + "_cleaned": "click | set_field:do_this_workshop_together:true" }, { "trigger": "click", - "action_id": "go_to", + "action_id": "trigger_actions", "args": [ - "w_1on1_stepper" + "@local.quick_start_campaign.click_action_list" ], - "_raw": "click | go_to:w_1on1_stepper", - "_cleaned": "click | go_to:w_1on1_stepper" + "_raw": "click | trigger_actions: @local.quick_start_campaign.click_action_list", + "_cleaned": "click | trigger_actions: @local.quick_start_campaign.click_action_list" } ], - "hidden": "!@field.second_week", + "hidden": "!@fields.do_workshops_together || \"@local.current_workshop\" == \"w_self_care\"", "parameter_list": { "style": "quick_start_dark", - "first_line_text": "Start workshop", - "second_line_text": "@global.w_1on1", - "icon_src": "plh_images/icons/play_white.svg" + "first_line_text": "Start @local.current_workshop_in_text_title", + "second_line_text": "@global.together", + "icon_src": "@local.quick_start_campaign.icon" }, - "_nested_name": "quick_start_second_week", + "_nested_name": "quick_start_together", "_dynamicFields": { "action_list": { - "0": { + "1": { "args": { - "1": [ + "0": [ { - "fullExpression": "@local.do_workshops_together", - "matchedExpression": "@local.do_workshops_together", + "fullExpression": "@local.quick_start_campaign.click_action_list", + "matchedExpression": "@local.quick_start_campaign.click_action_list", "type": "local", - "fieldName": "do_workshops_together" + "fieldName": "quick_start_campaign" } ] }, "_raw": [ { - "fullExpression": "click | set_field:do_this_workshop_together:@local.do_workshops_together", - "matchedExpression": "@local.do_workshops_together", + "fullExpression": "click | trigger_actions: @local.quick_start_campaign.click_action_list", + "matchedExpression": "@local.quick_start_campaign.click_action_list", "type": "local", - "fieldName": "do_workshops_together" + "fieldName": "quick_start_campaign" } ], "_cleaned": [ { - "fullExpression": "click | set_field:do_this_workshop_together:@local.do_workshops_together", - "matchedExpression": "@local.do_workshops_together", + "fullExpression": "click | trigger_actions: @local.quick_start_campaign.click_action_list", + "matchedExpression": "@local.quick_start_campaign.click_action_list", "type": "local", - "fieldName": "do_workshops_together" + "fieldName": "quick_start_campaign" } ] } }, "hidden": [ { - "fullExpression": "!@field.second_week", - "matchedExpression": "@field.second_week", - "type": "field", - "fieldName": "second_week" + "fullExpression": "!@fields.do_workshops_together || \"@local.current_workshop\" == \"w_self_care\"", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + }, + { + "fullExpression": "!@fields.do_workshops_together || \"@local.current_workshop\" == \"w_self_care\"", + "matchedExpression": "@local.current_workshop", + "type": "local", + "fieldName": "current_workshop" } ], "parameter_list": { + "first_line_text": [ + { + "fullExpression": "Start @local.current_workshop_in_text_title", + "matchedExpression": "@local.current_workshop_in_text_title", + "type": "local", + "fieldName": "current_workshop_in_text_title" + } + ], "second_line_text": [ { - "fullExpression": "@global.w_1on1", - "matchedExpression": "@global.w_1on1", + "fullExpression": "@global.together", + "matchedExpression": "@global.together", "type": "global", - "fieldName": "w_1on1" + "fieldName": "together" + } + ], + "icon_src": [ + { + "fullExpression": "@local.quick_start_campaign.icon", + "matchedExpression": "@local.quick_start_campaign.icon", + "type": "local", + "fieldName": "quick_start_campaign" } ] } }, "_dynamicDependencies": { - "@local.do_workshops_together": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@local.quick_start_campaign.click_action_list": [ + "action_list.1.args.0", + "action_list.1._raw", + "action_list.1._cleaned" ], - "@field.second_week": [ + "@fields.do_workshops_together": [ "hidden" ], - "@global.w_1on1": [ + "@local.current_workshop": [ + "hidden" + ], + "@local.current_workshop_in_text_title": [ + "parameter_list.first_line_text" + ], + "@global.together": [ "parameter_list.second_line_text" + ], + "@local.quick_start_campaign.icon": [ + "parameter_list.icon_src" ] } }, @@ -1190,18 +1386,18 @@ "type": "workshops_accordion", "name": "temp_name_222", "parameter_list": { - "current_workshop_num": "1" + "current_workshop_num": "@local.current_workshop_number" }, "rows": [ { "type": "accordion_section", "name": "temp_name_3", - "value": "@field.w_self_care_completion_level", + "value": "@fields.w_self_care_completion_level", "parameter_list": { "state": "closed", "title": "@global.w_self_care" }, - "disabled": "@field.w_self_care_disabled", + "disabled": "@fields.w_self_care_disabled", "rows": [ { "type": "template", @@ -1222,9 +1418,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_self_care_completion_level", - "matchedExpression": "@field.w_self_care_completion_level", - "type": "field", + "fullExpression": "@fields.w_self_care_completion_level", + "matchedExpression": "@fields.w_self_care_completion_level", + "type": "fields", "fieldName": "w_self_care_completion_level" } ], @@ -1240,21 +1436,21 @@ }, "disabled": [ { - "fullExpression": "@field.w_self_care_disabled", - "matchedExpression": "@field.w_self_care_disabled", - "type": "field", + "fullExpression": "@fields.w_self_care_disabled", + "matchedExpression": "@fields.w_self_care_disabled", + "type": "fields", "fieldName": "w_self_care_disabled" } ] }, "_dynamicDependencies": { - "@field.w_self_care_completion_level": [ + "@fields.w_self_care_completion_level": [ "value" ], "@global.w_self_care": [ "parameter_list.title" ], - "@field.w_self_care_disabled": [ + "@fields.w_self_care_disabled": [ "disabled" ] } @@ -1262,7 +1458,7 @@ { "type": "accordion_section", "name": "temp_name_4", - "value": "@field.w_1on1_completion_level", + "value": "@fields.w_1on1_completion_level", "action_list": [ { "trigger": "click", @@ -1299,7 +1495,7 @@ "title": "@global.w_1on1", "launch_when_locked": "true" }, - "disabled": "@field.w_1on1_disabled", + "disabled": "@fields.w_1on1_disabled", "rows": [ { "type": "template", @@ -1320,9 +1516,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_1on1_completion_level", - "matchedExpression": "@field.w_1on1_completion_level", - "type": "field", + "fullExpression": "@fields.w_1on1_completion_level", + "matchedExpression": "@fields.w_1on1_completion_level", + "type": "fields", "fieldName": "w_1on1_completion_level" } ], @@ -1368,15 +1564,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_1on1_disabled", - "matchedExpression": "@field.w_1on1_disabled", - "type": "field", + "fullExpression": "@fields.w_1on1_disabled", + "matchedExpression": "@fields.w_1on1_disabled", + "type": "fields", "fieldName": "w_1on1_disabled" } ] }, "_dynamicDependencies": { - "@field.w_1on1_completion_level": [ + "@fields.w_1on1_completion_level": [ "value" ], "@global.w_1on1": [ @@ -1385,7 +1581,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_1on1_disabled": [ + "@fields.w_1on1_disabled": [ "disabled" ] } @@ -1393,7 +1589,7 @@ { "type": "accordion_section", "name": "temp_name_5", - "value": "@field.w_praise_completion_level", + "value": "@fields.w_praise_completion_level", "action_list": [ { "trigger": "click", @@ -1430,7 +1626,7 @@ "title": "@global.w_praise", "launch_when_locked": "true" }, - "disabled": "@field.w_praise_disabled", + "disabled": "@fields.w_praise_disabled", "rows": [ { "type": "template", @@ -1451,9 +1647,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_praise_completion_level", - "matchedExpression": "@field.w_praise_completion_level", - "type": "field", + "fullExpression": "@fields.w_praise_completion_level", + "matchedExpression": "@fields.w_praise_completion_level", + "type": "fields", "fieldName": "w_praise_completion_level" } ], @@ -1499,15 +1695,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_praise_disabled", - "matchedExpression": "@field.w_praise_disabled", - "type": "field", + "fullExpression": "@fields.w_praise_disabled", + "matchedExpression": "@fields.w_praise_disabled", + "type": "fields", "fieldName": "w_praise_disabled" } ] }, "_dynamicDependencies": { - "@field.w_praise_completion_level": [ + "@fields.w_praise_completion_level": [ "value" ], "@global.w_praise": [ @@ -1516,7 +1712,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_praise_disabled": [ + "@fields.w_praise_disabled": [ "disabled" ] } @@ -1524,7 +1720,7 @@ { "type": "accordion_section", "name": "temp_name_6", - "value": "@field.w_instruct_completion_level", + "value": "@fields.w_instruct_completion_level", "action_list": [ { "trigger": "click", @@ -1561,7 +1757,7 @@ "launch_when_locked": "true", "title": "@global.w_instruct" }, - "disabled": "@field.w_instruct_disabled", + "disabled": "@fields.w_instruct_disabled", "rows": [ { "type": "template", @@ -1582,9 +1778,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_instruct_completion_level", - "matchedExpression": "@field.w_instruct_completion_level", - "type": "field", + "fullExpression": "@fields.w_instruct_completion_level", + "matchedExpression": "@fields.w_instruct_completion_level", + "type": "fields", "fieldName": "w_instruct_completion_level" } ], @@ -1630,15 +1826,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_instruct_disabled", - "matchedExpression": "@field.w_instruct_disabled", - "type": "field", + "fullExpression": "@fields.w_instruct_disabled", + "matchedExpression": "@fields.w_instruct_disabled", + "type": "fields", "fieldName": "w_instruct_disabled" } ] }, "_dynamicDependencies": { - "@field.w_instruct_completion_level": [ + "@fields.w_instruct_completion_level": [ "value" ], "@global.w_instruct": [ @@ -1647,7 +1843,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_instruct_disabled": [ + "@fields.w_instruct_disabled": [ "disabled" ] } @@ -1655,7 +1851,7 @@ { "type": "accordion_section", "name": "temp_name_7", - "value": "@field.w_stress_completion_level", + "value": "@fields.w_stress_completion_level", "action_list": [ { "trigger": "click", @@ -1692,7 +1888,7 @@ "launch_when_locked": "true", "title": "@global.w_stress" }, - "disabled": "@field.w_stress_disabled", + "disabled": "@fields.w_stress_disabled", "rows": [ { "type": "template", @@ -1713,9 +1909,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_stress_completion_level", - "matchedExpression": "@field.w_stress_completion_level", - "type": "field", + "fullExpression": "@fields.w_stress_completion_level", + "matchedExpression": "@fields.w_stress_completion_level", + "type": "fields", "fieldName": "w_stress_completion_level" } ], @@ -1761,15 +1957,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_stress_disabled", - "matchedExpression": "@field.w_stress_disabled", - "type": "field", + "fullExpression": "@fields.w_stress_disabled", + "matchedExpression": "@fields.w_stress_disabled", + "type": "fields", "fieldName": "w_stress_disabled" } ] }, "_dynamicDependencies": { - "@field.w_stress_completion_level": [ + "@fields.w_stress_completion_level": [ "value" ], "@global.w_stress": [ @@ -1778,7 +1974,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_stress_disabled": [ + "@fields.w_stress_disabled": [ "disabled" ] } @@ -1786,7 +1982,7 @@ { "type": "accordion_section", "name": "temp_name_8", - "value": "@field.w_money_completion_level", + "value": "@fields.w_money_completion_level", "action_list": [ { "trigger": "click", @@ -1823,7 +2019,7 @@ "title": "@global.w_money", "launch_when_locked": "true" }, - "disabled": "@field.w_money_disabled", + "disabled": "@fields.w_money_disabled", "rows": [ { "type": "template", @@ -1844,9 +2040,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_money_completion_level", - "matchedExpression": "@field.w_money_completion_level", - "type": "field", + "fullExpression": "@fields.w_money_completion_level", + "matchedExpression": "@fields.w_money_completion_level", + "type": "fields", "fieldName": "w_money_completion_level" } ], @@ -1892,15 +2088,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_money_disabled", - "matchedExpression": "@field.w_money_disabled", - "type": "field", + "fullExpression": "@fields.w_money_disabled", + "matchedExpression": "@fields.w_money_disabled", + "type": "fields", "fieldName": "w_money_disabled" } ] }, "_dynamicDependencies": { - "@field.w_money_completion_level": [ + "@fields.w_money_completion_level": [ "value" ], "@global.w_money": [ @@ -1909,7 +2105,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_money_disabled": [ + "@fields.w_money_disabled": [ "disabled" ] } @@ -1917,7 +2113,7 @@ { "type": "accordion_section", "name": "temp_name_9", - "value": "@field.w_rules_completion_level", + "value": "@fields.w_rules_completion_level", "action_list": [ { "trigger": "click", @@ -1954,7 +2150,7 @@ "title": "@global.w_rules", "launch_when_locked": "true" }, - "disabled": "@field.w_rules_disabled", + "disabled": "@fields.w_rules_disabled", "rows": [ { "type": "template", @@ -1975,9 +2171,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_rules_completion_level", - "matchedExpression": "@field.w_rules_completion_level", - "type": "field", + "fullExpression": "@fields.w_rules_completion_level", + "matchedExpression": "@fields.w_rules_completion_level", + "type": "fields", "fieldName": "w_rules_completion_level" } ], @@ -2023,15 +2219,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_rules_disabled", - "matchedExpression": "@field.w_rules_disabled", - "type": "field", + "fullExpression": "@fields.w_rules_disabled", + "matchedExpression": "@fields.w_rules_disabled", + "type": "fields", "fieldName": "w_rules_disabled" } ] }, "_dynamicDependencies": { - "@field.w_rules_completion_level": [ + "@fields.w_rules_completion_level": [ "value" ], "@global.w_rules": [ @@ -2040,7 +2236,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_rules_disabled": [ + "@fields.w_rules_disabled": [ "disabled" ] } @@ -2048,7 +2244,7 @@ { "type": "accordion_section", "name": "temp_name_10", - "value": "@field.w_consequence_completion_level", + "value": "@fields.w_consequence_completion_level", "action_list": [ { "trigger": "click", @@ -2085,7 +2281,7 @@ "title": "@global.w_consequence", "launch_when_locked": "true" }, - "disabled": "@field.w_consequence_disabled", + "disabled": "@fields.w_consequence_disabled", "rows": [ { "type": "template", @@ -2106,9 +2302,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_consequence_completion_level", - "matchedExpression": "@field.w_consequence_completion_level", - "type": "field", + "fullExpression": "@fields.w_consequence_completion_level", + "matchedExpression": "@fields.w_consequence_completion_level", + "type": "fields", "fieldName": "w_consequence_completion_level" } ], @@ -2154,15 +2350,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_consequence_disabled", - "matchedExpression": "@field.w_consequence_disabled", - "type": "field", + "fullExpression": "@fields.w_consequence_disabled", + "matchedExpression": "@fields.w_consequence_disabled", + "type": "fields", "fieldName": "w_consequence_disabled" } ] }, "_dynamicDependencies": { - "@field.w_consequence_completion_level": [ + "@fields.w_consequence_completion_level": [ "value" ], "@global.w_consequence": [ @@ -2171,7 +2367,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_consequence_disabled": [ + "@fields.w_consequence_disabled": [ "disabled" ] } @@ -2179,7 +2375,7 @@ { "type": "accordion_section", "name": "temp_name_11", - "value": "@field.w_solve_completion_level", + "value": "@fields.w_solve_completion_level", "action_list": [ { "trigger": "click", @@ -2216,7 +2412,7 @@ "title": "@global.w_solve", "launch_when_locked": "true" }, - "disabled": "@field.w_solve_disabled", + "disabled": "@fields.w_solve_disabled", "rows": [ { "type": "template", @@ -2237,9 +2433,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_solve_completion_level", - "matchedExpression": "@field.w_solve_completion_level", - "type": "field", + "fullExpression": "@fields.w_solve_completion_level", + "matchedExpression": "@fields.w_solve_completion_level", + "type": "fields", "fieldName": "w_solve_completion_level" } ], @@ -2285,15 +2481,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_solve_disabled", - "matchedExpression": "@field.w_solve_disabled", - "type": "field", + "fullExpression": "@fields.w_solve_disabled", + "matchedExpression": "@fields.w_solve_disabled", + "type": "fields", "fieldName": "w_solve_disabled" } ] }, "_dynamicDependencies": { - "@field.w_solve_completion_level": [ + "@fields.w_solve_completion_level": [ "value" ], "@global.w_solve": [ @@ -2302,7 +2498,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_solve_disabled": [ + "@fields.w_solve_disabled": [ "disabled" ] } @@ -2310,7 +2506,7 @@ { "type": "accordion_section", "name": "temp_name_12", - "value": "@field.w_safe_completion_level", + "value": "@fields.w_safe_completion_level", "action_list": [ { "trigger": "click", @@ -2347,7 +2543,7 @@ "title": "@global.w_safe", "launch_when_locked": "true" }, - "disabled": "@field.w_safe_disabled", + "disabled": "@fields.w_safe_disabled", "rows": [ { "type": "template", @@ -2368,9 +2564,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_safe_completion_level", - "matchedExpression": "@field.w_safe_completion_level", - "type": "field", + "fullExpression": "@fields.w_safe_completion_level", + "matchedExpression": "@fields.w_safe_completion_level", + "type": "fields", "fieldName": "w_safe_completion_level" } ], @@ -2416,15 +2612,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_safe_disabled", - "matchedExpression": "@field.w_safe_disabled", - "type": "field", + "fullExpression": "@fields.w_safe_disabled", + "matchedExpression": "@fields.w_safe_disabled", + "type": "fields", "fieldName": "w_safe_disabled" } ] }, "_dynamicDependencies": { - "@field.w_safe_completion_level": [ + "@fields.w_safe_completion_level": [ "value" ], "@global.w_safe": [ @@ -2433,7 +2629,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_safe_disabled": [ + "@fields.w_safe_disabled": [ "disabled" ] } @@ -2441,7 +2637,7 @@ { "type": "accordion_section", "name": "temp_name_13", - "value": "@field.w_crisis_completion_level", + "value": "@fields.w_crisis_completion_level", "action_list": [ { "trigger": "click", @@ -2478,7 +2674,7 @@ "title": "@global.w_crisis", "launch_when_locked": "true" }, - "disabled": "@field.w_crisis_disabled", + "disabled": "@fields.w_crisis_disabled", "rows": [ { "type": "template", @@ -2499,9 +2695,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_crisis_completion_level", - "matchedExpression": "@field.w_crisis_completion_level", - "type": "field", + "fullExpression": "@fields.w_crisis_completion_level", + "matchedExpression": "@fields.w_crisis_completion_level", + "type": "fields", "fieldName": "w_crisis_completion_level" } ], @@ -2547,15 +2743,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_crisis_disabled", - "matchedExpression": "@field.w_crisis_disabled", - "type": "field", + "fullExpression": "@fields.w_crisis_disabled", + "matchedExpression": "@fields.w_crisis_disabled", + "type": "fields", "fieldName": "w_crisis_disabled" } ] }, "_dynamicDependencies": { - "@field.w_crisis_completion_level": [ + "@fields.w_crisis_completion_level": [ "value" ], "@global.w_crisis": [ @@ -2564,7 +2760,7 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_crisis_disabled": [ + "@fields.w_crisis_disabled": [ "disabled" ] } @@ -2572,7 +2768,7 @@ { "type": "accordion_section", "name": "temp_name_14", - "value": "@field.w_celebrate_completion_level", + "value": "@fields.w_celebrate_completion_level", "action_list": [ { "trigger": "click", @@ -2609,7 +2805,7 @@ "title": "@global.w_celebrate", "launch_when_locked": "true" }, - "disabled": "@field.w_celebrate_disabled", + "disabled": "@fields.w_celebrate_disabled", "rows": [ { "type": "template", @@ -2630,9 +2826,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.w_celebrate_completion_level", - "matchedExpression": "@field.w_celebrate_completion_level", - "type": "field", + "fullExpression": "@fields.w_celebrate_completion_level", + "matchedExpression": "@fields.w_celebrate_completion_level", + "type": "fields", "fieldName": "w_celebrate_completion_level" } ], @@ -2678,15 +2874,15 @@ }, "disabled": [ { - "fullExpression": "@field.w_celebrate_disabled", - "matchedExpression": "@field.w_celebrate_disabled", - "type": "field", + "fullExpression": "@fields.w_celebrate_disabled", + "matchedExpression": "@fields.w_celebrate_disabled", + "type": "fields", "fieldName": "w_celebrate_disabled" } ] }, "_dynamicDependencies": { - "@field.w_celebrate_completion_level": [ + "@fields.w_celebrate_completion_level": [ "value" ], "@global.w_celebrate": [ @@ -2695,13 +2891,30 @@ "action_list.0._cleaned", "parameter_list.title" ], - "@field.w_celebrate_disabled": [ + "@fields.w_celebrate_disabled": [ "disabled" ] } } ], - "_nested_name": "temp_name_222" + "_nested_name": "temp_name_222", + "_dynamicFields": { + "parameter_list": { + "current_workshop_num": [ + { + "fullExpression": "@local.current_workshop_number", + "matchedExpression": "@local.current_workshop_number", + "type": "local", + "fieldName": "current_workshop_number" + } + ] + } + }, + "_dynamicDependencies": { + "@local.current_workshop_number": [ + "parameter_list.current_workshop_num" + ] + } } ], "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_navigation.xlsx" @@ -3488,7 +3701,7 @@ { "type": "text", "name": "option_1", - "value": "Name: @field.user_name", + "value": "Name: @fields.user_name", "parameter_list": { "style": "emphasised" }, @@ -3496,15 +3709,15 @@ "_dynamicFields": { "value": [ { - "fullExpression": "Name: @field.user_name", - "matchedExpression": "@field.user_name", - "type": "field", + "fullExpression": "Name: @fields.user_name", + "matchedExpression": "@fields.user_name", + "type": "fields", "fieldName": "user_name" } ] }, "_dynamicDependencies": { - "@field.user_name": [ + "@fields.user_name": [ "value" ] } @@ -3594,7 +3807,7 @@ { "type": "combo_box", "name": "combo_box_2", - "value": "@field.workshop_day", + "value": "@fields.workshop_day", "action_list": [ { "trigger": "changed", @@ -3614,9 +3827,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.workshop_day", - "matchedExpression": "@field.workshop_day", - "type": "field", + "fullExpression": "@fields.workshop_day", + "matchedExpression": "@fields.workshop_day", + "type": "fields", "fieldName": "workshop_day" } ], @@ -3662,7 +3875,7 @@ } }, "_dynamicDependencies": { - "@field.workshop_day": [ + "@fields.workshop_day": [ "value" ], "@local.combo_box_2": [ @@ -3687,7 +3900,7 @@ { "type": "combo_box", "name": "combo_box_3", - "value": "@field.current_workshop", + "value": "@fields.current_workshop", "action_list": [ { "trigger": "changed", @@ -3707,9 +3920,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.current_workshop", - "matchedExpression": "@field.current_workshop", - "type": "field", + "fullExpression": "@fields.current_workshop", + "matchedExpression": "@fields.current_workshop", + "type": "fields", "fieldName": "current_workshop" } ], @@ -3755,7 +3968,7 @@ } }, "_dynamicDependencies": { - "@field.current_workshop": [ + "@fields.current_workshop": [ "value" ], "@local.combo_box_3": [ @@ -3852,8 +4065,8 @@ { "type": "text", "name": "option_5", - "value": "Group Name: @field.group_name", - "hidden": "!@field.do_workshops_together", + "value": "Group Name: @fields.group_name", + "hidden": "!@fields.do_workshops_together", "parameter_list": { "style": "emphasised" }, @@ -3861,26 +4074,26 @@ "_dynamicFields": { "value": [ { - "fullExpression": "Group Name: @field.group_name", - "matchedExpression": "@field.group_name", - "type": "field", + "fullExpression": "Group Name: @fields.group_name", + "matchedExpression": "@fields.group_name", + "type": "fields", "fieldName": "group_name" } ], "hidden": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.group_name": [ + "@fields.group_name": [ "value" ], - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "hidden" ] } @@ -3900,7 +4113,7 @@ "_cleaned": "changed | set_field:group_name:@local.text_box_5" } ], - "hidden": "!@field.do_workshops_together", + "hidden": "!@fields.do_workshops_together", "parameter_list": { "text_align": "center", "placeholder": "@global.tap_and_type" @@ -3939,9 +4152,9 @@ }, "hidden": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ], @@ -3962,7 +4175,7 @@ "action_list.0._raw", "action_list.0._cleaned" ], - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "hidden" ], "@global.tap_and_type": [ @@ -4085,27 +4298,27 @@ { "type": "parent_point_box", "name": "parent_point_relax", - "value": "@field.total_parent_point_relax", + "value": "@fields.total_parent_point_relax", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_relax", - "@field.total_parent_point_relax+1" + "@fields.total_parent_point_relax+1" ], - "_raw": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", - "_cleaned": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1" + "_raw": "click | set_field: total_parent_point_relax: @fields.total_parent_point_relax+1", + "_cleaned": "click | set_field: total_parent_point_relax: @fields.total_parent_point_relax+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_relax", - "@field.weekly_parent_point_relax+1" + "@fields.weekly_parent_point_relax+1" ], - "_raw": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", - "_cleaned": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1" + "_raw": "click | set_field: weekly_parent_point_relax: @fields.weekly_parent_point_relax+1", + "_cleaned": "click | set_field: weekly_parent_point_relax: @fields.weekly_parent_point_relax+1" } ], "parameter_list": { @@ -4116,9 +4329,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_relax", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", + "fullExpression": "@fields.total_parent_point_relax", + "matchedExpression": "@fields.total_parent_point_relax", + "type": "fields", "fieldName": "total_parent_point_relax" } ], @@ -4127,26 +4340,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_relax+1", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", + "fullExpression": "@fields.total_parent_point_relax+1", + "matchedExpression": "@fields.total_parent_point_relax", + "type": "fields", "fieldName": "total_parent_point_relax" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_relax: @fields.total_parent_point_relax+1", + "matchedExpression": "@fields.total_parent_point_relax", + "type": "fields", "fieldName": "total_parent_point_relax" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_relax: @fields.total_parent_point_relax+1", + "matchedExpression": "@fields.total_parent_point_relax", + "type": "fields", "fieldName": "total_parent_point_relax" } ] @@ -4155,26 +4368,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_relax+1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_relax+1", + "matchedExpression": "@fields.weekly_parent_point_relax", + "type": "fields", "fieldName": "weekly_parent_point_relax" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_relax: @fields.weekly_parent_point_relax+1", + "matchedExpression": "@fields.weekly_parent_point_relax", + "type": "fields", "fieldName": "weekly_parent_point_relax" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_relax: @fields.weekly_parent_point_relax+1", + "matchedExpression": "@fields.weekly_parent_point_relax", + "type": "fields", "fieldName": "weekly_parent_point_relax" } ] @@ -4192,13 +4405,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_relax": [ + "@fields.total_parent_point_relax": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_relax": [ + "@fields.weekly_parent_point_relax": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -4211,27 +4424,27 @@ { "type": "parent_point_box", "name": "parent_point_treat_yourself", - "value": "@field.total_parent_point_treat_yourself", + "value": "@fields.total_parent_point_treat_yourself", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_treat_yourself", - "@field.total_parent_point_treat_yourself+1" + "@fields.total_parent_point_treat_yourself+1" ], - "_raw": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", - "_cleaned": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1" + "_raw": "click | set_field: total_parent_point_treat_yourself: @fields.total_parent_point_treat_yourself+1", + "_cleaned": "click | set_field: total_parent_point_treat_yourself: @fields.total_parent_point_treat_yourself+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_treat_yourself", - "@field.weekly_parent_point_treat_yourself+1" + "@fields.weekly_parent_point_treat_yourself+1" ], - "_raw": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", - "_cleaned": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1" + "_raw": "click | set_field: weekly_parent_point_treat_yourself: @fields.weekly_parent_point_treat_yourself+1", + "_cleaned": "click | set_field: weekly_parent_point_treat_yourself: @fields.weekly_parent_point_treat_yourself+1" } ], "parameter_list": { @@ -4242,9 +4455,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_treat_yourself", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", + "fullExpression": "@fields.total_parent_point_treat_yourself", + "matchedExpression": "@fields.total_parent_point_treat_yourself", + "type": "fields", "fieldName": "total_parent_point_treat_yourself" } ], @@ -4253,26 +4466,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_treat_yourself+1", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", + "fullExpression": "@fields.total_parent_point_treat_yourself+1", + "matchedExpression": "@fields.total_parent_point_treat_yourself", + "type": "fields", "fieldName": "total_parent_point_treat_yourself" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_treat_yourself: @fields.total_parent_point_treat_yourself+1", + "matchedExpression": "@fields.total_parent_point_treat_yourself", + "type": "fields", "fieldName": "total_parent_point_treat_yourself" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_treat_yourself: @fields.total_parent_point_treat_yourself+1", + "matchedExpression": "@fields.total_parent_point_treat_yourself", + "type": "fields", "fieldName": "total_parent_point_treat_yourself" } ] @@ -4281,26 +4494,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_treat_yourself+1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_treat_yourself+1", + "matchedExpression": "@fields.weekly_parent_point_treat_yourself", + "type": "fields", "fieldName": "weekly_parent_point_treat_yourself" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @fields.weekly_parent_point_treat_yourself+1", + "matchedExpression": "@fields.weekly_parent_point_treat_yourself", + "type": "fields", "fieldName": "weekly_parent_point_treat_yourself" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @fields.weekly_parent_point_treat_yourself+1", + "matchedExpression": "@fields.weekly_parent_point_treat_yourself", + "type": "fields", "fieldName": "weekly_parent_point_treat_yourself" } ] @@ -4318,13 +4531,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_treat_yourself": [ + "@fields.total_parent_point_treat_yourself": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_treat_yourself": [ + "@fields.weekly_parent_point_treat_yourself": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -4337,27 +4550,27 @@ { "type": "parent_point_box", "name": "parent_point_praise_yourself", - "value": "@field.total_parent_point_praise_yourself", + "value": "@fields.total_parent_point_praise_yourself", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_praise_yourself", - "@field.total_parent_point_praise_yourself+1" + "@fields.total_parent_point_praise_yourself+1" ], - "_raw": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", - "_cleaned": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1" + "_raw": "click | set_field: total_parent_point_praise_yourself: @fields.total_parent_point_praise_yourself+1", + "_cleaned": "click | set_field: total_parent_point_praise_yourself: @fields.total_parent_point_praise_yourself+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_praise_yourself", - "@field.weekly_parent_point_praise_yourself+1" + "@fields.weekly_parent_point_praise_yourself+1" ], - "_raw": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", - "_cleaned": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1" + "_raw": "click | set_field: weekly_parent_point_praise_yourself: @fields.weekly_parent_point_praise_yourself+1", + "_cleaned": "click | set_field: weekly_parent_point_praise_yourself: @fields.weekly_parent_point_praise_yourself+1" } ], "parameter_list": { @@ -4368,9 +4581,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_praise_yourself", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", + "fullExpression": "@fields.total_parent_point_praise_yourself", + "matchedExpression": "@fields.total_parent_point_praise_yourself", + "type": "fields", "fieldName": "total_parent_point_praise_yourself" } ], @@ -4379,26 +4592,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_praise_yourself+1", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", + "fullExpression": "@fields.total_parent_point_praise_yourself+1", + "matchedExpression": "@fields.total_parent_point_praise_yourself", + "type": "fields", "fieldName": "total_parent_point_praise_yourself" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_praise_yourself: @fields.total_parent_point_praise_yourself+1", + "matchedExpression": "@fields.total_parent_point_praise_yourself", + "type": "fields", "fieldName": "total_parent_point_praise_yourself" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_praise_yourself: @fields.total_parent_point_praise_yourself+1", + "matchedExpression": "@fields.total_parent_point_praise_yourself", + "type": "fields", "fieldName": "total_parent_point_praise_yourself" } ] @@ -4407,26 +4620,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_praise_yourself+1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_praise_yourself+1", + "matchedExpression": "@fields.weekly_parent_point_praise_yourself", + "type": "fields", "fieldName": "weekly_parent_point_praise_yourself" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @fields.weekly_parent_point_praise_yourself+1", + "matchedExpression": "@fields.weekly_parent_point_praise_yourself", + "type": "fields", "fieldName": "weekly_parent_point_praise_yourself" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @fields.weekly_parent_point_praise_yourself+1", + "matchedExpression": "@fields.weekly_parent_point_praise_yourself", + "type": "fields", "fieldName": "weekly_parent_point_praise_yourself" } ] @@ -4444,13 +4657,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_praise_yourself": [ + "@fields.total_parent_point_praise_yourself": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_praise_yourself": [ + "@fields.weekly_parent_point_praise_yourself": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -4463,27 +4676,27 @@ { "type": "parent_point_box", "name": "parent_point_spend_time", - "value": "@field.total_parent_point_spend_time", + "value": "@fields.total_parent_point_spend_time", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_spend_time", - "@field.total_parent_point_spend_time+1" + "@fields.total_parent_point_spend_time+1" ], - "_raw": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "_cleaned": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1" + "_raw": "click | set_field: total_parent_point_spend_time: @fields.total_parent_point_spend_time+1", + "_cleaned": "click | set_field: total_parent_point_spend_time: @fields.total_parent_point_spend_time+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_spend_time", - "@field.weekly_parent_point_spend_time+1" + "@fields.weekly_parent_point_spend_time+1" ], - "_raw": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "_cleaned": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1" + "_raw": "click | set_field: weekly_parent_point_spend_time: @fields.weekly_parent_point_spend_time+1", + "_cleaned": "click | set_field: weekly_parent_point_spend_time: @fields.weekly_parent_point_spend_time+1" } ], "parameter_list": { @@ -4494,9 +4707,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_spend_time", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", + "fullExpression": "@fields.total_parent_point_spend_time", + "matchedExpression": "@fields.total_parent_point_spend_time", + "type": "fields", "fieldName": "total_parent_point_spend_time" } ], @@ -4505,26 +4718,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", + "fullExpression": "@fields.total_parent_point_spend_time+1", + "matchedExpression": "@fields.total_parent_point_spend_time", + "type": "fields", "fieldName": "total_parent_point_spend_time" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_spend_time: @fields.total_parent_point_spend_time+1", + "matchedExpression": "@fields.total_parent_point_spend_time", + "type": "fields", "fieldName": "total_parent_point_spend_time" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_spend_time: @fields.total_parent_point_spend_time+1", + "matchedExpression": "@fields.total_parent_point_spend_time", + "type": "fields", "fieldName": "total_parent_point_spend_time" } ] @@ -4533,26 +4746,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_spend_time+1", + "matchedExpression": "@fields.weekly_parent_point_spend_time", + "type": "fields", "fieldName": "weekly_parent_point_spend_time" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_spend_time: @fields.weekly_parent_point_spend_time+1", + "matchedExpression": "@fields.weekly_parent_point_spend_time", + "type": "fields", "fieldName": "weekly_parent_point_spend_time" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_spend_time: @fields.weekly_parent_point_spend_time+1", + "matchedExpression": "@fields.weekly_parent_point_spend_time", + "type": "fields", "fieldName": "weekly_parent_point_spend_time" } ] @@ -4570,13 +4783,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_spend_time": [ + "@fields.total_parent_point_spend_time": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_spend_time": [ + "@fields.weekly_parent_point_spend_time": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -4589,27 +4802,27 @@ { "type": "parent_point_box", "name": "parent_point_praise_teen", - "value": "@field.total_parent_point_praise_teen", + "value": "@fields.total_parent_point_praise_teen", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_praise_teen", - "@field.total_parent_point_praise_teen+1" + "@fields.total_parent_point_praise_teen+1" ], - "_raw": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", - "_cleaned": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1" + "_raw": "click | set_field: total_parent_point_praise_teen: @fields.total_parent_point_praise_teen+1", + "_cleaned": "click | set_field: total_parent_point_praise_teen: @fields.total_parent_point_praise_teen+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_praise_teen", - "@field.weekly_parent_point_praise_teen+1" + "@fields.weekly_parent_point_praise_teen+1" ], - "_raw": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", - "_cleaned": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1" + "_raw": "click | set_field: weekly_parent_point_praise_teen: @fields.weekly_parent_point_praise_teen+1", + "_cleaned": "click | set_field: weekly_parent_point_praise_teen: @fields.weekly_parent_point_praise_teen+1" } ], "parameter_list": { @@ -4620,9 +4833,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_praise_teen", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", + "fullExpression": "@fields.total_parent_point_praise_teen", + "matchedExpression": "@fields.total_parent_point_praise_teen", + "type": "fields", "fieldName": "total_parent_point_praise_teen" } ], @@ -4631,26 +4844,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_praise_teen+1", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", + "fullExpression": "@fields.total_parent_point_praise_teen+1", + "matchedExpression": "@fields.total_parent_point_praise_teen", + "type": "fields", "fieldName": "total_parent_point_praise_teen" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_praise_teen: @fields.total_parent_point_praise_teen+1", + "matchedExpression": "@fields.total_parent_point_praise_teen", + "type": "fields", "fieldName": "total_parent_point_praise_teen" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_praise_teen: @fields.total_parent_point_praise_teen+1", + "matchedExpression": "@fields.total_parent_point_praise_teen", + "type": "fields", "fieldName": "total_parent_point_praise_teen" } ] @@ -4659,26 +4872,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_praise_teen+1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_praise_teen+1", + "matchedExpression": "@fields.weekly_parent_point_praise_teen", + "type": "fields", "fieldName": "weekly_parent_point_praise_teen" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @fields.weekly_parent_point_praise_teen+1", + "matchedExpression": "@fields.weekly_parent_point_praise_teen", + "type": "fields", "fieldName": "weekly_parent_point_praise_teen" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @fields.weekly_parent_point_praise_teen+1", + "matchedExpression": "@fields.weekly_parent_point_praise_teen", + "type": "fields", "fieldName": "weekly_parent_point_praise_teen" } ] @@ -4696,13 +4909,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_praise_teen": [ + "@fields.total_parent_point_praise_teen": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_praise_teen": [ + "@fields.weekly_parent_point_praise_teen": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -4715,27 +4928,27 @@ { "type": "parent_point_box", "name": "parent_point_instruct_positively", - "value": "@field.total_parent_point_instruct_positively", + "value": "@fields.total_parent_point_instruct_positively", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_instruct_positively", - "@field.total_parent_point_instruct_positively+1" + "@fields.total_parent_point_instruct_positively+1" ], - "_raw": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", - "_cleaned": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1" + "_raw": "click | set_field: total_parent_point_instruct_positively: @fields.total_parent_point_instruct_positively+1", + "_cleaned": "click | set_field: total_parent_point_instruct_positively: @fields.total_parent_point_instruct_positively+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_instruct_positively", - "@field.weekly_parent_point_instruct_positively+1" + "@fields.weekly_parent_point_instruct_positively+1" ], - "_raw": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", - "_cleaned": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1" + "_raw": "click | set_field: weekly_parent_point_instruct_positively: @fields.weekly_parent_point_instruct_positively+1", + "_cleaned": "click | set_field: weekly_parent_point_instruct_positively: @fields.weekly_parent_point_instruct_positively+1" } ], "parameter_list": { @@ -4746,9 +4959,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_instruct_positively", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", + "fullExpression": "@fields.total_parent_point_instruct_positively", + "matchedExpression": "@fields.total_parent_point_instruct_positively", + "type": "fields", "fieldName": "total_parent_point_instruct_positively" } ], @@ -4757,26 +4970,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_instruct_positively+1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", + "fullExpression": "@fields.total_parent_point_instruct_positively+1", + "matchedExpression": "@fields.total_parent_point_instruct_positively", + "type": "fields", "fieldName": "total_parent_point_instruct_positively" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_instruct_positively: @fields.total_parent_point_instruct_positively+1", + "matchedExpression": "@fields.total_parent_point_instruct_positively", + "type": "fields", "fieldName": "total_parent_point_instruct_positively" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_instruct_positively: @fields.total_parent_point_instruct_positively+1", + "matchedExpression": "@fields.total_parent_point_instruct_positively", + "type": "fields", "fieldName": "total_parent_point_instruct_positively" } ] @@ -4785,26 +4998,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_instruct_positively+1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_instruct_positively+1", + "matchedExpression": "@fields.weekly_parent_point_instruct_positively", + "type": "fields", "fieldName": "weekly_parent_point_instruct_positively" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @fields.weekly_parent_point_instruct_positively+1", + "matchedExpression": "@fields.weekly_parent_point_instruct_positively", + "type": "fields", "fieldName": "weekly_parent_point_instruct_positively" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @fields.weekly_parent_point_instruct_positively+1", + "matchedExpression": "@fields.weekly_parent_point_instruct_positively", + "type": "fields", "fieldName": "weekly_parent_point_instruct_positively" } ] @@ -4822,13 +5035,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_instruct_positively": [ + "@fields.total_parent_point_instruct_positively": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_instruct_positively": [ + "@fields.weekly_parent_point_instruct_positively": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -4841,27 +5054,27 @@ { "type": "parent_point_box", "name": "parent_point_breathe", - "value": "@field.total_parent_point_breathe", + "value": "@fields.total_parent_point_breathe", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_breathe", - "@field.total_parent_point_breathe+1" + "@fields.total_parent_point_breathe+1" ], - "_raw": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", - "_cleaned": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1" + "_raw": "click | set_field: total_parent_point_breathe: @fields.total_parent_point_breathe+1", + "_cleaned": "click | set_field: total_parent_point_breathe: @fields.total_parent_point_breathe+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_breathe", - "@field.weekly_parent_point_breathe+1" + "@fields.weekly_parent_point_breathe+1" ], - "_raw": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", - "_cleaned": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1" + "_raw": "click | set_field: weekly_parent_point_breathe: @fields.weekly_parent_point_breathe+1", + "_cleaned": "click | set_field: weekly_parent_point_breathe: @fields.weekly_parent_point_breathe+1" } ], "parameter_list": { @@ -4872,9 +5085,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_breathe", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", + "fullExpression": "@fields.total_parent_point_breathe", + "matchedExpression": "@fields.total_parent_point_breathe", + "type": "fields", "fieldName": "total_parent_point_breathe" } ], @@ -4883,26 +5096,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_breathe+1", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", + "fullExpression": "@fields.total_parent_point_breathe+1", + "matchedExpression": "@fields.total_parent_point_breathe", + "type": "fields", "fieldName": "total_parent_point_breathe" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_breathe: @fields.total_parent_point_breathe+1", + "matchedExpression": "@fields.total_parent_point_breathe", + "type": "fields", "fieldName": "total_parent_point_breathe" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_breathe: @fields.total_parent_point_breathe+1", + "matchedExpression": "@fields.total_parent_point_breathe", + "type": "fields", "fieldName": "total_parent_point_breathe" } ] @@ -4911,26 +5124,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_breathe+1", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_breathe+1", + "matchedExpression": "@fields.weekly_parent_point_breathe", + "type": "fields", "fieldName": "weekly_parent_point_breathe" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_breathe: @fields.weekly_parent_point_breathe+1", + "matchedExpression": "@fields.weekly_parent_point_breathe", + "type": "fields", "fieldName": "weekly_parent_point_breathe" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_breathe: @fields.weekly_parent_point_breathe+1", + "matchedExpression": "@fields.weekly_parent_point_breathe", + "type": "fields", "fieldName": "weekly_parent_point_breathe" } ] @@ -4948,13 +5161,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_breathe": [ + "@fields.total_parent_point_breathe": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_breathe": [ + "@fields.weekly_parent_point_breathe": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -4967,27 +5180,27 @@ { "type": "parent_point_box", "name": "parent_point_money", - "value": "@field.total_parent_point_money", + "value": "@fields.total_parent_point_money", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_money", - "@field.total_parent_point_money+1" + "@fields.total_parent_point_money+1" ], - "_raw": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", - "_cleaned": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1" + "_raw": "click | set_field: total_parent_point_money: @fields.total_parent_point_money+1", + "_cleaned": "click | set_field: total_parent_point_money: @fields.total_parent_point_money+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_money", - "@field.weekly_parent_point_money+1" + "@fields.weekly_parent_point_money+1" ], - "_raw": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", - "_cleaned": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1" + "_raw": "click | set_field: weekly_parent_point_money: @fields.weekly_parent_point_money+1", + "_cleaned": "click | set_field: weekly_parent_point_money: @fields.weekly_parent_point_money+1" } ], "parameter_list": { @@ -4998,9 +5211,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_money", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", + "fullExpression": "@fields.total_parent_point_money", + "matchedExpression": "@fields.total_parent_point_money", + "type": "fields", "fieldName": "total_parent_point_money" } ], @@ -5009,26 +5222,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_money+1", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", + "fullExpression": "@fields.total_parent_point_money+1", + "matchedExpression": "@fields.total_parent_point_money", + "type": "fields", "fieldName": "total_parent_point_money" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_money: @fields.total_parent_point_money+1", + "matchedExpression": "@fields.total_parent_point_money", + "type": "fields", "fieldName": "total_parent_point_money" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_money: @fields.total_parent_point_money+1", + "matchedExpression": "@fields.total_parent_point_money", + "type": "fields", "fieldName": "total_parent_point_money" } ] @@ -5037,26 +5250,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_money+1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_money+1", + "matchedExpression": "@fields.weekly_parent_point_money", + "type": "fields", "fieldName": "weekly_parent_point_money" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_money: @fields.weekly_parent_point_money+1", + "matchedExpression": "@fields.weekly_parent_point_money", + "type": "fields", "fieldName": "weekly_parent_point_money" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_money: @fields.weekly_parent_point_money+1", + "matchedExpression": "@fields.weekly_parent_point_money", + "type": "fields", "fieldName": "weekly_parent_point_money" } ] @@ -5074,13 +5287,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_money": [ + "@fields.total_parent_point_money": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_money": [ + "@fields.weekly_parent_point_money": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -5093,27 +5306,27 @@ { "type": "parent_point_box", "name": "parent_point_consequence", - "value": "@field.total_parent_point_consequence", + "value": "@fields.total_parent_point_consequence", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_consequence", - "@field.total_parent_point_consequence+1" + "@fields.total_parent_point_consequence+1" ], - "_raw": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", - "_cleaned": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1" + "_raw": "click | set_field: total_parent_point_consequence: @fields.total_parent_point_consequence+1", + "_cleaned": "click | set_field: total_parent_point_consequence: @fields.total_parent_point_consequence+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_consequence", - "@field.weekly_parent_point_consequence+1" + "@fields.weekly_parent_point_consequence+1" ], - "_raw": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", - "_cleaned": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1" + "_raw": "click | set_field: weekly_parent_point_consequence: @fields.weekly_parent_point_consequence+1", + "_cleaned": "click | set_field: weekly_parent_point_consequence: @fields.weekly_parent_point_consequence+1" } ], "parameter_list": { @@ -5124,9 +5337,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_consequence", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", + "fullExpression": "@fields.total_parent_point_consequence", + "matchedExpression": "@fields.total_parent_point_consequence", + "type": "fields", "fieldName": "total_parent_point_consequence" } ], @@ -5135,26 +5348,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_consequence+1", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", + "fullExpression": "@fields.total_parent_point_consequence+1", + "matchedExpression": "@fields.total_parent_point_consequence", + "type": "fields", "fieldName": "total_parent_point_consequence" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_consequence: @fields.total_parent_point_consequence+1", + "matchedExpression": "@fields.total_parent_point_consequence", + "type": "fields", "fieldName": "total_parent_point_consequence" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_consequence: @fields.total_parent_point_consequence+1", + "matchedExpression": "@fields.total_parent_point_consequence", + "type": "fields", "fieldName": "total_parent_point_consequence" } ] @@ -5163,26 +5376,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_consequence+1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_consequence+1", + "matchedExpression": "@fields.weekly_parent_point_consequence", + "type": "fields", "fieldName": "weekly_parent_point_consequence" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_consequence: @fields.weekly_parent_point_consequence+1", + "matchedExpression": "@fields.weekly_parent_point_consequence", + "type": "fields", "fieldName": "weekly_parent_point_consequence" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_consequence: @fields.weekly_parent_point_consequence+1", + "matchedExpression": "@fields.weekly_parent_point_consequence", + "type": "fields", "fieldName": "weekly_parent_point_consequence" } ] @@ -5200,13 +5413,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_consequence": [ + "@fields.total_parent_point_consequence": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_consequence": [ + "@fields.weekly_parent_point_consequence": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -5219,27 +5432,27 @@ { "type": "parent_point_box", "name": "parent_point_safe", - "value": "@field.total_parent_point_safe", + "value": "@fields.total_parent_point_safe", "action_list": [ { "trigger": "click", "action_id": "set_field", "args": [ "total_parent_point_safe", - "@field.total_parent_point_safe+1" + "@fields.total_parent_point_safe+1" ], - "_raw": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", - "_cleaned": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1" + "_raw": "click | set_field: total_parent_point_safe: @fields.total_parent_point_safe+1", + "_cleaned": "click | set_field: total_parent_point_safe: @fields.total_parent_point_safe+1" }, { "trigger": "click", "action_id": "set_field", "args": [ "weekly_parent_point_safe", - "@field.weekly_parent_point_safe+1" + "@fields.weekly_parent_point_safe+1" ], - "_raw": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", - "_cleaned": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1" + "_raw": "click | set_field: weekly_parent_point_safe: @fields.weekly_parent_point_safe+1", + "_cleaned": "click | set_field: weekly_parent_point_safe: @fields.weekly_parent_point_safe+1" } ], "parameter_list": { @@ -5250,9 +5463,9 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@field.total_parent_point_safe", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", + "fullExpression": "@fields.total_parent_point_safe", + "matchedExpression": "@fields.total_parent_point_safe", + "type": "fields", "fieldName": "total_parent_point_safe" } ], @@ -5261,26 +5474,26 @@ "args": { "1": [ { - "fullExpression": "@field.total_parent_point_safe+1", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", + "fullExpression": "@fields.total_parent_point_safe+1", + "matchedExpression": "@fields.total_parent_point_safe", + "type": "fields", "fieldName": "total_parent_point_safe" } ] }, "_raw": [ { - "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_safe: @fields.total_parent_point_safe+1", + "matchedExpression": "@fields.total_parent_point_safe", + "type": "fields", "fieldName": "total_parent_point_safe" } ], "_cleaned": [ { - "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", + "fullExpression": "click | set_field: total_parent_point_safe: @fields.total_parent_point_safe+1", + "matchedExpression": "@fields.total_parent_point_safe", + "type": "fields", "fieldName": "total_parent_point_safe" } ] @@ -5289,26 +5502,26 @@ "args": { "1": [ { - "fullExpression": "@field.weekly_parent_point_safe+1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", + "fullExpression": "@fields.weekly_parent_point_safe+1", + "matchedExpression": "@fields.weekly_parent_point_safe", + "type": "fields", "fieldName": "weekly_parent_point_safe" } ] }, "_raw": [ { - "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_safe: @fields.weekly_parent_point_safe+1", + "matchedExpression": "@fields.weekly_parent_point_safe", + "type": "fields", "fieldName": "weekly_parent_point_safe" } ], "_cleaned": [ { - "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", + "fullExpression": "click | set_field: weekly_parent_point_safe: @fields.weekly_parent_point_safe+1", + "matchedExpression": "@fields.weekly_parent_point_safe", + "type": "fields", "fieldName": "weekly_parent_point_safe" } ] @@ -5326,13 +5539,13 @@ } }, "_dynamicDependencies": { - "@field.total_parent_point_safe": [ + "@fields.total_parent_point_safe": [ "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@field.weekly_parent_point_safe": [ + "@fields.weekly_parent_point_safe": [ "action_list.1.args.1", "action_list.1._raw", "action_list.1._cleaned" @@ -6645,8 +6858,9 @@ { "type": "text", "name": "text_if_empty", - "value": "You will find tips that we think you may find useful here based on your answers to the app customisation. \n\nYou can also add and remove your own tips as you go through the workshops.", + "value": "You will find tips that we think you may find useful here, based on your answers to the app customisation. ", "hidden": "!@field.w_self_care_tools_disabled || !@field.w_1on1_tools_disabled || !@field.w_praise_tools_disabled || !@field.w_instruct_tools_disabled || !@field.w_stress_tools_disabled || !@field.w_money_tools_disabled || !@field.w_rules_tools_disabled || !@field.w_consequence_tools_disabled || !@field.w_solve_tools_disabled || !@field.w_safe_tools_disabled || !@field.w_crisis_tools_disabled || !@field.w_celebrate_tools_disabled", + "condition": "!@field.survey_completed", "_nested_name": "text_if_empty", "_dynamicFields": { "hidden": [ @@ -6722,6 +6936,14 @@ "type": "field", "fieldName": "w_celebrate_tools_disabled" } + ], + "condition": [ + { + "fullExpression": "!@field.survey_completed", + "matchedExpression": "@field.survey_completed", + "type": "field", + "fieldName": "survey_completed" + } ] }, "_dynamicDependencies": { @@ -6760,8 +6982,71 @@ ], "@field.w_celebrate_tools_disabled": [ "hidden" + ], + "@field.survey_completed": [ + "condition" ] } + }, + { + "type": "display_group", + "parameter_list": { + "style": "parent_point" + }, + "rows": [ + { + "type": "tile_component", + "name": "tile_extra", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "setup_and_survey_stepper" + ], + "_raw": "click | go_to:setup_and_survey_stepper", + "_cleaned": "click | go_to:setup_and_survey_stepper" + } + ], + "parameter_list": { + "style": "parent_centre_4", + "icon_src": "plh_images/icons/phone_heart_white.svg", + "first_line_text": "@global.extra" + }, + "condition": "!@field.survey_completed", + "_nested_name": "display_group.tile_extra", + "_dynamicFields": { + "parameter_list": { + "first_line_text": [ + { + "fullExpression": "@global.extra", + "matchedExpression": "@global.extra", + "type": "global", + "fieldName": "extra" + } + ] + }, + "condition": [ + { + "fullExpression": "!@field.survey_completed", + "matchedExpression": "@field.survey_completed", + "type": "field", + "fieldName": "survey_completed" + } + ] + }, + "_dynamicDependencies": { + "@global.extra": [ + "parameter_list.first_line_text" + ], + "@field.survey_completed": [ + "condition" + ] + } + } + ], + "name": "display_group", + "_nested_name": "display_group" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" @@ -7265,20 +7550,20 @@ { "type": "dashed_box", "name": "warning", - "value": "These websites are not part of @global.parent_app, and require internet access. Visiting these websites when your phone is not connected to WiFi will use some of your data plan.", + "value": "@global.data_warning_websites", "_nested_name": "warning", "_dynamicFields": { "value": [ { - "fullExpression": "These websites are not part of @global.parent_app, and require internet access. Visiting these websites when your phone is not connected to WiFi will use some of your data plan.", - "matchedExpression": "@global.parent_app", + "fullExpression": "@global.data_warning_websites", + "matchedExpression": "@global.data_warning_websites", "type": "global", - "fieldName": "parent_app" + "fieldName": "data_warning_websites" } ] }, "_dynamicDependencies": { - "@global.parent_app": [ + "@global.data_warning_websites": [ "value" ] } @@ -7371,55 +7656,89 @@ }, { "flow_type": "template", - "flow_name": "parent_centre_relax_and_act", + "flow_name": "parent_centre_support_contacts", "status": "released", "rows": [ { - "name": "relax_campaign", - "value": "@campaign.relax", - "type": "set_variable", - "_nested_name": "relax_campaign", + "type": "title", + "name": "title", + "value": "@global.support_contacts", + "parameter_list": { + "style": "tiny" + }, + "_nested_name": "title", "_dynamicFields": { "value": [ { - "fullExpression": "@campaign.relax", - "matchedExpression": "@campaign.relax", - "type": "campaign", - "fieldName": "relax" + "fullExpression": "@global.support_contacts", + "matchedExpression": "@global.support_contacts", + "type": "global", + "fieldName": "support_contacts" } ] }, "_dynamicDependencies": { - "@campaign.relax": [ + "@global.support_contacts": [ "value" ] } }, { - "name": "activity_campaign", - "value": "@campaign.something_fun", - "type": "set_variable", - "_nested_name": "activity_campaign", + "type": "text", + "name": "text", + "value": "Content coming soon", + "_nested_name": "text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" + }, + { + "flow_type": "template", + "flow_name": "parent_centre_evidence_base", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "@global.evidence_base", + "parameter_list": { + "style": "tiny" + }, + "_nested_name": "title", "_dynamicFields": { "value": [ { - "fullExpression": "@campaign.something_fun", - "matchedExpression": "@campaign.something_fun", - "type": "campaign", - "fieldName": "something_fun" + "fullExpression": "@global.evidence_base", + "matchedExpression": "@global.evidence_base", + "type": "global", + "fieldName": "evidence_base" } ] }, "_dynamicDependencies": { - "@campaign.something_fun": [ + "@global.evidence_base": [ "value" ] } }, + { + "type": "text", + "name": "text", + "value": "Content coming soon", + "_nested_name": "text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" + }, + { + "flow_type": "template", + "flow_name": "parent_centre_technical_support", + "status": "released", + "rows": [ { "type": "title", "name": "title", - "value": "@global.relax_and_activities", + "value": "@global.technical_support", "parameter_list": { "style": "tiny" }, @@ -7427,137 +7746,629 @@ "_dynamicFields": { "value": [ { - "fullExpression": "@global.relax_and_activities", - "matchedExpression": "@global.relax_and_activities", + "fullExpression": "@global.technical_support", + "matchedExpression": "@global.technical_support", "type": "global", - "fieldName": "relax_and_activities" + "fieldName": "technical_support" } ] }, "_dynamicDependencies": { - "@global.relax_and_activities": [ + "@global.technical_support": [ "value" ] } }, { - "type": "subtitle", - "name": "subtitle_1", - "value": "Relaxation activities", - "_nested_name": "subtitle_1" + "type": "text", + "name": "text", + "value": "Content coming soon", + "_nested_name": "text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" + }, + { + "flow_type": "template", + "flow_name": "relax_text", + "status": "released", + "rows": [ + { + "type": "text", + "name": "activity_text", + "_nested_name": "activity_text" }, { - "type": "tile_component", - "action_list": [ - { - "trigger": "click", - "action_id": "trigger_actions", - "args": [ - "@local.relax_campaign.click_action_list" - ], - "_raw": "click | trigger_actions: @local.relax_campaign.click_action_list", - "_cleaned": "click | trigger_actions: @local.relax_campaign.click_action_list" - } - ], - "hidden": "\"@local.relax_campaign.id\" == \"default\"", - "parameter_list": { - "style": "quick_start_dark", - "icon_src": "@local.relax_campaign.icon", - "first_line_text": "@global.current_relax" + "type": "text", + "name": "outro_text", + "_nested_name": "outro_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_relax_and_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "something_fun_text", + "status": "released", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.praise_time", + "type": "set_variable", + "_nested_name": "activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.praise_time", + "matchedExpression": "@data.something_fun.praise_time", + "type": "data", + "fieldName": "something_fun" + } + ] }, - "name": "tile_component", - "_nested_name": "tile_component", + "_dynamicDependencies": { + "@data.something_fun.praise_time": [ + "value" + ] + } + }, + { + "name": "favourite", + "value": "_favourite", + "type": "set_variable", + "_nested_name": "favourite" + }, + { + "name": "activity", + "value": "activity_@local.activity_data.id", + "type": "set_variable", + "_nested_name": "activity", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.relax_campaign.click_action_list", - "matchedExpression": "@local.relax_campaign.click_action_list", - "type": "local", - "fieldName": "relax_campaign" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | trigger_actions: @local.relax_campaign.click_action_list", - "matchedExpression": "@local.relax_campaign.click_action_list", - "type": "local", - "fieldName": "relax_campaign" - } - ], - "_cleaned": [ - { - "fullExpression": "click | trigger_actions: @local.relax_campaign.click_action_list", - "matchedExpression": "@local.relax_campaign.click_action_list", - "type": "local", - "fieldName": "relax_campaign" - } - ] + "value": [ + { + "fullExpression": "activity_@local.activity_data.id", + "matchedExpression": "@local.activity_data.id", + "type": "local", + "fieldName": "activity_data" } - }, - "hidden": [ + ] + }, + "_dynamicDependencies": { + "@local.activity_data.id": [ + "value" + ] + } + }, + { + "name": "activity_favourite", + "value": "@local.activity@local.favourite", + "type": "set_variable", + "_nested_name": "activity_favourite", + "_dynamicFields": { + "value": [ { - "fullExpression": "\"@local.relax_campaign.id\" == \"default\"", - "matchedExpression": "@local.relax_campaign.id", + "fullExpression": "@local.activity@local.favourite", + "matchedExpression": "@local.activity", "type": "local", - "fieldName": "relax_campaign" + "fieldName": "activity" + }, + { + "fullExpression": "@local.activity@local.favourite", + "matchedExpression": "@local.favourite", + "type": "local", + "fieldName": "favourite" } - ], - "parameter_list": { - "icon_src": [ - { - "fullExpression": "@local.relax_campaign.icon", - "matchedExpression": "@local.relax_campaign.icon", - "type": "local", - "fieldName": "relax_campaign" - } - ], - "first_line_text": [ - { - "fullExpression": "@global.current_relax", - "matchedExpression": "@global.current_relax", - "type": "global", - "fieldName": "current_relax" - } - ] - } + ] }, "_dynamicDependencies": { - "@local.relax_campaign.click_action_list": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.relax_campaign.id": [ - "hidden" - ], - "@local.relax_campaign.icon": [ - "parameter_list.icon_src" + "@local.activity": [ + "value" ], - "@global.current_relax": [ - "parameter_list.first_line_text" + "@local.favourite": [ + "value" + ] + } + }, + { + "type": "title", + "name": "activity_title", + "value": "@local.activity_data.title", + "_nested_name": "activity_title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.activity_data.title", + "matchedExpression": "@local.activity_data.title", + "type": "local", + "fieldName": "activity_data" + } + ] + }, + "_dynamicDependencies": { + "@local.activity_data.title": [ + "value" ] } }, + { + "type": "text", + "name": "activity_text", + "_nested_name": "activity_text" + }, { "type": "display_group", + "name": "habit_box", + "hidden": "!@local.activity_data.spend_time", "parameter_list": { - "style": "parent_point" + "icon_src": "plh_images/icons/star_circle.svg", + "icon_position": "top-left", + "type": "dashed_box" }, "rows": [ { - "type": "tile_component", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "parent_centre_my_relaxes" - ], - "_raw": "click | go_to:parent_centre_my_relaxes", + "type": "subtitle", + "name": "habit_box_text", + "value": "@data.habit.spend_time.short_mark_text", + "_nested_name": "habit_box.habit_box_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.spend_time.short_mark_text", + "matchedExpression": "@data.habit.spend_time.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.spend_time.short_mark_text": [ + "value" + ] + } + }, + { + "type": "parent_point_box", + "name": "habit_tracker", + "value": "@field.total_parent_point_spend_time", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_spend_time", + "@field.total_parent_point_spend_time+1" + ], + "_raw": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", + "_cleaned": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_spend_time", + "@field.weekly_parent_point_spend_time+1" + ], + "_raw": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", + "_cleaned": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1" + } + ], + "parameter_list": { + "text": "@data.habit.spend_time.title", + "icon_src": "plh_images/habits/habit_spend_time.svg" + }, + "_nested_name": "habit_box.habit_tracker", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_spend_time", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_spend_time+1", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_spend_time+1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ] + } + }, + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.spend_time.title", + "matchedExpression": "@data.habit.spend_time.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_spend_time": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_spend_time": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@data.habit.spend_time.title": [ + "parameter_list.text" + ] + } + } + ], + "_nested_name": "habit_box", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "!@local.activity_data.spend_time", + "matchedExpression": "@local.activity_data.spend_time", + "type": "local", + "fieldName": "activity_data" + } + ] + }, + "_dynamicDependencies": { + "@local.activity_data.spend_time": [ + "hidden" + ] + } + }, + { + "type": "simple_checkbox", + "name": "checkbox", + "value": "@fields.@local.activity_favourite", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.activity_favourite", + "@local.checkbox" + ], + "_raw": "changed | set_field : @local.activity_favourite : @local.checkbox", + "_cleaned": "changed | set_field : @local.activity_favourite : @local.checkbox" + } + ], + "parameter_list": { + "label_text": "Add this activity to @global.my_activities" + }, + "_nested_name": "checkbox", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.@local.activity_favourite", + "matchedExpression": "@local.activity_favourite", + "type": "local", + "fieldName": "activity_favourite" + } + ], + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.activity_favourite", + "matchedExpression": "@local.activity_favourite", + "type": "local", + "fieldName": "activity_favourite" + } + ], + "1": [ + { + "fullExpression": "@local.checkbox", + "matchedExpression": "@local.checkbox", + "type": "local", + "fieldName": "checkbox" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field : @local.activity_favourite : @local.checkbox", + "matchedExpression": "@local.activity_favourite", + "type": "local", + "fieldName": "activity_favourite" + }, + { + "fullExpression": "changed | set_field : @local.activity_favourite : @local.checkbox", + "matchedExpression": "@local.checkbox", + "type": "local", + "fieldName": "checkbox" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field : @local.activity_favourite : @local.checkbox", + "matchedExpression": "@local.activity_favourite", + "type": "local", + "fieldName": "activity_favourite" + }, + { + "fullExpression": "changed | set_field : @local.activity_favourite : @local.checkbox", + "matchedExpression": "@local.checkbox", + "type": "local", + "fieldName": "checkbox" + } + ] + } + }, + "parameter_list": { + "label_text": [ + { + "fullExpression": "Add this activity to @global.my_activities", + "matchedExpression": "@global.my_activities", + "type": "global", + "fieldName": "my_activities" + } + ] + } + }, + "_dynamicDependencies": { + "@local.activity_favourite": [ + "value", + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.checkbox": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@global.my_activities": [ + "parameter_list.label_text" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_relax_and_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "parent_centre_relax_and_act", + "status": "released", + "rows": [ + { + "name": "relax_campaign", + "value": "@campaign.relax", + "type": "set_variable", + "_nested_name": "relax_campaign", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@campaign.relax", + "matchedExpression": "@campaign.relax", + "type": "campaign", + "fieldName": "relax" + } + ] + }, + "_dynamicDependencies": { + "@campaign.relax": [ + "value" + ] + } + }, + { + "name": "activity_campaign", + "value": "@campaign.something_fun", + "type": "set_variable", + "_nested_name": "activity_campaign", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@campaign.something_fun", + "matchedExpression": "@campaign.something_fun", + "type": "campaign", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@campaign.something_fun": [ + "value" + ] + } + }, + { + "type": "title", + "name": "title", + "value": "@global.relax_and_activities", + "parameter_list": { + "style": "tiny" + }, + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.relax_and_activities", + "matchedExpression": "@global.relax_and_activities", + "type": "global", + "fieldName": "relax_and_activities" + } + ] + }, + "_dynamicDependencies": { + "@global.relax_and_activities": [ + "value" + ] + } + }, + { + "type": "subtitle", + "name": "subtitle_1", + "value": "Relaxation activities", + "_nested_name": "subtitle_1" + }, + { + "type": "tile_component", + "action_list": [ + { + "trigger": "click", + "action_id": "trigger_actions", + "args": [ + "@local.relax_campaign.click_action_list" + ], + "_raw": "click | trigger_actions: @local.relax_campaign.click_action_list", + "_cleaned": "click | trigger_actions: @local.relax_campaign.click_action_list" + } + ], + "hidden": "\"@local.relax_campaign.id\" == \"default\"", + "parameter_list": { + "style": "quick_start_dark", + "icon_src": "@local.relax_campaign.icon", + "first_line_text": "@global.current_relax" + }, + "name": "tile_component", + "_nested_name": "tile_component", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.relax_campaign.click_action_list", + "matchedExpression": "@local.relax_campaign.click_action_list", + "type": "local", + "fieldName": "relax_campaign" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | trigger_actions: @local.relax_campaign.click_action_list", + "matchedExpression": "@local.relax_campaign.click_action_list", + "type": "local", + "fieldName": "relax_campaign" + } + ], + "_cleaned": [ + { + "fullExpression": "click | trigger_actions: @local.relax_campaign.click_action_list", + "matchedExpression": "@local.relax_campaign.click_action_list", + "type": "local", + "fieldName": "relax_campaign" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.relax_campaign.id\" == \"default\"", + "matchedExpression": "@local.relax_campaign.id", + "type": "local", + "fieldName": "relax_campaign" + } + ], + "parameter_list": { + "icon_src": [ + { + "fullExpression": "@local.relax_campaign.icon", + "matchedExpression": "@local.relax_campaign.icon", + "type": "local", + "fieldName": "relax_campaign" + } + ], + "first_line_text": [ + { + "fullExpression": "@global.current_relax", + "matchedExpression": "@global.current_relax", + "type": "global", + "fieldName": "current_relax" + } + ] + } + }, + "_dynamicDependencies": { + "@local.relax_campaign.click_action_list": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.relax_campaign.id": [ + "hidden" + ], + "@local.relax_campaign.icon": [ + "parameter_list.icon_src" + ], + "@global.current_relax": [ + "parameter_list.first_line_text" + ] + } + }, + { + "type": "display_group", + "parameter_list": { + "style": "parent_point" + }, + "rows": [ + { + "type": "tile_component", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "parent_centre_my_relaxes" + ], + "_raw": "click | go_to:parent_centre_my_relaxes", "_cleaned": "click | go_to:parent_centre_my_relaxes" } ], @@ -7813,7 +8624,7 @@ "_nested_name": "display_group" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_relax_and_activities.xlsx" }, { "flow_type": "template", @@ -7844,6 +8655,27 @@ ] } }, + { + "type": "subtitle", + "name": "subtitle_passive_short", + "value": "@global.relax_passive_short", + "_nested_name": "subtitle_passive_short", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.relax_passive_short", + "matchedExpression": "@global.relax_passive_short", + "type": "global", + "fieldName": "relax_passive_short" + } + ] + }, + "_dynamicDependencies": { + "@global.relax_passive_short": [ + "value" + ] + } + }, { "type": "button", "name": "button_relax_1", @@ -8468,58 +9300,6 @@ ] } }, - { - "type": "button", - "name": "button_relax_13", - "value": "@data.relax.relax_13.title", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "this_workshop_together", - false - ], - "_raw": "click | set_field:this_workshop_together:false", - "_cleaned": "click | set_field:this_workshop_together:false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_13" - ], - "_raw": "click | set_field:which_relax:relax_13", - "_cleaned": "click | set_field:which_relax:relax_13" - }, - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "relax" - ], - "_raw": "click | go_to:relax", - "_cleaned": "click | go_to:relax" - } - ], - "_nested_name": "button_relax_13", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.relax.relax_13.title", - "matchedExpression": "@data.relax.relax_13.title", - "type": "data", - "fieldName": "relax" - } - ] - }, - "_dynamicDependencies": { - "@data.relax.relax_13.title": [ - "value" - ] - } - }, { "type": "button", "name": "button_relax_14", @@ -8571,43 +9351,11 @@ "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" - }, - { - "flow_type": "template", - "flow_name": "parent_centre_my_relaxes", - "status": "released", - "rows": [ - { - "type": "title", - "name": "title", - "value": "@global.my_relaxes", - "parameter_list": { - "style": "tiny" - }, - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.my_relaxes", - "matchedExpression": "@global.my_relaxes", - "type": "global", - "fieldName": "my_relaxes" - } - ] - }, - "_dynamicDependencies": { - "@global.my_relaxes": [ - "value" - ] - } }, { "type": "button", - "name": "button_relax_1", - "value": "@data.relax.relax_1.title", + "name": "button_relax_15", + "value": "@data.relax.relax_15.title", "action_list": [ { "trigger": "click", @@ -8624,10 +9372,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_1" + "relax_15" ], - "_raw": "click | set_field:which_relax:relax_1", - "_cleaned": "click | set_field:which_relax:relax_1" + "_raw": "click | set_field:which_relax:relax_15", + "_cleaned": "click | set_field:which_relax:relax_15" }, { "trigger": "click", @@ -8639,39 +9387,27 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_1_favourite", - "_nested_name": "button_relax_1", + "_nested_name": "button_relax_15", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_1.title", - "matchedExpression": "@data.relax.relax_1.title", + "fullExpression": "@data.relax.relax_15.title", + "matchedExpression": "@data.relax.relax_15.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_1_favourite", - "matchedExpression": "@field.relax_1_favourite", - "type": "field", - "fieldName": "relax_1_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_1.title": [ + "@data.relax.relax_15.title": [ "value" - ], - "@field.relax_1_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_2", - "value": "@data.relax.relax_2.title", + "name": "button_relax_16", + "value": "@data.relax.relax_16.title", "action_list": [ { "trigger": "click", @@ -8688,10 +9424,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_2" + "relax_16" ], - "_raw": "click | set_field:which_relax:relax_2", - "_cleaned": "click | set_field:which_relax:relax_2" + "_raw": "click | set_field:which_relax:relax_16", + "_cleaned": "click | set_field:which_relax:relax_16" }, { "trigger": "click", @@ -8703,39 +9439,27 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_2_favourite", - "_nested_name": "button_relax_2", + "_nested_name": "button_relax_16", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_2.title", - "matchedExpression": "@data.relax.relax_2.title", + "fullExpression": "@data.relax.relax_16.title", + "matchedExpression": "@data.relax.relax_16.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_2_favourite", - "matchedExpression": "@field.relax_2_favourite", - "type": "field", - "fieldName": "relax_2_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_2.title": [ + "@data.relax.relax_16.title": [ "value" - ], - "@field.relax_2_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_3", - "value": "@data.relax.relax_3.title", + "name": "button_relax_17", + "value": "@data.relax.relax_17.title", "action_list": [ { "trigger": "click", @@ -8752,10 +9476,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_3" + "relax_17" ], - "_raw": "click | set_field:which_relax:relax_3", - "_cleaned": "click | set_field:which_relax:relax_3" + "_raw": "click | set_field:which_relax:relax_17", + "_cleaned": "click | set_field:which_relax:relax_17" }, { "trigger": "click", @@ -8767,103 +9491,48 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_3_favourite", - "_nested_name": "button_relax_3", + "_nested_name": "button_relax_17", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_3.title", - "matchedExpression": "@data.relax.relax_3.title", + "fullExpression": "@data.relax.relax_17.title", + "matchedExpression": "@data.relax.relax_17.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_3_favourite", - "matchedExpression": "@field.relax_3_favourite", - "type": "field", - "fieldName": "relax_3_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_3.title": [ + "@data.relax.relax_17.title": [ "value" - ], - "@field.relax_3_favourite": [ - "hidden" ] } }, { - "type": "button", - "name": "button_relax_4", - "value": "@data.relax.relax_4.title", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "this_workshop_together", - false - ], - "_raw": "click | set_field:this_workshop_together:false", - "_cleaned": "click | set_field:this_workshop_together:false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_4" - ], - "_raw": "click | set_field:which_relax:relax_4", - "_cleaned": "click | set_field:which_relax:relax_4" - }, - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "relax" - ], - "_raw": "click | go_to:relax", - "_cleaned": "click | go_to:relax" - } - ], - "hidden": "!@field.relax_4_favourite", - "_nested_name": "button_relax_4", + "type": "subtitle", + "name": "subtitle_passive_short", + "value": "@global.relax_passive_long", + "_nested_name": "subtitle_passive_short", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_4.title", - "matchedExpression": "@data.relax.relax_4.title", - "type": "data", - "fieldName": "relax" - } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_4_favourite", - "matchedExpression": "@field.relax_4_favourite", - "type": "field", - "fieldName": "relax_4_favourite" + "fullExpression": "@global.relax_passive_long", + "matchedExpression": "@global.relax_passive_long", + "type": "global", + "fieldName": "relax_passive_long" } ] }, "_dynamicDependencies": { - "@data.relax.relax_4.title": [ + "@global.relax_passive_long": [ "value" - ], - "@field.relax_4_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_5", - "value": "@data.relax.relax_5.title", + "name": "button_relax_18", + "value": "@data.relax.relax_18.title", "action_list": [ { "trigger": "click", @@ -8880,10 +9549,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_5" + "relax_18" ], - "_raw": "click | set_field:which_relax:relax_5", - "_cleaned": "click | set_field:which_relax:relax_5" + "_raw": "click | set_field:which_relax:relax_18", + "_cleaned": "click | set_field:which_relax:relax_18" }, { "trigger": "click", @@ -8895,39 +9564,27 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_5_favourite", - "_nested_name": "button_relax_5", + "_nested_name": "button_relax_18", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_5.title", - "matchedExpression": "@data.relax.relax_5.title", + "fullExpression": "@data.relax.relax_18.title", + "matchedExpression": "@data.relax.relax_18.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_5_favourite", - "matchedExpression": "@field.relax_5_favourite", - "type": "field", - "fieldName": "relax_5_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_5.title": [ + "@data.relax.relax_18.title": [ "value" - ], - "@field.relax_5_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_6", - "value": "@data.relax.relax_6.title", + "name": "button_relax_19", + "value": "@data.relax.relax_19.title", "action_list": [ { "trigger": "click", @@ -8944,10 +9601,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_6" + "relax_19" ], - "_raw": "click | set_field:which_relax:relax_6", - "_cleaned": "click | set_field:which_relax:relax_6" + "_raw": "click | set_field:which_relax:relax_19", + "_cleaned": "click | set_field:which_relax:relax_19" }, { "trigger": "click", @@ -8959,103 +9616,48 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_6_favourite", - "_nested_name": "button_relax_6", + "_nested_name": "button_relax_19", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_6.title", - "matchedExpression": "@data.relax.relax_6.title", + "fullExpression": "@data.relax.relax_19.title", + "matchedExpression": "@data.relax.relax_19.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_6_favourite", - "matchedExpression": "@field.relax_6_favourite", - "type": "field", - "fieldName": "relax_6_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_6.title": [ + "@data.relax.relax_19.title": [ "value" - ], - "@field.relax_6_favourite": [ - "hidden" ] } }, { - "type": "button", - "name": "button_relax_7", - "value": "@data.relax.relax_7.title", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "this_workshop_together", - false - ], - "_raw": "click | set_field:this_workshop_together:false", - "_cleaned": "click | set_field:this_workshop_together:false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_7" - ], - "_raw": "click | set_field:which_relax:relax_7", - "_cleaned": "click | set_field:which_relax:relax_7" - }, - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "relax" - ], - "_raw": "click | go_to:relax", - "_cleaned": "click | go_to:relax" - } - ], - "hidden": "!@field.relax_7_favourite", - "_nested_name": "button_relax_7", + "type": "subtitle", + "name": "subtitle_active", + "value": "@global.relax_active", + "_nested_name": "subtitle_active", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_7.title", - "matchedExpression": "@data.relax.relax_7.title", - "type": "data", - "fieldName": "relax" - } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_7_favourite", - "matchedExpression": "@field.relax_7_favourite", - "type": "field", - "fieldName": "relax_7_favourite" + "fullExpression": "@global.relax_active", + "matchedExpression": "@global.relax_active", + "type": "global", + "fieldName": "relax_active" } ] }, "_dynamicDependencies": { - "@data.relax.relax_7.title": [ + "@global.relax_active": [ "value" - ], - "@field.relax_7_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_8", - "value": "@data.relax.relax_8.title", + "name": "button_relax_13", + "value": "@data.relax.relax_13.title", "action_list": [ { "trigger": "click", @@ -9072,10 +9674,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_8" + "relax_13" ], - "_raw": "click | set_field:which_relax:relax_8", - "_cleaned": "click | set_field:which_relax:relax_8" + "_raw": "click | set_field:which_relax:relax_13", + "_cleaned": "click | set_field:which_relax:relax_13" }, { "trigger": "click", @@ -9087,39 +9689,30 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_8_favourite", - "_nested_name": "button_relax_8", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_relax_13", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_8.title", - "matchedExpression": "@data.relax.relax_8.title", + "fullExpression": "@data.relax.relax_13.title", + "matchedExpression": "@data.relax.relax_13.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_8_favourite", - "matchedExpression": "@field.relax_8_favourite", - "type": "field", - "fieldName": "relax_8_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_8.title": [ + "@data.relax.relax_13.title": [ "value" - ], - "@field.relax_8_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_9", - "value": "@data.relax.relax_9.title", + "name": "button_relax_20", + "value": "@data.relax.relax_20.title", "action_list": [ { "trigger": "click", @@ -9136,10 +9729,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_9" + "relax_20" ], - "_raw": "click | set_field:which_relax:relax_9", - "_cleaned": "click | set_field:which_relax:relax_9" + "_raw": "click | set_field:which_relax:relax_20", + "_cleaned": "click | set_field:which_relax:relax_20" }, { "trigger": "click", @@ -9151,39 +9744,30 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_9_favourite", - "_nested_name": "button_relax_9", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_relax_20", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_9.title", - "matchedExpression": "@data.relax.relax_9.title", + "fullExpression": "@data.relax.relax_20.title", + "matchedExpression": "@data.relax.relax_20.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_9_favourite", - "matchedExpression": "@field.relax_9_favourite", - "type": "field", - "fieldName": "relax_9_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_9.title": [ + "@data.relax.relax_20.title": [ "value" - ], - "@field.relax_9_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_10", - "value": "@data.relax.relax_10.title", + "name": "button_relax_21", + "value": "@data.relax.relax_21.title", "action_list": [ { "trigger": "click", @@ -9200,10 +9784,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_10" + "relax_21" ], - "_raw": "click | set_field:which_relax:relax_10", - "_cleaned": "click | set_field:which_relax:relax_10" + "_raw": "click | set_field:which_relax:relax_21", + "_cleaned": "click | set_field:which_relax:relax_21" }, { "trigger": "click", @@ -9215,39 +9799,30 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_10_favourite", - "_nested_name": "button_relax_10", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_relax_21", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_10.title", - "matchedExpression": "@data.relax.relax_10.title", + "fullExpression": "@data.relax.relax_21.title", + "matchedExpression": "@data.relax.relax_21.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_10_favourite", - "matchedExpression": "@field.relax_10_favourite", - "type": "field", - "fieldName": "relax_10_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_10.title": [ + "@data.relax.relax_21.title": [ "value" - ], - "@field.relax_10_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_11", - "value": "@data.relax.relax_11.title", + "name": "button_relax_22", + "value": "@data.relax.relax_22.title", "action_list": [ { "trigger": "click", @@ -9264,10 +9839,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_11" + "relax_22" ], - "_raw": "click | set_field:which_relax:relax_11", - "_cleaned": "click | set_field:which_relax:relax_11" + "_raw": "click | set_field:which_relax:relax_22", + "_cleaned": "click | set_field:which_relax:relax_22" }, { "trigger": "click", @@ -9279,39 +9854,30 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_11_favourite", - "_nested_name": "button_relax_11", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_relax_22", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_11.title", - "matchedExpression": "@data.relax.relax_11.title", + "fullExpression": "@data.relax.relax_22.title", + "matchedExpression": "@data.relax.relax_22.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_11_favourite", - "matchedExpression": "@field.relax_11_favourite", - "type": "field", - "fieldName": "relax_11_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_11.title": [ + "@data.relax.relax_22.title": [ "value" - ], - "@field.relax_11_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_12", - "value": "@data.relax.relax_12.title", + "name": "button_relax_23", + "value": "@data.relax.relax_23.title", "action_list": [ { "trigger": "click", @@ -9328,10 +9894,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_12" + "relax_23" ], - "_raw": "click | set_field:which_relax:relax_12", - "_cleaned": "click | set_field:which_relax:relax_12" + "_raw": "click | set_field:which_relax:relax_23", + "_cleaned": "click | set_field:which_relax:relax_23" }, { "trigger": "click", @@ -9343,39 +9909,30 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_12_favourite", - "_nested_name": "button_relax_12", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_relax_23", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_12.title", - "matchedExpression": "@data.relax.relax_12.title", + "fullExpression": "@data.relax.relax_23.title", + "matchedExpression": "@data.relax.relax_23.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_12_favourite", - "matchedExpression": "@field.relax_12_favourite", - "type": "field", - "fieldName": "relax_12_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_12.title": [ + "@data.relax.relax_23.title": [ "value" - ], - "@field.relax_12_favourite": [ - "hidden" ] } }, { "type": "button", - "name": "button_relax_13", - "value": "@data.relax.relax_13.title", + "name": "button_relax_24", + "value": "@data.relax.relax_24.title", "action_list": [ { "trigger": "click", @@ -9392,10 +9949,10 @@ "action_id": "set_field", "args": [ "which_relax", - "relax_13" + "relax_24" ], - "_raw": "click | set_field:which_relax:relax_13", - "_cleaned": "click | set_field:which_relax:relax_13" + "_raw": "click | set_field:which_relax:relax_24", + "_cleaned": "click | set_field:which_relax:relax_24" }, { "trigger": "click", @@ -9407,4022 +9964,5025 @@ "_cleaned": "click | go_to:relax" } ], - "hidden": "!@field.relax_13_favourite", - "_nested_name": "button_relax_13", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_relax_24", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_13.title", - "matchedExpression": "@data.relax.relax_13.title", + "fullExpression": "@data.relax.relax_24.title", + "matchedExpression": "@data.relax.relax_24.title", "type": "data", "fieldName": "relax" } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_13_favourite", - "matchedExpression": "@field.relax_13_favourite", - "type": "field", - "fieldName": "relax_13_favourite" - } ] }, "_dynamicDependencies": { - "@data.relax.relax_13.title": [ + "@data.relax.relax_24.title": [ "value" - ], - "@field.relax_13_favourite": [ - "hidden" ] } - }, + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_relax_and_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "parent_centre_my_relaxes", + "status": "released", + "rows": [ { - "type": "button", - "name": "button_relax_14", - "value": "@data.relax.relax_14.title", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "this_workshop_together", - false - ], - "_raw": "click | set_field:this_workshop_together:false", - "_cleaned": "click | set_field:this_workshop_together:false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "which_relax", - "relax_14" - ], - "_raw": "click | set_field:which_relax:relax_14", - "_cleaned": "click | set_field:which_relax:relax_14" - }, - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "relax" - ], - "_raw": "click | go_to:relax", - "_cleaned": "click | go_to:relax" - } - ], - "hidden": "!@field.relax_14_favourite", - "_nested_name": "button_relax_14", + "type": "title", + "name": "title", + "value": "@global.my_relaxes", + "parameter_list": { + "style": "tiny" + }, + "_nested_name": "title", "_dynamicFields": { "value": [ { - "fullExpression": "@data.relax.relax_14.title", - "matchedExpression": "@data.relax.relax_14.title", - "type": "data", - "fieldName": "relax" - } - ], - "hidden": [ - { - "fullExpression": "!@field.relax_14_favourite", - "matchedExpression": "@field.relax_14_favourite", - "type": "field", - "fieldName": "relax_14_favourite" + "fullExpression": "@global.my_relaxes", + "matchedExpression": "@global.my_relaxes", + "type": "global", + "fieldName": "my_relaxes" } ] }, "_dynamicDependencies": { - "@data.relax.relax_14.title": [ + "@global.my_relaxes": [ "value" - ], - "@field.relax_14_favourite": [ - "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" - }, - { - "flow_type": "template", - "flow_name": "parent_centre_activities", - "status": "released", - "rows": [ + }, { - "type": "title", - "name": "title", - "value": "@global.all_activities", - "parameter_list": { - "style": "tiny" - }, - "_nested_name": "title", + "type": "text", + "value": "You have not added any relaxation activities to @global.my_relaxes yet. Why don't you choose some?", + "hidden": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "name": "text", + "_nested_name": "text", "_dynamicFields": { "value": [ { - "fullExpression": "@global.all_activities", - "matchedExpression": "@global.all_activities", + "fullExpression": "You have not added any relaxation activities to @global.my_relaxes yet. Why don't you choose some?", + "matchedExpression": "@global.my_relaxes", "type": "global", - "fieldName": "all_activities" + "fieldName": "my_relaxes" + } + ], + "hidden": [ + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_1_favourite", + "type": "field", + "fieldName": "relax_1_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_2_favourite", + "type": "field", + "fieldName": "relax_2_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_3_favourite", + "type": "field", + "fieldName": "relax_3_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_4_favourite", + "type": "field", + "fieldName": "relax_4_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_5_favourite", + "type": "field", + "fieldName": "relax_5_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_6_favourite", + "type": "field", + "fieldName": "relax_6_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_7_favourite", + "type": "field", + "fieldName": "relax_7_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_8_favourite", + "type": "field", + "fieldName": "relax_8_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_9_favourite", + "type": "field", + "fieldName": "relax_9_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_10_favourite", + "type": "field", + "fieldName": "relax_10_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_11_favourite", + "type": "field", + "fieldName": "relax_11_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_12_favourite", + "type": "field", + "fieldName": "relax_12_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_14_favourite", + "type": "field", + "fieldName": "relax_14_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_15_favourite", + "type": "field", + "fieldName": "relax_15_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_16_favourite", + "type": "field", + "fieldName": "relax_16_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_17_favourite", + "type": "field", + "fieldName": "relax_17_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_18_favourite", + "type": "field", + "fieldName": "relax_18_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_19_favourite", + "type": "field", + "fieldName": "relax_19_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_13_favourite", + "type": "field", + "fieldName": "relax_13_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_20_favourite", + "type": "field", + "fieldName": "relax_20_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_21_favourite", + "type": "field", + "fieldName": "relax_21_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_22_favourite", + "type": "field", + "fieldName": "relax_22_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_23_favourite", + "type": "field", + "fieldName": "relax_23_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_24_favourite", + "type": "field", + "fieldName": "relax_24_favourite" } ] }, "_dynamicDependencies": { - "@global.all_activities": [ + "@global.my_relaxes": [ "value" + ], + "@field.relax_1_favourite": [ + "hidden" + ], + "@field.relax_2_favourite": [ + "hidden" + ], + "@field.relax_3_favourite": [ + "hidden" + ], + "@field.relax_4_favourite": [ + "hidden" + ], + "@field.relax_5_favourite": [ + "hidden" + ], + "@field.relax_6_favourite": [ + "hidden" + ], + "@field.relax_7_favourite": [ + "hidden" + ], + "@field.relax_8_favourite": [ + "hidden" + ], + "@field.relax_9_favourite": [ + "hidden" + ], + "@field.relax_10_favourite": [ + "hidden" + ], + "@field.relax_11_favourite": [ + "hidden" + ], + "@field.relax_12_favourite": [ + "hidden" + ], + "@field.relax_14_favourite": [ + "hidden" + ], + "@field.relax_15_favourite": [ + "hidden" + ], + "@field.relax_16_favourite": [ + "hidden" + ], + "@field.relax_17_favourite": [ + "hidden" + ], + "@field.relax_18_favourite": [ + "hidden" + ], + "@field.relax_19_favourite": [ + "hidden" + ], + "@field.relax_13_favourite": [ + "hidden" + ], + "@field.relax_20_favourite": [ + "hidden" + ], + "@field.relax_21_favourite": [ + "hidden" + ], + "@field.relax_22_favourite": [ + "hidden" + ], + "@field.relax_23_favourite": [ + "hidden" + ], + "@field.relax_24_favourite": [ + "hidden" ] } }, + { + "type": "display_group", + "parameter_list": { + "style": "parent_point" + }, + "rows": [ + { + "type": "tile_component", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "parent_centre_relaxes" + ], + "_raw": "click | go_to:parent_centre_relaxes", + "_cleaned": "click | go_to:parent_centre_relaxes" + } + ], + "hidden": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "parameter_list": { + "style": "parent_centre_1", + "first_line_text": "@global.all_relaxes" + }, + "name": "tile_component", + "_nested_name": "display_group.tile_component", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_1_favourite", + "type": "field", + "fieldName": "relax_1_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_2_favourite", + "type": "field", + "fieldName": "relax_2_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_3_favourite", + "type": "field", + "fieldName": "relax_3_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_4_favourite", + "type": "field", + "fieldName": "relax_4_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_5_favourite", + "type": "field", + "fieldName": "relax_5_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_6_favourite", + "type": "field", + "fieldName": "relax_6_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_7_favourite", + "type": "field", + "fieldName": "relax_7_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_8_favourite", + "type": "field", + "fieldName": "relax_8_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_9_favourite", + "type": "field", + "fieldName": "relax_9_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_10_favourite", + "type": "field", + "fieldName": "relax_10_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_11_favourite", + "type": "field", + "fieldName": "relax_11_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_12_favourite", + "type": "field", + "fieldName": "relax_12_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_14_favourite", + "type": "field", + "fieldName": "relax_14_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_15_favourite", + "type": "field", + "fieldName": "relax_15_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_16_favourite", + "type": "field", + "fieldName": "relax_16_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_17_favourite", + "type": "field", + "fieldName": "relax_17_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_18_favourite", + "type": "field", + "fieldName": "relax_18_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_19_favourite", + "type": "field", + "fieldName": "relax_19_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_13_favourite", + "type": "field", + "fieldName": "relax_13_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_20_favourite", + "type": "field", + "fieldName": "relax_20_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_21_favourite", + "type": "field", + "fieldName": "relax_21_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_22_favourite", + "type": "field", + "fieldName": "relax_22_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_23_favourite", + "type": "field", + "fieldName": "relax_23_favourite" + }, + { + "fullExpression": "@field.relax_1_favourite ||\n@field.relax_2_favourite ||\n@field.relax_3_favourite ||\n@field.relax_4_favourite ||\n@field.relax_5_favourite ||\n@field.relax_6_favourite ||\n@field.relax_7_favourite ||\n@field.relax_8_favourite ||\n@field.relax_9_favourite ||\n@field.relax_10_favourite ||\n@field.relax_11_favourite ||\n@field.relax_12_favourite ||\n@field.relax_14_favourite ||\n@field.relax_15_favourite ||\n@field.relax_16_favourite ||\n@field.relax_17_favourite || \n@field.relax_18_favourite ||\n@field.relax_19_favourite ||\n@field.relax_13_favourite ||\n@field.relax_20_favourite ||\n@field.relax_21_favourite ||\n@field.relax_22_favourite ||\n@field.relax_23_favourite ||\n@field.relax_24_favourite ", + "matchedExpression": "@field.relax_24_favourite", + "type": "field", + "fieldName": "relax_24_favourite" + } + ], + "parameter_list": { + "first_line_text": [ + { + "fullExpression": "@global.all_relaxes", + "matchedExpression": "@global.all_relaxes", + "type": "global", + "fieldName": "all_relaxes" + } + ] + } + }, + "_dynamicDependencies": { + "@field.relax_1_favourite": [ + "hidden" + ], + "@field.relax_2_favourite": [ + "hidden" + ], + "@field.relax_3_favourite": [ + "hidden" + ], + "@field.relax_4_favourite": [ + "hidden" + ], + "@field.relax_5_favourite": [ + "hidden" + ], + "@field.relax_6_favourite": [ + "hidden" + ], + "@field.relax_7_favourite": [ + "hidden" + ], + "@field.relax_8_favourite": [ + "hidden" + ], + "@field.relax_9_favourite": [ + "hidden" + ], + "@field.relax_10_favourite": [ + "hidden" + ], + "@field.relax_11_favourite": [ + "hidden" + ], + "@field.relax_12_favourite": [ + "hidden" + ], + "@field.relax_14_favourite": [ + "hidden" + ], + "@field.relax_15_favourite": [ + "hidden" + ], + "@field.relax_16_favourite": [ + "hidden" + ], + "@field.relax_17_favourite": [ + "hidden" + ], + "@field.relax_18_favourite": [ + "hidden" + ], + "@field.relax_19_favourite": [ + "hidden" + ], + "@field.relax_13_favourite": [ + "hidden" + ], + "@field.relax_20_favourite": [ + "hidden" + ], + "@field.relax_21_favourite": [ + "hidden" + ], + "@field.relax_22_favourite": [ + "hidden" + ], + "@field.relax_23_favourite": [ + "hidden" + ], + "@field.relax_24_favourite": [ + "hidden" + ], + "@global.all_relaxes": [ + "parameter_list.first_line_text" + ] + } + } + ], + "name": "display_group", + "_nested_name": "display_group" + }, { "type": "button", - "name": "button_something_fun_1", - "value": "@data.something_fun.co_chef.title", + "name": "button_relax_1", + "value": "@data.relax.relax_1.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_1" + ], + "_raw": "click | set_field:which_relax:relax_1", + "_cleaned": "click | set_field:which_relax:relax_1" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_co_chef" + "relax" ], - "_raw": "click | go_to:activity_co_chef", - "_cleaned": "click | go_to:activity_co_chef" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "_nested_name": "button_something_fun_1", + "hidden": "!@field.relax_1_favourite", + "_nested_name": "button_relax_1", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.co_chef.title", - "matchedExpression": "@data.something_fun.co_chef.title", + "fullExpression": "@data.relax.relax_1.title", + "matchedExpression": "@data.relax.relax_1.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_1_favourite", + "matchedExpression": "@field.relax_1_favourite", + "type": "field", + "fieldName": "relax_1_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.co_chef.title": [ + "@data.relax.relax_1.title": [ "value" + ], + "@field.relax_1_favourite": [ + "hidden" ] } }, { "type": "button", - "name": "button_something_fun_2", - "value": "@data.something_fun.dance_moves.title", + "name": "button_relax_2", + "value": "@data.relax.relax_2.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_2" + ], + "_raw": "click | set_field:which_relax:relax_2", + "_cleaned": "click | set_field:which_relax:relax_2" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_dance_moves" + "relax" ], - "_raw": "click | go_to:activity_dance_moves", - "_cleaned": "click | go_to:activity_dance_moves" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "_nested_name": "button_something_fun_2", + "hidden": "!@field.relax_2_favourite", + "_nested_name": "button_relax_2", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.dance_moves.title", - "matchedExpression": "@data.something_fun.dance_moves.title", + "fullExpression": "@data.relax.relax_2.title", + "matchedExpression": "@data.relax.relax_2.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_2_favourite", + "matchedExpression": "@field.relax_2_favourite", + "type": "field", + "fieldName": "relax_2_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.dance_moves.title": [ + "@data.relax.relax_2.title": [ "value" + ], + "@field.relax_2_favourite": [ + "hidden" ] } }, { "type": "button", - "name": "button_something_fun_3", - "value": "@data.something_fun.two_truths.title", + "name": "button_relax_3", + "value": "@data.relax.relax_3.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_3" + ], + "_raw": "click | set_field:which_relax:relax_3", + "_cleaned": "click | set_field:which_relax:relax_3" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_two_truths" + "relax" ], - "_raw": "click | go_to:activity_two_truths", - "_cleaned": "click | go_to:activity_two_truths" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "_nested_name": "button_something_fun_3", + "hidden": "!@field.relax_3_favourite", + "_nested_name": "button_relax_3", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.two_truths.title", - "matchedExpression": "@data.something_fun.two_truths.title", + "fullExpression": "@data.relax.relax_3.title", + "matchedExpression": "@data.relax.relax_3.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } - ] - }, - "_dynamicDependencies": { - "@data.something_fun.two_truths.title": [ - "value" - ] - } - }, - { - "type": "button", - "name": "button_something_fun_4", - "value": "@data.something_fun.mirror.title", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "activity_mirror" - ], - "_raw": "click | go_to:activity_mirror", - "_cleaned": "click | go_to:activity_mirror" - } - ], - "_nested_name": "button_something_fun_4", - "_dynamicFields": { - "value": [ + ], + "hidden": [ { - "fullExpression": "@data.something_fun.mirror.title", - "matchedExpression": "@data.something_fun.mirror.title", - "type": "data", - "fieldName": "something_fun" + "fullExpression": "!@field.relax_3_favourite", + "matchedExpression": "@field.relax_3_favourite", + "type": "field", + "fieldName": "relax_3_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.mirror.title": [ + "@data.relax.relax_3.title": [ "value" + ], + "@field.relax_3_favourite": [ + "hidden" ] } }, { "type": "button", - "name": "button_something_fun_5", - "value": "@data.something_fun.dream_travel.title", + "name": "button_relax_4", + "value": "@data.relax.relax_4.title", "action_list": [ { "trigger": "click", - "action_id": "go_to", + "action_id": "set_field", "args": [ - "activity_dream_travel" + "this_workshop_together", + false ], - "_raw": "click | go_to:activity_dream_travel", - "_cleaned": "click | go_to:activity_dream_travel" - } - ], - "_nested_name": "button_something_fun_5", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.something_fun.dream_travel.title", - "matchedExpression": "@data.something_fun.dream_travel.title", - "type": "data", - "fieldName": "something_fun" - } - ] - }, - "_dynamicDependencies": { - "@data.something_fun.dream_travel.title": [ - "value" - ] - } - }, - { - "type": "button", - "name": "button_something_fun_6", - "value": "@data.something_fun.famous_party.title", - "action_list": [ + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, { "trigger": "click", - "action_id": "go_to", + "action_id": "set_field", "args": [ - "activity_famous_party" + "which_relax", + "relax_4" ], - "_raw": "click | go_to:activity_famous_party", - "_cleaned": "click | go_to:activity_famous_party" - } - ], - "_nested_name": "button_something_fun_6", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.something_fun.famous_party.title", - "matchedExpression": "@data.something_fun.famous_party.title", - "type": "data", - "fieldName": "something_fun" - } - ] - }, - "_dynamicDependencies": { - "@data.something_fun.famous_party.title": [ - "value" - ] - } - }, - { - "type": "button", - "name": "button_something_fun_7", - "value": "@data.something_fun.time_machine.title", - "action_list": [ + "_raw": "click | set_field:which_relax:relax_4", + "_cleaned": "click | set_field:which_relax:relax_4" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_time_machine" + "relax" ], - "_raw": "click | go_to:activity_time_machine", - "_cleaned": "click | go_to:activity_time_machine" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "_nested_name": "button_something_fun_7", + "hidden": "!@field.relax_4_favourite", + "_nested_name": "button_relax_4", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.time_machine.title", - "matchedExpression": "@data.something_fun.time_machine.title", + "fullExpression": "@data.relax.relax_4.title", + "matchedExpression": "@data.relax.relax_4.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_4_favourite", + "matchedExpression": "@field.relax_4_favourite", + "type": "field", + "fieldName": "relax_4_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.time_machine.title": [ + "@data.relax.relax_4.title": [ "value" + ], + "@field.relax_4_favourite": [ + "hidden" ] } }, { "type": "button", - "name": "button_something_fun_8", - "value": "@data.something_fun.superpowers.title", + "name": "button_relax_5", + "value": "@data.relax.relax_5.title", "action_list": [ { "trigger": "click", - "action_id": "go_to", + "action_id": "set_field", "args": [ - "activity_superpowers" + "this_workshop_together", + false ], - "_raw": "click | go_to:activity_superpowers", - "_cleaned": "click | go_to:activity_superpowers" - } - ], - "_nested_name": "button_something_fun_8", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.something_fun.superpowers.title", - "matchedExpression": "@data.something_fun.superpowers.title", - "type": "data", - "fieldName": "something_fun" - } - ] - }, - "_dynamicDependencies": { - "@data.something_fun.superpowers.title": [ - "value" - ] - } - }, - { - "type": "button", - "name": "button_something_fun_9", - "value": "@data.something_fun.reflect_positive.title", - "action_list": [ + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, { "trigger": "click", - "action_id": "go_to", + "action_id": "set_field", "args": [ - "activity_reflect_positive" + "which_relax", + "relax_5" ], - "_raw": "click | go_to:activity_reflect_positive", - "_cleaned": "click | go_to:activity_reflect_positive" - } - ], - "_nested_name": "button_something_fun_9", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.something_fun.reflect_positive.title", - "matchedExpression": "@data.something_fun.reflect_positive.title", - "type": "data", - "fieldName": "something_fun" - } - ] - }, - "_dynamicDependencies": { - "@data.something_fun.reflect_positive.title": [ - "value" - ] - } - }, - { - "type": "button", - "name": "button_something_fun_10", - "value": "@data.something_fun.check_in_chat.title", - "action_list": [ + "_raw": "click | set_field:which_relax:relax_5", + "_cleaned": "click | set_field:which_relax:relax_5" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_check_in_chat" + "relax" ], - "_raw": "click | go_to:activity_check_in_chat", - "_cleaned": "click | go_to:activity_check_in_chat" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "_nested_name": "button_something_fun_10", + "hidden": "!@field.relax_5_favourite", + "_nested_name": "button_relax_5", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.check_in_chat.title", - "matchedExpression": "@data.something_fun.check_in_chat.title", + "fullExpression": "@data.relax.relax_5.title", + "matchedExpression": "@data.relax.relax_5.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } - ] - }, - "_dynamicDependencies": { - "@data.something_fun.check_in_chat.title": [ - "value" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" - }, - { - "flow_type": "template", - "flow_name": "parent_centre_my_activities", - "status": "released", - "rows": [ - { - "type": "title", - "name": "title", - "value": "@global.my_activities", - "parameter_list": { - "style": "tiny" - }, - "_nested_name": "title", - "_dynamicFields": { - "value": [ + ], + "hidden": [ { - "fullExpression": "@global.my_activities", - "matchedExpression": "@global.my_activities", - "type": "global", - "fieldName": "my_activities" + "fullExpression": "!@field.relax_5_favourite", + "matchedExpression": "@field.relax_5_favourite", + "type": "field", + "fieldName": "relax_5_favourite" } ] }, "_dynamicDependencies": { - "@global.my_activities": [ + "@data.relax.relax_5.title": [ "value" + ], + "@field.relax_5_favourite": [ + "hidden" ] } }, { "type": "button", - "name": "button_something_fun_1", - "value": "@data.something_fun.co_chef.title", + "name": "button_relax_6", + "value": "@data.relax.relax_6.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_6" + ], + "_raw": "click | set_field:which_relax:relax_6", + "_cleaned": "click | set_field:which_relax:relax_6" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_co_chef" + "relax" ], - "_raw": "click | go_to:activity_co_chef", - "_cleaned": "click | go_to:activity_co_chef" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_co_chef_disabled", - "_nested_name": "button_something_fun_1", + "hidden": "!@field.relax_6_favourite", + "_nested_name": "button_relax_6", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.co_chef.title", - "matchedExpression": "@data.something_fun.co_chef.title", + "fullExpression": "@data.relax.relax_6.title", + "matchedExpression": "@data.relax.relax_6.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_co_chef_disabled", - "matchedExpression": "@field.activity_co_chef_disabled", + "fullExpression": "!@field.relax_6_favourite", + "matchedExpression": "@field.relax_6_favourite", "type": "field", - "fieldName": "activity_co_chef_disabled" + "fieldName": "relax_6_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.co_chef.title": [ + "@data.relax.relax_6.title": [ "value" ], - "@field.activity_co_chef_disabled": [ + "@field.relax_6_favourite": [ "hidden" ] } }, { "type": "button", - "name": "button_something_fun_2", - "value": "@data.something_fun.dance_moves.title", + "name": "button_relax_7", + "value": "@data.relax.relax_7.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_7" + ], + "_raw": "click | set_field:which_relax:relax_7", + "_cleaned": "click | set_field:which_relax:relax_7" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_dance_moves" + "relax" ], - "_raw": "click | go_to:activity_dance_moves", - "_cleaned": "click | go_to:activity_dance_moves" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_dance_moves_disabled", - "_nested_name": "button_something_fun_2", + "hidden": "!@field.relax_7_favourite", + "_nested_name": "button_relax_7", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.dance_moves.title", - "matchedExpression": "@data.something_fun.dance_moves.title", + "fullExpression": "@data.relax.relax_7.title", + "matchedExpression": "@data.relax.relax_7.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_dance_moves_disabled", - "matchedExpression": "@field.activity_dance_moves_disabled", + "fullExpression": "!@field.relax_7_favourite", + "matchedExpression": "@field.relax_7_favourite", "type": "field", - "fieldName": "activity_dance_moves_disabled" + "fieldName": "relax_7_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.dance_moves.title": [ + "@data.relax.relax_7.title": [ "value" ], - "@field.activity_dance_moves_disabled": [ + "@field.relax_7_favourite": [ "hidden" ] } }, { "type": "button", - "name": "button_something_fun_3", - "value": "@data.something_fun.two_truths.title", + "name": "button_relax_8", + "value": "@data.relax.relax_8.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_8" + ], + "_raw": "click | set_field:which_relax:relax_8", + "_cleaned": "click | set_field:which_relax:relax_8" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_two_truths" + "relax" ], - "_raw": "click | go_to:activity_two_truths", - "_cleaned": "click | go_to:activity_two_truths" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_two_truths_disabled", - "_nested_name": "button_something_fun_3", + "hidden": "!@field.relax_8_favourite", + "_nested_name": "button_relax_8", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.two_truths.title", - "matchedExpression": "@data.something_fun.two_truths.title", + "fullExpression": "@data.relax.relax_8.title", + "matchedExpression": "@data.relax.relax_8.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_two_truths_disabled", - "matchedExpression": "@field.activity_two_truths_disabled", + "fullExpression": "!@field.relax_8_favourite", + "matchedExpression": "@field.relax_8_favourite", "type": "field", - "fieldName": "activity_two_truths_disabled" + "fieldName": "relax_8_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.two_truths.title": [ + "@data.relax.relax_8.title": [ "value" ], - "@field.activity_two_truths_disabled": [ + "@field.relax_8_favourite": [ "hidden" ] } }, { "type": "button", - "name": "button_something_fun_4", - "value": "@data.something_fun.mirror.title", + "name": "button_relax_9", + "value": "@data.relax.relax_9.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_9" + ], + "_raw": "click | set_field:which_relax:relax_9", + "_cleaned": "click | set_field:which_relax:relax_9" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_mirror" + "relax" ], - "_raw": "click | go_to:activity_mirror", - "_cleaned": "click | go_to:activity_mirror" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_mirror_disabled", - "_nested_name": "button_something_fun_4", + "hidden": "!@field.relax_9_favourite", + "_nested_name": "button_relax_9", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.mirror.title", - "matchedExpression": "@data.something_fun.mirror.title", + "fullExpression": "@data.relax.relax_9.title", + "matchedExpression": "@data.relax.relax_9.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_mirror_disabled", - "matchedExpression": "@field.activity_mirror_disabled", + "fullExpression": "!@field.relax_9_favourite", + "matchedExpression": "@field.relax_9_favourite", "type": "field", - "fieldName": "activity_mirror_disabled" + "fieldName": "relax_9_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.mirror.title": [ + "@data.relax.relax_9.title": [ "value" ], - "@field.activity_mirror_disabled": [ + "@field.relax_9_favourite": [ "hidden" ] } }, { "type": "button", - "name": "button_something_fun_5", - "value": "@data.something_fun.dream_travel.title", + "name": "button_relax_10", + "value": "@data.relax.relax_10.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_10" + ], + "_raw": "click | set_field:which_relax:relax_10", + "_cleaned": "click | set_field:which_relax:relax_10" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_dream_travel" + "relax" ], - "_raw": "click | go_to:activity_dream_travel", - "_cleaned": "click | go_to:activity_dream_travel" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_dream_travel_disabled", - "_nested_name": "button_something_fun_5", + "hidden": "!@field.relax_10_favourite", + "_nested_name": "button_relax_10", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.dream_travel.title", - "matchedExpression": "@data.something_fun.dream_travel.title", + "fullExpression": "@data.relax.relax_10.title", + "matchedExpression": "@data.relax.relax_10.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_dream_travel_disabled", - "matchedExpression": "@field.activity_dream_travel_disabled", + "fullExpression": "!@field.relax_10_favourite", + "matchedExpression": "@field.relax_10_favourite", "type": "field", - "fieldName": "activity_dream_travel_disabled" + "fieldName": "relax_10_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.dream_travel.title": [ + "@data.relax.relax_10.title": [ "value" ], - "@field.activity_dream_travel_disabled": [ + "@field.relax_10_favourite": [ "hidden" ] } }, { "type": "button", - "name": "button_something_fun_6", - "value": "@data.something_fun.famous_party.title", + "name": "button_relax_11", + "value": "@data.relax.relax_11.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_11" + ], + "_raw": "click | set_field:which_relax:relax_11", + "_cleaned": "click | set_field:which_relax:relax_11" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_famous_party" + "relax" ], - "_raw": "click | go_to:activity_famous_party", - "_cleaned": "click | go_to:activity_famous_party" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_famous_party_disabled", - "_nested_name": "button_something_fun_6", + "hidden": "!@field.relax_11_favourite", + "_nested_name": "button_relax_11", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.famous_party.title", - "matchedExpression": "@data.something_fun.famous_party.title", + "fullExpression": "@data.relax.relax_11.title", + "matchedExpression": "@data.relax.relax_11.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_famous_party_disabled", - "matchedExpression": "@field.activity_famous_party_disabled", + "fullExpression": "!@field.relax_11_favourite", + "matchedExpression": "@field.relax_11_favourite", "type": "field", - "fieldName": "activity_famous_party_disabled" + "fieldName": "relax_11_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.famous_party.title": [ + "@data.relax.relax_11.title": [ "value" ], - "@field.activity_famous_party_disabled": [ + "@field.relax_11_favourite": [ "hidden" ] } }, { "type": "button", - "name": "button_something_fun_7", - "value": "@data.something_fun.time_machine.title", - "action_list": [ + "name": "button_relax_12", + "value": "@data.relax.relax_12.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_12" + ], + "_raw": "click | set_field:which_relax:relax_12", + "_cleaned": "click | set_field:which_relax:relax_12" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_time_machine" + "relax" ], - "_raw": "click | go_to:activity_time_machine", - "_cleaned": "click | go_to:activity_time_machine" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_time_machine_disabled", - "_nested_name": "button_something_fun_7", + "hidden": "!@field.relax_12_favourite", + "_nested_name": "button_relax_12", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.time_machine.title", - "matchedExpression": "@data.something_fun.time_machine.title", + "fullExpression": "@data.relax.relax_12.title", + "matchedExpression": "@data.relax.relax_12.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_time_machine_disabled", - "matchedExpression": "@field.activity_time_machine_disabled", + "fullExpression": "!@field.relax_12_favourite", + "matchedExpression": "@field.relax_12_favourite", "type": "field", - "fieldName": "activity_time_machine_disabled" + "fieldName": "relax_12_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.time_machine.title": [ + "@data.relax.relax_12.title": [ "value" ], - "@field.activity_time_machine_disabled": [ + "@field.relax_12_favourite": [ "hidden" ] } }, { "type": "button", - "name": "button_something_fun_8", - "value": "@data.something_fun.superpowers.title", + "name": "button_relax_14", + "value": "@data.relax.relax_14.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_14" + ], + "_raw": "click | set_field:which_relax:relax_14", + "_cleaned": "click | set_field:which_relax:relax_14" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_superpowers" + "relax" ], - "_raw": "click | go_to:activity_superpowers", - "_cleaned": "click | go_to:activity_superpowers" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_superpowers_disabled", - "_nested_name": "button_something_fun_8", + "hidden": "!@field.relax_14_favourite", + "_nested_name": "button_relax_14", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.superpowers.title", - "matchedExpression": "@data.something_fun.superpowers.title", + "fullExpression": "@data.relax.relax_14.title", + "matchedExpression": "@data.relax.relax_14.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_superpowers_disabled", - "matchedExpression": "@field.activity_superpowers_disabled", + "fullExpression": "!@field.relax_14_favourite", + "matchedExpression": "@field.relax_14_favourite", "type": "field", - "fieldName": "activity_superpowers_disabled" + "fieldName": "relax_14_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.superpowers.title": [ + "@data.relax.relax_14.title": [ "value" ], - "@field.activity_superpowers_disabled": [ + "@field.relax_14_favourite": [ "hidden" ] } }, { "type": "button", - "name": "button_something_fun_9", - "value": "@data.something_fun.reflect_positive.title", + "name": "button_relax_15", + "value": "@data.relax.relax_15.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_15" + ], + "_raw": "click | set_field:which_relax:relax_15", + "_cleaned": "click | set_field:which_relax:relax_15" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_reflect_positive" + "relax" ], - "_raw": "click | go_to:activity_reflect_positive", - "_cleaned": "click | go_to:activity_reflect_positive" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_reflect_positive_disabled", - "_nested_name": "button_something_fun_9", + "hidden": "!@field.relax_15_favourite", + "_nested_name": "button_relax_15", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.reflect_positive.title", - "matchedExpression": "@data.something_fun.reflect_positive.title", + "fullExpression": "@data.relax.relax_15.title", + "matchedExpression": "@data.relax.relax_15.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_reflect_positive_disabled", - "matchedExpression": "@field.activity_reflect_positive_disabled", + "fullExpression": "!@field.relax_15_favourite", + "matchedExpression": "@field.relax_15_favourite", "type": "field", - "fieldName": "activity_reflect_positive_disabled" + "fieldName": "relax_15_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.reflect_positive.title": [ + "@data.relax.relax_15.title": [ "value" ], - "@field.activity_reflect_positive_disabled": [ + "@field.relax_15_favourite": [ "hidden" ] } }, { "type": "button", - "name": "button_something_fun_10", - "value": "@data.something_fun.check_in_chat.title", + "name": "button_relax_16", + "value": "@data.relax.relax_16.title", "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_16" + ], + "_raw": "click | set_field:which_relax:relax_16", + "_cleaned": "click | set_field:which_relax:relax_16" + }, { "trigger": "click", "action_id": "go_to", "args": [ - "activity_check_in_chat" + "relax" ], - "_raw": "click | go_to:activity_check_in_chat", - "_cleaned": "click | go_to:activity_check_in_chat" + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "hidden": "@field.activity_check_in_chat_disabled", - "_nested_name": "button_something_fun_10", + "hidden": "!@field.relax_16_favourite", + "_nested_name": "button_relax_16", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.check_in_chat.title", - "matchedExpression": "@data.something_fun.check_in_chat.title", + "fullExpression": "@data.relax.relax_16.title", + "matchedExpression": "@data.relax.relax_16.title", "type": "data", - "fieldName": "something_fun" + "fieldName": "relax" } ], "hidden": [ { - "fullExpression": "@field.activity_check_in_chat_disabled", - "matchedExpression": "@field.activity_check_in_chat_disabled", + "fullExpression": "!@field.relax_16_favourite", + "matchedExpression": "@field.relax_16_favourite", "type": "field", - "fieldName": "activity_check_in_chat_disabled" + "fieldName": "relax_16_favourite" } ] }, "_dynamicDependencies": { - "@data.something_fun.check_in_chat.title": [ + "@data.relax.relax_16.title": [ "value" ], - "@field.activity_check_in_chat_disabled": [ + "@field.relax_16_favourite": [ "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" - }, - { - "flow_type": "template", - "flow_name": "parent_centre_support_contacts", - "status": "released", - "rows": [ + }, { - "type": "title", - "name": "title", - "value": "@global.support_contacts", - "parameter_list": { - "style": "tiny" + "type": "button", + "name": "button_relax_17", + "value": "@data.relax.relax_17.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_17" + ], + "_raw": "click | set_field:which_relax:relax_17", + "_cleaned": "click | set_field:which_relax:relax_17" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" + } + ], + "hidden": "!@field.relax_17_favourite", + "_nested_name": "button_relax_17", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.relax.relax_17.title", + "matchedExpression": "@data.relax.relax_17.title", + "type": "data", + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_17_favourite", + "matchedExpression": "@field.relax_17_favourite", + "type": "field", + "fieldName": "relax_17_favourite" + } + ] }, - "_nested_name": "title", + "_dynamicDependencies": { + "@data.relax.relax_17.title": [ + "value" + ], + "@field.relax_17_favourite": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_relax_18", + "value": "@data.relax.relax_18.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_18" + ], + "_raw": "click | set_field:which_relax:relax_18", + "_cleaned": "click | set_field:which_relax:relax_18" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" + } + ], + "hidden": "!@field.relax_18_favourite", + "_nested_name": "button_relax_18", "_dynamicFields": { "value": [ { - "fullExpression": "@global.support_contacts", - "matchedExpression": "@global.support_contacts", - "type": "global", - "fieldName": "support_contacts" + "fullExpression": "@data.relax.relax_18.title", + "matchedExpression": "@data.relax.relax_18.title", + "type": "data", + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_18_favourite", + "matchedExpression": "@field.relax_18_favourite", + "type": "field", + "fieldName": "relax_18_favourite" } ] }, "_dynamicDependencies": { - "@global.support_contacts": [ + "@data.relax.relax_18.title": [ "value" + ], + "@field.relax_18_favourite": [ + "hidden" ] } }, { - "type": "text", - "name": "text", - "value": "Content coming soon", - "_nested_name": "text" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" - }, - { - "flow_type": "template", - "flow_name": "parent_centre_evidence_base", - "status": "released", - "rows": [ + "type": "button", + "name": "button_relax_19", + "value": "@data.relax.relax_19.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_19" + ], + "_raw": "click | set_field:which_relax:relax_19", + "_cleaned": "click | set_field:which_relax:relax_19" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" + } + ], + "hidden": "!@field.relax_19_favourite", + "_nested_name": "button_relax_19", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.relax.relax_19.title", + "matchedExpression": "@data.relax.relax_19.title", + "type": "data", + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_19_favourite", + "matchedExpression": "@field.relax_19_favourite", + "type": "field", + "fieldName": "relax_19_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.relax.relax_19.title": [ + "value" + ], + "@field.relax_19_favourite": [ + "hidden" + ] + } + }, { - "type": "title", - "name": "title", - "value": "@global.evidence_base", + "type": "button", + "name": "button_relax_13", + "value": "@data.relax.relax_13.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_13" + ], + "_raw": "click | set_field:which_relax:relax_13", + "_cleaned": "click | set_field:which_relax:relax_13" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" + } + ], + "hidden": "!@field.relax_13_favourite", "parameter_list": { - "style": "tiny" + "style": "navigation" }, - "_nested_name": "title", + "_nested_name": "button_relax_13", "_dynamicFields": { "value": [ { - "fullExpression": "@global.evidence_base", - "matchedExpression": "@global.evidence_base", - "type": "global", - "fieldName": "evidence_base" + "fullExpression": "@data.relax.relax_13.title", + "matchedExpression": "@data.relax.relax_13.title", + "type": "data", + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_13_favourite", + "matchedExpression": "@field.relax_13_favourite", + "type": "field", + "fieldName": "relax_13_favourite" } ] }, "_dynamicDependencies": { - "@global.evidence_base": [ + "@data.relax.relax_13.title": [ "value" + ], + "@field.relax_13_favourite": [ + "hidden" ] } }, { - "type": "text", - "name": "text", - "value": "Content coming soon", - "_nested_name": "text" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" - }, - { - "flow_type": "template", - "flow_name": "parent_centre_technical_support", - "status": "released", - "rows": [ - { - "type": "title", - "name": "title", - "value": "@global.technical_support", + "type": "button", + "name": "button_relax_20", + "value": "@data.relax.relax_20.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_20" + ], + "_raw": "click | set_field:which_relax:relax_20", + "_cleaned": "click | set_field:which_relax:relax_20" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" + } + ], + "hidden": "!@field.relax_20_favourite", "parameter_list": { - "style": "tiny" + "style": "navigation" }, - "_nested_name": "title", + "_nested_name": "button_relax_20", "_dynamicFields": { "value": [ { - "fullExpression": "@global.technical_support", - "matchedExpression": "@global.technical_support", - "type": "global", - "fieldName": "technical_support" + "fullExpression": "@data.relax.relax_20.title", + "matchedExpression": "@data.relax.relax_20.title", + "type": "data", + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_20_favourite", + "matchedExpression": "@field.relax_20_favourite", + "type": "field", + "fieldName": "relax_20_favourite" } ] }, "_dynamicDependencies": { - "@global.technical_support": [ + "@data.relax.relax_20.title": [ "value" + ], + "@field.relax_20_favourite": [ + "hidden" ] } }, { - "type": "text", - "name": "text", - "value": "Content coming soon", - "_nested_name": "text" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_parent_centre.xlsx" - }, - { - "flow_type": "template", - "flow_name": "relax_text", - "status": "released", - "rows": [ - { - "type": "text", - "name": "activity_text", - "_nested_name": "activity_text" + "type": "button", + "name": "button_relax_21", + "value": "@data.relax.relax_21.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_21" + ], + "_raw": "click | set_field:which_relax:relax_21", + "_cleaned": "click | set_field:which_relax:relax_21" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" + } + ], + "hidden": "!@field.relax_21_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_relax_21", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.relax.relax_21.title", + "matchedExpression": "@data.relax.relax_21.title", + "type": "data", + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_21_favourite", + "matchedExpression": "@field.relax_21_favourite", + "type": "field", + "fieldName": "relax_21_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.relax.relax_21.title": [ + "value" + ], + "@field.relax_21_favourite": [ + "hidden" + ] + } }, { - "type": "text", - "name": "outro_text", - "_nested_name": "outro_text" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_relax.xlsx" - }, - { - "flow_type": "template", - "flow_name": "something_fun_text", - "status": "released", - "rows": [ - { - "type": "title", - "name": "activity_title", - "_nested_name": "activity_title" - }, - { - "type": "text", - "name": "activity_text", - "_nested_name": "activity_text" + "type": "button", + "name": "button_relax_22", + "value": "@data.relax.relax_22.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_22" + ], + "_raw": "click | set_field:which_relax:relax_22", + "_cleaned": "click | set_field:which_relax:relax_22" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" + } + ], + "hidden": "!@field.relax_22_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_relax_22", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.relax.relax_22.title", + "matchedExpression": "@data.relax.relax_22.title", + "type": "data", + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_22_favourite", + "matchedExpression": "@field.relax_22_favourite", + "type": "field", + "fieldName": "relax_22_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.relax.relax_22.title": [ + "value" + ], + "@field.relax_22_favourite": [ + "hidden" + ] + } }, { - "type": "display_group", - "name": "habit_box", + "type": "button", + "name": "button_relax_23", + "value": "@data.relax.relax_23.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_23" + ], + "_raw": "click | set_field:which_relax:relax_23", + "_cleaned": "click | set_field:which_relax:relax_23" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" + } + ], + "hidden": "!@field.relax_23_favourite", "parameter_list": { - "icon_src": "plh_images/icons/star_circle.svg", - "icon_position": "top-left", - "type": "dashed_box" + "style": "navigation" }, - "rows": [ - { - "type": "subtitle", - "name": "habit_box_text", - "value": "@data.habit.spend_time.short_mark_text", - "_nested_name": "habit_box.habit_box_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.spend_time.short_mark_text", - "matchedExpression": "@data.habit.spend_time.short_mark_text", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.spend_time.short_mark_text": [ - "value" - ] + "_nested_name": "button_relax_23", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.relax.relax_23.title", + "matchedExpression": "@data.relax.relax_23.title", + "type": "data", + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_23_favourite", + "matchedExpression": "@field.relax_23_favourite", + "type": "field", + "fieldName": "relax_23_favourite" } + ] + }, + "_dynamicDependencies": { + "@data.relax.relax_23.title": [ + "value" + ], + "@field.relax_23_favourite": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_relax_24", + "value": "@data.relax.relax_24.title", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "this_workshop_together", + false + ], + "_raw": "click | set_field:this_workshop_together:false", + "_cleaned": "click | set_field:this_workshop_together:false" }, { - "type": "parent_point_box", - "name": "habit_tracker", - "value": "@field.total_parent_point_spend_time", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_spend_time", - "@field.total_parent_point_spend_time+1" - ], - "_raw": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "_cleaned": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_spend_time", - "@field.weekly_parent_point_spend_time+1" - ], - "_raw": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "_cleaned": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1" - } + "trigger": "click", + "action_id": "set_field", + "args": [ + "which_relax", + "relax_24" ], - "parameter_list": { - "text": "@data.habit.spend_time.title", - "icon_src": "plh_images/habits/habit_spend_time.svg" - }, - "_nested_name": "habit_box.habit_tracker", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_spend_time", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ] - } - }, - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.spend_time.title", - "matchedExpression": "@data.habit.spend_time.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_spend_time": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_spend_time": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@data.habit.spend_time.title": [ - "parameter_list.text" - ] - } + "_raw": "click | set_field:which_relax:relax_24", + "_cleaned": "click | set_field:which_relax:relax_24" + }, + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" } ], - "_nested_name": "habit_box" + "hidden": "!@field.relax_24_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_relax_24", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.relax.relax_24.title", + "matchedExpression": "@data.relax.relax_24.title", + "type": "data", + "fieldName": "relax" + } + ], + "hidden": [ + { + "fullExpression": "!@field.relax_24_favourite", + "matchedExpression": "@field.relax_24_favourite", + "type": "field", + "fieldName": "relax_24_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.relax.relax_24.title": [ + "value" + ], + "@field.relax_24_favourite": [ + "hidden" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/data/something_fun_data_list.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_relax_and_activities.xlsx" }, { "flow_type": "template", - "flow_name": "box_slider", + "flow_name": "parent_centre_activities", "status": "released", "rows": [ { - "name": "slider_tracker", - "type": "set_variable", - "_nested_name": "slider_tracker" - }, - { - "name": "slider_final", - "type": "set_variable", - "_nested_name": "slider_final" - }, - { - "name": "slider_title", - "hidden": true, - "type": "set_variable", - "_nested_name": "slider_title" - }, - { - "name": "help_text", - "type": "set_variable", - "_nested_name": "help_text" - }, - { - "name": "min_value", - "value": 0, - "type": "set_variable", - "_nested_name": "min_value" - }, - { - "name": "min_value_label", - "value": "days in the past week", - "type": "set_variable", - "_nested_name": "min_value_label" - }, - { - "name": "max_value", - "value": 7, - "type": "set_variable", - "_nested_name": "max_value" - }, - { - "name": "max_value_label", - "type": "set_variable", - "_nested_name": "max_value_label" - }, - { - "name": "step", - "value": 1, - "type": "set_variable", - "_nested_name": "step" - }, - { - "name": "labels_count", - "value": 8, - "type": "set_variable", - "_nested_name": "labels_count" - }, - { - "name": "threshold", - "value": 3, - "type": "set_variable", - "_nested_name": "threshold" + "type": "title", + "name": "title", + "value": "@global.all_activities", + "parameter_list": { + "style": "tiny" + }, + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.all_activities", + "matchedExpression": "@global.all_activities", + "type": "global", + "fieldName": "all_activities" + } + ] + }, + "_dynamicDependencies": { + "@global.all_activities": [ + "value" + ] + } }, { - "type": "image", - "name": "image_src", - "hidden": true, - "_nested_name": "image_src" + "type": "subtitle", + "name": "subtitle_chat_together", + "value": "@global.chat_together", + "_nested_name": "subtitle_chat_together", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.chat_together", + "matchedExpression": "@global.chat_together", + "type": "global", + "fieldName": "chat_together" + } + ] + }, + "_dynamicDependencies": { + "@global.chat_together": [ + "value" + ] + } }, { - "type": "text", - "name": "text", - "value": "Text", - "parameter_list": { - "style": "center" + "type": "button", + "name": "button_something_fun_1", + "value": "@data.something_fun.reflect_positive.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_reflect_positive" + ], + "_raw": "click | go_to: activity_reflect_positive", + "_cleaned": "click | go_to: activity_reflect_positive" + } + ], + "_nested_name": "button_something_fun_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.reflect_positive.title", + "matchedExpression": "@data.something_fun.reflect_positive.title", + "type": "data", + "fieldName": "something_fun" + } + ] }, - "_nested_name": "text" + "_dynamicDependencies": { + "@data.something_fun.reflect_positive.title": [ + "value" + ] + } }, { - "type": "text", - "name": "question_text", - "value": "Question text", - "parameter_list": { - "style": "center emphasised" + "type": "button", + "name": "button_something_fun_2", + "value": "@data.something_fun.check_in_chat.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_check_in_chat" + ], + "_raw": "click | go_to: activity_check_in_chat", + "_cleaned": "click | go_to: activity_check_in_chat" + } + ], + "_nested_name": "button_something_fun_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.check_in_chat.title", + "matchedExpression": "@data.something_fun.check_in_chat.title", + "type": "data", + "fieldName": "something_fun" + } + ] }, - "_nested_name": "question_text" + "_dynamicDependencies": { + "@data.something_fun.check_in_chat.title": [ + "value" + ] + } }, { - "type": "slider", - "name": "slider", + "type": "button", + "name": "button_something_fun_3", + "value": "@data.something_fun.dream_travel.title", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "click", + "action_id": "go_to", "args": [ - "@local.slider_tracker", - "@local.slider" + "activity_dream_travel" ], - "_raw": "changed | set_field:@local.slider_tracker:@local.slider", - "_cleaned": "changed | set_field:@local.slider_tracker:@local.slider" + "_raw": "click | go_to: activity_dream_travel", + "_cleaned": "click | go_to: activity_dream_travel" } ], - "parameter_list": { - "help": "@local.help_text", - "min": "@local.min_value", - "min_value_label": "@local.min_value_label", - "max": "@local.max_value", - "max_value_label": "@local.max_value_label", - "title": "@local.title", - "step": "@local.step", - "labels_count": "@local.labels_count" - }, - "_nested_name": "slider", + "_nested_name": "button_something_fun_3", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_tracker", - "matchedExpression": "@local.slider_tracker", - "type": "local", - "fieldName": "slider_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider_tracker", - "type": "local", - "fieldName": "slider_tracker" - }, - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider_tracker", - "type": "local", - "fieldName": "slider_tracker" - }, - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.dream_travel.title", + "matchedExpression": "@data.something_fun.dream_travel.title", + "type": "data", + "fieldName": "something_fun" } - }, - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ], - "min": [ - { - "fullExpression": "@local.min_value", - "matchedExpression": "@local.min_value", - "type": "local", - "fieldName": "min_value" - } - ], - "min_value_label": [ - { - "fullExpression": "@local.min_value_label", - "matchedExpression": "@local.min_value_label", - "type": "local", - "fieldName": "min_value_label" - } - ], - "max": [ - { - "fullExpression": "@local.max_value", - "matchedExpression": "@local.max_value", - "type": "local", - "fieldName": "max_value" - } - ], - "max_value_label": [ - { - "fullExpression": "@local.max_value_label", - "matchedExpression": "@local.max_value_label", - "type": "local", - "fieldName": "max_value_label" - } - ], - "title": [ - { - "fullExpression": "@local.title", - "matchedExpression": "@local.title", - "type": "local", - "fieldName": "title" - } - ], - "step": [ - { - "fullExpression": "@local.step", - "matchedExpression": "@local.step", - "type": "local", - "fieldName": "step" - } - ], - "labels_count": [ - { - "fullExpression": "@local.labels_count", - "matchedExpression": "@local.labels_count", - "type": "local", - "fieldName": "labels_count" - } - ] - } + ] }, "_dynamicDependencies": { - "@local.slider_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.slider": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.help_text": [ - "parameter_list.help" - ], - "@local.min_value": [ - "parameter_list.min" - ], - "@local.min_value_label": [ - "parameter_list.min_value_label" - ], - "@local.max_value": [ - "parameter_list.max" - ], - "@local.max_value_label": [ - "parameter_list.max_value_label" - ], - "@local.title": [ - "parameter_list.title" - ], - "@local.step": [ - "parameter_list.step" - ], - "@local.labels_count": [ - "parameter_list.labels_count" + "@data.something_fun.dream_travel.title": [ + "value" ] } }, { - "type": "text", - "name": "reply_less_equal", - "value": "You selected @local.threshold or less", - "parameter_list": { - "style": "center" - }, - "_nested_name": "reply_less_equal", + "type": "button", + "name": "button_something_fun_4", + "value": "@data.something_fun.famous_party.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_famous_party" + ], + "_raw": "click | go_to: activity_famous_party", + "_cleaned": "click | go_to: activity_famous_party" + } + ], + "_nested_name": "button_something_fun_4", "_dynamicFields": { "value": [ { - "fullExpression": "You selected @local.threshold or less", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" + "fullExpression": "@data.something_fun.famous_party.title", + "matchedExpression": "@data.something_fun.famous_party.title", + "type": "data", + "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@local.threshold": [ + "@data.something_fun.famous_party.title": [ "value" ] } }, { - "type": "text", - "name": "reply_greater", - "value": "You selected more than @local.threshold", - "parameter_list": { - "style": "center" - }, - "_nested_name": "reply_greater", + "type": "button", + "name": "button_something_fun_5", + "value": "@data.something_fun.two_truths.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_two_truths" + ], + "_raw": "click | go_to: activity_two_truths", + "_cleaned": "click | go_to: activity_two_truths" + } + ], + "_nested_name": "button_something_fun_5", "_dynamicFields": { "value": [ { - "fullExpression": "You selected more than @local.threshold", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" + "fullExpression": "@data.something_fun.two_truths.title", + "matchedExpression": "@data.something_fun.two_truths.title", + "type": "data", + "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@local.threshold": [ + "@data.something_fun.two_truths.title": [ "value" ] } }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "button", + "name": "button_something_fun_6", + "value": "@data.something_fun.time_machine.title", "action_list": [ { - "trigger": "completed", - "action_id": "set_field", + "trigger": "click", + "action_id": "go_to", "args": [ - "@local.slider_final", - "@local.slider" + "activity_time_machine" ], - "_raw": "completed | set_field:@local.slider_final:@local.slider", - "_cleaned": "completed | set_field:@local.slider_final:@local.slider" - }, + "_raw": "click | go_to: activity_time_machine", + "_cleaned": "click | go_to: activity_time_machine" + } + ], + "_nested_name": "button_something_fun_6", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.time_machine.title", + "matchedExpression": "@data.something_fun.time_machine.title", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.time_machine.title": [ + "value" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_7", + "value": "@data.something_fun.superpowers.title", + "action_list": [ { - "trigger": "completed", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "completed" + "activity_superpowers" ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, + "_raw": "click | go_to: activity_superpowers", + "_cleaned": "click | go_to: activity_superpowers" + } + ], + "_nested_name": "button_something_fun_7", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.superpowers.title", + "matchedExpression": "@data.something_fun.superpowers.title", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.superpowers.title": [ + "value" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_8", + "value": "@data.something_fun.friendly_chat.title", + "action_list": [ { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "uncompleted" + "activity_friendly_chat" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" + "_raw": "click | go_to: activity_friendly_chat", + "_cleaned": "click | go_to: activity_friendly_chat" } ], - "rows": [ + "_nested_name": "button_something_fun_8", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.friendly_chat.title", + "matchedExpression": "@data.something_fun.friendly_chat.title", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.friendly_chat.title": [ + "value" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_9", + "value": "@data.something_fun.interrupter.title", + "action_list": [ { - "name": "use_completed_chevron", - "value": true, - "type": "set_variable", - "_nested_name": "nav_buttons.use_completed_chevron" + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_interrupter" + ], + "_raw": "click | go_to: activity_interrupter", + "_cleaned": "click | go_to: activity_interrupter" } ], - "_nested_name": "nav_buttons", + "_nested_name": "button_something_fun_9", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_final", - "matchedExpression": "@local.slider_final", - "type": "local", - "fieldName": "slider_final" - } - ], - "1": [ - { - "fullExpression": "@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] - }, - "_raw": [ - { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider_final", - "type": "local", - "fieldName": "slider_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ], - "_cleaned": [ - { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider_final", - "type": "local", - "fieldName": "slider_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.interrupter.title", + "matchedExpression": "@data.something_fun.interrupter.title", + "type": "data", + "fieldName": "something_fun" } - } + ] }, "_dynamicDependencies": { - "@local.slider_final": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.slider": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@data.something_fun.interrupter.title": [ + "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_slider_week_temp", - "status": "released", - "rows": [ - { - "name": "slider_tracker", - "type": "set_variable", - "_nested_name": "slider_tracker" - }, - { - "name": "slider_final", - "type": "set_variable", - "_nested_name": "slider_final" - }, - { - "name": "threshold", - "value": 3, - "type": "set_variable", - "_nested_name": "threshold" - }, - { - "name": "less_includes_zero", - "value": true, - "type": "set_variable", - "_nested_name": "less_includes_zero" }, { - "type": "image", - "name": "image_src", - "hidden": true, - "style_list": [ - "max-height: 150px" + "type": "button", + "name": "button_something_fun_10", + "value": "@data.something_fun.three_options.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_three_options" + ], + "_raw": "click | go_to: activity_three_options", + "_cleaned": "click | go_to: activity_three_options" + } ], - "_nested_name": "image_src" + "_nested_name": "button_something_fun_10", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.three_options.title", + "matchedExpression": "@data.something_fun.three_options.title", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.three_options.title": [ + "value" + ] + } }, { - "type": "text", - "name": "text", - "value": "Text", - "parameter_list": { - "style": "center" + "type": "button", + "name": "button_something_fun_11", + "value": "@data.something_fun.yes_no_maybe.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_yes_no_maybe" + ], + "_raw": "click | go_to: activity_yes_no_maybe", + "_cleaned": "click | go_to: activity_yes_no_maybe" + } + ], + "_nested_name": "button_something_fun_11", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.yes_no_maybe.title", + "matchedExpression": "@data.something_fun.yes_no_maybe.title", + "type": "data", + "fieldName": "something_fun" + } + ] }, - "_nested_name": "text" + "_dynamicDependencies": { + "@data.something_fun.yes_no_maybe.title": [ + "value" + ] + } }, { - "type": "text", - "name": "question_text", - "value": "Question text", - "parameter_list": { - "style": "center emphasised" + "type": "button", + "name": "button_something_fun_12", + "value": "@data.something_fun.memory_game.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_memory_game" + ], + "_raw": "click | go_to: activity_memory_game", + "_cleaned": "click | go_to: activity_memory_game" + } + ], + "_nested_name": "button_something_fun_12", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.memory_game.title", + "matchedExpression": "@data.something_fun.memory_game.title", + "type": "data", + "fieldName": "something_fun" + } + ] }, - "_nested_name": "question_text" + "_dynamicDependencies": { + "@data.something_fun.memory_game.title": [ + "value" + ] + } }, { - "type": "slider", - "name": "slider", + "type": "button", + "name": "button_something_fun_13", + "value": "@data.something_fun.invent_story.title", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "click", + "action_id": "go_to", "args": [ - "@local.slider_tracker", - "@local.slider" + "activity_invent_story" ], - "_raw": "changed | set_field:@local.slider_tracker:@local.slider", - "_cleaned": "changed | set_field:@local.slider_tracker:@local.slider" + "_raw": "click | go_to: activity_invent_story", + "_cleaned": "click | go_to: activity_invent_story" } ], - "parameter_list": { - "min": "0", - "min_value_label": "Days in the past week", - "max": "7" - }, - "_nested_name": "slider", + "_nested_name": "button_something_fun_13", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_tracker", - "matchedExpression": "@local.slider_tracker", - "type": "local", - "fieldName": "slider_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider_tracker", - "type": "local", - "fieldName": "slider_tracker" - }, - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider_tracker", - "type": "local", - "fieldName": "slider_tracker" - }, - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.invent_story.title", + "matchedExpression": "@data.something_fun.invent_story.title", + "type": "data", + "fieldName": "something_fun" } - } + ] }, "_dynamicDependencies": { - "@local.slider_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.slider": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@data.something_fun.invent_story.title": [ + "value" ] } }, { - "type": "text", - "name": "reply_zero", - "value": "You selected 0", - "hidden": "@local.less_includes_zero || \"@local.slider\" != 0 ", - "parameter_list": { - "style": "center" - }, - "_nested_name": "reply_zero", + "type": "subtitle", + "name": "subtitle_do_together", + "value": "@global.do_together", + "_nested_name": "subtitle_do_together", "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@local.less_includes_zero || \"@local.slider\" != 0 ", - "matchedExpression": "@local.less_includes_zero", - "type": "local", - "fieldName": "less_includes_zero" - }, + "value": [ { - "fullExpression": "@local.less_includes_zero || \"@local.slider\" != 0 ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@global.do_together", + "matchedExpression": "@global.do_together", + "type": "global", + "fieldName": "do_together" } ] }, "_dynamicDependencies": { - "@local.less_includes_zero": [ - "hidden" - ], - "@local.slider": [ - "hidden" + "@global.do_together": [ + "value" ] } }, { - "type": "text", - "name": "reply_less", - "value": "You selected less than @local.threshold", - "hidden": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "type": "button", + "name": "button_something_fun_14", + "value": "@data.something_fun.co_chef.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_co_chef" + ], + "_raw": "click | go_to: activity_co_chef", + "_cleaned": "click | go_to: activity_co_chef" + } + ], "parameter_list": { - "style": "center" + "style": "navigation" }, - "_nested_name": "reply_less", + "_nested_name": "button_something_fun_14", "_dynamicFields": { "value": [ { - "fullExpression": "You selected less than @local.threshold", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], - "hidden": [ - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.less_includes_zero", - "type": "local", - "fieldName": "less_includes_zero" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.less_includes_zero", - "type": "local", - "fieldName": "less_includes_zero" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@data.something_fun.co_chef.title", + "matchedExpression": "@data.something_fun.co_chef.title", + "type": "data", + "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden", - "hidden" - ], - "@local.less_includes_zero": [ - "hidden", - "hidden" - ], - "@local.slider": [ - "hidden", - "hidden", - "hidden", - "hidden", - "hidden", - "hidden", - "hidden" + "@data.something_fun.co_chef.title": [ + "value" ] } }, { - "type": "dashed_box", - "name": "unlock_less", - "value": "Unlock for less than @local.threshold", - "hidden": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "type": "button", + "name": "button_something_fun_15", + "value": "@data.something_fun.dance_moves.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_dance_moves" + ], + "_raw": "click | go_to: activity_dance_moves", + "_cleaned": "click | go_to: activity_dance_moves" + } + ], "parameter_list": { - "icon_src": "plh_images/icons/unlock_circle.svg", - "icon_position": "top-left" + "style": "navigation" }, - "_nested_name": "unlock_less", + "_nested_name": "button_something_fun_15", "_dynamicFields": { "value": [ { - "fullExpression": "Unlock for less than @local.threshold", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], - "hidden": [ - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.less_includes_zero", - "type": "local", - "fieldName": "less_includes_zero" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.less_includes_zero", - "type": "local", - "fieldName": "less_includes_zero" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@data.something_fun.dance_moves.title", + "matchedExpression": "@data.something_fun.dance_moves.title", + "type": "data", + "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden", - "hidden" - ], - "@local.less_includes_zero": [ - "hidden", - "hidden" - ], - "@local.slider": [ - "hidden", - "hidden", - "hidden", - "hidden", - "hidden", - "hidden", - "hidden" + "@data.something_fun.dance_moves.title": [ + "value" ] } }, { - "type": "text", - "name": "reply_greater_equal", - "value": "You selected @local.threshold or more", - "hidden": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "type": "button", + "name": "button_something_fun_16", + "value": "@data.something_fun.mirror.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_mirror" + ], + "_raw": "click | go_to: activity_mirror", + "_cleaned": "click | go_to: activity_mirror" + } + ], "parameter_list": { - "style": "center" + "style": "navigation" }, - "_nested_name": "reply_greater_equal", + "_nested_name": "button_something_fun_16", "_dynamicFields": { "value": [ { - "fullExpression": "You selected @local.threshold or more", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], - "hidden": [ - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@data.something_fun.mirror.title", + "matchedExpression": "@data.something_fun.mirror.title", + "type": "data", + "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden" - ], - "@local.slider": [ - "hidden", - "hidden", - "hidden" + "@data.something_fun.mirror.title": [ + "value" ] } }, { - "type": "dashed_box", - "name": "unlock_greater_equal", - "value": "Unlock for greater than or equal to @local.threshold", - "hidden": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "type": "button", + "name": "button_something_fun_17", + "value": "@data.something_fun.whats_new.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_whats_new" + ], + "_raw": "click | go_to: activity_whats_new", + "_cleaned": "click | go_to: activity_whats_new" + } + ], "parameter_list": { - "icon_src": "plh_images/icons/unlock_circle.svg", - "icon_position": "top-left" + "style": "navigation" }, - "_nested_name": "unlock_greater_equal", + "_nested_name": "button_something_fun_17", "_dynamicFields": { "value": [ { - "fullExpression": "Unlock for greater than or equal to @local.threshold", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], - "hidden": [ - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@data.something_fun.whats_new.title", + "matchedExpression": "@data.something_fun.whats_new.title", + "type": "data", + "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden" - ], - "@local.slider": [ - "hidden", - "hidden", - "hidden" + "@data.something_fun.whats_new.title": [ + "value" ] } }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "button", + "name": "button_something_fun_18", + "value": "@data.something_fun.get_active.title", "action_list": [ { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "@local.slider_final", - "@local.slider" - ], - "_raw": "completed | set_field:@local.slider_final:@local.slider", - "_cleaned": "completed | set_field:@local.slider_final:@local.slider" - }, - { - "trigger": "completed", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "completed" + "activity_get_active" ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, + "_raw": "click | go_to: activity_get_active", + "_cleaned": "click | go_to: activity_get_active" + } + ], + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_18", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.get_active.title", + "matchedExpression": "@data.something_fun.get_active.title", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.get_active.title": [ + "value" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_19", + "value": "@data.something_fun.name_that_tune.title", + "action_list": [ { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "uncompleted" + "activity_name_that_tune" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" + "_raw": "click | go_to: activity_name_that_tune", + "_cleaned": "click | go_to: activity_name_that_tune" } ], - "rows": [ + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_19", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.name_that_tune.title", + "matchedExpression": "@data.something_fun.name_that_tune.title", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.name_that_tune.title": [ + "value" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_20", + "value": "@data.something_fun.pass_the_snap.title", + "action_list": [ { - "name": "use_completed_chevron", - "value": true, - "type": "set_variable", - "_nested_name": "nav_buttons.use_completed_chevron" + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_pass_the_snap" + ], + "_raw": "click | go_to: activity_pass_the_snap", + "_cleaned": "click | go_to: activity_pass_the_snap" } ], - "_nested_name": "nav_buttons", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_20", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_final", - "matchedExpression": "@local.slider_final", - "type": "local", - "fieldName": "slider_final" - } - ], - "1": [ - { - "fullExpression": "@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] - }, - "_raw": [ - { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider_final", - "type": "local", - "fieldName": "slider_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ], - "_cleaned": [ - { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider_final", - "type": "local", - "fieldName": "slider_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.pass_the_snap.title", + "matchedExpression": "@data.something_fun.pass_the_snap.title", + "type": "data", + "fieldName": "something_fun" } - } + ] }, "_dynamicDependencies": { - "@local.slider_final": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.slider": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@data.something_fun.pass_the_snap.title": [ + "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_slider_month_temp", - "status": "released", - "rows": [ - { - "name": "slider_tracker", - "type": "set_variable", - "_nested_name": "slider_tracker" - }, - { - "name": "slider_final", - "type": "set_variable", - "_nested_name": "slider_final" - }, - { - "name": "threshold", - "value": 5, - "type": "set_variable", - "_nested_name": "threshold" - }, - { - "type": "image", - "name": "image_src", - "hidden": true, - "_nested_name": "image_src" - }, - { - "type": "text", - "name": "text", - "value": "Text", - "parameter_list": { - "style": "center" - }, - "_nested_name": "text" }, { - "type": "text", - "name": "question_text", - "value": "Question text", + "type": "button", + "name": "button_something_fun_21", + "value": "@data.something_fun.family_workout.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_family_workout" + ], + "_raw": "click | go_to: activity_family_workout", + "_cleaned": "click | go_to: activity_family_workout" + } + ], "parameter_list": { - "style": "center emphasised" + "style": "navigation" }, - "_nested_name": "question_text" - }, - { - "type": "text", - "name": "example_text", - "value": "Example text", - "hidden": true, - "parameter_list": { - "style": "center" + "_nested_name": "button_something_fun_21", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.family_workout.title", + "matchedExpression": "@data.something_fun.family_workout.title", + "type": "data", + "fieldName": "something_fun" + } + ] }, - "_nested_name": "example_text" + "_dynamicDependencies": { + "@data.something_fun.family_workout.title": [ + "value" + ] + } }, { - "type": "slider", - "name": "slider", + "type": "button", + "name": "button_something_fun_22", + "value": "@data.something_fun.housework.title", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "click", + "action_id": "go_to", "args": [ - "@local.slider_tracker", - "@local.slider" + "activity_housework" ], - "_raw": "changed | set_field:@local.slider_tracker:@local.slider", - "_cleaned": "changed | set_field:@local.slider_tracker:@local.slider" + "_raw": "click | go_to: activity_housework", + "_cleaned": "click | go_to: activity_housework" } ], "parameter_list": { - "min": "0", - "min_value_label": "Days in the past month", - "max": "30", - "labels_count": "7" + "style": "navigation" }, - "_nested_name": "slider", + "_nested_name": "button_something_fun_22", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_tracker", - "matchedExpression": "@local.slider_tracker", - "type": "local", - "fieldName": "slider_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider_tracker", - "type": "local", - "fieldName": "slider_tracker" - }, - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider_tracker", - "type": "local", - "fieldName": "slider_tracker" - }, - { - "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.housework.title", + "matchedExpression": "@data.something_fun.housework.title", + "type": "data", + "fieldName": "something_fun" } - } + ] }, "_dynamicDependencies": { - "@local.slider_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.slider": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@data.something_fun.housework.title": [ + "value" ] } }, { - "type": "text", - "name": "reply_less", - "value": "You selected less than @local.threshold", - "hidden": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "type": "button", + "name": "button_something_fun_23", + "value": "@data.something_fun.doing_what.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_doing_what" + ], + "_raw": "click | go_to: activity_doing_what", + "_cleaned": "click | go_to: activity_doing_what" + } + ], "parameter_list": { - "style": "center" + "style": "navigation" }, - "_nested_name": "reply_less", + "_nested_name": "button_something_fun_23", "_dynamicFields": { "value": [ { - "fullExpression": "You selected less than @local.threshold", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], - "hidden": [ - { - "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@data.something_fun.doing_what.title", + "matchedExpression": "@data.something_fun.doing_what.title", + "type": "data", + "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden" - ], - "@local.slider": [ - "hidden", - "hidden", - "hidden" + "@data.something_fun.doing_what.title": [ + "value" ] } }, { - "type": "dashed_box", - "name": "unlock_less", - "value": "Unlock for less than @local.threshold", - "hidden": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "type": "button", + "name": "button_something_fun_24", + "value": "@data.something_fun.crazy_chicken.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_crazy_chicken" + ], + "_raw": "click | go_to: activity_crazy_chicken", + "_cleaned": "click | go_to: activity_crazy_chicken" + } + ], "parameter_list": { - "icon_src": "plh_images/icons/unlock_circle.svg", - "icon_position": "top-left" + "style": "navigation" }, - "_nested_name": "unlock_less", + "_nested_name": "button_something_fun_24", "_dynamicFields": { "value": [ { - "fullExpression": "Unlock for less than @local.threshold", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], - "hidden": [ - { - "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@data.something_fun.crazy_chicken.title", + "matchedExpression": "@data.something_fun.crazy_chicken.title", + "type": "data", + "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden" - ], - "@local.slider": [ - "hidden", - "hidden", - "hidden" + "@data.something_fun.crazy_chicken.title": [ + "value" ] } - }, + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_relax_and_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "parent_centre_my_activities", + "status": "released", + "rows": [ { - "type": "text", - "name": "reply_greater_equal", - "value": "You selected @local.threshold or more", - "hidden": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "type": "title", + "name": "title", + "value": "@global.my_activities", "parameter_list": { - "style": "center" + "style": "tiny" }, - "_nested_name": "reply_greater_equal", + "_nested_name": "title", "_dynamicFields": { "value": [ { - "fullExpression": "You selected @local.threshold or more", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], - "hidden": [ - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - }, - { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@global.my_activities", + "matchedExpression": "@global.my_activities", + "type": "global", + "fieldName": "my_activities" } ] }, "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden" - ], - "@local.slider": [ - "hidden", - "hidden", - "hidden" + "@global.my_activities": [ + "value" ] } }, { - "type": "dashed_box", - "name": "unlock_greater_equal", - "value": "Unlock for greater than or equal to @local.threshold", - "hidden": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "parameter_list": { - "icon_src": "plh_images/icons/unlock_circle.svg", - "icon_position": "top-left" - }, - "_nested_name": "unlock_greater_equal", + "type": "text", + "value": "You have not added any activities to @global.my_activities yet. Why don't you choose some?", + "hidden": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "name": "text", + "_nested_name": "text", "_dynamicFields": { "value": [ { - "fullExpression": "Unlock for greater than or equal to @local.threshold", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" + "fullExpression": "You have not added any activities to @global.my_activities yet. Why don't you choose some?", + "matchedExpression": "@global.my_activities", + "type": "global", + "fieldName": "my_activities" } ], "hidden": [ { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_reflect_positive_favourite", + "type": "fields", + "fieldName": "activity_reflect_positive_favourite" }, { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_check_in_chat_favourite", + "type": "fields", + "fieldName": "activity_check_in_chat_favourite" }, { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_dream_travel_favourite", + "type": "fields", + "fieldName": "activity_dream_travel_favourite" }, { - "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_famous_party_favourite", + "type": "fields", + "fieldName": "activity_famous_party_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_two_truths_favourite", + "type": "fields", + "fieldName": "activity_two_truths_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_time_machine_favourite", + "type": "fields", + "fieldName": "activity_time_machine_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_superpowers_favourite", + "type": "fields", + "fieldName": "activity_superpowers_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_friendly_chat_favourite", + "type": "fields", + "fieldName": "activity_friendly_chat_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_interrupter_favourite", + "type": "fields", + "fieldName": "activity_interrupter_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_three_options_favourite", + "type": "fields", + "fieldName": "activity_three_options_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_yes_no_maybe_favourite", + "type": "fields", + "fieldName": "activity_yes_no_maybe_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_memory_game_favourite", + "type": "fields", + "fieldName": "activity_memory_game_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_invent_story_favourite", + "type": "fields", + "fieldName": "activity_invent_story_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_co_chef_favourite", + "type": "fields", + "fieldName": "activity_co_chef_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_dance_moves_favourite", + "type": "fields", + "fieldName": "activity_dance_moves_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_mirror_favourite", + "type": "fields", + "fieldName": "activity_mirror_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_whats_new_favourite", + "type": "fields", + "fieldName": "activity_whats_new_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_get_active_favourite", + "type": "fields", + "fieldName": "activity_get_active_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_name_that_tune_favourite", + "type": "fields", + "fieldName": "activity_name_that_tune_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_pass_the_snap_favourite", + "type": "fields", + "fieldName": "activity_pass_the_snap_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_family_workout_favourite", + "type": "fields", + "fieldName": "activity_family_workout_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_housework_favourite", + "type": "fields", + "fieldName": "activity_housework_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_doing_what_favourite", + "type": "fields", + "fieldName": "activity_doing_what_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_crazy_chicken_favourite", + "type": "fields", + "fieldName": "activity_crazy_chicken_favourite" } ] }, "_dynamicDependencies": { - "@local.threshold": [ - "value", + "@global.my_activities": [ + "value" + ], + "@fields.activity_reflect_positive_favourite": [ "hidden" ], - "@local.slider": [ - "hidden", - "hidden", + "@fields.activity_check_in_chat_favourite": [ "hidden" - ] - } - }, - { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", - "action_list": [ - { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "@local.slider_final", - "@local.slider" - ], - "_raw": "completed | set_field:@local.slider_final:@local.slider", - "_cleaned": "completed | set_field:@local.slider_final:@local.slider" - }, - { - "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" - } - ], + ], + "@fields.activity_dream_travel_favourite": [ + "hidden" + ], + "@fields.activity_famous_party_favourite": [ + "hidden" + ], + "@fields.activity_two_truths_favourite": [ + "hidden" + ], + "@fields.activity_time_machine_favourite": [ + "hidden" + ], + "@fields.activity_superpowers_favourite": [ + "hidden" + ], + "@fields.activity_friendly_chat_favourite": [ + "hidden" + ], + "@fields.activity_interrupter_favourite": [ + "hidden" + ], + "@fields.activity_three_options_favourite": [ + "hidden" + ], + "@fields.activity_yes_no_maybe_favourite": [ + "hidden" + ], + "@fields.activity_memory_game_favourite": [ + "hidden" + ], + "@fields.activity_invent_story_favourite": [ + "hidden" + ], + "@fields.activity_co_chef_favourite": [ + "hidden" + ], + "@fields.activity_dance_moves_favourite": [ + "hidden" + ], + "@fields.activity_mirror_favourite": [ + "hidden" + ], + "@fields.activity_whats_new_favourite": [ + "hidden" + ], + "@fields.activity_get_active_favourite": [ + "hidden" + ], + "@fields.activity_name_that_tune_favourite": [ + "hidden" + ], + "@fields.activity_pass_the_snap_favourite": [ + "hidden" + ], + "@fields.activity_family_workout_favourite": [ + "hidden" + ], + "@fields.activity_housework_favourite": [ + "hidden" + ], + "@fields.activity_doing_what_favourite": [ + "hidden" + ], + "@fields.activity_crazy_chicken_favourite": [ + "hidden" + ] + } + }, + { + "type": "display_group", + "parameter_list": { + "style": "parent_point" + }, "rows": [ { - "name": "use_completed_chevron", - "value": true, - "type": "set_variable", - "_nested_name": "nav_buttons.use_completed_chevron" - } - ], - "_nested_name": "nav_buttons", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_final", - "matchedExpression": "@local.slider_final", - "type": "local", - "fieldName": "slider_final" - } + "type": "tile_component", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "parent_centre_activities" ], - "1": [ - { - "fullExpression": "@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ] - }, - "_raw": [ + "_raw": "click | go_to:parent_centre_activities", + "_cleaned": "click | go_to:parent_centre_activities" + } + ], + "hidden": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "parameter_list": { + "style": "parent_centre_2", + "first_line_text": "@global.all_activities" + }, + "name": "tile_component", + "_nested_name": "display_group.tile_component", + "_dynamicFields": { + "hidden": [ { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider_final", - "type": "local", - "fieldName": "slider_final" + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_reflect_positive_favourite", + "type": "fields", + "fieldName": "activity_reflect_positive_favourite" }, { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" - } - ], - "_cleaned": [ + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_check_in_chat_favourite", + "type": "fields", + "fieldName": "activity_check_in_chat_favourite" + }, { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider_final", - "type": "local", - "fieldName": "slider_final" + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_dream_travel_favourite", + "type": "fields", + "fieldName": "activity_dream_travel_favourite" }, { - "fullExpression": "completed | set_field:@local.slider_final:@local.slider", - "matchedExpression": "@local.slider", - "type": "local", - "fieldName": "slider" + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_famous_party_favourite", + "type": "fields", + "fieldName": "activity_famous_party_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_two_truths_favourite", + "type": "fields", + "fieldName": "activity_two_truths_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_time_machine_favourite", + "type": "fields", + "fieldName": "activity_time_machine_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_superpowers_favourite", + "type": "fields", + "fieldName": "activity_superpowers_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_friendly_chat_favourite", + "type": "fields", + "fieldName": "activity_friendly_chat_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_interrupter_favourite", + "type": "fields", + "fieldName": "activity_interrupter_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_three_options_favourite", + "type": "fields", + "fieldName": "activity_three_options_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_yes_no_maybe_favourite", + "type": "fields", + "fieldName": "activity_yes_no_maybe_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_memory_game_favourite", + "type": "fields", + "fieldName": "activity_memory_game_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_invent_story_favourite", + "type": "fields", + "fieldName": "activity_invent_story_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_co_chef_favourite", + "type": "fields", + "fieldName": "activity_co_chef_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_dance_moves_favourite", + "type": "fields", + "fieldName": "activity_dance_moves_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_mirror_favourite", + "type": "fields", + "fieldName": "activity_mirror_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_whats_new_favourite", + "type": "fields", + "fieldName": "activity_whats_new_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_get_active_favourite", + "type": "fields", + "fieldName": "activity_get_active_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_name_that_tune_favourite", + "type": "fields", + "fieldName": "activity_name_that_tune_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_pass_the_snap_favourite", + "type": "fields", + "fieldName": "activity_pass_the_snap_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_family_workout_favourite", + "type": "fields", + "fieldName": "activity_family_workout_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_housework_favourite", + "type": "fields", + "fieldName": "activity_housework_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_doing_what_favourite", + "type": "fields", + "fieldName": "activity_doing_what_favourite" + }, + { + "fullExpression": "@fields.activity_reflect_positive_favourite ||\n@fields.activity_check_in_chat_favourite ||\n@fields.activity_dream_travel_favourite ||\n@fields.activity_famous_party_favourite ||\n@fields.activity_two_truths_favourite ||\n@fields.activity_time_machine_favourite ||\n@fields.activity_superpowers_favourite ||\n@fields.activity_friendly_chat_favourite ||\n@fields.activity_interrupter_favourite ||\n@fields.activity_three_options_favourite ||\n@fields.activity_yes_no_maybe_favourite ||\n@fields.activity_memory_game_favourite ||\n@fields.activity_invent_story_favourite ||\n@fields.activity_co_chef_favourite ||\n@fields.activity_dance_moves_favourite ||\n@fields.activity_mirror_favourite ||\n@fields.activity_whats_new_favourite ||\n@fields.activity_get_active_favourite ||\n@fields.activity_name_that_tune_favourite ||\n@fields.activity_pass_the_snap_favourite ||\n@fields.activity_family_workout_favourite ||\n@fields.activity_housework_favourite ||\n@fields.activity_doing_what_favourite ||\n@fields.activity_crazy_chicken_favourite ", + "matchedExpression": "@fields.activity_crazy_chicken_favourite", + "type": "fields", + "fieldName": "activity_crazy_chicken_favourite" } + ], + "parameter_list": { + "first_line_text": [ + { + "fullExpression": "@global.all_activities", + "matchedExpression": "@global.all_activities", + "type": "global", + "fieldName": "all_activities" + } + ] + } + }, + "_dynamicDependencies": { + "@fields.activity_reflect_positive_favourite": [ + "hidden" + ], + "@fields.activity_check_in_chat_favourite": [ + "hidden" + ], + "@fields.activity_dream_travel_favourite": [ + "hidden" + ], + "@fields.activity_famous_party_favourite": [ + "hidden" + ], + "@fields.activity_two_truths_favourite": [ + "hidden" + ], + "@fields.activity_time_machine_favourite": [ + "hidden" + ], + "@fields.activity_superpowers_favourite": [ + "hidden" + ], + "@fields.activity_friendly_chat_favourite": [ + "hidden" + ], + "@fields.activity_interrupter_favourite": [ + "hidden" + ], + "@fields.activity_three_options_favourite": [ + "hidden" + ], + "@fields.activity_yes_no_maybe_favourite": [ + "hidden" + ], + "@fields.activity_memory_game_favourite": [ + "hidden" + ], + "@fields.activity_invent_story_favourite": [ + "hidden" + ], + "@fields.activity_co_chef_favourite": [ + "hidden" + ], + "@fields.activity_dance_moves_favourite": [ + "hidden" + ], + "@fields.activity_mirror_favourite": [ + "hidden" + ], + "@fields.activity_whats_new_favourite": [ + "hidden" + ], + "@fields.activity_get_active_favourite": [ + "hidden" + ], + "@fields.activity_name_that_tune_favourite": [ + "hidden" + ], + "@fields.activity_pass_the_snap_favourite": [ + "hidden" + ], + "@fields.activity_family_workout_favourite": [ + "hidden" + ], + "@fields.activity_housework_favourite": [ + "hidden" + ], + "@fields.activity_doing_what_favourite": [ + "hidden" + ], + "@fields.activity_crazy_chicken_favourite": [ + "hidden" + ], + "@global.all_activities": [ + "parameter_list.first_line_text" ] } } + ], + "name": "display_group", + "_nested_name": "display_group" + }, + { + "type": "button", + "name": "button_something_fun_1", + "value": "@data.something_fun.reflect_positive.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_reflect_positive" + ], + "_raw": "click | go_to: activity_reflect_positive", + "_cleaned": "click | go_to: activity_reflect_positive" + } + ], + "hidden": "!@fields.activity_reflect_positive_favourite", + "_nested_name": "button_something_fun_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.reflect_positive.title", + "matchedExpression": "@data.something_fun.reflect_positive.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_reflect_positive_favourite", + "matchedExpression": "@fields.activity_reflect_positive_favourite", + "type": "fields", + "fieldName": "activity_reflect_positive_favourite" + } + ] }, "_dynamicDependencies": { - "@local.slider_final": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" + "@data.something_fun.reflect_positive.title": [ + "value" ], - "@local.slider": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@fields.activity_reflect_positive_favourite": [ + "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_number_selector", - "status": "released", - "rows": [ - { - "name": "number_selector_variable", - "type": "set_variable", - "_nested_name": "number_selector_variable" - }, - { - "name": "number_selector_title", - "type": "set_variable", - "_nested_name": "number_selector_title" - }, - { - "name": "number_selector_min_value", - "value": 0, - "type": "set_variable", - "_nested_name": "number_selector_min_value" - }, - { - "name": "number_selector_max_value", - "value": 30, - "type": "set_variable", - "_nested_name": "number_selector_max_value" - }, - { - "name": "number_selector_step", - "value": 1, - "type": "set_variable", - "_nested_name": "number_selector_step" - }, - { - "name": "number_selector_category_size", - "value": 1, - "type": "set_variable", - "_nested_name": "number_selector_category_size" - }, - { - "name": "number_selector_category_list", - "type": "set_variable", - "_nested_name": "number_selector_category_list" - }, - { - "name": "number_selector_first_display_term", - "value": 1, - "type": "set_variable", - "_nested_name": "number_selector_first_display_term" - }, - { - "name": "number_selector_height", - "value": "normal", - "type": "set_variable", - "_nested_name": "number_selector_height" - }, - { - "type": "image", - "name": "image_src", - "hidden": true, - "_nested_name": "image_src" - }, - { - "type": "text", - "name": "text", - "parameter_list": { - "style": "center" - }, - "_nested_name": "text" - }, - { - "type": "text", - "name": "question_text", - "parameter_list": { - "style": "center emphasised" - }, - "_nested_name": "question_text" - }, - { - "type": "number_selector", - "name": "number_selector", - "_nested_name": "number_selector" }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "button", + "name": "button_something_fun_2", + "value": "@data.something_fun.check_in_chat.title", "action_list": [ { - "trigger": "completed", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "completed" + "activity_check_in_chat" ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, + "_raw": "click | go_to: activity_check_in_chat", + "_cleaned": "click | go_to: activity_check_in_chat" + } + ], + "hidden": "!@fields.activity_check_in_chat_favourite", + "_nested_name": "button_something_fun_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.check_in_chat.title", + "matchedExpression": "@data.something_fun.check_in_chat.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_check_in_chat_favourite", + "matchedExpression": "@fields.activity_check_in_chat_favourite", + "type": "fields", + "fieldName": "activity_check_in_chat_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.check_in_chat.title": [ + "value" + ], + "@fields.activity_check_in_chat_favourite": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_3", + "value": "@data.something_fun.dream_travel.title", + "action_list": [ { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "uncompleted" + "activity_dream_travel" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" + "_raw": "click | go_to: activity_dream_travel", + "_cleaned": "click | go_to: activity_dream_travel" } ], - "rows": [ + "hidden": "!@fields.activity_dream_travel_favourite", + "_nested_name": "button_something_fun_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.dream_travel.title", + "matchedExpression": "@data.something_fun.dream_travel.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_dream_travel_favourite", + "matchedExpression": "@fields.activity_dream_travel_favourite", + "type": "fields", + "fieldName": "activity_dream_travel_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.dream_travel.title": [ + "value" + ], + "@fields.activity_dream_travel_favourite": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_4", + "value": "@data.something_fun.famous_party.title", + "action_list": [ { - "name": "use_completed_chevron", - "value": true, - "type": "set_variable", - "_nested_name": "nav_buttons.use_completed_chevron" + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_famous_party" + ], + "_raw": "click | go_to: activity_famous_party", + "_cleaned": "click | go_to: activity_famous_party" } ], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_radio_buttons", - "status": "released", - "rows": [ - { - "name": "radio_group_tracker", - "value": "radio_group_tracker", - "type": "set_variable", - "_nested_name": "radio_group_tracker" - }, - { - "name": "radio_group_final", - "value": "radio_group_final", - "type": "set_variable", - "_nested_name": "radio_group_final" - }, - { - "name": "answer_list", - "value": [ - "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg", - "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg", - "name:name_var_3 | text: Third | image:/plh_images/icons/heart.svg" - ], - "type": "set_variable", - "_nested_name": "answer_list" - }, - { - "name": "options_per_row", - "value": 3, - "type": "set_variable", - "_nested_name": "options_per_row" - }, - { - "type": "image", - "name": "image_src", - "hidden": true, - "_nested_name": "image_src" - }, - { - "type": "text", - "name": "text", - "_nested_name": "text" - }, - { - "type": "text", - "name": "question_text", - "parameter_list": { - "style": "emphasised" + "hidden": "!@fields.activity_famous_party_favourite", + "_nested_name": "button_something_fun_4", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.famous_party.title", + "matchedExpression": "@data.something_fun.famous_party.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_famous_party_favourite", + "matchedExpression": "@fields.activity_famous_party_favourite", + "type": "fields", + "fieldName": "activity_famous_party_favourite" + } + ] }, - "_nested_name": "question_text" + "_dynamicDependencies": { + "@data.something_fun.famous_party.title": [ + "value" + ], + "@fields.activity_famous_party_favourite": [ + "hidden" + ] + } }, { - "type": "radio_group", - "name": "radio_group", + "type": "button", + "name": "button_something_fun_5", + "value": "@data.something_fun.two_truths.title", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "click", + "action_id": "go_to", "args": [ - "@local.radio_group_tracker", - "@local.radio_group" + "activity_two_truths" ], - "_raw": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "_cleaned": "changed | set_field:@local.radio_group_tracker:@local.radio_group" + "_raw": "click | go_to: activity_two_truths", + "_cleaned": "click | go_to: activity_two_truths" } ], - "parameter_list": { - "answer_list": "@local.answer_list", - "options_per_row": "@local.options_per_row" - }, - "_nested_name": "radio_group", + "hidden": "!@fields.activity_two_truths_favourite", + "_nested_name": "button_something_fun_5", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.radio_group_tracker", - "matchedExpression": "@local.radio_group_tracker", - "type": "local", - "fieldName": "radio_group_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group_tracker", - "type": "local", - "fieldName": "radio_group_tracker" - }, - { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group_tracker", - "type": "local", - "fieldName": "radio_group_tracker" - }, - { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.two_truths.title", + "matchedExpression": "@data.something_fun.two_truths.title", + "type": "data", + "fieldName": "something_fun" } - }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ], - "options_per_row": [ - { - "fullExpression": "@local.options_per_row", - "matchedExpression": "@local.options_per_row", - "type": "local", - "fieldName": "options_per_row" - } - ] - } - }, - "_dynamicDependencies": { - "@local.radio_group_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.radio_group": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" ], - "@local.options_per_row": [ - "parameter_list.options_per_row" - ] - } - }, - { - "type": "text", - "name": "reply", - "value": "Reply", - "hidden": "\"@local.radio_group\"==\"undefined\" ", - "_nested_name": "reply", - "_dynamicFields": { "hidden": [ { - "fullExpression": "\"@local.radio_group\"==\"undefined\" ", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" + "fullExpression": "!@fields.activity_two_truths_favourite", + "matchedExpression": "@fields.activity_two_truths_favourite", + "type": "fields", + "fieldName": "activity_two_truths_favourite" } ] }, "_dynamicDependencies": { - "@local.radio_group": [ + "@data.something_fun.two_truths.title": [ + "value" + ], + "@fields.activity_two_truths_favourite": [ "hidden" ] } }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "button", + "name": "button_something_fun_6", + "value": "@data.something_fun.time_machine.title", "action_list": [ { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "@local.radio_group_final", - "@local.radio_group" - ], - "_raw": "completed | set_field:@local.radio_group_final:@local.radio_group", - "_cleaned": "completed | set_field:@local.radio_group_final:@local.radio_group" - }, - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "uncompleted" + "activity_time_machine" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" - } - ], - "rows": [ - { - "name": "use_completed_chevron", - "value": true, - "type": "set_variable", - "_nested_name": "nav_buttons.use_completed_chevron" + "_raw": "click | go_to: activity_time_machine", + "_cleaned": "click | go_to: activity_time_machine" } ], - "_nested_name": "nav_buttons", + "hidden": "!@fields.activity_time_machine_favourite", + "_nested_name": "button_something_fun_6", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.radio_group_final", - "matchedExpression": "@local.radio_group_final", - "type": "local", - "fieldName": "radio_group_final" - } - ], - "1": [ - { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_raw": [ - { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", - "matchedExpression": "@local.radio_group_final", - "type": "local", - "fieldName": "radio_group_final" - }, - { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ], - "_cleaned": [ - { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", - "matchedExpression": "@local.radio_group_final", - "type": "local", - "fieldName": "radio_group_final" - }, - { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.time_machine.title", + "matchedExpression": "@data.something_fun.time_machine.title", + "type": "data", + "fieldName": "something_fun" } - } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_time_machine_favourite", + "matchedExpression": "@fields.activity_time_machine_favourite", + "type": "fields", + "fieldName": "activity_time_machine_favourite" + } + ] }, "_dynamicDependencies": { - "@local.radio_group_final": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" + "@data.something_fun.time_machine.title": [ + "value" ], - "@local.radio_group": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@fields.activity_time_machine_favourite": [ + "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_radio_buttons_emo_temp", - "status": "released", - "rows": [ - { - "name": "radio_group_tracker", - "type": "set_variable", - "_nested_name": "radio_group_tracker" - }, - { - "name": "radio_group_final", - "type": "set_variable", - "_nested_name": "radio_group_final" - }, - { - "name": "answer_list", - "value": [ - "name:happy | image:plh_images/stickers/faces/happier.svg | image_checked:plh_images/stickers/faces/happier.svg", - "name:ok | image:plh_images/stickers/faces/neutral.svg | image_checked:plh_images/stickers/faces/neutral.svg", - "name:sad | image:plh_images/stickers/faces/sadder.svg | image_checked:plh_images/stickers/faces/sadder.svg" - ], - "type": "set_variable", - "_nested_name": "answer_list" - }, - { - "name": "options_per_row", - "value": 3, - "type": "set_variable", - "_nested_name": "options_per_row" - }, - { - "type": "image", - "name": "image_src", - "hidden": true, - "_nested_name": "image_src" - }, - { - "type": "text", - "name": "text", - "_nested_name": "text" - }, - { - "type": "text", - "name": "question_text", - "parameter_list": { - "style": "emphasised" - }, - "_nested_name": "question_text" }, { - "type": "radio_group", - "name": "radio_group", + "type": "button", + "name": "button_something_fun_7", + "value": "@data.something_fun.superpowers.title", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "click", + "action_id": "go_to", "args": [ - "@local.radio_group_tracker", - "@local.radio_group" + "activity_superpowers" ], - "_raw": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "_cleaned": "changed | set_field:@local.radio_group_tracker:@local.radio_group" + "_raw": "click | go_to: activity_superpowers", + "_cleaned": "click | go_to: activity_superpowers" } ], - "parameter_list": { - "answer_list": "@local.answer_list", - "options_per_row": "@local.options_per_row" - }, - "_nested_name": "radio_group", + "hidden": "!@fields.activity_superpowers_favourite", + "_nested_name": "button_something_fun_7", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.radio_group_tracker", - "matchedExpression": "@local.radio_group_tracker", - "type": "local", - "fieldName": "radio_group_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group_tracker", - "type": "local", - "fieldName": "radio_group_tracker" - }, - { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group_tracker", - "type": "local", - "fieldName": "radio_group_tracker" - }, - { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.superpowers.title", + "matchedExpression": "@data.something_fun.superpowers.title", + "type": "data", + "fieldName": "something_fun" } - }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ], - "options_per_row": [ - { - "fullExpression": "@local.options_per_row", - "matchedExpression": "@local.options_per_row", - "type": "local", - "fieldName": "options_per_row" - } - ] - } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_superpowers_favourite", + "matchedExpression": "@fields.activity_superpowers_favourite", + "type": "fields", + "fieldName": "activity_superpowers_favourite" + } + ] }, "_dynamicDependencies": { - "@local.radio_group_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.radio_group": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" + "@data.something_fun.superpowers.title": [ + "value" ], - "@local.options_per_row": [ - "parameter_list.options_per_row" + "@fields.activity_superpowers_favourite": [ + "hidden" ] } }, { - "type": "text", - "name": "reply_happy", - "value": "Reply happy", - "hidden": "\"@local.radio_group\"!=\"happy\"", - "_nested_name": "reply_happy", + "type": "button", + "name": "button_something_fun_8", + "value": "@data.something_fun.friendly_chat.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_friendly_chat" + ], + "_raw": "click | go_to: activity_friendly_chat", + "_cleaned": "click | go_to: activity_friendly_chat" + } + ], + "hidden": "!@fields.activity_friendly_chat_favourite", + "_nested_name": "button_something_fun_8", "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.friendly_chat.title", + "matchedExpression": "@data.something_fun.friendly_chat.title", + "type": "data", + "fieldName": "something_fun" + } + ], "hidden": [ { - "fullExpression": "\"@local.radio_group\"!=\"happy\"", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" + "fullExpression": "!@fields.activity_friendly_chat_favourite", + "matchedExpression": "@fields.activity_friendly_chat_favourite", + "type": "fields", + "fieldName": "activity_friendly_chat_favourite" } ] }, "_dynamicDependencies": { - "@local.radio_group": [ + "@data.something_fun.friendly_chat.title": [ + "value" + ], + "@fields.activity_friendly_chat_favourite": [ "hidden" ] } }, { - "type": "text", - "name": "reply_ok", - "value": "Reply ok", - "hidden": "\"@local.radio_group\"!=\"ok\" ", - "_nested_name": "reply_ok", + "type": "button", + "name": "button_something_fun_9", + "value": "@data.something_fun.interrupter.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_interrupter" + ], + "_raw": "click | go_to: activity_interrupter", + "_cleaned": "click | go_to: activity_interrupter" + } + ], + "hidden": "!@fields.activity_interrupter_favourite", + "_nested_name": "button_something_fun_9", "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.interrupter.title", + "matchedExpression": "@data.something_fun.interrupter.title", + "type": "data", + "fieldName": "something_fun" + } + ], "hidden": [ { - "fullExpression": "\"@local.radio_group\"!=\"ok\" ", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" + "fullExpression": "!@fields.activity_interrupter_favourite", + "matchedExpression": "@fields.activity_interrupter_favourite", + "type": "fields", + "fieldName": "activity_interrupter_favourite" } ] }, "_dynamicDependencies": { - "@local.radio_group": [ + "@data.something_fun.interrupter.title": [ + "value" + ], + "@fields.activity_interrupter_favourite": [ "hidden" ] } }, { - "type": "text", - "name": "reply_sad", - "value": "Reply sad", - "hidden": "\"@local.radio_group\"!=\"sad\"", - "_nested_name": "reply_sad", + "type": "button", + "name": "button_something_fun_10", + "value": "@data.something_fun.three_options.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_three_options" + ], + "_raw": "click | go_to: activity_three_options", + "_cleaned": "click | go_to: activity_three_options" + } + ], + "hidden": "!@fields.activity_three_options_favourite", + "_nested_name": "button_something_fun_10", "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.three_options.title", + "matchedExpression": "@data.something_fun.three_options.title", + "type": "data", + "fieldName": "something_fun" + } + ], "hidden": [ { - "fullExpression": "\"@local.radio_group\"!=\"sad\"", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" + "fullExpression": "!@fields.activity_three_options_favourite", + "matchedExpression": "@fields.activity_three_options_favourite", + "type": "fields", + "fieldName": "activity_three_options_favourite" } ] }, "_dynamicDependencies": { - "@local.radio_group": [ + "@data.something_fun.three_options.title": [ + "value" + ], + "@fields.activity_three_options_favourite": [ "hidden" ] } }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "button", + "name": "button_something_fun_11", + "value": "@data.something_fun.yes_no_maybe.title", "action_list": [ { - "trigger": "completed", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "completed" + "activity_yes_no_maybe" ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, + "_raw": "click | go_to: activity_yes_no_maybe", + "_cleaned": "click | go_to: activity_yes_no_maybe" + } + ], + "hidden": "!@fields.activity_yes_no_maybe_favourite", + "_nested_name": "button_something_fun_11", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.yes_no_maybe.title", + "matchedExpression": "@data.something_fun.yes_no_maybe.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_yes_no_maybe_favourite", + "matchedExpression": "@fields.activity_yes_no_maybe_favourite", + "type": "fields", + "fieldName": "activity_yes_no_maybe_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.yes_no_maybe.title": [ + "value" + ], + "@fields.activity_yes_no_maybe_favourite": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_12", + "value": "@data.something_fun.memory_game.title", + "action_list": [ { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "uncompleted" + "activity_memory_game" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" - }, + "_raw": "click | go_to: activity_memory_game", + "_cleaned": "click | go_to: activity_memory_game" + } + ], + "hidden": "!@fields.activity_memory_game_favourite", + "_nested_name": "button_something_fun_12", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.memory_game.title", + "matchedExpression": "@data.something_fun.memory_game.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_memory_game_favourite", + "matchedExpression": "@fields.activity_memory_game_favourite", + "type": "fields", + "fieldName": "activity_memory_game_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.memory_game.title": [ + "value" + ], + "@fields.activity_memory_game_favourite": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_13", + "value": "@data.something_fun.invent_story.title", + "action_list": [ { - "trigger": "completed", - "action_id": "set_field", + "trigger": "click", + "action_id": "go_to", "args": [ - "@local.radio_group_final", - "@local.radio_group" + "activity_invent_story" ], - "_raw": "completed | set_field:@local.radio_group_final:@local.radio_group", - "_cleaned": "completed | set_field:@local.radio_group_final:@local.radio_group" + "_raw": "click | go_to: activity_invent_story", + "_cleaned": "click | go_to: activity_invent_story" } ], - "rows": [], - "_nested_name": "nav_buttons", + "hidden": "!@fields.activity_invent_story_favourite", + "_nested_name": "button_something_fun_13", "_dynamicFields": { - "action_list": { - "2": { - "args": { - "0": [ - { - "fullExpression": "@local.radio_group_final", - "matchedExpression": "@local.radio_group_final", - "type": "local", - "fieldName": "radio_group_final" - } - ], - "1": [ - { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_raw": [ - { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", - "matchedExpression": "@local.radio_group_final", - "type": "local", - "fieldName": "radio_group_final" - }, - { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ], - "_cleaned": [ - { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", - "matchedExpression": "@local.radio_group_final", - "type": "local", - "fieldName": "radio_group_final" - }, - { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.invent_story.title", + "matchedExpression": "@data.something_fun.invent_story.title", + "type": "data", + "fieldName": "something_fun" } - } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_invent_story_favourite", + "matchedExpression": "@fields.activity_invent_story_favourite", + "type": "fields", + "fieldName": "activity_invent_story_favourite" + } + ] }, "_dynamicDependencies": { - "@local.radio_group_final": [ - "action_list.2.args.0", - "action_list.2._raw", - "action_list.2._cleaned" + "@data.something_fun.invent_story.title": [ + "value" ], - "@local.radio_group": [ - "action_list.2.args.1", - "action_list.2._raw", - "action_list.2._cleaned" + "@fields.activity_invent_story_favourite": [ + "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_text_box", - "status": "released", - "rows": [ - { - "name": "text_box_tracker", - "type": "set_variable", - "_nested_name": "text_box_tracker" - }, - { - "name": "text_box_final", - "type": "set_variable", - "_nested_name": "text_box_final" - }, - { - "type": "image", - "name": "image_src", - "hidden": true, - "_nested_name": "image_src" - }, - { - "type": "text", - "name": "text", - "_nested_name": "text" }, { - "type": "text", - "name": "question_text", + "type": "button", + "name": "button_something_fun_14", + "value": "@data.something_fun.co_chef.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_co_chef" + ], + "_raw": "click | go_to: activity_co_chef", + "_cleaned": "click | go_to: activity_co_chef" + } + ], + "hidden": "!@fields.activity_co_chef_favourite", "parameter_list": { - "style": "emphasised" + "style": "navigation" }, - "_nested_name": "question_text" + "_nested_name": "button_something_fun_14", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.co_chef.title", + "matchedExpression": "@data.something_fun.co_chef.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_co_chef_favourite", + "matchedExpression": "@fields.activity_co_chef_favourite", + "type": "fields", + "fieldName": "activity_co_chef_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.co_chef.title": [ + "value" + ], + "@fields.activity_co_chef_favourite": [ + "hidden" + ] + } }, { - "type": "text_box", - "name": "text_box", + "type": "button", + "name": "button_something_fun_15", + "value": "@data.something_fun.dance_moves.title", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "click", + "action_id": "go_to", "args": [ - "@local.text_box_tracker", - "@local.text_box" + "activity_dance_moves" ], - "_raw": "changed | set_field: @local.text_box_tracker: @local.text_box", - "_cleaned": "changed | set_field: @local.text_box_tracker: @local.text_box" + "_raw": "click | go_to: activity_dance_moves", + "_cleaned": "click | go_to: activity_dance_moves" } ], + "hidden": "!@fields.activity_dance_moves_favourite", "parameter_list": { - "placeholder": "Click and type" + "style": "navigation" }, - "_nested_name": "text_box", + "_nested_name": "button_something_fun_15", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.text_box_tracker", - "matchedExpression": "@local.text_box_tracker", - "type": "local", - "fieldName": "text_box_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.text_box", - "matchedExpression": "@local.text_box", - "type": "local", - "fieldName": "text_box" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", - "matchedExpression": "@local.text_box_tracker", - "type": "local", - "fieldName": "text_box_tracker" - }, - { - "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", - "matchedExpression": "@local.text_box", - "type": "local", - "fieldName": "text_box" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", - "matchedExpression": "@local.text_box_tracker", - "type": "local", - "fieldName": "text_box_tracker" - }, - { - "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", - "matchedExpression": "@local.text_box", - "type": "local", - "fieldName": "text_box" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.dance_moves.title", + "matchedExpression": "@data.something_fun.dance_moves.title", + "type": "data", + "fieldName": "something_fun" } - } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_dance_moves_favourite", + "matchedExpression": "@fields.activity_dance_moves_favourite", + "type": "fields", + "fieldName": "activity_dance_moves_favourite" + } + ] }, "_dynamicDependencies": { - "@local.text_box_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" + "@data.something_fun.dance_moves.title": [ + "value" ], - "@local.text_box": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@fields.activity_dance_moves_favourite": [ + "hidden" ] } }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "button", + "name": "button_something_fun_16", + "value": "@data.something_fun.mirror.title", "action_list": [ { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "uncompleted" + "activity_mirror" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" - }, + "_raw": "click | go_to: activity_mirror", + "_cleaned": "click | go_to: activity_mirror" + } + ], + "hidden": "!@fields.activity_mirror_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_16", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.mirror.title", + "matchedExpression": "@data.something_fun.mirror.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_mirror_favourite", + "matchedExpression": "@fields.activity_mirror_favourite", + "type": "fields", + "fieldName": "activity_mirror_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.mirror.title": [ + "value" + ], + "@fields.activity_mirror_favourite": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_17", + "value": "@data.something_fun.whats_new.title", + "action_list": [ { - "trigger": "completed", - "action_id": "set_field", + "trigger": "click", + "action_id": "go_to", "args": [ - "@local.text_box_final", - "@local.text_box" + "activity_whats_new" ], - "_raw": "completed | set_field:@local.text_box_final:@local.text_box", - "_cleaned": "completed | set_field:@local.text_box_final:@local.text_box" + "_raw": "click | go_to: activity_whats_new", + "_cleaned": "click | go_to: activity_whats_new" } ], - "rows": [], - "_nested_name": "nav_buttons", + "hidden": "!@fields.activity_whats_new_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_17", "_dynamicFields": { - "action_list": { - "2": { - "args": { - "0": [ - { - "fullExpression": "@local.text_box_final", - "matchedExpression": "@local.text_box_final", - "type": "local", - "fieldName": "text_box_final" - } - ], - "1": [ - { - "fullExpression": "@local.text_box", - "matchedExpression": "@local.text_box", - "type": "local", - "fieldName": "text_box" - } - ] - }, - "_raw": [ - { - "fullExpression": "completed | set_field:@local.text_box_final:@local.text_box", - "matchedExpression": "@local.text_box_final", - "type": "local", - "fieldName": "text_box_final" - }, - { - "fullExpression": "completed | set_field:@local.text_box_final:@local.text_box", - "matchedExpression": "@local.text_box", - "type": "local", - "fieldName": "text_box" - } - ], - "_cleaned": [ - { - "fullExpression": "completed | set_field:@local.text_box_final:@local.text_box", - "matchedExpression": "@local.text_box_final", - "type": "local", - "fieldName": "text_box_final" - }, - { - "fullExpression": "completed | set_field:@local.text_box_final:@local.text_box", - "matchedExpression": "@local.text_box", - "type": "local", - "fieldName": "text_box" - } - ] + "value": [ + { + "fullExpression": "@data.something_fun.whats_new.title", + "matchedExpression": "@data.something_fun.whats_new.title", + "type": "data", + "fieldName": "something_fun" } - } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_whats_new_favourite", + "matchedExpression": "@fields.activity_whats_new_favourite", + "type": "fields", + "fieldName": "activity_whats_new_favourite" + } + ] }, "_dynamicDependencies": { - "@local.text_box_final": [ - "action_list.2.args.0", - "action_list.2._raw", - "action_list.2._cleaned" + "@data.something_fun.whats_new.title": [ + "value" ], - "@local.text_box": [ - "action_list.2.args.1", - "action_list.2._raw", - "action_list.2._cleaned" + "@fields.activity_whats_new_favourite": [ + "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_combo_box", - "status": "released", - "rows": [ - { - "name": "combo_box_tracker", - "value": "combo_box_tracker", - "type": "set_variable", - "_nested_name": "combo_box_tracker" }, { - "name": "combo_box_final", - "value": "combo_box_final", - "type": "set_variable", - "_nested_name": "combo_box_final" + "type": "button", + "name": "button_something_fun_18", + "value": "@data.something_fun.get_active.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_get_active" + ], + "_raw": "click | go_to: activity_get_active", + "_cleaned": "click | go_to: activity_get_active" + } + ], + "hidden": "!@fields.activity_get_active_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_18", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.get_active.title", + "matchedExpression": "@data.something_fun.get_active.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_get_active_favourite", + "matchedExpression": "@fields.activity_get_active_favourite", + "type": "fields", + "fieldName": "activity_get_active_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.get_active.title": [ + "value" + ], + "@fields.activity_get_active_favourite": [ + "hidden" + ] + } }, { - "name": "combo_box_text", - "value": "combo_box_text", - "type": "set_variable", - "_nested_name": "combo_box_text" + "type": "button", + "name": "button_something_fun_19", + "value": "@data.something_fun.name_that_tune.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_name_that_tune" + ], + "_raw": "click | go_to: activity_name_that_tune", + "_cleaned": "click | go_to: activity_name_that_tune" + } + ], + "hidden": "!@fields.activity_name_that_tune_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_19", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.name_that_tune.title", + "matchedExpression": "@data.something_fun.name_that_tune.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_name_that_tune_favourite", + "matchedExpression": "@fields.activity_name_that_tune_favourite", + "type": "fields", + "fieldName": "activity_name_that_tune_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.name_that_tune.title": [ + "value" + ], + "@fields.activity_name_that_tune_favourite": [ + "hidden" + ] + } }, { - "name": "input_allowed", - "value": true, - "type": "set_variable", - "_nested_name": "input_allowed" + "type": "button", + "name": "button_something_fun_20", + "value": "@data.something_fun.pass_the_snap.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_pass_the_snap" + ], + "_raw": "click | go_to: activity_pass_the_snap", + "_cleaned": "click | go_to: activity_pass_the_snap" + } + ], + "hidden": "!@fields.activity_pass_the_snap_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_20", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.pass_the_snap.title", + "matchedExpression": "@data.something_fun.pass_the_snap.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_pass_the_snap_favourite", + "matchedExpression": "@fields.activity_pass_the_snap_favourite", + "type": "fields", + "fieldName": "activity_pass_the_snap_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.pass_the_snap.title": [ + "value" + ], + "@fields.activity_pass_the_snap_favourite": [ + "hidden" + ] + } }, { - "name": "name_1", - "value": "This is text 1 ", - "type": "set_variable", - "_nested_name": "name_1" + "type": "button", + "name": "button_something_fun_21", + "value": "@data.something_fun.family_workout.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_family_workout" + ], + "_raw": "click | go_to: activity_family_workout", + "_cleaned": "click | go_to: activity_family_workout" + } + ], + "hidden": "!@fields.activity_family_workout_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_21", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.family_workout.title", + "matchedExpression": "@data.something_fun.family_workout.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_family_workout_favourite", + "matchedExpression": "@fields.activity_family_workout_favourite", + "type": "fields", + "fieldName": "activity_family_workout_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.family_workout.title": [ + "value" + ], + "@fields.activity_family_workout_favourite": [ + "hidden" + ] + } }, { - "name": "name_2", - "value": "This is text 2", + "type": "button", + "name": "button_something_fun_22", + "value": "@data.something_fun.housework.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_housework" + ], + "_raw": "click | go_to: activity_housework", + "_cleaned": "click | go_to: activity_housework" + } + ], + "hidden": "!@fields.activity_housework_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_22", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.housework.title", + "matchedExpression": "@data.something_fun.housework.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_housework_favourite", + "matchedExpression": "@fields.activity_housework_favourite", + "type": "fields", + "fieldName": "activity_housework_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.housework.title": [ + "value" + ], + "@fields.activity_housework_favourite": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_23", + "value": "@data.something_fun.doing_what.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_doing_what" + ], + "_raw": "click | go_to: activity_doing_what", + "_cleaned": "click | go_to: activity_doing_what" + } + ], + "hidden": "!@fields.activity_doing_what_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_23", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.doing_what.title", + "matchedExpression": "@data.something_fun.doing_what.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_doing_what_favourite", + "matchedExpression": "@fields.activity_doing_what_favourite", + "type": "fields", + "fieldName": "activity_doing_what_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.doing_what.title": [ + "value" + ], + "@fields.activity_doing_what_favourite": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_something_fun_24", + "value": "@data.something_fun.crazy_chicken.title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_crazy_chicken" + ], + "_raw": "click | go_to: activity_crazy_chicken", + "_cleaned": "click | go_to: activity_crazy_chicken" + } + ], + "hidden": "!@fields.activity_crazy_chicken_favourite", + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_something_fun_24", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.crazy_chicken.title", + "matchedExpression": "@data.something_fun.crazy_chicken.title", + "type": "data", + "fieldName": "something_fun" + } + ], + "hidden": [ + { + "fullExpression": "!@fields.activity_crazy_chicken_favourite", + "matchedExpression": "@fields.activity_crazy_chicken_favourite", + "type": "fields", + "fieldName": "activity_crazy_chicken_favourite" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.crazy_chicken.title": [ + "value" + ], + "@fields.activity_crazy_chicken_favourite": [ + "hidden" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_relax_and_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "survey_stepper", + "status": "released", + "rows": [ + { + "name": "progress_bar_value", "type": "set_variable", - "_nested_name": "name_2" + "_nested_name": "progress_bar_value" }, { - "name": "name_3", - "value": "This is text 3", + "name": "progress_bar_num_items", "type": "set_variable", - "_nested_name": "name_3" + "_nested_name": "progress_bar_num_items" }, { - "name": "answer_list", - "value": [ - "name: name_1 | text:@local.name_1", - "name: name_2 | text:@local.name_2", - "name: name_3 | text:@local.name_3" - ], + "name": "progress_bar", + "value": "@local.progress_bar_value", + "parameter_list": { + "num_items": "@local.progress_bar_num_items" + }, "type": "set_variable", - "_nested_name": "answer_list", + "_nested_name": "progress_bar", "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "name: name_1 | text:@local.name_1", - "matchedExpression": "@local.name_1", - "type": "local", - "fieldName": "name_1" - } - ], - "1": [ + "value": [ + { + "fullExpression": "@local.progress_bar_value", + "matchedExpression": "@local.progress_bar_value", + "type": "local", + "fieldName": "progress_bar_value" + } + ], + "parameter_list": { + "num_items": [ { - "fullExpression": "name: name_2 | text:@local.name_2", - "matchedExpression": "@local.name_2", + "fullExpression": "@local.progress_bar_num_items", + "matchedExpression": "@local.progress_bar_num_items", "type": "local", - "fieldName": "name_2" + "fieldName": "progress_bar_num_items" } - ], - "2": [ + ] + } + }, + "_dynamicDependencies": { + "@local.progress_bar_value": [ + "value" + ], + "@local.progress_bar_num_items": [ + "parameter_list.num_items" + ] + } + }, + { + "name": "progress_field_name", + "type": "set_variable", + "_nested_name": "progress_field_name" + }, + { + "type": "nav_group", + "name": "nav_template_list", + "parameter_list": { + "progress_field": "@local.progress_field_name" + }, + "_nested_name": "nav_template_list", + "_dynamicFields": { + "parameter_list": { + "progress_field": [ { - "fullExpression": "name: name_3 | text:@local.name_3", - "matchedExpression": "@local.name_3", + "fullExpression": "@local.progress_field_name", + "matchedExpression": "@local.progress_field_name", "type": "local", - "fieldName": "name_3" + "fieldName": "progress_field_name" } ] } }, "_dynamicDependencies": { - "@local.name_1": [ - "value.0" - ], - "@local.name_2": [ - "value.1" - ], - "@local.name_3": [ - "value.2" + "@local.progress_field_name": [ + "parameter_list.progress_field" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_surveys.xlsx" + }, + { + "flow_type": "template", + "flow_name": "box_slider", + "status": "released", + "rows": [ + { + "name": "slider_tracker", + "type": "set_variable", + "_nested_name": "slider_tracker" }, { - "name": "placeholder", - "value": "Click and choose", + "name": "slider_final", "type": "set_variable", - "_nested_name": "placeholder" + "_nested_name": "slider_final" }, { - "name": "answer_placeholder", - "value": "Type your own", + "name": "slider_title", + "hidden": true, "type": "set_variable", - "_nested_name": "answer_placeholder" + "_nested_name": "slider_title" + }, + { + "name": "help_text", + "type": "set_variable", + "_nested_name": "help_text" + }, + { + "name": "min_value", + "value": 0, + "type": "set_variable", + "_nested_name": "min_value" + }, + { + "name": "min_value_label", + "value": "days in the past week", + "type": "set_variable", + "_nested_name": "min_value_label" + }, + { + "name": "max_value", + "value": 7, + "type": "set_variable", + "_nested_name": "max_value" + }, + { + "name": "max_value_label", + "type": "set_variable", + "_nested_name": "max_value_label" + }, + { + "name": "step", + "value": 1, + "type": "set_variable", + "_nested_name": "step" + }, + { + "name": "labels_count", + "value": 8, + "type": "set_variable", + "_nested_name": "labels_count" + }, + { + "name": "threshold", + "value": 3, + "type": "set_variable", + "_nested_name": "threshold" }, { "type": "image", "name": "image_src", "hidden": true, - "parameter_list": { - "style": "rounded_corners" - }, "_nested_name": "image_src" }, { "type": "text", "name": "text", + "value": "Text", + "parameter_list": { + "style": "center" + }, "_nested_name": "text" }, { "type": "text", "name": "question_text", + "value": "Question text", "parameter_list": { - "style": "emphasised" + "style": "center emphasised" }, "_nested_name": "question_text" }, { - "type": "combo_box", - "name": "combo_box", + "type": "slider", + "name": "slider", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "@local.combo_box_tracker", - "@local.combo_box" + "@local.slider_tracker", + "@local.slider" ], - "_raw": "changed | set_field: @local.combo_box_tracker: @local.combo_box", - "_cleaned": "changed | set_field: @local.combo_box_tracker: @local.combo_box" + "_raw": "changed | set_field:@local.slider_tracker:@local.slider", + "_cleaned": "changed | set_field:@local.slider_tracker:@local.slider" } ], "parameter_list": { - "answer_list": "@local.answer_list", - "placeholder": "@local.placeholder", - "input_allowed": "@local.input_allowed", - "answer_placeholder": "@local.answer_placeholder" + "help": "@local.help_text", + "min": "@local.min_value", + "min_value_label": "@local.min_value_label", + "max": "@local.max_value", + "max_value_label": "@local.max_value_label", + "title": "@local.title", + "step": "@local.step", + "labels_count": "@local.labels_count" }, - "_nested_name": "combo_box", + "_nested_name": "slider", "_dynamicFields": { "action_list": { "0": { "args": { "0": [ { - "fullExpression": "@local.combo_box_tracker", - "matchedExpression": "@local.combo_box_tracker", + "fullExpression": "@local.slider_tracker", + "matchedExpression": "@local.slider_tracker", "type": "local", - "fieldName": "combo_box_tracker" + "fieldName": "slider_tracker" } ], "1": [ { - "fullExpression": "@local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "combo_box" + "fieldName": "slider" } ] }, "_raw": [ { - "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", - "matchedExpression": "@local.combo_box_tracker", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider_tracker", "type": "local", - "fieldName": "combo_box_tracker" + "fieldName": "slider_tracker" }, { - "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "combo_box" + "fieldName": "slider" } ], "_cleaned": [ { - "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", - "matchedExpression": "@local.combo_box_tracker", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider_tracker", "type": "local", - "fieldName": "combo_box_tracker" + "fieldName": "slider_tracker" }, { - "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "combo_box" + "fieldName": "slider" } ] } }, "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list" + "fieldName": "help_text" } ], - "placeholder": [ + "min": [ { - "fullExpression": "@local.placeholder", - "matchedExpression": "@local.placeholder", + "fullExpression": "@local.min_value", + "matchedExpression": "@local.min_value", "type": "local", - "fieldName": "placeholder" + "fieldName": "min_value" } ], - "input_allowed": [ + "min_value_label": [ { - "fullExpression": "@local.input_allowed", - "matchedExpression": "@local.input_allowed", + "fullExpression": "@local.min_value_label", + "matchedExpression": "@local.min_value_label", "type": "local", - "fieldName": "input_allowed" + "fieldName": "min_value_label" } ], - "answer_placeholder": [ + "max": [ { - "fullExpression": "@local.answer_placeholder", - "matchedExpression": "@local.answer_placeholder", + "fullExpression": "@local.max_value", + "matchedExpression": "@local.max_value", "type": "local", - "fieldName": "answer_placeholder" + "fieldName": "max_value" + } + ], + "max_value_label": [ + { + "fullExpression": "@local.max_value_label", + "matchedExpression": "@local.max_value_label", + "type": "local", + "fieldName": "max_value_label" + } + ], + "title": [ + { + "fullExpression": "@local.title", + "matchedExpression": "@local.title", + "type": "local", + "fieldName": "title" + } + ], + "step": [ + { + "fullExpression": "@local.step", + "matchedExpression": "@local.step", + "type": "local", + "fieldName": "step" + } + ], + "labels_count": [ + { + "fullExpression": "@local.labels_count", + "matchedExpression": "@local.labels_count", + "type": "local", + "fieldName": "labels_count" } ] } }, "_dynamicDependencies": { - "@local.combo_box_tracker": [ + "@local.slider_tracker": [ "action_list.0.args.0", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.combo_box": [ + "@local.slider": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.answer_list": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ], - "@local.placeholder": [ - "parameter_list.placeholder" + "@local.min_value": [ + "parameter_list.min" ], - "@local.input_allowed": [ - "parameter_list.input_allowed" + "@local.min_value_label": [ + "parameter_list.min_value_label" ], - "@local.answer_placeholder": [ - "parameter_list.answer_placeholder" + "@local.max_value": [ + "parameter_list.max" + ], + "@local.max_value_label": [ + "parameter_list.max_value_label" + ], + "@local.title": [ + "parameter_list.title" + ], + "@local.step": [ + "parameter_list.step" + ], + "@local.labels_count": [ + "parameter_list.labels_count" ] } }, { "type": "text", - "name": "reply", - "value": "You selected @local.combo_box", - "hidden": "\"@local.combo_box\"==\"undefined\"", - "_nested_name": "reply", + "name": "reply_less_equal", + "value": "You selected @local.threshold or less", + "parameter_list": { + "style": "center" + }, + "_nested_name": "reply_less_equal", "_dynamicFields": { "value": [ { - "fullExpression": "You selected @local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "You selected @local.threshold or less", + "matchedExpression": "@local.threshold", "type": "local", - "fieldName": "combo_box" + "fieldName": "threshold" } - ], - "hidden": [ + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value" + ] + } + }, + { + "type": "text", + "name": "reply_greater", + "value": "You selected more than @local.threshold", + "parameter_list": { + "style": "center" + }, + "_nested_name": "reply_greater", + "_dynamicFields": { + "value": [ { - "fullExpression": "\"@local.combo_box\"==\"undefined\"", - "matchedExpression": "@local.combo_box", + "fullExpression": "You selected more than @local.threshold", + "matchedExpression": "@local.threshold", "type": "local", - "fieldName": "combo_box" + "fieldName": "threshold" } ] }, "_dynamicDependencies": { - "@local.combo_box": [ - "value", - "hidden" + "@local.threshold": [ + "value" ] } }, @@ -13435,11 +14995,11 @@ "trigger": "completed", "action_id": "set_field", "args": [ - "@local.combo_box_final", - "@local.combo_box" + "@local.slider_final", + "@local.slider" ], - "_raw": "completed | set_field:@local.combo_box_final: @local.combo_box", - "_cleaned": "completed | set_field:@local.combo_box_final: @local.combo_box" + "_raw": "completed | set_field:@local.slider_final:@local.slider", + "_cleaned": "completed | set_field:@local.slider_final:@local.slider" }, { "trigger": "completed", @@ -13460,7 +15020,14 @@ "_cleaned": "uncompleted | emit:uncompleted" } ], - "rows": [], + "rows": [ + { + "name": "use_completed_chevron", + "value": true, + "type": "set_variable", + "_nested_name": "nav_buttons.use_completed_chevron" + } + ], "_nested_name": "nav_buttons", "_dynamicFields": { "action_list": { @@ -13468,59 +15035,59 @@ "args": { "0": [ { - "fullExpression": "@local.combo_box_final", - "matchedExpression": "@local.combo_box_final", + "fullExpression": "@local.slider_final", + "matchedExpression": "@local.slider_final", "type": "local", - "fieldName": "combo_box_final" + "fieldName": "slider_final" } ], "1": [ { - "fullExpression": "@local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "combo_box" + "fieldName": "slider" } ] }, "_raw": [ { - "fullExpression": "completed | set_field:@local.combo_box_final: @local.combo_box", - "matchedExpression": "@local.combo_box_final", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider_final", "type": "local", - "fieldName": "combo_box_final" + "fieldName": "slider_final" }, { - "fullExpression": "completed | set_field:@local.combo_box_final: @local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "combo_box" + "fieldName": "slider" } ], "_cleaned": [ { - "fullExpression": "completed | set_field:@local.combo_box_final: @local.combo_box", - "matchedExpression": "@local.combo_box_final", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider_final", "type": "local", - "fieldName": "combo_box_final" + "fieldName": "slider_final" }, { - "fullExpression": "completed | set_field:@local.combo_box_final: @local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "combo_box" + "fieldName": "slider" } ] } } }, "_dynamicDependencies": { - "@local.combo_box_final": [ + "@local.slider_final": [ "action_list.0.args.0", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.combo_box": [ + "@local.slider": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" @@ -13532,245 +15099,30 @@ }, { "flow_type": "template", - "flow_name": "box_multi_1", - "status": "released", - "rows": [ - { - "type": "template", - "name": "text_box", - "value": "box_text_box", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "text_box.nav_buttons" - } - ], - "_nested_name": "text_box" - }, - { - "type": "template", - "name": "radio_buttons", - "value": "box_radio_buttons", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "radio_buttons.nav_buttons" - } - ], - "_nested_name": "radio_buttons" - }, - { - "type": "template", - "name": "number_selector", - "value": "box_number_selector", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "number_selector.nav_buttons" - } - ], - "_nested_name": "number_selector" - }, - { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", - "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": [], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_multi_2", - "status": "released", - "rows": [ - { - "type": "text", - "name": "text", - "_nested_name": "text" - }, - { - "type": "text", - "name": "question_text", - "parameter_list": { - "emphasised": "true" - }, - "_nested_name": "question_text" - }, - { - "type": "display_group", - "rows": [ - { - "type": "template", - "name": "number_selector_1", - "value": "box_number_selector", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "display_group.number_selector_1.nav_buttons" - } - ], - "_nested_name": "display_group.number_selector_1" - }, - { - "type": "template", - "name": "number_selector_2", - "value": "box_number_selector", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "display_group.number_selector_2.nav_buttons" - } - ], - "_nested_name": "display_group.number_selector_2" - } - ], - "name": "display_group", - "_nested_name": "display_group" - }, - { - "type": "display_group", - "rows": [ - { - "type": "template", - "name": "number_selector_3", - "value": "box_number_selector", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "display_group.number_selector_3.nav_buttons" - } - ], - "_nested_name": "display_group.number_selector_3" - }, - { - "type": "template", - "name": "number_selector_4", - "value": "box_number_selector", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "display_group.number_selector_4.nav_buttons" - } - ], - "_nested_name": "display_group.number_selector_4" - } - ], - "name": "display_group", - "_nested_name": "display_group" - }, - { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", - "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": [], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_multi_3_temp", + "flow_name": "box_slider_week_temp", "status": "released", "rows": [ { - "name": "slider_1_tracker", - "type": "set_variable", - "_nested_name": "slider_1_tracker" - }, - { - "name": "slider_1_final", + "name": "slider_tracker", "type": "set_variable", - "_nested_name": "slider_1_final" - }, - { - "type": "image", - "name": "image_src", - "hidden": true, - "style_list": [ - "max-height: 150px" - ], - "_nested_name": "image_src" + "_nested_name": "slider_tracker" }, { - "name": "slider_2_tracker", + "name": "slider_final", "type": "set_variable", - "_nested_name": "slider_2_tracker" + "_nested_name": "slider_final" }, { - "name": "slider_2_final", + "name": "threshold", + "value": 3, "type": "set_variable", - "_nested_name": "slider_2_final" + "_nested_name": "threshold" }, { - "name": "threshold", - "value": 1, + "name": "less_includes_zero", + "value": true, "type": "set_variable", - "_nested_name": "threshold" + "_nested_name": "less_includes_zero" }, { "type": "image", @@ -13792,26 +15144,26 @@ }, { "type": "text", - "name": "question_text_1", - "value": "Question text 1", + "name": "question_text", + "value": "Question text", "parameter_list": { "style": "center emphasised" }, - "_nested_name": "question_text_1" + "_nested_name": "question_text" }, { "type": "slider", - "name": "slider_1", + "name": "slider", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "@local.slider_1_tracker", - "@local.slider_1" + "@local.slider_tracker", + "@local.slider" ], - "_raw": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "_cleaned": "changed | set_field:@local.slider_1_tracker:@local.slider_1" + "_raw": "changed | set_field:@local.slider_tracker:@local.slider", + "_cleaned": "changed | set_field:@local.slider_tracker:@local.slider" } ], "parameter_list": { @@ -13819,66 +15171,66 @@ "min_value_label": "Days in the past week", "max": "7" }, - "_nested_name": "slider_1", + "_nested_name": "slider", "_dynamicFields": { "action_list": { "0": { "args": { "0": [ { - "fullExpression": "@local.slider_1_tracker", - "matchedExpression": "@local.slider_1_tracker", + "fullExpression": "@local.slider_tracker", + "matchedExpression": "@local.slider_tracker", "type": "local", - "fieldName": "slider_1_tracker" + "fieldName": "slider_tracker" } ], "1": [ { - "fullExpression": "@local.slider_1", - "matchedExpression": "@local.slider_1", + "fullExpression": "@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" } ] }, "_raw": [ { - "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "matchedExpression": "@local.slider_1_tracker", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider_tracker", "type": "local", - "fieldName": "slider_1_tracker" + "fieldName": "slider_tracker" }, { - "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "matchedExpression": "@local.slider_1", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "matchedExpression": "@local.slider_1_tracker", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider_tracker", "type": "local", - "fieldName": "slider_1_tracker" + "fieldName": "slider_tracker" }, { - "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "matchedExpression": "@local.slider_1", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" } ] } } }, "_dynamicDependencies": { - "@local.slider_1_tracker": [ + "@local.slider_tracker": [ "action_list.0.args.0", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.slider_1": [ + "@local.slider": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" @@ -13887,133 +15239,43 @@ }, { "type": "text", - "name": "question_text_2", - "value": "Question text 2", - "hidden": "\"@local.slider_1\"==\"undefined\"", + "name": "reply_zero", + "value": "You selected 0", + "hidden": "@local.less_includes_zero || \"@local.slider\" != 0 ", "parameter_list": { - "style": "center emphasised" + "style": "center" }, - "_nested_name": "question_text_2", + "_nested_name": "reply_zero", "_dynamicFields": { "hidden": [ { - "fullExpression": "\"@local.slider_1\"==\"undefined\"", - "matchedExpression": "@local.slider_1", + "fullExpression": "@local.less_includes_zero || \"@local.slider\" != 0 ", + "matchedExpression": "@local.less_includes_zero", "type": "local", - "fieldName": "slider_1" + "fieldName": "less_includes_zero" + }, + { + "fullExpression": "@local.less_includes_zero || \"@local.slider\" != 0 ", + "matchedExpression": "@local.slider", + "type": "local", + "fieldName": "slider" } ] }, "_dynamicDependencies": { - "@local.slider_1": [ + "@local.less_includes_zero": [ + "hidden" + ], + "@local.slider": [ "hidden" ] } }, { - "type": "slider", - "name": "slider_2", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "@local.slider_2_tracker", - "@local.slider_2" - ], - "_raw": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "_cleaned": "changed | set_field:@local.slider_2_tracker:@local.slider_2" - } - ], - "hidden": "\"@local.slider_1\"==\"undefined\"", - "parameter_list": { - "min": "0", - "min_value_label": "Days in the past month", - "max": "30", - "labels_count": "7" - }, - "_nested_name": "slider_2", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_2_tracker", - "matchedExpression": "@local.slider_2_tracker", - "type": "local", - "fieldName": "slider_2_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "matchedExpression": "@local.slider_2_tracker", - "type": "local", - "fieldName": "slider_2_tracker" - }, - { - "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "matchedExpression": "@local.slider_2_tracker", - "type": "local", - "fieldName": "slider_2_tracker" - }, - { - "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.slider_1\"==\"undefined\"", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - } - ] - }, - "_dynamicDependencies": { - "@local.slider_2_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.slider_2": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.slider_1": [ - "hidden" - ] - } - }, - { - "type": "text", - "name": "reply_less", - "value": "You selected less than @local.threshold", - "hidden": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "type": "text", + "name": "reply_less", + "value": "You selected less than @local.threshold", + "hidden": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", "parameter_list": { "style": "center" }, @@ -14029,52 +15291,70 @@ ], "hidden": [ { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.less_includes_zero", "type": "local", - "fieldName": "slider_1" + "fieldName": "less_includes_zero" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", + "type": "local", + "fieldName": "slider" + }, + { + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.threshold", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "threshold" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.less_includes_zero", "type": "local", - "fieldName": "slider_1" + "fieldName": "less_includes_zero" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.threshold", "type": "local", - "fieldName": "slider_1" + "fieldName": "threshold" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" + }, + { + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", + "type": "local", + "fieldName": "slider" + }, + { + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", + "type": "local", + "fieldName": "slider" } ] }, @@ -14084,12 +15364,15 @@ "hidden", "hidden" ], - "@local.slider_1": [ - "hidden", + "@local.less_includes_zero": [ "hidden", "hidden" ], - "@local.slider_2": [ + "@local.slider": [ + "hidden", + "hidden", + "hidden", + "hidden", "hidden", "hidden", "hidden" @@ -14097,18 +15380,19 @@ } }, { - "type": "text", - "name": "reply_greater_equal", - "value": "You selected @local.threshold or more", - "hidden": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "type": "dashed_box", + "name": "unlock_less", + "value": "Unlock for less than @local.threshold", + "hidden": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", "parameter_list": { - "style": "center" + "icon_src": "plh_images/icons/unlock_circle.svg", + "icon_position": "top-left" }, - "_nested_name": "reply_greater_equal", + "_nested_name": "unlock_less", "_dynamicFields": { "value": [ { - "fullExpression": "You selected @local.threshold or more", + "fullExpression": "Unlock for less than @local.threshold", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" @@ -14116,88 +15400,70 @@ ], "hidden": [ { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - }, - { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.threshold", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.less_includes_zero", "type": "local", - "fieldName": "threshold" + "fieldName": "less_includes_zero" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - }, - { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - }, - { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.threshold", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "threshold" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.less_includes_zero", "type": "local", - "fieldName": "slider_2" + "fieldName": "less_includes_zero" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.threshold", "type": "local", - "fieldName": "slider_2" + "fieldName": "threshold" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.threshold", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "threshold" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "(@local.less_includes_zero && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\")) \n||\n((!@local.less_includes_zero) && (\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" || \"@local.slider\"==0 )) ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" } ] }, @@ -14205,18 +15471,15 @@ "@local.threshold": [ "value", "hidden", - "hidden", - "hidden", "hidden" ], - "@local.slider_1": [ - "hidden", - "hidden", - "hidden", + "@local.less_includes_zero": [ "hidden", "hidden" ], - "@local.slider_2": [ + "@local.slider": [ + "hidden", + "hidden", "hidden", "hidden", "hidden", @@ -14226,19 +15489,18 @@ } }, { - "type": "dashed_box", - "name": "unlock_greater_equal", - "value": "Unlock for greater than or equal to @local.threshold", - "hidden": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "type": "text", + "name": "reply_greater_equal", + "value": "You selected @local.threshold or more", + "hidden": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "parameter_list": { - "icon_src": "plh_images/icons/unlock_circle.svg", - "icon_position": "top-left" + "style": "center" }, - "_nested_name": "unlock_greater_equal", + "_nested_name": "reply_greater_equal", "_dynamicFields": { "value": [ { - "fullExpression": "Unlock for greater than or equal to @local.threshold", + "fullExpression": "You selected @local.threshold or more", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" @@ -14246,109 +15508,95 @@ ], "hidden": [ { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - }, - { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - }, - { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" - }, + "fieldName": "slider" + } + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value", + "hidden" + ], + "@local.slider": [ + "hidden", + "hidden", + "hidden" + ] + } + }, + { + "type": "dashed_box", + "name": "unlock_greater_equal", + "value": "Unlock for greater than or equal to @local.threshold", + "hidden": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "parameter_list": { + "icon_src": "plh_images/icons/unlock_circle.svg", + "icon_position": "top-left" + }, + "_nested_name": "unlock_greater_equal", + "_dynamicFields": { + "value": [ { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "fullExpression": "Unlock for greater than or equal to @local.threshold", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" - }, - { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - }, - { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - }, + } + ], + "hidden": [ { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", - "matchedExpression": "@local.slider_2", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" } ] }, "_dynamicDependencies": { "@local.threshold": [ "value", - "hidden", - "hidden", - "hidden", "hidden" ], - "@local.slider_1": [ - "hidden", - "hidden", - "hidden", - "hidden", - "hidden" - ], - "@local.slider_2": [ - "hidden", - "hidden", + "@local.slider": [ "hidden", "hidden", "hidden" @@ -14360,6 +15608,16 @@ "name": "nav_buttons", "value": "nav_buttons", "action_list": [ + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.slider_final", + "@local.slider" + ], + "_raw": "completed | set_field:@local.slider_final:@local.slider", + "_cleaned": "completed | set_field:@local.slider_final:@local.slider" + }, { "trigger": "completed", "action_id": "emit", @@ -14377,26 +15635,6 @@ ], "_raw": "uncompleted | emit:uncompleted", "_cleaned": "uncompleted | emit:uncompleted" - }, - { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "@local.slider_1_final", - "@local.slider_1" - ], - "_raw": "completed | set_field:@local.slider_1_final:@local.slider_1", - "_cleaned": "completed | set_field:@local.slider_1_final:@local.slider_1" - }, - { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "@local.slider_2_final", - "@local.slider_2" - ], - "_raw": "completed | set_field:@local.slider_2_final:@local.slider_2", - "_cleaned": "completed | set_field:@local.slider_2_final:@local.slider_2" } ], "rows": [ @@ -14410,124 +15648,66 @@ "_nested_name": "nav_buttons", "_dynamicFields": { "action_list": { - "2": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_1_final", - "matchedExpression": "@local.slider_1_final", - "type": "local", - "fieldName": "slider_1_final" - } - ], - "1": [ - { - "fullExpression": "@local.slider_1", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", - "matchedExpression": "@local.slider_1_final", - "type": "local", - "fieldName": "slider_1_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - } - ], - "_cleaned": [ - { - "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", - "matchedExpression": "@local.slider_1_final", - "type": "local", - "fieldName": "slider_1_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - } - ] - }, - "3": { + "0": { "args": { "0": [ { - "fullExpression": "@local.slider_2_final", - "matchedExpression": "@local.slider_2_final", + "fullExpression": "@local.slider_final", + "matchedExpression": "@local.slider_final", "type": "local", - "fieldName": "slider_2_final" + "fieldName": "slider_final" } ], "1": [ { - "fullExpression": "@local.slider_2", - "matchedExpression": "@local.slider_2", + "fullExpression": "@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" } ] }, "_raw": [ { - "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", - "matchedExpression": "@local.slider_2_final", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider_final", "type": "local", - "fieldName": "slider_2_final" + "fieldName": "slider_final" }, { - "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", - "matchedExpression": "@local.slider_2", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" } ], "_cleaned": [ { - "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", - "matchedExpression": "@local.slider_2_final", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider_final", "type": "local", - "fieldName": "slider_2_final" + "fieldName": "slider_final" }, { - "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", - "matchedExpression": "@local.slider_2", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_2" + "fieldName": "slider" } ] } } }, "_dynamicDependencies": { - "@local.slider_1_final": [ - "action_list.2.args.0", - "action_list.2._raw", - "action_list.2._cleaned" - ], - "@local.slider_1": [ - "action_list.2.args.1", - "action_list.2._raw", - "action_list.2._cleaned" - ], - "@local.slider_2_final": [ - "action_list.3.args.0", - "action_list.3._raw", - "action_list.3._cleaned" + "@local.slider_final": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" ], - "@local.slider_2": [ - "action_list.3.args.1", - "action_list.3._raw", - "action_list.3._cleaned" + "@local.slider": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } } @@ -14536,51 +15716,29 @@ }, { "flow_type": "template", - "flow_name": "box_multi_4_temp", + "flow_name": "box_slider_month_temp", "status": "released", "rows": [ { - "name": "slider_1_tracker", - "type": "set_variable", - "_nested_name": "slider_1_tracker" - }, - { - "name": "slider_1_final", - "type": "set_variable", - "_nested_name": "slider_1_final" - }, - { - "name": "radio_group_tracker", - "type": "set_variable", - "_nested_name": "radio_group_tracker" - }, - { - "name": "radio_group_final", - "type": "set_variable", - "_nested_name": "radio_group_final" - }, - { - "name": "slider_2_tracker", + "name": "slider_tracker", "type": "set_variable", - "_nested_name": "slider_2_tracker" + "_nested_name": "slider_tracker" }, { - "name": "slider_2_final", + "name": "slider_final", "type": "set_variable", - "_nested_name": "slider_2_final" + "_nested_name": "slider_final" }, { "name": "threshold", - "value": 7, + "value": 5, "type": "set_variable", "_nested_name": "threshold" }, { "type": "image", "name": "image_src", - "style_list": [ - "max-height: 150px" - ], + "hidden": true, "_nested_name": "image_src" }, { @@ -14601,86 +15759,97 @@ }, "_nested_name": "question_text" }, + { + "type": "text", + "name": "example_text", + "value": "Example text", + "hidden": true, + "parameter_list": { + "style": "center" + }, + "_nested_name": "example_text" + }, { "type": "slider", - "name": "slider_1", + "name": "slider", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "@local.slider_1_tracker", - "@local.slider_1" + "@local.slider_tracker", + "@local.slider" ], - "_raw": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "_cleaned": "changed | set_field:@local.slider_1_tracker:@local.slider_1" + "_raw": "changed | set_field:@local.slider_tracker:@local.slider", + "_cleaned": "changed | set_field:@local.slider_tracker:@local.slider" } ], "parameter_list": { "min": "0", - "min_value_label": "Days in the past week", - "max": "7" + "min_value_label": "Days in the past month", + "max": "30", + "labels_count": "7" }, - "_nested_name": "slider_1", + "_nested_name": "slider", "_dynamicFields": { "action_list": { "0": { "args": { "0": [ { - "fullExpression": "@local.slider_1_tracker", - "matchedExpression": "@local.slider_1_tracker", + "fullExpression": "@local.slider_tracker", + "matchedExpression": "@local.slider_tracker", "type": "local", - "fieldName": "slider_1_tracker" + "fieldName": "slider_tracker" } ], "1": [ { - "fullExpression": "@local.slider_1", - "matchedExpression": "@local.slider_1", + "fullExpression": "@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" } ] }, "_raw": [ { - "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "matchedExpression": "@local.slider_1_tracker", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider_tracker", "type": "local", - "fieldName": "slider_1_tracker" + "fieldName": "slider_tracker" }, { - "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "matchedExpression": "@local.slider_1", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "matchedExpression": "@local.slider_1_tracker", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider_tracker", "type": "local", - "fieldName": "slider_1_tracker" + "fieldName": "slider_tracker" }, { - "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", - "matchedExpression": "@local.slider_1", + "fullExpression": "changed | set_field:@local.slider_tracker:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" } ] } } }, "_dynamicDependencies": { - "@local.slider_1_tracker": [ + "@local.slider_tracker": [ "action_list.0.args.0", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.slider_1": [ + "@local.slider": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" @@ -14689,13 +15858,13 @@ }, { "type": "text", - "name": "reply_less_1", + "name": "reply_less", "value": "You selected less than @local.threshold", - "hidden": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "hidden": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "parameter_list": { "style": "center" }, - "_nested_name": "reply_less_1", + "_nested_name": "reply_less", "_dynamicFields": { "value": [ { @@ -14707,28 +15876,28 @@ ], "hidden": [ { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" } ] }, @@ -14737,7 +15906,7 @@ "value", "hidden" ], - "@local.slider_1": [ + "@local.slider": [ "hidden", "hidden", "hidden" @@ -14746,14 +15915,14 @@ }, { "type": "dashed_box", - "name": "unlock_less_1", + "name": "unlock_less", "value": "Unlock for less than @local.threshold", - "hidden": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "hidden": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "parameter_list": { "icon_src": "plh_images/icons/unlock_circle.svg", "icon_position": "top-left" }, - "_nested_name": "unlock_less_1", + "_nested_name": "unlock_less", "_dynamicFields": { "value": [ { @@ -14765,28 +15934,28 @@ ], "hidden": [ { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" >= @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" } ] }, @@ -14795,7 +15964,7 @@ "value", "hidden" ], - "@local.slider_1": [ + "@local.slider": [ "hidden", "hidden", "hidden" @@ -14804,13 +15973,13 @@ }, { "type": "text", - "name": "reply_greater_equal_1", + "name": "reply_greater_equal", "value": "You selected @local.threshold or more", - "hidden": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "hidden": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "parameter_list": { "style": "center" }, - "_nested_name": "reply_greater_equal_1", + "_nested_name": "reply_greater_equal", "_dynamicFields": { "value": [ { @@ -14822,28 +15991,28 @@ ], "hidden": [ { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" }, { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" } ] }, @@ -14852,7 +16021,7 @@ "value", "hidden" ], - "@local.slider_1": [ + "@local.slider": [ "hidden", "hidden", "hidden" @@ -14860,517 +16029,473 @@ } }, { - "type": "text", - "name": "question_greater_equal_1", - "value": "Question text", - "hidden": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\"", + "type": "dashed_box", + "name": "unlock_greater_equal", + "value": "Unlock for greater than or equal to @local.threshold", + "hidden": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "parameter_list": { - "style": "center emphasised" + "icon_src": "plh_images/icons/unlock_circle.svg", + "icon_position": "top-left" }, - "_nested_name": "question_greater_equal_1", + "_nested_name": "unlock_greater_equal", "_dynamicFields": { + "value": [ + { + "fullExpression": "Unlock for greater than or equal to @local.threshold", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], "hidden": [ { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\"", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" }, { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\"", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", "matchedExpression": "@local.threshold", "type": "local", "fieldName": "threshold" }, { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\"", - "matchedExpression": "@local.slider_1", + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "slider_1" + "fieldName": "slider" + }, + { + "fullExpression": "\"@local.slider\" < @local.threshold || \"@local.slider\"==\"undefined\" || \"@local.slider\"==\"no_value\" ", + "matchedExpression": "@local.slider", + "type": "local", + "fieldName": "slider" } ] }, "_dynamicDependencies": { - "@local.slider_1": [ - "hidden", + "@local.threshold": [ + "value", "hidden" ], - "@local.threshold": [ + "@local.slider": [ + "hidden", + "hidden", "hidden" ] } }, { - "name": "answer_list", - "value": [ - "name:yes | text:Yes", - "name:no | text:No" - ], - "type": "set_variable", - "_nested_name": "answer_list" - }, - { - "type": "radio_group", - "name": "radio_group", + "type": "template", + "name": "nav_buttons", + "value": "nav_buttons", "action_list": [ { - "trigger": "changed", + "trigger": "completed", "action_id": "set_field", "args": [ - "@local.radio_group_tracker", - "@local.radio_group" + "@local.slider_final", + "@local.slider" ], - "_raw": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "_cleaned": "changed | set_field:@local.radio_group_tracker:@local.radio_group" + "_raw": "completed | set_field:@local.slider_final:@local.slider", + "_cleaned": "completed | set_field:@local.slider_final:@local.slider" + }, + { + "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" } ], - "hidden": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" ", - "parameter_list": { - "answer_list": "@local.answer_list" - }, - "_nested_name": "radio_group", + "rows": [ + { + "name": "use_completed_chevron", + "value": true, + "type": "set_variable", + "_nested_name": "nav_buttons.use_completed_chevron" + } + ], + "_nested_name": "nav_buttons", "_dynamicFields": { "action_list": { "0": { "args": { "0": [ { - "fullExpression": "@local.radio_group_tracker", - "matchedExpression": "@local.radio_group_tracker", + "fullExpression": "@local.slider_final", + "matchedExpression": "@local.slider_final", "type": "local", - "fieldName": "radio_group_tracker" + "fieldName": "slider_final" } ], "1": [ { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", + "fullExpression": "@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "radio_group" + "fieldName": "slider" } ] }, "_raw": [ { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group_tracker", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider_final", "type": "local", - "fieldName": "radio_group_tracker" + "fieldName": "slider_final" }, { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "radio_group" + "fieldName": "slider" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group_tracker", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider_final", "type": "local", - "fieldName": "radio_group_tracker" + "fieldName": "slider_final" }, { - "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", - "matchedExpression": "@local.radio_group", + "fullExpression": "completed | set_field:@local.slider_final:@local.slider", + "matchedExpression": "@local.slider", "type": "local", - "fieldName": "radio_group" + "fieldName": "slider" } ] } - }, - "hidden": [ - { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" ", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - }, - { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" ", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - } - ], - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] } }, "_dynamicDependencies": { - "@local.radio_group_tracker": [ + "@local.slider_final": [ "action_list.0.args.0", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.radio_group": [ + "@local.slider": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" - ], - "@local.slider_1": [ - "hidden", - "hidden" - ], - "@local.threshold": [ - "hidden" - ], - "@local.answer_list": [ - "parameter_list.answer_list" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" + }, + { + "flow_type": "template", + "flow_name": "box_number_selector", + "status": "released", + "rows": [ + { + "name": "number_selector_variable", + "type": "set_variable", + "_nested_name": "number_selector_variable" + }, + { + "name": "number_selector_title", + "type": "set_variable", + "_nested_name": "number_selector_title" + }, + { + "name": "number_selector_min_value", + "value": 0, + "type": "set_variable", + "_nested_name": "number_selector_min_value" + }, + { + "name": "number_selector_max_value", + "value": 30, + "type": "set_variable", + "_nested_name": "number_selector_max_value" + }, + { + "name": "number_selector_step", + "value": 1, + "type": "set_variable", + "_nested_name": "number_selector_step" + }, + { + "name": "number_selector_category_size", + "value": 1, + "type": "set_variable", + "_nested_name": "number_selector_category_size" + }, + { + "name": "number_selector_category_list", + "type": "set_variable", + "_nested_name": "number_selector_category_list" + }, + { + "name": "number_selector_first_display_term", + "value": 1, + "type": "set_variable", + "_nested_name": "number_selector_first_display_term" + }, + { + "name": "number_selector_height", + "value": "normal", + "type": "set_variable", + "_nested_name": "number_selector_height" + }, + { + "type": "image", + "name": "image_src", + "hidden": true, + "_nested_name": "image_src" }, { "type": "text", - "name": "reply_no", - "value": "Reply no", - "hidden": "\"@local.radio_group\"!=\"no\" || \"@local.radio_group\"==\"undefined\"", + "name": "text", "parameter_list": { "style": "center" }, - "_nested_name": "reply_no", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "\"@local.radio_group\"!=\"no\" || \"@local.radio_group\"==\"undefined\"", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - }, - { - "fullExpression": "\"@local.radio_group\"!=\"no\" || \"@local.radio_group\"==\"undefined\"", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_dynamicDependencies": { - "@local.radio_group": [ - "hidden", - "hidden" - ] - } + "_nested_name": "text" }, { "type": "text", - "name": "question_yes", - "value": "Question yes", - "hidden": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\" ", + "name": "question_text", "parameter_list": { "style": "center emphasised" }, - "_nested_name": "question_yes", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\" ", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - }, - { - "fullExpression": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\" ", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_dynamicDependencies": { - "@local.radio_group": [ - "hidden", - "hidden" - ] - } + "_nested_name": "question_text" }, { - "type": "slider", - "name": "slider_2", + "type": "number_selector", + "name": "number_selector", + "_nested_name": "number_selector" + }, + { + "type": "template", + "name": "nav_buttons", + "value": "nav_buttons", + "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": "use_completed_chevron", + "value": true, + "type": "set_variable", + "_nested_name": "nav_buttons.use_completed_chevron" + } + ], + "_nested_name": "nav_buttons" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" + }, + { + "flow_type": "template", + "flow_name": "box_radio_buttons", + "status": "released", + "rows": [ + { + "name": "radio_group_tracker", + "value": "radio_group_tracker", + "type": "set_variable", + "_nested_name": "radio_group_tracker" + }, + { + "name": "radio_group_final", + "value": "radio_group_final", + "type": "set_variable", + "_nested_name": "radio_group_final" + }, + { + "name": "answer_list", + "value": [ + "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg", + "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg", + "name:name_var_3 | text: Third | image:/plh_images/icons/heart.svg" + ], + "type": "set_variable", + "_nested_name": "answer_list" + }, + { + "name": "options_per_row", + "value": 3, + "type": "set_variable", + "_nested_name": "options_per_row" + }, + { + "type": "image", + "name": "image_src", + "hidden": true, + "_nested_name": "image_src" + }, + { + "type": "text", + "name": "text", + "_nested_name": "text" + }, + { + "type": "text", + "name": "question_text", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text" + }, + { + "type": "radio_group", + "name": "radio_group", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "@local.slider_2_tracker", - "@local.slider_2" + "@local.radio_group_tracker", + "@local.radio_group" ], - "_raw": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "_cleaned": "changed | set_field:@local.slider_2_tracker:@local.slider_2" + "_raw": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "_cleaned": "changed | set_field:@local.radio_group_tracker:@local.radio_group" } ], - "hidden": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\"", "parameter_list": { - "min": "0", - "min_value_label": "Days in the past week", - "max": "7" + "answer_list": "@local.answer_list", + "options_per_row": "@local.options_per_row" }, - "_nested_name": "slider_2", + "_nested_name": "radio_group", "_dynamicFields": { "action_list": { "0": { "args": { "0": [ { - "fullExpression": "@local.slider_2_tracker", - "matchedExpression": "@local.slider_2_tracker", + "fullExpression": "@local.radio_group_tracker", + "matchedExpression": "@local.radio_group_tracker", "type": "local", - "fieldName": "slider_2_tracker" + "fieldName": "radio_group_tracker" } ], "1": [ { - "fullExpression": "@local.slider_2", - "matchedExpression": "@local.slider_2", + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_2" + "fieldName": "radio_group" } ] }, "_raw": [ { - "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "matchedExpression": "@local.slider_2_tracker", + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group_tracker", "type": "local", - "fieldName": "slider_2_tracker" + "fieldName": "radio_group_tracker" }, { - "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "matchedExpression": "@local.slider_2", + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_2" + "fieldName": "radio_group" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "matchedExpression": "@local.slider_2_tracker", + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group_tracker", "type": "local", - "fieldName": "slider_2_tracker" + "fieldName": "radio_group_tracker" }, { - "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", - "matchedExpression": "@local.slider_2", + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_2" + "fieldName": "radio_group" } ] } }, - "hidden": [ - { - "fullExpression": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\"", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - }, - { - "fullExpression": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\"", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" + } + ], + "options_per_row": [ + { + "fullExpression": "@local.options_per_row", + "matchedExpression": "@local.options_per_row", + "type": "local", + "fieldName": "options_per_row" + } + ] + } }, "_dynamicDependencies": { - "@local.slider_2_tracker": [ + "@local.radio_group_tracker": [ "action_list.0.args.0", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.slider_2": [ + "@local.radio_group": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.radio_group": [ - "hidden", - "hidden" - ] - } - }, - { - "type": "text", - "name": "reply_less_2", - "value": "You selected less than @local.threshold", - "hidden": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "parameter_list": { - "style": "center" - }, - "_nested_name": "reply_less_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "You selected less than @local.threshold", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], - "hidden": [ - { - "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - }, - { - "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - }, - { - "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ] - }, - "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden" - ], - "@local.slider_2": [ - "hidden", - "hidden", - "hidden" - ] - } - }, - { - "type": "dashed_box", - "name": "unlock_less_2", - "value": "Unlock for less than @local.threshold", - "hidden": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", - "parameter_list": { - "icon_src": "plh_images/icons/unlock_circle.svg", - "icon_position": "top-left" - }, - "_nested_name": "unlock_less_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Unlock for less than @local.threshold", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], - "hidden": [ - { - "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - }, - { - "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - }, - { - "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ] - }, - "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden" + "@local.answer_list": [ + "parameter_list.answer_list" ], - "@local.slider_2": [ - "hidden", - "hidden", - "hidden" + "@local.options_per_row": [ + "parameter_list.options_per_row" ] } }, { "type": "text", - "name": "reply_greater_equal_2", - "value": "You selected @local.threshold or more", - "hidden": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "parameter_list": { - "style": "center" - }, - "_nested_name": "reply_greater_equal_2", + "name": "reply", + "value": "Reply", + "hidden": "\"@local.radio_group\"==\"undefined\" ", + "_nested_name": "reply", "_dynamicFields": { - "value": [ - { - "fullExpression": "You selected @local.threshold or more", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - } - ], "hidden": [ { - "fullExpression": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - }, - { - "fullExpression": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "matchedExpression": "@local.threshold", - "type": "local", - "fieldName": "threshold" - }, - { - "fullExpression": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - }, - { - "fullExpression": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", - "matchedExpression": "@local.slider_2", + "fullExpression": "\"@local.radio_group\"==\"undefined\" ", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_2" + "fieldName": "radio_group" } ] }, "_dynamicDependencies": { - "@local.threshold": [ - "value", - "hidden" - ], - "@local.slider_2": [ - "hidden", - "hidden", + "@local.radio_group": [ "hidden" ] } @@ -15380,6 +16505,16 @@ "name": "nav_buttons", "value": "nav_buttons", "action_list": [ + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.radio_group_final", + "@local.radio_group" + ], + "_raw": "completed | set_field:@local.radio_group_final:@local.radio_group", + "_cleaned": "completed | set_field:@local.radio_group_final:@local.radio_group" + }, { "trigger": "completed", "action_id": "emit", @@ -15397,36 +16532,6 @@ ], "_raw": "uncompleted | emit:uncompleted", "_cleaned": "uncompleted | emit:uncompleted" - }, - { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "@local.slider_1_final", - "@local.slider_1" - ], - "_raw": "completed | set_field:@local.slider_1_final:@local.slider_1", - "_cleaned": "completed | set_field:@local.slider_1_final:@local.slider_1" - }, - { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "@local.radio_group_final", - "@local.slider_1" - ], - "_raw": "completed | set_field:@local.radio_group_final:@local.slider_1", - "_cleaned": "completed | set_field:@local.radio_group_final:@local.slider_1" - }, - { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "@local.slider_2_final", - "@local.slider_2" - ], - "_raw": "completed | set_field:@local.slider_2_final:@local.slider_2", - "_cleaned": "completed | set_field:@local.slider_2_final:@local.slider_2" } ], "rows": [ @@ -15440,55 +16545,7 @@ "_nested_name": "nav_buttons", "_dynamicFields": { "action_list": { - "2": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_1_final", - "matchedExpression": "@local.slider_1_final", - "type": "local", - "fieldName": "slider_1_final" - } - ], - "1": [ - { - "fullExpression": "@local.slider_1", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", - "matchedExpression": "@local.slider_1_final", - "type": "local", - "fieldName": "slider_1_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - } - ], - "_cleaned": [ - { - "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", - "matchedExpression": "@local.slider_1_final", - "type": "local", - "fieldName": "slider_1_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - } - ] - }, - "3": { + "0": { "args": { "0": [ { @@ -15500,120 +16557,54 @@ ], "1": [ { - "fullExpression": "@local.slider_1", - "matchedExpression": "@local.slider_1", + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_1" + "fieldName": "radio_group" } ] }, "_raw": [ { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.slider_1", + "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", "matchedExpression": "@local.radio_group_final", "type": "local", "fieldName": "radio_group_final" }, { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.slider_1", - "matchedExpression": "@local.slider_1", + "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_1" + "fieldName": "radio_group" } ], "_cleaned": [ { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.slider_1", + "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", "matchedExpression": "@local.radio_group_final", "type": "local", "fieldName": "radio_group_final" }, { - "fullExpression": "completed | set_field:@local.radio_group_final:@local.slider_1", - "matchedExpression": "@local.slider_1", + "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_1" - } - ] - }, - "4": { - "args": { - "0": [ - { - "fullExpression": "@local.slider_2_final", - "matchedExpression": "@local.slider_2_final", - "type": "local", - "fieldName": "slider_2_final" - } - ], - "1": [ - { - "fullExpression": "@local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ] - }, - "_raw": [ - { - "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", - "matchedExpression": "@local.slider_2_final", - "type": "local", - "fieldName": "slider_2_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ], - "_cleaned": [ - { - "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", - "matchedExpression": "@local.slider_2_final", - "type": "local", - "fieldName": "slider_2_final" - }, - { - "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" + "fieldName": "radio_group" } ] } } }, "_dynamicDependencies": { - "@local.slider_1_final": [ - "action_list.2.args.0", - "action_list.2._raw", - "action_list.2._cleaned" - ], - "@local.slider_1": [ - "action_list.2.args.1", - "action_list.2._raw", - "action_list.2._cleaned", - "action_list.3.args.1", - "action_list.3._raw", - "action_list.3._cleaned" - ], "@local.radio_group_final": [ - "action_list.3.args.0", - "action_list.3._raw", - "action_list.3._cleaned" - ], - "@local.slider_2_final": [ - "action_list.4.args.0", - "action_list.4._raw", - "action_list.4._cleaned" + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" ], - "@local.slider_2": [ - "action_list.4.args.1", - "action_list.4._raw", - "action_list.4._cleaned" + "@local.radio_group": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } } @@ -15622,485 +16613,450 @@ }, { "flow_type": "template", - "flow_name": "survey_stepper", + "flow_name": "box_radio_buttons_emo_temp", "status": "released", "rows": [ { - "name": "progress_bar_value", + "name": "radio_group_tracker", "type": "set_variable", - "_nested_name": "progress_bar_value" + "_nested_name": "radio_group_tracker" }, { - "name": "progress_bar_num_items", + "name": "radio_group_final", "type": "set_variable", - "_nested_name": "progress_bar_num_items" + "_nested_name": "radio_group_final" }, { - "name": "progress_bar", - "value": "@local.progress_bar_value", + "name": "answer_list", + "value": [ + "name:happy | image:plh_images/stickers/faces/happier.svg | image_checked:plh_images/stickers/faces/happier.svg", + "name:ok | image:plh_images/stickers/faces/neutral.svg | image_checked:plh_images/stickers/faces/neutral.svg", + "name:sad | image:plh_images/stickers/faces/sadder.svg | image_checked:plh_images/stickers/faces/sadder.svg" + ], + "type": "set_variable", + "_nested_name": "answer_list" + }, + { + "name": "options_per_row", + "value": 3, + "type": "set_variable", + "_nested_name": "options_per_row" + }, + { + "type": "image", + "name": "image_src", + "hidden": true, + "_nested_name": "image_src" + }, + { + "type": "text", + "name": "text", + "_nested_name": "text" + }, + { + "type": "text", + "name": "question_text", "parameter_list": { - "num_items": "@local.progress_bar_num_items" + "style": "emphasised" }, - "type": "set_variable", - "_nested_name": "progress_bar", + "_nested_name": "question_text" + }, + { + "type": "radio_group", + "name": "radio_group", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.radio_group_tracker", + "@local.radio_group" + ], + "_raw": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "_cleaned": "changed | set_field:@local.radio_group_tracker:@local.radio_group" + } + ], + "parameter_list": { + "answer_list": "@local.answer_list", + "options_per_row": "@local.options_per_row" + }, + "_nested_name": "radio_group", "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.progress_bar_value", - "matchedExpression": "@local.progress_bar_value", - "type": "local", - "fieldName": "progress_bar_value" + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.radio_group_tracker", + "matchedExpression": "@local.radio_group_tracker", + "type": "local", + "fieldName": "radio_group_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group_tracker", + "type": "local", + "fieldName": "radio_group_tracker" + }, + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group_tracker", + "type": "local", + "fieldName": "radio_group_tracker" + }, + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] } - ], + }, "parameter_list": { - "num_items": [ + "answer_list": [ { - "fullExpression": "@local.progress_bar_num_items", - "matchedExpression": "@local.progress_bar_num_items", + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", "type": "local", - "fieldName": "progress_bar_num_items" + "fieldName": "answer_list" + } + ], + "options_per_row": [ + { + "fullExpression": "@local.options_per_row", + "matchedExpression": "@local.options_per_row", + "type": "local", + "fieldName": "options_per_row" } ] } }, "_dynamicDependencies": { - "@local.progress_bar_value": [ - "value" + "@local.radio_group_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" ], - "@local.progress_bar_num_items": [ - "parameter_list.num_items" + "@local.radio_group": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.answer_list": [ + "parameter_list.answer_list" + ], + "@local.options_per_row": [ + "parameter_list.options_per_row" ] } }, { - "name": "progress_field_name", - "type": "set_variable", - "_nested_name": "progress_field_name" - }, - { - "type": "nav_group", - "name": "nav_template_list", - "parameter_list": { - "progress_field": "@local.progress_field_name" - }, - "_nested_name": "nav_template_list", + "type": "text", + "name": "reply_happy", + "value": "Reply happy", + "hidden": "\"@local.radio_group\"!=\"happy\"", + "_nested_name": "reply_happy", "_dynamicFields": { - "parameter_list": { - "progress_field": [ - { - "fullExpression": "@local.progress_field_name", - "matchedExpression": "@local.progress_field_name", - "type": "local", - "fieldName": "progress_field_name" - } - ] - } + "hidden": [ + { + "fullExpression": "\"@local.radio_group\"!=\"happy\"", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] }, "_dynamicDependencies": { - "@local.progress_field_name": [ - "parameter_list.progress_field" + "@local.radio_group": [ + "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_surveys.xlsx" - }, - { - "flow_type": "template", - "flow_name": "widget_audio", - "status": "released", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/sample.mp3", - "type": "set_variable", - "_nested_name": "audio_src" }, { - "name": "audio_title", - "value": "Widget title", - "type": "set_variable", - "_nested_name": "audio_title" + "type": "text", + "name": "reply_ok", + "value": "Reply ok", + "hidden": "\"@local.radio_group\"!=\"ok\" ", + "_nested_name": "reply_ok", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.radio_group\"!=\"ok\" ", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_dynamicDependencies": { + "@local.radio_group": [ + "hidden" + ] + } }, { - "type": "audio", - "name": "audio_player", - "value": "@local.audio_src", - "parameter_list": { - "title": "@local.audio_title" - }, - "_nested_name": "audio_player", + "type": "text", + "name": "reply_sad", + "value": "Reply sad", + "hidden": "\"@local.radio_group\"!=\"sad\"", + "_nested_name": "reply_sad", "_dynamicFields": { - "value": [ + "hidden": [ { - "fullExpression": "@local.audio_src", - "matchedExpression": "@local.audio_src", + "fullExpression": "\"@local.radio_group\"!=\"sad\"", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "audio_src" + "fieldName": "radio_group" } - ], - "parameter_list": { - "title": [ - { - "fullExpression": "@local.audio_title", - "matchedExpression": "@local.audio_title", - "type": "local", - "fieldName": "audio_title" - } - ] - } + ] }, "_dynamicDependencies": { - "@local.audio_src": [ - "value" - ], - "@local.audio_title": [ - "parameter_list.title" + "@local.radio_group": [ + "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_widgets.xlsx" - }, - { - "flow_type": "template", - "flow_name": "widget_video", - "status": "released", - "rows": [ + }, { - "type": "display_group", - "rows": [ + "type": "template", + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "type": "title", - "name": "title", - "value": "Video", - "_nested_name": "display_group.title" + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "help", - "type": "set_variable", - "_nested_name": "display_group.help" + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" + }, + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.radio_group_final", + "@local.radio_group" + ], + "_raw": "completed | set_field:@local.radio_group_final:@local.radio_group", + "_cleaned": "completed | set_field:@local.radio_group_final:@local.radio_group" } ], - "name": "display_group", - "_nested_name": "display_group" - }, - { - "type": "video", - "name": "video_src", - "value": "plh_video/lets_slow_down.mp4", - "_nested_name": "video_src" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_widgets.xlsx" - }, - { - "flow_type": "template", - "flow_name": "widget_timer", - "status": "released", - "rows": [ - { - "name": "duration", - "value": 10, - "type": "set_variable", - "_nested_name": "duration" - }, - { - "name": "duration_extension", - "value": 1, - "type": "set_variable", - "_nested_name": "duration_extension" - }, - { - "type": "timer", - "name": "timer", - "parameter_list": { - "starting_minutes": "@local.duration", - "duration_extension": "@local.duration_extension" - }, - "_nested_name": "timer", + "rows": [], + "_nested_name": "nav_buttons", "_dynamicFields": { - "parameter_list": { - "starting_minutes": [ - { - "fullExpression": "@local.duration", - "matchedExpression": "@local.duration", - "type": "local", - "fieldName": "duration" - } - ], - "duration_extension": [ - { - "fullExpression": "@local.duration_extension", - "matchedExpression": "@local.duration_extension", - "type": "local", - "fieldName": "duration_extension" - } - ] + "action_list": { + "2": { + "args": { + "0": [ + { + "fullExpression": "@local.radio_group_final", + "matchedExpression": "@local.radio_group_final", + "type": "local", + "fieldName": "radio_group_final" + } + ], + "1": [ + { + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_raw": [ + { + "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", + "matchedExpression": "@local.radio_group_final", + "type": "local", + "fieldName": "radio_group_final" + }, + { + "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ], + "_cleaned": [ + { + "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", + "matchedExpression": "@local.radio_group_final", + "type": "local", + "fieldName": "radio_group_final" + }, + { + "fullExpression": "completed | set_field:@local.radio_group_final:@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + } } }, "_dynamicDependencies": { - "@local.duration": [ - "parameter_list.starting_minutes" + "@local.radio_group_final": [ + "action_list.2.args.0", + "action_list.2._raw", + "action_list.2._cleaned" ], - "@local.duration_extension": [ - "parameter_list.duration_extension" + "@local.radio_group": [ + "action_list.2.args.1", + "action_list.2._raw", + "action_list.2._cleaned" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_widgets.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" }, { "flow_type": "template", - "flow_name": "widget_slider", + "flow_name": "box_text_box", "status": "released", "rows": [ { - "name": "min_value", - "value": 1, - "type": "set_variable", - "_nested_name": "min_value" - }, - { - "name": "max_value", - "value": 10, - "type": "set_variable", - "_nested_name": "max_value" - }, - { - "name": "step", - "value": 1, + "name": "text_box_tracker", "type": "set_variable", - "_nested_name": "step" + "_nested_name": "text_box_tracker" }, { - "name": "min_text", - "value": "Low", + "name": "text_box_final", "type": "set_variable", - "_nested_name": "min_text" + "_nested_name": "text_box_final" }, { - "name": "max_text", - "value": "High", - "type": "set_variable", - "_nested_name": "max_text" + "type": "image", + "name": "image_src", + "hidden": true, + "_nested_name": "image_src" }, { - "name": "unit_text", - "value": "units", - "type": "set_variable", - "_nested_name": "unit_text" + "type": "text", + "name": "text", + "_nested_name": "text" }, { - "name": "default_value", - "value": "null", - "type": "set_variable", - "_nested_name": "default_value" + "type": "text", + "name": "question_text", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text" }, { - "name": "_value", - "value": "@local.default_value", - "type": "set_variable", - "_nested_name": "_value", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.default_value", - "matchedExpression": "@local.default_value", - "type": "local", - "fieldName": "default_value" - } - ] - }, - "_dynamicDependencies": { - "@local.default_value": [ - "value" - ] - } - }, - { - "type": "slider", - "name": "slider", - "parameter_list": { - "min": "@local.min_value", - "min_value_label": "@local.min_text", - "max": "@local.max_value", - "max_value_label": "@local.max_text", - "step": "@local.step", - "help": "@local.help", - "title": "@local.title" - }, - "_nested_name": "slider", - "_dynamicFields": { - "parameter_list": { - "min": [ - { - "fullExpression": "@local.min_value", - "matchedExpression": "@local.min_value", - "type": "local", - "fieldName": "min_value" - } - ], - "min_value_label": [ - { - "fullExpression": "@local.min_text", - "matchedExpression": "@local.min_text", - "type": "local", - "fieldName": "min_text" - } - ], - "max": [ - { - "fullExpression": "@local.max_value", - "matchedExpression": "@local.max_value", - "type": "local", - "fieldName": "max_value" - } - ], - "max_value_label": [ - { - "fullExpression": "@local.max_text", - "matchedExpression": "@local.max_text", - "type": "local", - "fieldName": "max_text" - } - ], - "step": [ - { - "fullExpression": "@local.step", - "matchedExpression": "@local.step", - "type": "local", - "fieldName": "step" - } - ], - "help": [ - { - "fullExpression": "@local.help", - "matchedExpression": "@local.help", - "type": "local", - "fieldName": "help" - } + "type": "text_box", + "name": "text_box", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.text_box_tracker", + "@local.text_box" ], - "title": [ - { - "fullExpression": "@local.title", - "matchedExpression": "@local.title", - "type": "local", - "fieldName": "title" - } - ] + "_raw": "changed | set_field: @local.text_box_tracker: @local.text_box", + "_cleaned": "changed | set_field: @local.text_box_tracker: @local.text_box" } + ], + "parameter_list": { + "placeholder": "Click and type" }, - "_dynamicDependencies": { - "@local.min_value": [ - "parameter_list.min" - ], - "@local.min_text": [ - "parameter_list.min_value_label" - ], - "@local.max_value": [ - "parameter_list.max" - ], - "@local.max_text": [ - "parameter_list.max_value_label" - ], - "@local.step": [ - "parameter_list.step" - ], - "@local.help": [ - "parameter_list.help" - ], - "@local.title": [ - "parameter_list.title" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_widgets.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_video", - "status": "released", - "rows": [ - { - "name": "video_src", - "type": "set_variable", - "_nested_name": "video_src" - }, - { - "name": "video_title", - "value": "Video", - "type": "set_variable", - "_nested_name": "video_title" - }, - { - "name": "video_help", - "type": "set_variable", - "_nested_name": "video_help" - }, - { - "type": "template", - "name": "widget_video", - "value": "widget_video", - "rows": [ - { - "name": "video_src", - "value": "plh_video/lets_slow_down.mp4", - "type": "set_variable", - "_nested_name": "widget_video.video_src" - }, - { - "name": "title", - "value": "@local.video_title", - "type": "set_variable", - "_nested_name": "widget_video.title", - "_dynamicFields": { - "value": [ + "_nested_name": "text_box", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.text_box_tracker", + "matchedExpression": "@local.text_box_tracker", + "type": "local", + "fieldName": "text_box_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", + "matchedExpression": "@local.text_box_tracker", + "type": "local", + "fieldName": "text_box_tracker" + }, { - "fullExpression": "@local.video_title", - "matchedExpression": "@local.video_title", + "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", + "matchedExpression": "@local.text_box", "type": "local", - "fieldName": "video_title" + "fieldName": "text_box" } - ] - }, - "_dynamicDependencies": { - "@local.video_title": [ - "value" - ] - } - }, - { - "name": "help", - "value": "@local.video_help", - "type": "set_variable", - "_nested_name": "widget_video.help", - "_dynamicFields": { - "value": [ + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", + "matchedExpression": "@local.text_box_tracker", + "type": "local", + "fieldName": "text_box_tracker" + }, { - "fullExpression": "@local.video_help", - "matchedExpression": "@local.video_help", + "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", + "matchedExpression": "@local.text_box", "type": "local", - "fieldName": "video_help" + "fieldName": "text_box" } ] - }, - "_dynamicDependencies": { - "@local.video_help": [ - "value" - ] } } - ], - "_nested_name": "widget_video" - }, - { - "name": "bottom_text", - "hidden": true, - "type": "set_variable", - "_nested_name": "bottom_text" + }, + "_dynamicDependencies": { + "@local.text_box_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.text_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } }, { "type": "template", @@ -16124,154 +17080,200 @@ ], "_raw": "uncompleted | emit:uncompleted", "_cleaned": "uncompleted | emit:uncompleted" + }, + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.text_box_final", + "@local.text_box" + ], + "_raw": "completed | set_field:@local.text_box_final:@local.text_box", + "_cleaned": "completed | set_field:@local.text_box_final:@local.text_box" } ], "rows": [], - "_nested_name": "nav_buttons" + "_nested_name": "nav_buttons", + "_dynamicFields": { + "action_list": { + "2": { + "args": { + "0": [ + { + "fullExpression": "@local.text_box_final", + "matchedExpression": "@local.text_box_final", + "type": "local", + "fieldName": "text_box_final" + } + ], + "1": [ + { + "fullExpression": "@local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ] + }, + "_raw": [ + { + "fullExpression": "completed | set_field:@local.text_box_final:@local.text_box", + "matchedExpression": "@local.text_box_final", + "type": "local", + "fieldName": "text_box_final" + }, + { + "fullExpression": "completed | set_field:@local.text_box_final:@local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ], + "_cleaned": [ + { + "fullExpression": "completed | set_field:@local.text_box_final:@local.text_box", + "matchedExpression": "@local.text_box_final", + "type": "local", + "fieldName": "text_box_final" + }, + { + "fullExpression": "completed | set_field:@local.text_box_final:@local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ] + } + } + }, + "_dynamicDependencies": { + "@local.text_box_final": [ + "action_list.2.args.0", + "action_list.2._raw", + "action_list.2._cleaned" + ], + "@local.text_box": [ + "action_list.2.args.1", + "action_list.2._raw", + "action_list.2._cleaned" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" }, { "flow_type": "template", - "flow_name": "box_audio", + "flow_name": "box_combo_box", "status": "released", "rows": [ { - "type": "text", - "name": "text", - "_nested_name": "text" - }, - { - "type": "lottie_animation", - "name": "lottie_src", - "hidden": true, - "_nested_name": "lottie_src" + "name": "combo_box_tracker", + "value": "combo_box_tracker", + "type": "set_variable", + "_nested_name": "combo_box_tracker" }, { - "type": "template", - "name": "widget_audio", - "value": "widget_audio", - "rows": [ - { - "type": "set_variable", - "name": "audio_title", - "value": "Box title", - "_nested_name": "widget_audio.audio_title" - } - ], - "_nested_name": "widget_audio" + "name": "combo_box_final", + "value": "combo_box_final", + "type": "set_variable", + "_nested_name": "combo_box_final" }, { - "type": "button", - "name": "button", - "hidden": true, - "_nested_name": "button" + "name": "combo_box_text", + "value": "combo_box_text", + "type": "set_variable", + "_nested_name": "combo_box_text" }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", - "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": [], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_image", - "status": "released", - "rows": [ - { - "type": "title", - "name": "title", - "hidden": true, - "_nested_name": "title" + "name": "input_allowed", + "value": true, + "type": "set_variable", + "_nested_name": "input_allowed" }, { - "type": "image", - "name": "image_src", - "parameter_list": { - "style": "rounded_corners" - }, - "_nested_name": "image_src" + "name": "name_1", + "value": "This is text 1 ", + "type": "set_variable", + "_nested_name": "name_1" }, { - "type": "text", - "name": "text", - "_nested_name": "text" + "name": "name_2", + "value": "This is text 2", + "type": "set_variable", + "_nested_name": "name_2" }, { - "type": "dashed_box", - "name": "dashed_box", - "hidden": true, - "_nested_name": "dashed_box" + "name": "name_3", + "value": "This is text 3", + "type": "set_variable", + "_nested_name": "name_3" }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" + "name": "answer_list", + "value": [ + "name: name_1 | text:@local.name_1", + "name: name_2 | text:@local.name_2", + "name: name_3 | text:@local.name_3" + ], + "type": "set_variable", + "_nested_name": "answer_list", + "_dynamicFields": { + "value": { + "0": [ + { + "fullExpression": "name: name_1 | text:@local.name_1", + "matchedExpression": "@local.name_1", + "type": "local", + "fieldName": "name_1" + } ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", - "action_id": "emit", - "args": [ - "uncompleted" + "1": [ + { + "fullExpression": "name: name_2 | text:@local.name_2", + "matchedExpression": "@local.name_2", + "type": "local", + "fieldName": "name_2" + } ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" + "2": [ + { + "fullExpression": "name: name_3 | text:@local.name_3", + "matchedExpression": "@local.name_3", + "type": "local", + "fieldName": "name_3" + } + ] } - ], - "rows": [], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_image_more", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@local.name_1": [ + "value.0" + ], + "@local.name_2": [ + "value.1" + ], + "@local.name_3": [ + "value.2" + ] + } + }, { - "type": "title", - "name": "title", - "hidden": true, - "_nested_name": "title" + "name": "placeholder", + "value": "Click and choose", + "type": "set_variable", + "_nested_name": "placeholder" + }, + { + "name": "answer_placeholder", + "value": "Type your own", + "type": "set_variable", + "_nested_name": "answer_placeholder" }, { "type": "image", "name": "image_src", + "hidden": true, "parameter_list": { "style": "rounded_corners" }, @@ -16283,349 +17285,174 @@ "_nested_name": "text" }, { - "type": "dashed_box", - "name": "dashed_box", - "hidden": true, - "_nested_name": "dashed_box" + "type": "text", + "name": "question_text", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text" }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "combo_box", + "name": "combo_box", "action_list": [ { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "changed", + "action_id": "set_field", "args": [ - "uncompleted" + "@local.combo_box_tracker", + "@local.combo_box" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" + "_raw": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "_cleaned": "changed | set_field: @local.combo_box_tracker: @local.combo_box" } ], - "rows": [ - { - "name": "button_completed", - "value": "@global.more_button", - "type": "set_variable", - "_nested_name": "nav_buttons.button_completed", - "_dynamicFields": { - "value": [ + "parameter_list": { + "answer_list": "@local.answer_list", + "placeholder": "@local.placeholder", + "input_allowed": "@local.input_allowed", + "answer_placeholder": "@local.answer_placeholder" + }, + "_nested_name": "combo_box", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.combo_box_tracker", + "matchedExpression": "@local.combo_box_tracker", + "type": "local", + "fieldName": "combo_box_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_raw": [ { - "fullExpression": "@global.more_button", - "matchedExpression": "@global.more_button", - "type": "global", - "fieldName": "more_button" + "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box_tracker", + "type": "local", + "fieldName": "combo_box_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box_tracker", + "type": "local", + "fieldName": "combo_box_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } - ] - }, - "_dynamicDependencies": { - "@global.more_button": [ - "value" ] } - } - ], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_story", - "status": "released", - "rows": [ - { - "type": "title", - "name": "title", - "hidden": true, - "_nested_name": "title" - }, - { - "type": "image", - "name": "image_src", - "parameter_list": { - "style": "rounded_corners" - }, - "_nested_name": "image_src" - }, - { - "type": "text", - "name": "text", - "_nested_name": "text" - }, - { - "type": "dashed_box", - "name": "dashed_box", - "hidden": true, - "_nested_name": "dashed_box" - }, - { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", - "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": "use_completed_chevron", - "value": true, - "type": "set_variable", - "_nested_name": "nav_buttons.use_completed_chevron" - } - ], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_buttons", - "status": "released", - "rows": [ - { - "type": "image", - "name": "image_src", - "hidden": true, - "parameter_list": { - "style": "rounded_corners" - }, - "_nested_name": "image_src" - }, - { - "type": "text", - "name": "text_1", - "_nested_name": "text_1" - }, - { - "type": "button", - "name": "button_1", - "_nested_name": "button_1" - }, - { - "type": "text", - "name": "text_2", - "hidden": true, - "_nested_name": "text_2" - }, - { - "type": "button", - "name": "button_2", - "hidden": true, - "_nested_name": "button_2" - }, - { - "type": "text", - "name": "text_3", - "hidden": true, - "_nested_name": "text_3" - }, - { - "type": "button", - "name": "button_3", - "hidden": true, - "_nested_name": "button_3" - }, - { - "type": "dashed_box", - "name": "habit_text", - "hidden": true, - "parameter_list": { - "icon_src": "plh_images/icons/star_circle.svg", - "icon_position": "top-left" - }, - "_nested_name": "habit_text" - }, - { - "type": "text", - "name": "bottom_text", - "hidden": true, - "_nested_name": "bottom_text" - }, - { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", - "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": [], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_timer", - "status": "released", - "rows": [ - { - "name": "timer_duration", - "value": 10, - "type": "set_variable", - "_nested_name": "timer_duration" - }, - { - "name": "timer_duration_extension", - "value": 1, - "type": "set_variable", - "_nested_name": "timer_duration_extension" - }, - { - "name": "timer_title", - "value": "Timer", - "type": "set_variable", - "_nested_name": "timer_title" - }, - { - "name": "timer_help", - "value": "Press the triangle to help you keep this discussion to @local.timer_duration minutes.", - "type": "set_variable", - "_nested_name": "timer_help", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Press the triangle to help you keep this discussion to @local.timer_duration minutes.", - "matchedExpression": "@local.timer_duration", - "type": "local", - "fieldName": "timer_duration" - } - ] - }, - "_dynamicDependencies": { - "@local.timer_duration": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text", - "_nested_name": "text" - }, - { - "type": "button", - "name": "button_1", - "hidden": true, - "_nested_name": "button_1" - }, - { - "type": "button", - "name": "button_2", - "hidden": true, - "_nested_name": "button_2" - }, - { - "type": "button", - "name": "button_3", - "hidden": true, - "_nested_name": "button_3" - }, - { - "type": "timer", - "name": "timer", - "parameter_list": { - "title": "@local.timer_title", - "starting_minutes": "@local.timer_duration", - "duration_extension": "@local.timer_duration_extension", - "help": "@local.timer_help" - }, - "_nested_name": "timer", - "_dynamicFields": { "parameter_list": { - "title": [ + "answer_list": [ { - "fullExpression": "@local.timer_title", - "matchedExpression": "@local.timer_title", + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", "type": "local", - "fieldName": "timer_title" + "fieldName": "answer_list" } ], - "starting_minutes": [ + "placeholder": [ { - "fullExpression": "@local.timer_duration", - "matchedExpression": "@local.timer_duration", + "fullExpression": "@local.placeholder", + "matchedExpression": "@local.placeholder", "type": "local", - "fieldName": "timer_duration" + "fieldName": "placeholder" } ], - "duration_extension": [ + "input_allowed": [ { - "fullExpression": "@local.timer_duration_extension", - "matchedExpression": "@local.timer_duration_extension", + "fullExpression": "@local.input_allowed", + "matchedExpression": "@local.input_allowed", "type": "local", - "fieldName": "timer_duration_extension" + "fieldName": "input_allowed" } ], - "help": [ + "answer_placeholder": [ { - "fullExpression": "@local.timer_help", - "matchedExpression": "@local.timer_help", + "fullExpression": "@local.answer_placeholder", + "matchedExpression": "@local.answer_placeholder", "type": "local", - "fieldName": "timer_help" + "fieldName": "answer_placeholder" } ] } }, "_dynamicDependencies": { - "@local.timer_title": [ - "parameter_list.title" + "@local.combo_box_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" ], - "@local.timer_duration": [ - "parameter_list.starting_minutes" + "@local.combo_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ], - "@local.timer_duration_extension": [ - "parameter_list.duration_extension" + "@local.answer_list": [ + "parameter_list.answer_list" ], - "@local.timer_help": [ - "parameter_list.help" + "@local.placeholder": [ + "parameter_list.placeholder" + ], + "@local.input_allowed": [ + "parameter_list.input_allowed" + ], + "@local.answer_placeholder": [ + "parameter_list.answer_placeholder" + ] + } + }, + { + "type": "text", + "name": "reply", + "value": "You selected @local.combo_box", + "hidden": "\"@local.combo_box\"==\"undefined\"", + "_nested_name": "reply", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You selected @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"==\"undefined\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "value", + "hidden" ] } }, @@ -16634,6 +17461,16 @@ "name": "nav_buttons", "value": "nav_buttons", "action_list": [ + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.combo_box_final", + "@local.combo_box" + ], + "_raw": "completed | set_field:@local.combo_box_final: @local.combo_box", + "_cleaned": "completed | set_field:@local.combo_box_final: @local.combo_box" + }, { "trigger": "completed", "action_id": "emit", @@ -16654,45 +17491,124 @@ } ], "rows": [], - "_nested_name": "nav_buttons" + "_nested_name": "nav_buttons", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.combo_box_final", + "matchedExpression": "@local.combo_box_final", + "type": "local", + "fieldName": "combo_box_final" + } + ], + "1": [ + { + "fullExpression": "@local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_raw": [ + { + "fullExpression": "completed | set_field:@local.combo_box_final: @local.combo_box", + "matchedExpression": "@local.combo_box_final", + "type": "local", + "fieldName": "combo_box_final" + }, + { + "fullExpression": "completed | set_field:@local.combo_box_final: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "_cleaned": [ + { + "fullExpression": "completed | set_field:@local.combo_box_final: @local.combo_box", + "matchedExpression": "@local.combo_box_final", + "type": "local", + "fieldName": "combo_box_final" + }, + { + "fullExpression": "completed | set_field:@local.combo_box_final: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + } + } + }, + "_dynamicDependencies": { + "@local.combo_box_final": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" }, { "flow_type": "template", - "flow_name": "box_duo_combo_box", + "flow_name": "box_multi_1", "status": "released", "rows": [ { "type": "template", - "name": "combo_box_1", - "value": "box_combo_box", + "name": "text_box", + "value": "box_text_box", "rows": [ { "type": "nested_properties", "name": "nav_buttons", "hidden": true, "rows": [], - "_nested_name": "combo_box_1.nav_buttons" + "_nested_name": "text_box.nav_buttons" } ], - "_nested_name": "combo_box_1" + "_nested_name": "text_box" }, { "type": "template", - "name": "combo_box_2", - "value": "box_combo_box", + "name": "radio_buttons", + "value": "box_radio_buttons", "rows": [ { "type": "nested_properties", "name": "nav_buttons", "hidden": true, "rows": [], - "_nested_name": "combo_box_2.nav_buttons" + "_nested_name": "radio_buttons.nav_buttons" } ], - "_nested_name": "combo_box_2" + "_nested_name": "radio_buttons" + }, + { + "type": "template", + "name": "number_selector", + "value": "box_number_selector", + "rows": [ + { + "type": "nested_properties", + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "number_selector.nav_buttons" + } + ], + "_nested_name": "number_selector" }, { "type": "template", @@ -16722,42 +17638,99 @@ "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" }, { "flow_type": "template", - "flow_name": "box_duo_radio_buttons", + "flow_name": "box_multi_2", "status": "released", "rows": [ { - "type": "template", - "name": "radio_buttons_1", - "value": "box_radio_buttons", + "type": "text", + "name": "text", + "_nested_name": "text" + }, + { + "type": "text", + "name": "question_text", + "parameter_list": { + "emphasised": "true" + }, + "_nested_name": "question_text" + }, + { + "type": "display_group", "rows": [ { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "radio_buttons_1.nav_buttons" + "type": "template", + "name": "number_selector_1", + "value": "box_number_selector", + "rows": [ + { + "type": "nested_properties", + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "display_group.number_selector_1.nav_buttons" + } + ], + "_nested_name": "display_group.number_selector_1" + }, + { + "type": "template", + "name": "number_selector_2", + "value": "box_number_selector", + "rows": [ + { + "type": "nested_properties", + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "display_group.number_selector_2.nav_buttons" + } + ], + "_nested_name": "display_group.number_selector_2" } ], - "_nested_name": "radio_buttons_1" + "name": "display_group", + "_nested_name": "display_group" }, { - "type": "template", - "name": "radio_buttons_2", - "value": "box_radio_buttons", + "type": "display_group", "rows": [ { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "radio_buttons_2.nav_buttons" + "type": "template", + "name": "number_selector_3", + "value": "box_number_selector", + "rows": [ + { + "type": "nested_properties", + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "display_group.number_selector_3.nav_buttons" + } + ], + "_nested_name": "display_group.number_selector_3" + }, + { + "type": "template", + "name": "number_selector_4", + "value": "box_number_selector", + "rows": [ + { + "type": "nested_properties", + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "display_group.number_selector_4.nav_buttons" + } + ], + "_nested_name": "display_group.number_selector_4" } ], - "_nested_name": "radio_buttons_2" + "name": "display_group", + "_nested_name": "display_group" }, { "type": "template", @@ -16787,2603 +17760,2123 @@ "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" }, { "flow_type": "template", - "flow_name": "box_multi_radio_buttons", + "flow_name": "box_multi_3_temp", "status": "released", "rows": [ { - "type": "template", - "name": "radio_buttons_1", - "value": "box_radio_buttons", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "radio_buttons_1.nav_buttons" - } - ], - "_nested_name": "radio_buttons_1" + "name": "slider_1_tracker", + "type": "set_variable", + "_nested_name": "slider_1_tracker" }, { - "type": "template", - "name": "radio_buttons_2", - "value": "box_radio_buttons", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "radio_buttons_2.nav_buttons" - } - ], - "_nested_name": "radio_buttons_2" + "name": "slider_1_final", + "type": "set_variable", + "_nested_name": "slider_1_final" }, { - "type": "template", - "name": "radio_buttons_3", - "value": "box_radio_buttons", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "radio_buttons_3.nav_buttons" - } + "type": "image", + "name": "image_src", + "hidden": true, + "style_list": [ + "max-height: 150px" ], - "_nested_name": "radio_buttons_3" + "_nested_name": "image_src" }, { - "type": "template", - "name": "radio_buttons_4", - "value": "box_radio_buttons", - "rows": [ - { - "type": "nested_properties", - "name": "nav_buttons", - "hidden": true, - "rows": [], - "_nested_name": "radio_buttons_4.nav_buttons" - } + "name": "slider_2_tracker", + "type": "set_variable", + "_nested_name": "slider_2_tracker" + }, + { + "name": "slider_2_final", + "type": "set_variable", + "_nested_name": "slider_2_final" + }, + { + "name": "threshold", + "value": 1, + "type": "set_variable", + "_nested_name": "threshold" + }, + { + "type": "image", + "name": "image_src", + "hidden": true, + "style_list": [ + "max-height: 150px" ], - "_nested_name": "radio_buttons_4" + "_nested_name": "image_src" }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "text", + "name": "text", + "value": "Text", + "parameter_list": { + "style": "center" + }, + "_nested_name": "text" + }, + { + "type": "text", + "name": "question_text_1", + "value": "Question text 1", + "parameter_list": { + "style": "center emphasised" + }, + "_nested_name": "question_text_1" + }, + { + "type": "slider", + "name": "slider_1", "action_list": [ { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "changed", + "action_id": "set_field", "args": [ - "uncompleted" + "@local.slider_1_tracker", + "@local.slider_1" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" + "_raw": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "_cleaned": "changed | set_field:@local.slider_1_tracker:@local.slider_1" } ], - "rows": [], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_parent_points_temp", - "status": "released", - "rows": [ - { - "type": "text", - "name": "top_text", - "_nested_name": "top_text" + "parameter_list": { + "min": "0", + "min_value_label": "Days in the past week", + "max": "7" + }, + "_nested_name": "slider_1", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.slider_1_tracker", + "matchedExpression": "@local.slider_1_tracker", + "type": "local", + "fieldName": "slider_1_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "matchedExpression": "@local.slider_1_tracker", + "type": "local", + "fieldName": "slider_1_tracker" + }, + { + "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "matchedExpression": "@local.slider_1_tracker", + "type": "local", + "fieldName": "slider_1_tracker" + }, + { + "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + } + } + }, + "_dynamicDependencies": { + "@local.slider_1_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.slider_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } }, { "type": "text", - "name": "text", - "value": "Your marked @global.parent_points for this week will appear here.", - "_nested_name": "text", + "name": "question_text_2", + "value": "Question text 2", + "hidden": "\"@local.slider_1\"==\"undefined\"", + "parameter_list": { + "style": "center emphasised" + }, + "_nested_name": "question_text_2", "_dynamicFields": { - "value": [ + "hidden": [ { - "fullExpression": "Your marked @global.parent_points for this week will appear here.", - "matchedExpression": "@global.parent_points", - "type": "global", - "fieldName": "parent_points" + "fullExpression": "\"@local.slider_1\"==\"undefined\"", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" } ] }, "_dynamicDependencies": { - "@global.parent_points": [ - "value" + "@local.slider_1": [ + "hidden" ] } }, { - "type": "text", - "name": "bottom_text", - "_nested_name": "bottom_text" - }, - { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "slider", + "name": "slider_2", "action_list": [ { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "changed", + "action_id": "set_field", "args": [ - "uncompleted" + "@local.slider_2_tracker", + "@local.slider_2" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" + "_raw": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "_cleaned": "changed | set_field:@local.slider_2_tracker:@local.slider_2" } ], - "rows": [], - "_nested_name": "nav_buttons" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" - }, - { - "flow_type": "template", - "flow_name": "workshop_stepper", - "status": "released", - "rows": [ - { - "name": "progress_bar_value", - "type": "set_variable", - "_nested_name": "progress_bar_value" - }, - { - "name": "progress_bar_num_items", - "type": "set_variable", - "_nested_name": "progress_bar_num_items" - }, - { - "name": "progress_bar", - "value": "@local.progress_bar_value", + "hidden": "\"@local.slider_1\"==\"undefined\"", "parameter_list": { - "num_items": "@local.progress_bar_num_items" + "min": "0", + "min_value_label": "Days in the past month", + "max": "30", + "labels_count": "7" }, - "type": "set_variable", - "_nested_name": "progress_bar", + "_nested_name": "slider_2", "_dynamicFields": { - "value": [ + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.slider_2_tracker", + "matchedExpression": "@local.slider_2_tracker", + "type": "local", + "fieldName": "slider_2_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "matchedExpression": "@local.slider_2_tracker", + "type": "local", + "fieldName": "slider_2_tracker" + }, + { + "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "matchedExpression": "@local.slider_2_tracker", + "type": "local", + "fieldName": "slider_2_tracker" + }, + { + "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + } + }, + "hidden": [ { - "fullExpression": "@local.progress_bar_value", - "matchedExpression": "@local.progress_bar_value", + "fullExpression": "\"@local.slider_1\"==\"undefined\"", + "matchedExpression": "@local.slider_1", "type": "local", - "fieldName": "progress_bar_value" + "fieldName": "slider_1" } - ], - "parameter_list": { - "num_items": [ - { - "fullExpression": "@local.progress_bar_num_items", - "matchedExpression": "@local.progress_bar_num_items", - "type": "local", - "fieldName": "progress_bar_num_items" - } - ] - } + ] }, "_dynamicDependencies": { - "@local.progress_bar_value": [ - "value" + "@local.slider_2_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" ], - "@local.progress_bar_num_items": [ - "parameter_list.num_items" + "@local.slider_2": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.slider_1": [ + "hidden" ] } }, { - "name": "progress_field_name", - "type": "set_variable", - "_nested_name": "progress_field_name" - }, - { - "type": "nav_group", - "name": "nav_template_list", + "type": "text", + "name": "reply_less", + "value": "You selected less than @local.threshold", + "hidden": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", "parameter_list": { - "progress_field": "@local.progress_field_name" + "style": "center" }, - "_nested_name": "nav_template_list", + "_nested_name": "reply_less", "_dynamicFields": { - "parameter_list": { - "progress_field": [ - { - "fullExpression": "@local.progress_field_name", - "matchedExpression": "@local.progress_field_name", - "type": "local", - "fieldName": "progress_field_name" - } - ] - } - }, - "_dynamicDependencies": { - "@local.progress_field_name": [ - "parameter_list.progress_field" + "value": [ + { + "fullExpression": "You selected less than @local.threshold", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_2\" >= @local.threshold || \n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value", + "hidden", + "hidden" + ], + "@local.slider_1": [ + "hidden", + "hidden", + "hidden" + ], + "@local.slider_2": [ + "hidden", + "hidden", + "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshops.xlsx" - }, - { - "flow_type": "template", - "flow_name": "workshop_activity", - "status": "released", - "rows": [ - { - "name": "activity_image_src", - "value": "src/assets/not-found-image.png", - "type": "set_variable", - "_nested_name": "activity_image_src" - }, - { - "name": "activity_title", - "value": "Title of this activity", - "type": "set_variable", - "_nested_name": "activity_title" - }, - { - "name": "include_outro", - "value": false, - "type": "set_variable", - "_nested_name": "include_outro" - }, - { - "name": "hide_intro", - "value": false, - "type": "set_variable", - "_nested_name": "hide_intro" - }, - { - "name": "hide_content", - "value": true, - "type": "set_variable", - "_nested_name": "hide_content" - }, - { - "name": "hide_outro", - "value": true, - "type": "set_variable", - "_nested_name": "hide_outro" - }, - { - "name": "checkbox_field", - "type": "set_variable", - "_nested_name": "checkbox_field" - }, - { - "type": "display_theme", - "name": "display_theme", - "value": "passive_theme", - "_nested_name": "display_theme" }, { - "type": "animated_section", - "name": "intro", - "value": "fade_in_out", - "hidden": "@local.hide_intro", - "rows": [ - { - "type": "display_group", - "parameter_list": { - "style": "banner_welcome" + "type": "text", + "name": "reply_greater_equal", + "value": "You selected @local.threshold or more", + "hidden": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "parameter_list": { + "style": "center" + }, + "_nested_name": "reply_greater_equal", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You selected @local.threshold or more", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], + "hidden": [ + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" }, - "rows": [ - { - "type": "image", - "name": "intro_image_src", - "value": "@local.activity_image", - "parameter_list": { - "background_box": "true" - }, - "_nested_name": "intro.display_group.intro_image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.activity_image", - "matchedExpression": "@local.activity_image", - "type": "local", - "fieldName": "activity_image" - } - ] - }, - "_dynamicDependencies": { - "@local.activity_image": [ - "value" - ] - } - } - ], - "name": "display_group", - "_nested_name": "intro.display_group" - }, - { - "type": "title", - "name": "intro_title", - "value": "@local.activity_title", - "_nested_name": "intro.intro_title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.activity_title", - "matchedExpression": "@local.activity_title", - "type": "local", - "fieldName": "activity_title" - } - ] + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" }, - "_dynamicDependencies": { - "@local.activity_title": [ - "value" - ] + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" } - }, - { - "type": "text", - "name": "intro_text", - "_nested_name": "intro.intro_text" - }, - { - "type": "template", - "name": "intro_nav_buttons", - "value": "nav_buttons", - "action_list": [ - { - "trigger": "completed", - "action_id": "set_local", - "args": [ - "hide_content", - false - ], - "_raw": "completed | set_local:hide_content:false", - "_cleaned": "completed | set_local:hide_content:false" - }, - { - "trigger": "completed", - "action_id": "set_local", - "args": [ - "hide_intro", - true - ], - "_raw": "completed | set_local:hide_intro:true", - "_cleaned": "completed | set_local:hide_intro:true" - }, - { - "trigger": "uncompleted", - "action_id": "emit", - "args": [ - "uncompleted" - ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" - } - ], - "rows": [ - { - "name": "use_uncompleted_chevron", - "value": false, - "type": "set_variable", - "_nested_name": "intro.intro_nav_buttons.use_uncompleted_chevron" - }, - { - "name": "button_completed", - "value": "@global.lets_go_button", - "type": "set_variable", - "_nested_name": "intro.intro_nav_buttons.button_completed", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.lets_go_button", - "matchedExpression": "@global.lets_go_button", - "type": "global", - "fieldName": "lets_go_button" - } - ] - }, - "_dynamicDependencies": { - "@global.lets_go_button": [ - "value" - ] - } - } - ], - "_nested_name": "intro.intro_nav_buttons" - } - ], - "_nested_name": "intro", + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value", + "hidden", + "hidden", + "hidden", + "hidden" + ], + "@local.slider_1": [ + "hidden", + "hidden", + "hidden", + "hidden", + "hidden" + ], + "@local.slider_2": [ + "hidden", + "hidden", + "hidden", + "hidden", + "hidden" + ] + } + }, + { + "type": "dashed_box", + "name": "unlock_greater_equal", + "value": "Unlock for greater than or equal to @local.threshold", + "hidden": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "parameter_list": { + "icon_src": "plh_images/icons/unlock_circle.svg", + "icon_position": "top-left" + }, + "_nested_name": "unlock_greater_equal", "_dynamicFields": { + "value": [ + { + "fullExpression": "Unlock for greater than or equal to @local.threshold", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], "hidden": [ { - "fullExpression": "@local.hide_intro", - "matchedExpression": "@local.hide_intro", + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", "type": "local", - "fieldName": "hide_intro" + "fieldName": "slider_1" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\" < @local.threshold)||\n\"@local.slider_1\"==\"undefined\" || \"@local.slider_2\"==\"undefined\" || \n(\"@local.slider_1\" < @local.threshold && \"@local.slider_2\"==\"no_value\") ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\" < @local.threshold) ||\n(\"@local.slider_1\"==\"no_value\" && \"@local.slider_2\"==\"no_value\") ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" } ] }, "_dynamicDependencies": { - "@local.hide_intro": [ + "@local.threshold": [ + "value", + "hidden", + "hidden", + "hidden", + "hidden" + ], + "@local.slider_1": [ + "hidden", + "hidden", + "hidden", + "hidden", + "hidden" + ], + "@local.slider_2": [ + "hidden", + "hidden", + "hidden", + "hidden", "hidden" ] } }, { - "type": "animated_section", - "name": "content", - "hidden": "@local.hide_content", - "rows": [ - { - "type": "display_group", - "name": "activity_banner", - "hidden": true, - "parameter_list": { - "style": "banner_short" - }, - "rows": [ - { - "type": "subtitle", - "name": "banner_title", - "value": "@local.activity_title", - "parameter_list": { - "style": "small emphasised" - }, - "_nested_name": "content.activity_banner.banner_title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.activity_title", - "matchedExpression": "@local.activity_title", - "type": "local", - "fieldName": "activity_title" - } - ] - }, - "_dynamicDependencies": { - "@local.activity_title": [ - "value" - ] - } - }, - { - "type": "image", - "name": "banner_image_src", - "value": "@local.activity_image", - "parameter_list": { - "background_box": "true" - }, - "_nested_name": "content.activity_banner.banner_image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.activity_image", - "matchedExpression": "@local.activity_image", - "type": "local", - "fieldName": "activity_image" - } - ] - }, - "_dynamicDependencies": { - "@local.activity_image": [ - "value" - ] - } - } + "type": "template", + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "_nested_name": "content.activity_banner" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "type": "template", - "name": "content_box", - "action_list": [ - { - "trigger": "completed", - "action_id": "set_local", - "args": [ - "hide_content", - true - ], - "_raw": "completed | set_local:hide_content:true", - "_cleaned": "completed | set_local:hide_content:true" - }, - { - "trigger": "completed", - "action_id": "set_local", - "args": [ - "hide_outro", - false - ], - "_raw": "completed | set_local:hide_outro:false", - "_cleaned": "completed | set_local:hide_outro:false" - }, - { - "trigger": "uncompleted", - "action_id": "set_local", - "args": [ - "hide_intro", - false + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" + }, + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.slider_1_final", + "@local.slider_1" + ], + "_raw": "completed | set_field:@local.slider_1_final:@local.slider_1", + "_cleaned": "completed | set_field:@local.slider_1_final:@local.slider_1" + }, + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.slider_2_final", + "@local.slider_2" + ], + "_raw": "completed | set_field:@local.slider_2_final:@local.slider_2", + "_cleaned": "completed | set_field:@local.slider_2_final:@local.slider_2" + } + ], + "rows": [ + { + "name": "use_completed_chevron", + "value": true, + "type": "set_variable", + "_nested_name": "nav_buttons.use_completed_chevron" + } + ], + "_nested_name": "nav_buttons", + "_dynamicFields": { + "action_list": { + "2": { + "args": { + "0": [ + { + "fullExpression": "@local.slider_1_final", + "matchedExpression": "@local.slider_1_final", + "type": "local", + "fieldName": "slider_1_final" + } ], - "_raw": "uncompleted | set_local:hide_intro:false", - "_cleaned": "uncompleted | set_local:hide_intro:false" + "1": [ + { + "fullExpression": "@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] }, - { - "trigger": "uncompleted", - "action_id": "set_local", - "args": [ - "hide_content", - true - ], - "_raw": "uncompleted | set_local:hide_content:true", - "_cleaned": "uncompleted | set_local:hide_content:true" - } - ], - "hidden": "!@local.include_outro", - "rows": [], - "_nested_name": "content.content_box", - "_dynamicFields": { - "hidden": [ + "_raw": [ { - "fullExpression": "!@local.include_outro", - "matchedExpression": "@local.include_outro", + "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", + "matchedExpression": "@local.slider_1_final", "type": "local", - "fieldName": "include_outro" + "fieldName": "slider_1_final" + }, + { + "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ], + "_cleaned": [ + { + "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", + "matchedExpression": "@local.slider_1_final", + "type": "local", + "fieldName": "slider_1_final" + }, + { + "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" } ] }, - "_dynamicDependencies": { - "@local.include_outro": [ - "hidden" - ] - } - }, - { - "type": "template", - "name": "content_box", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", - "action_id": "set_local", - "args": [ - "hide_intro", - false + "3": { + "args": { + "0": [ + { + "fullExpression": "@local.slider_2_final", + "matchedExpression": "@local.slider_2_final", + "type": "local", + "fieldName": "slider_2_final" + } ], - "_raw": "uncompleted | set_local:hide_intro:false", - "_cleaned": "uncompleted | set_local:hide_intro:false" + "1": [ + { + "fullExpression": "@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] }, - { - "trigger": "uncompleted", - "action_id": "set_local", - "args": [ - "hide_content", - true - ], - "_raw": "uncompleted | set_local:hide_content:true", - "_cleaned": "uncompleted | set_local:hide_content:true" - } - ], - "hidden": "@local.include_outro", - "rows": [], - "_nested_name": "content.content_box", - "_dynamicFields": { - "hidden": [ + "_raw": [ { - "fullExpression": "@local.include_outro", - "matchedExpression": "@local.include_outro", + "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", + "matchedExpression": "@local.slider_2_final", "type": "local", - "fieldName": "include_outro" + "fieldName": "slider_2_final" + }, + { + "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ], + "_cleaned": [ + { + "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", + "matchedExpression": "@local.slider_2_final", + "type": "local", + "fieldName": "slider_2_final" + }, + { + "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" } - ] - }, - "_dynamicDependencies": { - "@local.include_outro": [ - "hidden" ] } } - ], - "_nested_name": "content", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@local.hide_content", - "matchedExpression": "@local.hide_content", - "type": "local", - "fieldName": "hide_content" - } - ] }, "_dynamicDependencies": { - "@local.hide_content": [ - "hidden" + "@local.slider_1_final": [ + "action_list.2.args.0", + "action_list.2._raw", + "action_list.2._cleaned" + ], + "@local.slider_1": [ + "action_list.2.args.1", + "action_list.2._raw", + "action_list.2._cleaned" + ], + "@local.slider_2_final": [ + "action_list.3.args.0", + "action_list.3._raw", + "action_list.3._cleaned" + ], + "@local.slider_2": [ + "action_list.3.args.1", + "action_list.3._raw", + "action_list.3._cleaned" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" + }, + { + "flow_type": "template", + "flow_name": "box_multi_4_temp", + "status": "released", + "rows": [ + { + "name": "slider_1_tracker", + "type": "set_variable", + "_nested_name": "slider_1_tracker" }, { - "type": "animated_section", - "name": "outro", - "value": "fade_in_out", - "hidden": "@local.hide_outro", - "rows": [ + "name": "slider_1_final", + "type": "set_variable", + "_nested_name": "slider_1_final" + }, + { + "name": "radio_group_tracker", + "type": "set_variable", + "_nested_name": "radio_group_tracker" + }, + { + "name": "radio_group_final", + "type": "set_variable", + "_nested_name": "radio_group_final" + }, + { + "name": "slider_2_tracker", + "type": "set_variable", + "_nested_name": "slider_2_tracker" + }, + { + "name": "slider_2_final", + "type": "set_variable", + "_nested_name": "slider_2_final" + }, + { + "name": "threshold", + "value": 7, + "type": "set_variable", + "_nested_name": "threshold" + }, + { + "type": "image", + "name": "image_src", + "style_list": [ + "max-height: 150px" + ], + "_nested_name": "image_src" + }, + { + "type": "text", + "name": "text", + "value": "Text", + "parameter_list": { + "style": "center" + }, + "_nested_name": "text" + }, + { + "type": "text", + "name": "question_text", + "value": "Question text", + "parameter_list": { + "style": "center emphasised" + }, + "_nested_name": "question_text" + }, + { + "type": "slider", + "name": "slider_1", + "action_list": [ { - "type": "display_group", - "parameter_list": { - "style": "banner_welcome" - }, - "rows": [ - { - "type": "image", - "name": "outro_image_src", - "value": "@local.activity_image", - "parameter_list": { - "background_box": "true" - }, - "_nested_name": "outro.display_group.outro_image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.activity_image", - "matchedExpression": "@local.activity_image", - "type": "local", - "fieldName": "activity_image" - } - ] + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.slider_1_tracker", + "@local.slider_1" + ], + "_raw": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "_cleaned": "changed | set_field:@local.slider_1_tracker:@local.slider_1" + } + ], + "parameter_list": { + "min": "0", + "min_value_label": "Days in the past week", + "max": "7" + }, + "_nested_name": "slider_1", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.slider_1_tracker", + "matchedExpression": "@local.slider_1_tracker", + "type": "local", + "fieldName": "slider_1_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "matchedExpression": "@local.slider_1_tracker", + "type": "local", + "fieldName": "slider_1_tracker" }, - "_dynamicDependencies": { - "@local.activity_image": [ - "value" - ] + { + "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" } - } - ], - "name": "display_group", - "_nested_name": "outro.display_group" - }, - { - "type": "title", - "name": "outro_title", - "value": "@local.activity_title", - "hidden": true, - "_nested_name": "outro.outro_title", - "_dynamicFields": { - "value": [ + ], + "_cleaned": [ { - "fullExpression": "@local.activity_title", - "matchedExpression": "@local.activity_title", + "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "matchedExpression": "@local.slider_1_tracker", "type": "local", - "fieldName": "activity_title" + "fieldName": "slider_1_tracker" + }, + { + "fullExpression": "changed | set_field:@local.slider_1_tracker:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" } ] - }, - "_dynamicDependencies": { - "@local.activity_title": [ - "value" - ] } - }, - { - "type": "text", - "name": "outro_text", - "_nested_name": "outro.outro_text" - }, - { - "type": "button", - "name": "outro_button", - "hidden": true, - "_nested_name": "outro.outro_button" - }, - { - "name": "outro_habit", - "type": "set_variable", - "_nested_name": "outro.outro_habit" - }, - { - "name": "outro_habit_text", - "type": "set_variable", - "_nested_name": "outro.outro_habit_text" - }, - { - "type": "display_group", - "name": "outro_habit_box", - "hidden": "\"@local.outro_habit_text\" == \"undefined\"", - "parameter_list": { - "icon_src": "plh_images/icons/star_circle.svg", - "icon_position": "top-left", - "type": "dashed_box" + } + }, + "_dynamicDependencies": { + "@local.slider_1_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.slider_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } + }, + { + "type": "text", + "name": "reply_less_1", + "value": "You selected less than @local.threshold", + "hidden": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "parameter_list": { + "style": "center" + }, + "_nested_name": "reply_less_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You selected less than @local.threshold", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" }, - "rows": [ - { - "type": "subtitle", - "name": "outro_habit_box_text", - "value": "@local.outro_habit_text", - "parameter_list": { - "style": "center" + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value", + "hidden" + ], + "@local.slider_1": [ + "hidden", + "hidden", + "hidden" + ] + } + }, + { + "type": "dashed_box", + "name": "unlock_less_1", + "value": "Unlock for less than @local.threshold", + "hidden": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "parameter_list": { + "icon_src": "plh_images/icons/unlock_circle.svg", + "icon_position": "top-left" + }, + "_nested_name": "unlock_less_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Unlock for less than @local.threshold", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" >= @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value", + "hidden" + ], + "@local.slider_1": [ + "hidden", + "hidden", + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_greater_equal_1", + "value": "You selected @local.threshold or more", + "hidden": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "parameter_list": { + "style": "center" + }, + "_nested_name": "reply_greater_equal_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You selected @local.threshold or more", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" || \"@local.slider_1\"==\"no_value\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value", + "hidden" + ], + "@local.slider_1": [ + "hidden", + "hidden", + "hidden" + ] + } + }, + { + "type": "text", + "name": "question_greater_equal_1", + "value": "Question text", + "hidden": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\"", + "parameter_list": { + "style": "center emphasised" + }, + "_nested_name": "question_greater_equal_1", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\"", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\"", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\"", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "_dynamicDependencies": { + "@local.slider_1": [ + "hidden", + "hidden" + ], + "@local.threshold": [ + "hidden" + ] + } + }, + { + "name": "answer_list", + "value": [ + "name:yes | text:Yes", + "name:no | text:No" + ], + "type": "set_variable", + "_nested_name": "answer_list" + }, + { + "type": "radio_group", + "name": "radio_group", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.radio_group_tracker", + "@local.radio_group" + ], + "_raw": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "_cleaned": "changed | set_field:@local.radio_group_tracker:@local.radio_group" + } + ], + "hidden": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" ", + "parameter_list": { + "answer_list": "@local.answer_list" + }, + "_nested_name": "radio_group", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.radio_group_tracker", + "matchedExpression": "@local.radio_group_tracker", + "type": "local", + "fieldName": "radio_group_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group_tracker", + "type": "local", + "fieldName": "radio_group_tracker" }, - "_nested_name": "outro.outro_habit_box.outro_habit_box_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.outro_habit_text", - "matchedExpression": "@local.outro_habit_text", - "type": "local", - "fieldName": "outro_habit_text" - } - ] + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group_tracker", + "type": "local", + "fieldName": "radio_group_tracker" }, - "_dynamicDependencies": { - "@local.outro_habit_text": [ - "value" - ] + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" } - }, + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + }, + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_1\" < @local.threshold || \"@local.slider_1\"==\"undefined\" ", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ], + "parameter_list": { + "answer_list": [ { - "type": "display_group", - "name": "outro_habit_tracker", - "hidden": "\"@local.outro_habit\" == \"undefined\"", - "parameter_list": { - "style": "parent_point" - }, - "rows": [ + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" + } + ] + } + }, + "_dynamicDependencies": { + "@local.radio_group_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.radio_group": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.slider_1": [ + "hidden", + "hidden" + ], + "@local.threshold": [ + "hidden" + ], + "@local.answer_list": [ + "parameter_list.answer_list" + ] + } + }, + { + "type": "text", + "name": "reply_no", + "value": "Reply no", + "hidden": "\"@local.radio_group\"!=\"no\" || \"@local.radio_group\"==\"undefined\"", + "parameter_list": { + "style": "center" + }, + "_nested_name": "reply_no", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.radio_group\"!=\"no\" || \"@local.radio_group\"==\"undefined\"", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + }, + { + "fullExpression": "\"@local.radio_group\"!=\"no\" || \"@local.radio_group\"==\"undefined\"", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_dynamicDependencies": { + "@local.radio_group": [ + "hidden", + "hidden" + ] + } + }, + { + "type": "text", + "name": "question_yes", + "value": "Question yes", + "hidden": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\" ", + "parameter_list": { + "style": "center emphasised" + }, + "_nested_name": "question_yes", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\" ", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + }, + { + "fullExpression": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\" ", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_dynamicDependencies": { + "@local.radio_group": [ + "hidden", + "hidden" + ] + } + }, + { + "type": "slider", + "name": "slider_2", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.slider_2_tracker", + "@local.slider_2" + ], + "_raw": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "_cleaned": "changed | set_field:@local.slider_2_tracker:@local.slider_2" + } + ], + "hidden": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\"", + "parameter_list": { + "min": "0", + "min_value_label": "Days in the past week", + "max": "7" + }, + "_nested_name": "slider_2", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ { - "type": "parent_point_box", - "name": "parent_point_relax", - "value": "@field.total_parent_point_relax", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_relax", - "@field.total_parent_point_relax+1" - ], - "_raw": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", - "_cleaned": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_relax", - "@field.weekly_parent_point_relax+1" - ], - "_raw": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", - "_cleaned": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"relax\"", - "parameter_list": { - "text": "@data.habit.relax.title", - "icon_src": "plh_images/habits/habit_relax.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_relax", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_relax", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", - "fieldName": "total_parent_point_relax" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_relax+1", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", - "fieldName": "total_parent_point_relax" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", - "fieldName": "total_parent_point_relax" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", - "fieldName": "total_parent_point_relax" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_relax+1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"relax\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.relax.title", - "matchedExpression": "@data.habit.relax.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_relax": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_relax": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.relax.title": [ - "parameter_list.text" - ] - } - }, - { - "type": "parent_point_box", - "name": "parent_point_treat_yourself", - "value": "@field.total_parent_point_treat_yourself", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_treat_yourself", - "@field.total_parent_point_treat_yourself+1" - ], - "_raw": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", - "_cleaned": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_treat_yourself", - "@field.weekly_parent_point_treat_yourself+1" - ], - "_raw": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", - "_cleaned": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"treat_yourself\"", - "parameter_list": { - "text": "@data.habit.treat_yourself.title", - "icon_src": "plh_images/habits/habit_treat_yourself.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_treat_yourself", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_treat_yourself", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", - "fieldName": "total_parent_point_treat_yourself" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_treat_yourself+1", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", - "fieldName": "total_parent_point_treat_yourself" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", - "fieldName": "total_parent_point_treat_yourself" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", - "fieldName": "total_parent_point_treat_yourself" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_treat_yourself+1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"treat_yourself\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.treat_yourself.title", - "matchedExpression": "@data.habit.treat_yourself.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_treat_yourself": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_treat_yourself": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.treat_yourself.title": [ - "parameter_list.text" - ] - } - }, - { - "type": "parent_point_box", - "name": "parent_point_praise_yourself", - "value": "@field.total_parent_point_praise_yourself", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_praise_yourself", - "@field.total_parent_point_praise_yourself+1" - ], - "_raw": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", - "_cleaned": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_praise_yourself", - "@field.weekly_parent_point_praise_yourself+1" - ], - "_raw": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", - "_cleaned": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"praise_yourself\"", - "parameter_list": { - "text": "@data.habit.praise_yourself.title", - "icon_src": "plh_images/habits/habit_praise_yourself.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_praise_yourself", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_praise_yourself", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", - "fieldName": "total_parent_point_praise_yourself" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_praise_yourself+1", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", - "fieldName": "total_parent_point_praise_yourself" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", - "fieldName": "total_parent_point_praise_yourself" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", - "fieldName": "total_parent_point_praise_yourself" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_praise_yourself+1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"praise_yourself\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.praise_yourself.title", - "matchedExpression": "@data.habit.praise_yourself.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_praise_yourself": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_praise_yourself": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.praise_yourself.title": [ - "parameter_list.text" - ] - } - }, + "fullExpression": "@local.slider_2_tracker", + "matchedExpression": "@local.slider_2_tracker", + "type": "local", + "fieldName": "slider_2_tracker" + } + ], + "1": [ { - "type": "parent_point_box", - "name": "parent_point_spend_time", - "value": "@field.total_parent_point_spend_time", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_spend_time", - "@field.total_parent_point_spend_time+1" - ], - "_raw": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "_cleaned": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_spend_time", - "@field.weekly_parent_point_spend_time+1" - ], - "_raw": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "_cleaned": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"spend_time\"", - "parameter_list": { - "text": "@data.habit.spend_time.title", - "icon_src": "plh_images/habits/habit_spend_time.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_spend_time", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_spend_time", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"spend_time\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.spend_time.title", - "matchedExpression": "@data.habit.spend_time.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_spend_time": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_spend_time": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.spend_time.title": [ - "parameter_list.text" - ] - } - }, + "fullExpression": "@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "matchedExpression": "@local.slider_2_tracker", + "type": "local", + "fieldName": "slider_2_tracker" + }, + { + "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "matchedExpression": "@local.slider_2_tracker", + "type": "local", + "fieldName": "slider_2_tracker" + }, + { + "fullExpression": "changed | set_field:@local.slider_2_tracker:@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\"", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + }, + { + "fullExpression": "\"@local.radio_group\"!=\"yes\" ||\"@local.radio_group\"==\"undefined\"", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_dynamicDependencies": { + "@local.slider_2_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.slider_2": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.radio_group": [ + "hidden", + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_less_2", + "value": "You selected less than @local.threshold", + "hidden": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "parameter_list": { + "style": "center" + }, + "_nested_name": "reply_less_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You selected less than @local.threshold", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value", + "hidden" + ], + "@local.slider_2": [ + "hidden", + "hidden", + "hidden" + ] + } + }, + { + "type": "dashed_box", + "name": "unlock_less_2", + "value": "Unlock for less than @local.threshold", + "hidden": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", + "parameter_list": { + "icon_src": "plh_images/icons/unlock_circle.svg", + "icon_position": "top-left" + }, + "_nested_name": "unlock_less_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Unlock for less than @local.threshold", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "\"@local.slider_2\" >= @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\"", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value", + "hidden" + ], + "@local.slider_2": [ + "hidden", + "hidden", + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_greater_equal_2", + "value": "You selected @local.threshold or more", + "hidden": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "parameter_list": { + "style": "center" + }, + "_nested_name": "reply_greater_equal_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You selected @local.threshold or more", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "matchedExpression": "@local.threshold", + "type": "local", + "fieldName": "threshold" + }, + { + "fullExpression": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + }, + { + "fullExpression": "\"@local.slider_2\" < @local.threshold || \"@local.slider_2\"==\"undefined\" || \"@local.slider_2\"==\"no_value\" ", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + }, + "_dynamicDependencies": { + "@local.threshold": [ + "value", + "hidden" + ], + "@local.slider_2": [ + "hidden", + "hidden", + "hidden" + ] + } + }, + { + "type": "template", + "name": "nav_buttons", + "value": "nav_buttons", + "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" + }, + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.slider_1_final", + "@local.slider_1" + ], + "_raw": "completed | set_field:@local.slider_1_final:@local.slider_1", + "_cleaned": "completed | set_field:@local.slider_1_final:@local.slider_1" + }, + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.radio_group_final", + "@local.slider_1" + ], + "_raw": "completed | set_field:@local.radio_group_final:@local.slider_1", + "_cleaned": "completed | set_field:@local.radio_group_final:@local.slider_1" + }, + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "@local.slider_2_final", + "@local.slider_2" + ], + "_raw": "completed | set_field:@local.slider_2_final:@local.slider_2", + "_cleaned": "completed | set_field:@local.slider_2_final:@local.slider_2" + } + ], + "rows": [ + { + "name": "use_completed_chevron", + "value": true, + "type": "set_variable", + "_nested_name": "nav_buttons.use_completed_chevron" + } + ], + "_nested_name": "nav_buttons", + "_dynamicFields": { + "action_list": { + "2": { + "args": { + "0": [ { - "type": "parent_point_box", - "name": "parent_point_praise_teen", - "value": "@field.total_parent_point_praise_teen", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_praise_teen", - "@field.total_parent_point_praise_teen+1" - ], - "_raw": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", - "_cleaned": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_praise_teen", - "@field.weekly_parent_point_praise_teen+1" - ], - "_raw": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", - "_cleaned": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"praise_teen\"", - "parameter_list": { - "text": "@data.habit.praise_teen.title", - "icon_src": "plh_images/habits/habit_praise_teen.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_praise_teen", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_praise_teen", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", - "fieldName": "total_parent_point_praise_teen" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_praise_teen+1", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", - "fieldName": "total_parent_point_praise_teen" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", - "fieldName": "total_parent_point_praise_teen" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", - "fieldName": "total_parent_point_praise_teen" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_praise_teen+1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"praise_teen\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.praise_teen.title", - "matchedExpression": "@data.habit.praise_teen.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_praise_teen": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_praise_teen": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.praise_teen.title": [ - "parameter_list.text" - ] - } - }, + "fullExpression": "@local.slider_1_final", + "matchedExpression": "@local.slider_1_final", + "type": "local", + "fieldName": "slider_1_final" + } + ], + "1": [ { - "type": "parent_point_box", - "name": "parent_point_instruct_positively", - "value": "@field.total_parent_point_instruct_positively", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_instruct_positively", - "@field.total_parent_point_instruct_positively+1" - ], - "_raw": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", - "_cleaned": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_instruct_positively", - "@field.weekly_parent_point_instruct_positively+1" - ], - "_raw": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", - "_cleaned": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"instruct_positively\"", - "parameter_list": { - "text": "@data.habit.instruct_positively.title", - "icon_src": "plh_images/habits/habit_instruct_positively.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_instruct_positively", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively+1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_instruct_positively+1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"instruct_positively\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.instruct_positively.title", - "matchedExpression": "@data.habit.instruct_positively.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_instruct_positively": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_instruct_positively": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.instruct_positively.title": [ - "parameter_list.text" - ] - } - }, + "fullExpression": "@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", + "matchedExpression": "@local.slider_1_final", + "type": "local", + "fieldName": "slider_1_final" + }, + { + "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ], + "_cleaned": [ + { + "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", + "matchedExpression": "@local.slider_1_final", + "type": "local", + "fieldName": "slider_1_final" + }, + { + "fullExpression": "completed | set_field:@local.slider_1_final:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "3": { + "args": { + "0": [ { - "type": "parent_point_box", - "name": "parent_point_breathe", - "value": "@field.total_parent_point_breathe", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_breathe", - "@field.total_parent_point_breathe+1" - ], - "_raw": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", - "_cleaned": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_breathe", - "@field.weekly_parent_point_breathe+1" - ], - "_raw": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", - "_cleaned": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"breathe\"", - "parameter_list": { - "text": "@data.habit.breathe.title", - "icon_src": "plh_images/habits/habit_breathe.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_breathe", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_breathe", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_breathe+1", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_breathe+1", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"breathe\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.breathe.title", - "matchedExpression": "@data.habit.breathe.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_breathe": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_breathe": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.breathe.title": [ - "parameter_list.text" - ] - } - }, + "fullExpression": "@local.radio_group_final", + "matchedExpression": "@local.radio_group_final", + "type": "local", + "fieldName": "radio_group_final" + } + ], + "1": [ { - "type": "parent_point_box", - "name": "parent_point_money", - "value": "@field.total_parent_point_money", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_money", - "@field.total_parent_point_money+1" - ], - "_raw": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", - "_cleaned": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_money", - "@field.weekly_parent_point_money+1" - ], - "_raw": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", - "_cleaned": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"money\"", - "parameter_list": { - "text": "@data.habit.money.title", - "icon_src": "plh_images/habits/habit_money.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_money", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_money", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", - "fieldName": "total_parent_point_money" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_money+1", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", - "fieldName": "total_parent_point_money" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", - "fieldName": "total_parent_point_money" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", - "fieldName": "total_parent_point_money" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_money+1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"money\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.money.title", - "matchedExpression": "@data.habit.money.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_money": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_money": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.money.title": [ - "parameter_list.text" - ] - } - }, + "fullExpression": "@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "completed | set_field:@local.radio_group_final:@local.slider_1", + "matchedExpression": "@local.radio_group_final", + "type": "local", + "fieldName": "radio_group_final" + }, + { + "fullExpression": "completed | set_field:@local.radio_group_final:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ], + "_cleaned": [ + { + "fullExpression": "completed | set_field:@local.radio_group_final:@local.slider_1", + "matchedExpression": "@local.radio_group_final", + "type": "local", + "fieldName": "radio_group_final" + }, + { + "fullExpression": "completed | set_field:@local.radio_group_final:@local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" + } + ] + }, + "4": { + "args": { + "0": [ { - "type": "parent_point_box", - "name": "parent_point_consequence", - "value": "@field.total_parent_point_consequence", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_consequence", - "@field.total_parent_point_consequence+1" - ], - "_raw": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", - "_cleaned": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_consequence", - "@field.weekly_parent_point_consequence+1" - ], - "_raw": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", - "_cleaned": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"consequence\"", - "parameter_list": { - "text": "@data.habit.consequence.title", - "icon_src": "plh_images/habits/habit_consequence.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_consequence", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_consequence", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", - "fieldName": "total_parent_point_consequence" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_consequence+1", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", - "fieldName": "total_parent_point_consequence" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", - "fieldName": "total_parent_point_consequence" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", - "fieldName": "total_parent_point_consequence" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_consequence+1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"consequence\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.consequence.title", - "matchedExpression": "@data.habit.consequence.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_consequence": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_consequence": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.consequence.title": [ - "parameter_list.text" - ] - } - }, - { - "type": "parent_point_box", - "name": "parent_point_safe", - "value": "@field.total_parent_point_safe", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_safe", - "@field.total_parent_point_safe+1" - ], - "_raw": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", - "_cleaned": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_safe", - "@field.weekly_parent_point_safe+1" - ], - "_raw": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", - "_cleaned": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1" - } - ], - "hidden": "\"@local.outro_habit\" != \"safe\"", - "parameter_list": { - "text": "@data.habit.safe.title", - "icon_src": "plh_images/habits/habit_safe.svg" - }, - "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_safe", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_safe", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", - "fieldName": "total_parent_point_safe" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_safe+1", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", - "fieldName": "total_parent_point_safe" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", - "fieldName": "total_parent_point_safe" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", - "fieldName": "total_parent_point_safe" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_safe+1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" != \"safe\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.safe.title", - "matchedExpression": "@data.habit.safe.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_safe": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_safe": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.outro_habit": [ - "hidden" - ], - "@data.habit.safe.title": [ - "parameter_list.text" - ] - } + "fullExpression": "@local.slider_2_final", + "matchedExpression": "@local.slider_2_final", + "type": "local", + "fieldName": "slider_2_final" } ], - "_nested_name": "outro.outro_habit_box.outro_habit_tracker", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "\"@local.outro_habit\" == \"undefined\"", - "matchedExpression": "@local.outro_habit", - "type": "local", - "fieldName": "outro_habit" - } - ] + "1": [ + { + "fullExpression": "@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + }, + "_raw": [ + { + "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", + "matchedExpression": "@local.slider_2_final", + "type": "local", + "fieldName": "slider_2_final" }, - "_dynamicDependencies": { - "@local.outro_habit": [ - "hidden" - ] - } - } - ], - "_nested_name": "outro.outro_habit_box", - "_dynamicFields": { - "hidden": [ { - "fullExpression": "\"@local.outro_habit_text\" == \"undefined\"", - "matchedExpression": "@local.outro_habit_text", + "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", + "matchedExpression": "@local.slider_2", "type": "local", - "fieldName": "outro_habit_text" - } - ] - }, - "_dynamicDependencies": { - "@local.outro_habit_text": [ - "hidden" - ] - } - }, - { - "type": "simple_checkbox", - "name": "checkbox", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "@local.checkbox_field", - "@local.checkbox" - ], - "_raw": "changed | set_field : @local.checkbox_field : @local.checkbox", - "_cleaned": "changed | set_field : @local.checkbox_field : @local.checkbox" - } - ], - "hidden": true, - "_nested_name": "outro.checkbox", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.checkbox_field", - "matchedExpression": "@local.checkbox_field", - "type": "local", - "fieldName": "checkbox_field" - } - ], - "1": [ - { - "fullExpression": "@local.checkbox", - "matchedExpression": "@local.checkbox", - "type": "local", - "fieldName": "checkbox" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field : @local.checkbox_field : @local.checkbox", - "matchedExpression": "@local.checkbox_field", - "type": "local", - "fieldName": "checkbox_field" - }, - { - "fullExpression": "changed | set_field : @local.checkbox_field : @local.checkbox", - "matchedExpression": "@local.checkbox", - "type": "local", - "fieldName": "checkbox" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field : @local.checkbox_field : @local.checkbox", - "matchedExpression": "@local.checkbox_field", - "type": "local", - "fieldName": "checkbox_field" - }, - { - "fullExpression": "changed | set_field : @local.checkbox_field : @local.checkbox", - "matchedExpression": "@local.checkbox", - "type": "local", - "fieldName": "checkbox" - } - ] + "fieldName": "slider_2" } - } - }, - "_dynamicDependencies": { - "@local.checkbox_field": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" ], - "@local.checkbox": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "_cleaned": [ + { + "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", + "matchedExpression": "@local.slider_2_final", + "type": "local", + "fieldName": "slider_2_final" + }, + { + "fullExpression": "completed | set_field:@local.slider_2_final:@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } ] } - }, - { - "type": "template", - "name": "outro_nav_buttons", - "value": "nav_buttons", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", - "action_id": "set_local", - "args": [ - "hide_content", - false - ], - "_raw": "uncompleted | set_local:hide_content:false", - "_cleaned": "uncompleted | set_local:hide_content:false" - }, - { - "trigger": "uncompleted", - "action_id": "set_local", - "args": [ - "hide_outro", - true - ], - "_raw": "uncompleted | set_local:hide_outro:true", - "_cleaned": "uncompleted | set_local:hide_outro:true" - } - ], - "rows": [], - "_nested_name": "outro.outro_nav_buttons" } - ], - "_nested_name": "outro", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@local.hide_outro", - "matchedExpression": "@local.hide_outro", - "type": "local", - "fieldName": "hide_outro" - } - ] }, "_dynamicDependencies": { - "@local.hide_outro": [ - "hidden" + "@local.slider_1_final": [ + "action_list.2.args.0", + "action_list.2._raw", + "action_list.2._cleaned" + ], + "@local.slider_1": [ + "action_list.2.args.1", + "action_list.2._raw", + "action_list.2._cleaned", + "action_list.3.args.1", + "action_list.3._raw", + "action_list.3._cleaned" + ], + "@local.radio_group_final": [ + "action_list.3.args.0", + "action_list.3._raw", + "action_list.3._cleaned" + ], + "@local.slider_2_final": [ + "action_list.4.args.0", + "action_list.4._raw", + "action_list.4._cleaned" + ], + "@local.slider_2": [ + "action_list.4.args.1", + "action_list.4._raw", + "action_list.4._cleaned" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshops.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_survey_boxes.xlsx" }, { "flow_type": "template", - "flow_name": "nav_buttons", + "flow_name": "workshop_stepper", "status": "released", "rows": [ { - "name": "use_completed_chevron", - "value": false, - "type": "set_variable", - "_nested_name": "use_completed_chevron" - }, - { - "name": "use_uncompleted_chevron", - "value": true, + "name": "progress_bar_value", "type": "set_variable", - "_nested_name": "use_uncompleted_chevron" + "_nested_name": "progress_bar_value" }, { - "name": "display_back", - "value": true, + "name": "progress_bar_num_items", "type": "set_variable", - "_nested_name": "display_back" + "_nested_name": "progress_bar_num_items" }, { - "type": "display_group", + "name": "progress_bar", + "value": "@local.progress_bar_value", "parameter_list": { - "style": "navigation" + "num_items": "@local.progress_bar_num_items" }, - "rows": [ - { - "type": "round_button", - "name": "button_uncompleted_chevron", - "action_list": [ + "type": "set_variable", + "_nested_name": "progress_bar", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.progress_bar_value", + "matchedExpression": "@local.progress_bar_value", + "type": "local", + "fieldName": "progress_bar_value" + } + ], + "parameter_list": { + "num_items": [ { - "trigger": "click", - "action_id": "emit", - "args": [ - "uncompleted" - ], - "_raw": "click | emit:uncompleted", - "_cleaned": "click | emit:uncompleted" + "fullExpression": "@local.progress_bar_num_items", + "matchedExpression": "@local.progress_bar_num_items", + "type": "local", + "fieldName": "progress_bar_num_items" } - ], - "hidden": "(!@local.use_uncompleted_chevron) || (!@local.display_back)", - "parameter_list": { - "icon_src": "chevron-back", - "style": "navigation" - }, - "style_list": [ - "flex:1" - ], - "_nested_name": "display_group.button_uncompleted_chevron", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "(!@local.use_uncompleted_chevron) || (!@local.display_back)", - "matchedExpression": "@local.use_uncompleted_chevron", - "type": "local", - "fieldName": "use_uncompleted_chevron" - }, - { - "fullExpression": "(!@local.use_uncompleted_chevron) || (!@local.display_back)", - "matchedExpression": "@local.display_back", - "type": "local", - "fieldName": "display_back" - } - ] - }, - "_dynamicDependencies": { - "@local.use_uncompleted_chevron": [ - "hidden" - ], - "@local.display_back": [ - "hidden" - ] - } - }, - { - "type": "round_button", - "name": "button_uncompleted", - "action_list": [ - { - "trigger": "click", - "action_id": "emit", - "args": [ - "uncompleted" - ], - "_raw": "click | emit:uncompleted", - "_cleaned": "click | emit:uncompleted" - } - ], - "hidden": "@local.use_uncompleted_chevron || (!@local.display_back)", - "parameter_list": { - "icon_src": "caret-back", - "style": "navigation" - }, - "style_list": [ - "flex:1" - ], - "_nested_name": "display_group.button_uncompleted", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@local.use_uncompleted_chevron || (!@local.display_back)", - "matchedExpression": "@local.use_uncompleted_chevron", - "type": "local", - "fieldName": "use_uncompleted_chevron" - }, - { - "fullExpression": "@local.use_uncompleted_chevron || (!@local.display_back)", - "matchedExpression": "@local.display_back", - "type": "local", - "fieldName": "display_back" - } - ] - }, - "_dynamicDependencies": { - "@local.use_uncompleted_chevron": [ - "hidden" - ], - "@local.display_back": [ - "hidden" - ] - } - }, - { - "type": "button", - "name": "button_completed", - "value": "@global.done_button", - "action_list": [ - { - "trigger": "click", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" - } - ], - "hidden": "@local.use_completed_chevron", - "parameter_list": { - "style": "navigation" - }, - "style_list": [ - "flex:1" - ], - "_nested_name": "display_group.button_completed", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.done_button", - "matchedExpression": "@global.done_button", - "type": "global", - "fieldName": "done_button" - } - ], - "hidden": [ - { - "fullExpression": "@local.use_completed_chevron", - "matchedExpression": "@local.use_completed_chevron", - "type": "local", - "fieldName": "use_completed_chevron" - } - ] - }, - "_dynamicDependencies": { - "@global.done_button": [ - "value" - ], - "@local.use_completed_chevron": [ - "hidden" - ] - } - }, - { - "type": "round_button", - "name": "button_completed_chevron", - "action_list": [ + ] + } + }, + "_dynamicDependencies": { + "@local.progress_bar_value": [ + "value" + ], + "@local.progress_bar_num_items": [ + "parameter_list.num_items" + ] + } + }, + { + "name": "progress_field_name", + "type": "set_variable", + "_nested_name": "progress_field_name" + }, + { + "type": "nav_group", + "name": "nav_template_list", + "parameter_list": { + "progress_field": "@local.progress_field_name" + }, + "_nested_name": "nav_template_list", + "_dynamicFields": { + "parameter_list": { + "progress_field": [ { - "trigger": "click", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" + "fullExpression": "@local.progress_field_name", + "matchedExpression": "@local.progress_field_name", + "type": "local", + "fieldName": "progress_field_name" } - ], - "hidden": "!@local.use_completed_chevron", - "parameter_list": { - "icon_src": "chevron-forward", - "style": "navigation" - }, - "style_list": [ - "flex:1" - ], - "_nested_name": "display_group.button_completed_chevron", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "!@local.use_completed_chevron", - "matchedExpression": "@local.use_completed_chevron", - "type": "local", - "fieldName": "use_completed_chevron" - } - ] - }, - "_dynamicDependencies": { - "@local.use_completed_chevron": [ - "hidden" - ] - } + ] } - ], - "name": "display_group", - "_nested_name": "display_group" + }, + "_dynamicDependencies": { + "@local.progress_field_name": [ + "parameter_list.progress_field" + ] + } } ], "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshops.xlsx" }, { "flow_type": "template", - "flow_name": "pair", + "flow_name": "workshop_activity", "status": "released", "rows": [ { - "name": "hide_animated_section_1", + "name": "activity_image_src", + "value": "src/assets/not-found-image.png", + "type": "set_variable", + "_nested_name": "activity_image_src" + }, + { + "name": "activity_title", + "value": "Title of this activity", + "type": "set_variable", + "_nested_name": "activity_title" + }, + { + "name": "include_outro", "value": false, "type": "set_variable", - "_nested_name": "hide_animated_section_1" + "_nested_name": "include_outro" }, { - "name": "hide_animated_section_2", + "name": "hide_intro", + "value": false, + "type": "set_variable", + "_nested_name": "hide_intro" + }, + { + "name": "hide_content", "value": true, "type": "set_variable", - "_nested_name": "hide_animated_section_2" + "_nested_name": "hide_content" + }, + { + "name": "hide_outro", + "value": true, + "type": "set_variable", + "_nested_name": "hide_outro" + }, + { + "name": "checkbox_field", + "type": "set_variable", + "_nested_name": "checkbox_field" + }, + { + "type": "display_theme", + "name": "display_theme", + "value": "passive_theme", + "_nested_name": "display_theme" }, { "type": "animated_section", - "name": "animated_section_1", - "hidden": "@local.hide_animated_section_1", + "name": "intro", + "value": "fade_in_out", + "hidden": "@local.hide_intro", "rows": [ + { + "type": "display_group", + "parameter_list": { + "style": "banner_welcome" + }, + "rows": [ + { + "type": "image", + "name": "intro_image_src", + "value": "@local.activity_image", + "parameter_list": { + "background_box": "true" + }, + "_nested_name": "intro.display_group.intro_image_src", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.activity_image", + "matchedExpression": "@local.activity_image", + "type": "local", + "fieldName": "activity_image" + } + ] + }, + "_dynamicDependencies": { + "@local.activity_image": [ + "value" + ] + } + } + ], + "name": "display_group", + "_nested_name": "intro.display_group" + }, + { + "type": "title", + "name": "intro_title", + "value": "@local.activity_title", + "_nested_name": "intro.intro_title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.activity_title", + "matchedExpression": "@local.activity_title", + "type": "local", + "fieldName": "activity_title" + } + ] + }, + "_dynamicDependencies": { + "@local.activity_title": [ + "value" + ] + } + }, + { + "type": "text", + "name": "intro_text", + "_nested_name": "intro.intro_text" + }, { "type": "template", - "name": "box_1", + "name": "intro_nav_buttons", + "value": "nav_buttons", "action_list": [ { "trigger": "completed", "action_id": "set_local", "args": [ - "hide_animated_section_1", - true + "hide_content", + false ], - "_raw": "completed | set_local:hide_animated_section_1:true", - "_cleaned": "completed | set_local:hide_animated_section_1:true" + "_raw": "completed | set_local:hide_content:false", + "_cleaned": "completed | set_local:hide_content:false" }, { "trigger": "completed", "action_id": "set_local", "args": [ - "hide_animated_section_2", - false + "hide_intro", + true ], - "_raw": "completed | set_local:hide_animated_section_2:false", - "_cleaned": "completed | set_local:hide_animated_section_2:false" + "_raw": "completed | set_local:hide_intro:true", + "_cleaned": "completed | set_local:hide_intro:true" }, { "trigger": "uncompleted", @@ -19395,14010 +19888,14066 @@ "_cleaned": "uncompleted | emit:uncompleted" } ], - "rows": [], - "_nested_name": "animated_section_1.box_1" + "rows": [ + { + "name": "use_uncompleted_chevron", + "value": false, + "type": "set_variable", + "_nested_name": "intro.intro_nav_buttons.use_uncompleted_chevron" + }, + { + "name": "button_completed", + "value": "@global.lets_go_button", + "type": "set_variable", + "_nested_name": "intro.intro_nav_buttons.button_completed", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.lets_go_button", + "matchedExpression": "@global.lets_go_button", + "type": "global", + "fieldName": "lets_go_button" + } + ] + }, + "_dynamicDependencies": { + "@global.lets_go_button": [ + "value" + ] + } + } + ], + "_nested_name": "intro.intro_nav_buttons" } ], - "_nested_name": "animated_section_1", + "_nested_name": "intro", "_dynamicFields": { "hidden": [ { - "fullExpression": "@local.hide_animated_section_1", - "matchedExpression": "@local.hide_animated_section_1", + "fullExpression": "@local.hide_intro", + "matchedExpression": "@local.hide_intro", "type": "local", - "fieldName": "hide_animated_section_1" + "fieldName": "hide_intro" } ] }, "_dynamicDependencies": { - "@local.hide_animated_section_1": [ + "@local.hide_intro": [ "hidden" ] } }, { "type": "animated_section", - "name": "animated_section_2", - "hidden": "@local.hide_animated_section_2", + "name": "content", + "hidden": "@local.hide_content", "rows": [ + { + "type": "display_group", + "name": "activity_banner", + "hidden": true, + "parameter_list": { + "style": "banner_short" + }, + "rows": [ + { + "type": "subtitle", + "name": "banner_title", + "value": "@local.activity_title", + "parameter_list": { + "style": "small emphasised" + }, + "_nested_name": "content.activity_banner.banner_title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.activity_title", + "matchedExpression": "@local.activity_title", + "type": "local", + "fieldName": "activity_title" + } + ] + }, + "_dynamicDependencies": { + "@local.activity_title": [ + "value" + ] + } + }, + { + "type": "image", + "name": "banner_image_src", + "value": "@local.activity_image", + "parameter_list": { + "background_box": "true" + }, + "_nested_name": "content.activity_banner.banner_image_src", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.activity_image", + "matchedExpression": "@local.activity_image", + "type": "local", + "fieldName": "activity_image" + } + ] + }, + "_dynamicDependencies": { + "@local.activity_image": [ + "value" + ] + } + } + ], + "_nested_name": "content.activity_banner" + }, { "type": "template", - "name": "box_2", + "name": "content_box", "action_list": [ { "trigger": "completed", - "action_id": "emit", + "action_id": "set_local", "args": [ - "completed" + "hide_content", + true ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" + "_raw": "completed | set_local:hide_content:true", + "_cleaned": "completed | set_local:hide_content:true" + }, + { + "trigger": "completed", + "action_id": "set_local", + "args": [ + "hide_outro", + false + ], + "_raw": "completed | set_local:hide_outro:false", + "_cleaned": "completed | set_local:hide_outro:false" }, { "trigger": "uncompleted", "action_id": "set_local", "args": [ - "hide_animated_section_1", + "hide_intro", false ], - "_raw": "uncompleted | set_local:hide_animated_section_1:false", - "_cleaned": "uncompleted | set_local:hide_animated_section_1:false" + "_raw": "uncompleted | set_local:hide_intro:false", + "_cleaned": "uncompleted | set_local:hide_intro:false" }, { "trigger": "uncompleted", "action_id": "set_local", "args": [ - "hide_animated_section_2", + "hide_content", true ], - "_raw": "uncompleted | set_local:hide_animated_section_2:true", - "_cleaned": "uncompleted | set_local:hide_animated_section_2:true" + "_raw": "uncompleted | set_local:hide_content:true", + "_cleaned": "uncompleted | set_local:hide_content:true" } ], + "hidden": "!@local.include_outro", "rows": [], - "_nested_name": "animated_section_2.box_2" - } - ], - "_nested_name": "animated_section_2", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@local.hide_animated_section_2", - "matchedExpression": "@local.hide_animated_section_2", - "type": "local", - "fieldName": "hide_animated_section_2" + "_nested_name": "content.content_box", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "!@local.include_outro", + "matchedExpression": "@local.include_outro", + "type": "local", + "fieldName": "include_outro" + } + ] + }, + "_dynamicDependencies": { + "@local.include_outro": [ + "hidden" + ] } - ] - }, - "_dynamicDependencies": { - "@local.hide_animated_section_2": [ - "hidden" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshops.xlsx" - }, - { - "flow_type": "template", - "flow_name": "box_duo", - "status": "released", - "rows": [ - { - "type": "template", - "name": "box_1", - "rows": [], - "_nested_name": "box_1" - }, - { - "type": "template", - "name": "box_2", - "rows": [], - "_nested_name": "box_2" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshops.xlsx" - }, - { - "flow_type": "template", - "module": "1on1", - "flow_name": "w_1on1_hp_review", - "status": "released", - "rows": [ - { - "type": "template", - "name": "home_practice_review", - "value": "home_practice_review", - "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": [ - { - "type": "nested_properties", - "name": "workshop_activity", - "rows": [ + "type": "template", + "name": "content_box", + "action_list": [ { - "type": "nested_properties", - "name": "content_box", - "value": "box_duo", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "radio_buttons_emo_temp", - "rows": [ - { - "name": "text", - "value": "Your goal was to spend one-on-one time with your teen. ", - "type": "set_variable", - "_nested_name": "home_practice_review.workshop_activity.content_box.box_1.text" - }, - { - "name": "question_text", - "value": "How did that go?", - "type": "set_variable", - "_nested_name": "home_practice_review.workshop_activity.content_box.box_1.question_text" - }, - { - "name": "reply", - "hidden": true, - "type": "set_variable", - "_nested_name": "home_practice_review.workshop_activity.content_box.box_1.reply" - } - ], - "_nested_name": "home_practice_review.workshop_activity.content_box.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "radio_buttons_emo_temp", - "rows": [ - { - "name": "text", - "value": "Your goal was to spend one-on-one time with your teen. ", - "type": "set_variable", - "_nested_name": "home_practice_review.workshop_activity.content_box.box_2.text" - }, - { - "name": "question_text", - "value": "How did that go?", - "type": "set_variable", - "_nested_name": "home_practice_review.workshop_activity.content_box.box_2.question_text" - }, - { - "name": "reply", - "hidden": true, - "type": "set_variable", - "_nested_name": "home_practice_review.workshop_activity.content_box.box_2.reply" - } - ], - "_nested_name": "home_practice_review.workshop_activity.content_box.box_2" - } + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "_nested_name": "home_practice_review.workshop_activity.content_box" - } - ], - "_nested_name": "home_practice_review.workshop_activity" - } - ], - "_nested_name": "home_practice_review" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_1on1_hp_review.xlsx" - }, - { - "flow_type": "template", - "module": "1on1", - "flow_name": "w_1on1_hp_highlights", - "status": "released", - "rows": [ - { - "name": "choice_1", - "value": "DAY – Do it every day.", - "hidden": true, - "type": "set_variable", - "_nested_name": "choice_1" - }, - { - "name": "choice_2", - "value": "PLAY – Let your teen choose the activity.", - "type": "set_variable", - "_nested_name": "choice_2" - }, - { - "name": "choice_3", - "value": "STAY – Give your teen all of your attention.", - "type": "set_variable", - "_nested_name": "choice_3" - }, - { - "name": "choice_4", - "value": "None", - "type": "set_variable", - "_nested_name": "choice_4" - }, - { - "name": "answer_list", - "value": [ - "name:choice_1 | text:@local.choice_1", - "name:choice_2 | text:@local.choice_2", - "name:choice_3 | text:@local.choice_3", - "name:choice_4 | text:@local.choice_4" - ], - "type": "set_variable", - "_nested_name": "answer_list", - "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "name:choice_1 | text:@local.choice_1", - "matchedExpression": "@local.choice_1", - "type": "local", - "fieldName": "choice_1" - } - ], - "1": [ - { - "fullExpression": "name:choice_2 | text:@local.choice_2", - "matchedExpression": "@local.choice_2", - "type": "local", - "fieldName": "choice_2" - } - ], - "2": [ + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, { - "fullExpression": "name:choice_3 | text:@local.choice_3", - "matchedExpression": "@local.choice_3", - "type": "local", - "fieldName": "choice_3" - } - ], - "3": [ + "trigger": "uncompleted", + "action_id": "set_local", + "args": [ + "hide_intro", + false + ], + "_raw": "uncompleted | set_local:hide_intro:false", + "_cleaned": "uncompleted | set_local:hide_intro:false" + }, { - "fullExpression": "name:choice_4 | text:@local.choice_4", - "matchedExpression": "@local.choice_4", - "type": "local", - "fieldName": "choice_4" + "trigger": "uncompleted", + "action_id": "set_local", + "args": [ + "hide_content", + true + ], + "_raw": "uncompleted | set_local:hide_content:true", + "_cleaned": "uncompleted | set_local:hide_content:true" } - ] - } - }, - "_dynamicDependencies": { - "@local.choice_1": [ - "value.0" - ], - "@local.choice_2": [ - "value.1" - ], - "@local.choice_3": [ - "value.2" - ], - "@local.choice_4": [ - "value.3" - ] - } - }, - { - "type": "text", - "name": "question_text_1", - "value": "Which of my tips have helped you?", - "parameter_list": { - "style": "emphasised" - }, - "_nested_name": "question_text_1" - }, - { - "type": "combo_box", - "name": "combo_box", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "@local.first_combo_box_tracker", - "@local.combo_box" ], - "_raw": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", - "_cleaned": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box" - } - ], - "parameter_list": { - "answer_list": "@local.answer_list" - }, - "_nested_name": "combo_box", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.first_combo_box_tracker", - "matchedExpression": "@local.first_combo_box_tracker", - "type": "local", - "fieldName": "first_combo_box_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.combo_box", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", - "matchedExpression": "@local.first_combo_box_tracker", - "type": "local", - "fieldName": "first_combo_box_tracker" - }, - { - "fullExpression": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", - "matchedExpression": "@local.first_combo_box_tracker", - "type": "local", - "fieldName": "first_combo_box_tracker" - }, + "hidden": "@local.include_outro", + "rows": [], + "_nested_name": "content.content_box", + "_dynamicFields": { + "hidden": [ { - "fullExpression": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "@local.include_outro", + "matchedExpression": "@local.include_outro", "type": "local", - "fieldName": "combo_box" + "fieldName": "include_outro" } ] + }, + "_dynamicDependencies": { + "@local.include_outro": [ + "hidden" + ] } - }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] } - }, - "_dynamicDependencies": { - "@local.first_combo_box_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.combo_box": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "question_text_2", - "value": "Why was this tip helpful for you?", - "hidden": "\"@local.combo_box\"==\"undefined\" || \"@local.combo_box\"==\"choice_4\"", - "parameter_list": { - "style": "emphasised" - }, - "_nested_name": "question_text_2", + ], + "_nested_name": "content", "_dynamicFields": { "hidden": [ { - "fullExpression": "\"@local.combo_box\"==\"undefined\" || \"@local.combo_box\"==\"choice_4\"", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" - }, - { - "fullExpression": "\"@local.combo_box\"==\"undefined\" || \"@local.combo_box\"==\"choice_4\"", - "matchedExpression": "@local.combo_box", + "fullExpression": "@local.hide_content", + "matchedExpression": "@local.hide_content", "type": "local", - "fieldName": "combo_box" + "fieldName": "hide_content" } ] }, "_dynamicDependencies": { - "@local.combo_box": [ - "hidden", + "@local.hide_content": [ "hidden" ] } }, { - "name": "answer_list_choice_1", - "value": [ - "name:choice_1_a | text:Having a specific time to do this helps me to remember.", - "name:choice_1_b | text:With a routine, my teen and I can both keep our schedule free.", - "name:choice_1_c | text:Spending time with my teen every day helps to build trust with them/him/her." - ], - "type": "set_variable", - "_nested_name": "answer_list_choice_1" - }, - { - "type": "combo_box", - "name": "combo_box_choice_1", - "action_list": [ + "type": "animated_section", + "name": "outro", + "value": "fade_in_out", + "hidden": "@local.hide_outro", + "rows": [ { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "@local.second_combo_box_tracker", - "@local.combo_box_choice_1" - ], - "_raw": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", - "_cleaned": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1" - } - ], - "hidden": "\"@local.combo_box\"!=\"choice_1\"", - "parameter_list": { - "answer_list": "@local.answer_list_choice_1" - }, - "_nested_name": "combo_box_choice_1", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.second_combo_box_tracker", - "matchedExpression": "@local.second_combo_box_tracker", - "type": "local", - "fieldName": "second_combo_box_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.combo_box_choice_1", - "matchedExpression": "@local.combo_box_choice_1", - "type": "local", - "fieldName": "combo_box_choice_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", - "matchedExpression": "@local.second_combo_box_tracker", - "type": "local", - "fieldName": "second_combo_box_tracker" + "type": "display_group", + "parameter_list": { + "style": "banner_welcome" + }, + "rows": [ + { + "type": "image", + "name": "outro_image_src", + "value": "@local.activity_image", + "parameter_list": { + "background_box": "true" }, - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", - "matchedExpression": "@local.combo_box_choice_1", - "type": "local", - "fieldName": "combo_box_choice_1" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", - "matchedExpression": "@local.second_combo_box_tracker", - "type": "local", - "fieldName": "second_combo_box_tracker" + "_nested_name": "outro.display_group.outro_image_src", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.activity_image", + "matchedExpression": "@local.activity_image", + "type": "local", + "fieldName": "activity_image" + } + ] }, + "_dynamicDependencies": { + "@local.activity_image": [ + "value" + ] + } + } + ], + "name": "display_group", + "_nested_name": "outro.display_group" + }, + { + "type": "title", + "name": "outro_title", + "value": "@local.activity_title", + "hidden": true, + "_nested_name": "outro.outro_title", + "_dynamicFields": { + "value": [ { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", - "matchedExpression": "@local.combo_box_choice_1", + "fullExpression": "@local.activity_title", + "matchedExpression": "@local.activity_title", "type": "local", - "fieldName": "combo_box_choice_1" + "fieldName": "activity_title" } ] + }, + "_dynamicDependencies": { + "@local.activity_title": [ + "value" + ] } }, - "hidden": [ - { - "fullExpression": "\"@local.combo_box\"!=\"choice_1\"", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" - } - ], - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_choice_1", - "matchedExpression": "@local.answer_list_choice_1", - "type": "local", - "fieldName": "answer_list_choice_1" - } - ] - } - }, - "_dynamicDependencies": { - "@local.second_combo_box_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.combo_box_choice_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.combo_box": [ - "hidden" - ], - "@local.answer_list_choice_1": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "reply_choice_1", - "value": "Ah yes, even 10 minutes together makes a big difference – that makes it easy to schedule it in next to your work and chores! ", - "hidden": "\"@local.combo_box\"!=\"choice_1\" || \"@local.combo_box_choice_1\"==\"undefined\"", - "_nested_name": "reply_choice_1", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "\"@local.combo_box\"!=\"choice_1\" || \"@local.combo_box_choice_1\"==\"undefined\"", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" - }, - { - "fullExpression": "\"@local.combo_box\"!=\"choice_1\" || \"@local.combo_box_choice_1\"==\"undefined\"", - "matchedExpression": "@local.combo_box_choice_1", - "type": "local", - "fieldName": "combo_box_choice_1" - } - ] - }, - "_dynamicDependencies": { - "@local.combo_box": [ - "hidden" - ], - "@local.combo_box_choice_1": [ - "hidden" - ] - } - }, - { - "name": "answer_list_choice_2", - "value": [ - "name:choice_2_a | text:Letting my teen choose what to do builds their confidence.", - "name:choice_2_b | text:If my teen chooses, s/he is more likely to want to spend time together.", - "name:choice_2_c | text:Letting my teen choose shows that I care about his/her interests.", - "name:choice_2_d | text:By accepting my teen’s suggestions, I am showing that I listen to him/her.", - "name: choice_2_e | text:Saying something nice about my teen’s choice helps them feel valued." - ], - "type": "set_variable", - "_nested_name": "answer_list_choice_2" - }, - { - "type": "combo_box", - "name": "combo_box_choice_2", - "action_list": [ { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "@local.second_combo_box_tracker", - "@local.combo_box_choice_2" - ], - "_raw": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", - "_cleaned": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2" - } - ], - "hidden": "\"@local.combo_box\"!=\"choice_2\"", - "parameter_list": { - "answer_list": "@local.answer_list_choice_2" - }, - "_nested_name": "combo_box_choice_2", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.second_combo_box_tracker", - "matchedExpression": "@local.second_combo_box_tracker", - "type": "local", - "fieldName": "second_combo_box_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.combo_box_choice_2", - "matchedExpression": "@local.combo_box_choice_2", - "type": "local", - "fieldName": "combo_box_choice_2" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", - "matchedExpression": "@local.second_combo_box_tracker", - "type": "local", - "fieldName": "second_combo_box_tracker" - }, - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", - "matchedExpression": "@local.combo_box_choice_2", - "type": "local", - "fieldName": "combo_box_choice_2" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", - "matchedExpression": "@local.second_combo_box_tracker", - "type": "local", - "fieldName": "second_combo_box_tracker" - }, - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", - "matchedExpression": "@local.combo_box_choice_2", - "type": "local", - "fieldName": "combo_box_choice_2" - } - ] - } + "type": "text", + "name": "outro_text", + "_nested_name": "outro.outro_text" }, - "hidden": [ - { - "fullExpression": "\"@local.combo_box\"!=\"choice_2\"", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" - } - ], - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_choice_2", - "matchedExpression": "@local.answer_list_choice_2", - "type": "local", - "fieldName": "answer_list_choice_2" - } - ] - } - }, - "_dynamicDependencies": { - "@local.second_combo_box_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.combo_box_choice_2": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.combo_box": [ - "hidden" - ], - "@local.answer_list_choice_2": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "reply_choice_2", - "value": "So true! And if our teens choose, they are encouraged to also take responsibility in other areas of their lives.", - "hidden": "\"@local.combo_box\"!=\"choice_2\" || \"@local.combo_box_choice_2\"==\"undefined\"", - "_nested_name": "reply_choice_2", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "\"@local.combo_box\"!=\"choice_2\" || \"@local.combo_box_choice_2\"==\"undefined\"", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" - }, - { - "fullExpression": "\"@local.combo_box\"!=\"choice_2\" || \"@local.combo_box_choice_2\"==\"undefined\"", - "matchedExpression": "@local.combo_box_choice_2", - "type": "local", - "fieldName": "combo_box_choice_2" - } - ] - }, - "_dynamicDependencies": { - "@local.combo_box": [ - "hidden" - ], - "@local.combo_box_choice_2": [ - "hidden" - ] - } - }, - { - "name": "answer_list_choice_3", - "value": [ - "name:choice_3_a | text:By preventing interruptions, I am showing my teen that s/he is most important.", - "name:choice_3_b | text:Even if I can’t join my teen’s activity, like sports, I can still cheer them on.", - "name:choice_3_c | text:When I pay attention, I can learn so much about my teen’s interests, views and capabilities." - ], - "type": "set_variable", - "_nested_name": "answer_list_choice_3" - }, - { - "type": "combo_box", - "name": "combo_box_choice_3", - "action_list": [ { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "@local.second_combo_box_tracker", - "@local.combo_box_choice_3" - ], - "_raw": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", - "_cleaned": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3" - } - ], - "hidden": "\"@local.combo_box\"!=\"choice_3\"", - "parameter_list": { - "answer_list": "@local.answer_list_choice_3" - }, - "_nested_name": "combo_box_choice_3", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.second_combo_box_tracker", - "matchedExpression": "@local.second_combo_box_tracker", - "type": "local", - "fieldName": "second_combo_box_tracker" - } - ], - "1": [ - { - "fullExpression": "@local.combo_box_choice_3", - "matchedExpression": "@local.combo_box_choice_3", - "type": "local", - "fieldName": "combo_box_choice_3" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", - "matchedExpression": "@local.second_combo_box_tracker", - "type": "local", - "fieldName": "second_combo_box_tracker" - }, - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", - "matchedExpression": "@local.combo_box_choice_3", - "type": "local", - "fieldName": "combo_box_choice_3" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", - "matchedExpression": "@local.second_combo_box_tracker", - "type": "local", - "fieldName": "second_combo_box_tracker" - }, - { - "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", - "matchedExpression": "@local.combo_box_choice_3", - "type": "local", - "fieldName": "combo_box_choice_3" - } - ] - } + "type": "button", + "name": "outro_button", + "hidden": true, + "_nested_name": "outro.outro_button" }, - "hidden": [ - { - "fullExpression": "\"@local.combo_box\"!=\"choice_3\"", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" - } - ], - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_choice_3", - "matchedExpression": "@local.answer_list_choice_3", - "type": "local", - "fieldName": "answer_list_choice_3" - } - ] - } - }, - "_dynamicDependencies": { - "@local.second_combo_box_tracker": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.combo_box_choice_3": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.combo_box": [ - "hidden" - ], - "@local.answer_list_choice_3": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "reply_choice_3", - "value": "Yes! If we give our teens our full attention, they will more likely do the same for us the next time we ask them for something!", - "hidden": "\"@local.combo_box\"!=\"choice_3\" || \"@local.combo_box_choice_3\"==\"undefined\"", - "_nested_name": "reply_choice_3", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "\"@local.combo_box\"!=\"choice_3\" || \"@local.combo_box_choice_3\"==\"undefined\"", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" + { + "name": "outro_habit", + "type": "set_variable", + "_nested_name": "outro.outro_habit" + }, + { + "name": "outro_habit_text", + "type": "set_variable", + "_nested_name": "outro.outro_habit_text" + }, + { + "type": "display_group", + "name": "outro_habit_box", + "hidden": "\"@local.outro_habit_text\" == \"undefined\"", + "parameter_list": { + "icon_src": "plh_images/icons/star_circle.svg", + "icon_position": "top-left", + "type": "dashed_box" }, - { - "fullExpression": "\"@local.combo_box\"!=\"choice_3\" || \"@local.combo_box_choice_3\"==\"undefined\"", - "matchedExpression": "@local.combo_box_choice_3", - "type": "local", - "fieldName": "combo_box_choice_3" - } - ] - }, - "_dynamicDependencies": { - "@local.combo_box": [ - "hidden" - ], - "@local.combo_box_choice_3": [ - "hidden" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_1on1_hp_review.xlsx" - }, - { - "flow_type": "template", - "module": "1on1", - "flow_name": "w_1on1_hp_challenges", - "status": "released", - "rows": [ - { - "name": "text_challenge_1", - "value": "I don’t have enough time.", - "type": "set_variable", - "_nested_name": "text_challenge_1" - }, - { - "name": "text_challenge_2", - "value": "My teen does not want to spend time with me.", - "type": "set_variable", - "_nested_name": "text_challenge_2" - }, - { - "name": "text_challenge_3", - "value": "My teen only wants to watch TV or play on his/her phone.", - "type": "set_variable", - "_nested_name": "text_challenge_3" - }, - { - "name": "text_challenge_4", - "value": "My teen wants to do things that are not safe or that cost money.", - "type": "set_variable", - "_nested_name": "text_challenge_4" - }, - { - "name": "text_challenge_5", - "value": "My teen wants to do things that I cannot physically do.", - "type": "set_variable", - "_nested_name": "text_challenge_5" - }, - { - "name": "text_challenge_6", - "value": "My teen chose a competitive activity. I won and s/he got angry.", - "type": "set_variable", - "_nested_name": "text_challenge_6" - }, - { - "name": "text_challenge_7", - "value": "I struggled to end the one-on-one time.", - "type": "set_variable", - "_nested_name": "text_challenge_7" - }, - { - "name": "text_challenge_8", - "value": "All my children want one-on-one time with me at the same time.", - "type": "set_variable", - "_nested_name": "text_challenge_8" - }, - { - "name": "text_other_challenge", - "value": "My challenge is not listed here.", - "type": "set_variable", - "_nested_name": "text_other_challenge" - }, - { - "name": "answer_list", - "value": [ - "name:challenge_1 | text:@local.text_challenge_1", - "name:challenge_2 | text:@local.text_challenge_2", - "name:challenge_3 | text:@local.text_challenge_3", - "name:challenge_4 | text:@local.text_challenge_4", - "name:challenge_5 | text:@local.text_challenge_5", - "name:challenge_6 | text:@local.text_challenge_6", - "name:challenge_7 | text:@local.text_challenge_7", - "name:challenge_8 | text:@local.text_challenge_8", - "name:other_challenge | text: @local.text_other_challenge" - ], - "type": "set_variable", - "_nested_name": "answer_list", - "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "name:challenge_1 | text:@local.text_challenge_1", - "matchedExpression": "@local.text_challenge_1", - "type": "local", - "fieldName": "text_challenge_1" - } - ], - "1": [ - { - "fullExpression": "name:challenge_2 | text:@local.text_challenge_2", - "matchedExpression": "@local.text_challenge_2", - "type": "local", - "fieldName": "text_challenge_2" - } - ], - "2": [ - { - "fullExpression": "name:challenge_3 | text:@local.text_challenge_3", - "matchedExpression": "@local.text_challenge_3", - "type": "local", - "fieldName": "text_challenge_3" - } - ], - "3": [ - { - "fullExpression": "name:challenge_4 | text:@local.text_challenge_4", - "matchedExpression": "@local.text_challenge_4", - "type": "local", - "fieldName": "text_challenge_4" - } - ], - "4": [ + "rows": [ { - "fullExpression": "name:challenge_5 | text:@local.text_challenge_5", - "matchedExpression": "@local.text_challenge_5", - "type": "local", - "fieldName": "text_challenge_5" - } - ], - "5": [ + "type": "subtitle", + "name": "outro_habit_box_text", + "value": "@local.outro_habit_text", + "parameter_list": { + "style": "center" + }, + "_nested_name": "outro.outro_habit_box.outro_habit_box_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.outro_habit_text", + "matchedExpression": "@local.outro_habit_text", + "type": "local", + "fieldName": "outro_habit_text" + } + ] + }, + "_dynamicDependencies": { + "@local.outro_habit_text": [ + "value" + ] + } + }, { - "fullExpression": "name:challenge_6 | text:@local.text_challenge_6", - "matchedExpression": "@local.text_challenge_6", - "type": "local", - "fieldName": "text_challenge_6" - } - ], - "6": [ - { - "fullExpression": "name:challenge_7 | text:@local.text_challenge_7", - "matchedExpression": "@local.text_challenge_7", - "type": "local", - "fieldName": "text_challenge_7" - } - ], - "7": [ - { - "fullExpression": "name:challenge_8 | text:@local.text_challenge_8", - "matchedExpression": "@local.text_challenge_8", - "type": "local", - "fieldName": "text_challenge_8" - } - ], - "8": [ - { - "fullExpression": "name:other_challenge | text: @local.text_other_challenge", - "matchedExpression": "@local.text_other_challenge", - "type": "local", - "fieldName": "text_other_challenge" - } - ] - } - }, - "_dynamicDependencies": { - "@local.text_challenge_1": [ - "value.0" - ], - "@local.text_challenge_2": [ - "value.1" - ], - "@local.text_challenge_3": [ - "value.2" - ], - "@local.text_challenge_4": [ - "value.3" - ], - "@local.text_challenge_5": [ - "value.4" - ], - "@local.text_challenge_6": [ - "value.5" - ], - "@local.text_challenge_7": [ - "value.6" - ], - "@local.text_challenge_8": [ - "value.7" - ], - "@local.text_other_challenge": [ - "value.8" - ] - } - }, - { - "type": "combo_box", - "name": "combo_box", - "parameter_list": { - "answer_list": "@local.answer_list" - }, - "_nested_name": "combo_box", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] - } - }, - "_dynamicDependencies": { - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_1on1_hp_review.xlsx" - }, - { - "flow_type": "template", - "module": "1on1", - "flow_name": "w_1on1_m_workshop_released", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", - "rows": [ - { - "name": "workshop", - "value": "w_1on1", - "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "title", - "value": "First @global.weekly_workshop! ", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "First @global.weekly_workshop! ", - "matchedExpression": "@global.weekly_workshop", - "type": "global", - "fieldName": "weekly_workshop" - } - ] - }, - "_dynamicDependencies": { - "@global.weekly_workshop": [ - "value" - ] - } - }, - { - "name": "image", - "value": "@data.habit.spend_time.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.spend_time.image_asset", - "matchedExpression": "@data.habit.spend_time.image_asset", - "type": "data", - "fieldName": "habit" - } - ] + "type": "display_group", + "name": "outro_habit_tracker", + "hidden": "\"@local.outro_habit\" == \"undefined\"", + "parameter_list": { + "style": "parent_point" }, - "_dynamicDependencies": { - "@data.habit.spend_time.image_asset": [ - "value" - ] - } - }, - { - "name": "text", - "value": "Hi @field.user_name! Your first parenting workshop @global.w_1on1 is ready for you! ", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! Your first parenting workshop @global.w_1on1 is ready for you! ", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" + "rows": [ + { + "type": "parent_point_box", + "name": "parent_point_relax", + "value": "@field.total_parent_point_relax", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_relax", + "@field.total_parent_point_relax+1" + ], + "_raw": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", + "_cleaned": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_relax", + "@field.weekly_parent_point_relax+1" + ], + "_raw": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", + "_cleaned": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1" + } + ], + "hidden": "\"@local.outro_habit\" != \"relax\"", + "parameter_list": { + "text": "@data.habit.relax.title", + "icon_src": "plh_images/habits/habit_relax.svg" }, - { - "fullExpression": "Hi @field.user_name! Your first parenting workshop @global.w_1on1 is ready for you! ", - "matchedExpression": "@global.w_1on1", - "type": "global", - "fieldName": "w_1on1" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@global.w_1on1": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "Hi @field.group_name! Your first parenting workshop @global.w_1on1 is ready for you!", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! Your first parenting workshop @global.w_1on1 is ready for you!", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_relax", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_relax", + "matchedExpression": "@field.total_parent_point_relax", + "type": "field", + "fieldName": "total_parent_point_relax" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_relax+1", + "matchedExpression": "@field.total_parent_point_relax", + "type": "field", + "fieldName": "total_parent_point_relax" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", + "matchedExpression": "@field.total_parent_point_relax", + "type": "field", + "fieldName": "total_parent_point_relax" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", + "matchedExpression": "@field.total_parent_point_relax", + "type": "field", + "fieldName": "total_parent_point_relax" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_relax+1", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"relax\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.relax.title", + "matchedExpression": "@data.habit.relax.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, - { - "fullExpression": "Hi @field.group_name! Your first parenting workshop @global.w_1on1 is ready for you!", - "matchedExpression": "@global.w_1on1", - "type": "global", - "fieldName": "w_1on1" + "_dynamicDependencies": { + "@field.total_parent_point_relax": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_relax": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.relax.title": [ + "parameter_list.text" + ] } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + }, + { + "type": "parent_point_box", + "name": "parent_point_treat_yourself", + "value": "@field.total_parent_point_treat_yourself", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_treat_yourself", + "@field.total_parent_point_treat_yourself+1" + ], + "_raw": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", + "_cleaned": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_treat_yourself", + "@field.weekly_parent_point_treat_yourself+1" + ], + "_raw": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", + "_cleaned": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1" + } + ], + "hidden": "\"@local.outro_habit\" != \"treat_yourself\"", + "parameter_list": { + "text": "@data.habit.treat_yourself.title", + "icon_src": "plh_images/habits/habit_treat_yourself.svg" + }, + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_treat_yourself", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_treat_yourself", + "matchedExpression": "@field.total_parent_point_treat_yourself", + "type": "field", + "fieldName": "total_parent_point_treat_yourself" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_treat_yourself+1", + "matchedExpression": "@field.total_parent_point_treat_yourself", + "type": "field", + "fieldName": "total_parent_point_treat_yourself" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", + "matchedExpression": "@field.total_parent_point_treat_yourself", + "type": "field", + "fieldName": "total_parent_point_treat_yourself" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", + "matchedExpression": "@field.total_parent_point_treat_yourself", + "type": "field", + "fieldName": "total_parent_point_treat_yourself" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_treat_yourself+1", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"treat_yourself\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.treat_yourself.title", + "matchedExpression": "@data.habit.treat_yourself.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_treat_yourself": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_treat_yourself": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.treat_yourself.title": [ + "parameter_list.text" + ] } - ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@global.w_1on1": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - } - ], - "_nested_name": "m_workshop_released.in_week_message" - } - ], - "_nested_name": "m_workshop_released" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" - }, - { - "flow_type": "template", - "module": "1on1", - "flow_name": "w_1on1_m_something_fun", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", - "rows": [ - { - "name": "activity", - "value": "co_chef", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" - } - ], - "_nested_name": "m_something_fun" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" - }, - { - "flow_type": "template", - "module": "1on1", - "flow_name": "w_1on1_m_workshop_in_progress", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_in_progress", - "value": "m_workshop_in_progress", - "rows": [ - { - "name": "workshop", - "value": "w_1on1", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "image", - "value": "@data.habit.spend_time.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.spend_time.image_asset", - "matchedExpression": "@data.habit.spend_time.image_asset", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.spend_time.image_asset": [ - "value" - ] - } - }, - { - "name": "text", - "value": "Spending time with your teen helps build trust between you. \n\nContinue your @global.parent_app journey now and experience the best of what we have for you.", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Spending time with your teen helps build trust between you. \n\nContinue your @global.parent_app journey now and experience the best of what we have for you.", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ] - } - } - ], - "_nested_name": "m_workshop_in_progress.in_week_message" - } - ], - "_nested_name": "m_workshop_in_progress" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" - }, - { - "flow_type": "template", - "module": "1on1", - "flow_name": "w_1on1_m_praise", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_praise", - "value": "m_praise", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Thank you for putting so much effort into being a better parent. You are loved and appreciated!", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text" - } - ], - "_nested_name": "m_praise.in_week_message" - } - ], - "_nested_name": "m_praise" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" - }, - { - "flow_type": "template", - "module": "1on1", - "flow_name": "w_1on1_m_hp_reminder", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Have you spent time with your teen already?", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text" - }, - { - "name": "habit_text", - "value": "@data.habit.spend_time.short_mark_text", - "hidden": false, - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.spend_time.short_mark_text", - "matchedExpression": "@data.habit.spend_time.short_mark_text", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.spend_time.short_mark_text": [ - "value" - ] - } - }, - { - "name": "habit", - "value": "spend_time", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit" - } - ], - "_nested_name": "m_hp_reminder.in_week_message" - } - ], - "_nested_name": "m_hp_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" - }, - { - "flow_type": "template", - "module": "1on1", - "flow_name": "w_1on1_m_workshop_reminder", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_reminder", - "value": "m_workshop_reminder", - "rows": [ - { - "name": "workshop", - "value": "w_1on1", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "image", - "value": "@data.habit.spend_time.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.spend_time.image_asset", - "matchedExpression": "@data.habit.spend_time.image_asset", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.spend_time.image_asset": [ - "value" - ] - } - }, - { - "name": "text", - "value": "Thank you for using @global.parent_app and committing to your parenting. \n\nYour first parenting workshop @global.w_1on1 is ready for you! ", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Thank you for using @global.parent_app and committing to your parenting. \n\nYour first parenting workshop @global.w_1on1 is ready for you! ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" + }, + { + "type": "parent_point_box", + "name": "parent_point_praise_yourself", + "value": "@field.total_parent_point_praise_yourself", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_praise_yourself", + "@field.total_parent_point_praise_yourself+1" + ], + "_raw": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", + "_cleaned": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_praise_yourself", + "@field.weekly_parent_point_praise_yourself+1" + ], + "_raw": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", + "_cleaned": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1" + } + ], + "hidden": "\"@local.outro_habit\" != \"praise_yourself\"", + "parameter_list": { + "text": "@data.habit.praise_yourself.title", + "icon_src": "plh_images/habits/habit_praise_yourself.svg" }, - { - "fullExpression": "Thank you for using @global.parent_app and committing to your parenting. \n\nYour first parenting workshop @global.w_1on1 is ready for you! ", - "matchedExpression": "@global.w_1on1", - "type": "global", - "fieldName": "w_1on1" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ], - "@global.w_1on1": [ - "value" - ] - } - } - ], - "_nested_name": "m_workshop_reminder.in_week_message" - } - ], - "_nested_name": "m_workshop_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" - }, - { - "flow_type": "template", - "module": "consequence", - "flow_name": "w_consequence_m_workshop_rel", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", - "rows": [ - { - "name": "workshop", - "value": "w_consequence", - "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Hi @field.user_name! Today we are celebrating two months of using @global.parent_app! You are doing great! \n\nThis week’s workshop will teach you how to react when your teen is not following the household rules. ", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! Today we are celebrating two months of using @global.parent_app! You are doing great! \n\nThis week’s workshop will teach you how to react when your teen is not following the household rules. ", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_praise_yourself", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_praise_yourself", + "matchedExpression": "@field.total_parent_point_praise_yourself", + "type": "field", + "fieldName": "total_parent_point_praise_yourself" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_praise_yourself+1", + "matchedExpression": "@field.total_parent_point_praise_yourself", + "type": "field", + "fieldName": "total_parent_point_praise_yourself" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", + "matchedExpression": "@field.total_parent_point_praise_yourself", + "type": "field", + "fieldName": "total_parent_point_praise_yourself" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", + "matchedExpression": "@field.total_parent_point_praise_yourself", + "type": "field", + "fieldName": "total_parent_point_praise_yourself" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_praise_yourself+1", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"praise_yourself\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.praise_yourself.title", + "matchedExpression": "@data.habit.praise_yourself.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, - { - "fullExpression": "Hi @field.user_name! Today we are celebrating two months of using @global.parent_app! You are doing great! \n\nThis week’s workshop will teach you how to react when your teen is not following the household rules. ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "_dynamicDependencies": { + "@field.total_parent_point_praise_yourself": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_praise_yourself": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.praise_yourself.title": [ + "parameter_list.text" + ] } - ] - }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "Hi @field.group_name! Today we are celebrating two months of using @global.parent_app! You are all doing great! \n\nThis week’s workshop will teach you how to react when your teen is not following the household rules. ", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! Today we are celebrating two months of using @global.parent_app! You are all doing great! \n\nThis week’s workshop will teach you how to react when your teen is not following the household rules. ", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" + }, + { + "type": "parent_point_box", + "name": "parent_point_spend_time", + "value": "@field.total_parent_point_spend_time", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_spend_time", + "@field.total_parent_point_spend_time+1" + ], + "_raw": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", + "_cleaned": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_spend_time", + "@field.weekly_parent_point_spend_time+1" + ], + "_raw": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", + "_cleaned": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1" + } + ], + "hidden": "\"@local.outro_habit\" != \"spend_time\"", + "parameter_list": { + "text": "@data.habit.spend_time.title", + "icon_src": "plh_images/habits/habit_spend_time.svg" }, - { - "fullExpression": "Hi @field.group_name! Today we are celebrating two months of using @global.parent_app! You are all doing great! \n\nThis week’s workshop will teach you how to react when your teen is not following the household rules. ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - } - ], - "_nested_name": "m_workshop_released.in_week_message" - } - ], - "_nested_name": "m_workshop_released" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" - }, - { - "flow_type": "template", - "module": "consequence", - "flow_name": "w_consequence_m_something_fun", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", - "rows": [ - { - "name": "activity", - "value": "two_truths", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" - } - ], - "_nested_name": "m_something_fun" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" - }, - { - "flow_type": "template", - "module": "consequence", - "flow_name": "w_consequence_m_praise", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_praise", - "value": "m_praise", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "This has been the hardest of times to be a parent. You should be so proud of yourself for everything you have done. \n\nThink about every time you have made your teen smile and all the care you have given them. Parents are incredible, and you are incredible!", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text" - } - ], - "_nested_name": "m_praise.in_week_message" - } - ], - "_nested_name": "m_praise" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" - }, - { - "flow_type": "template", - "module": "consequence", - "flow_name": "w_consequence_m_workshop_rem", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_reminder", - "value": "m_workshop_reminder", - "rows": [ - { - "name": "workshop", - "value": "w_consequence", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "It’s great that you’ve been using @global.parent_app . You’ve gained 6 parenting tools already! \n\nTake the next workshop to get another parenting tool! ", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "It’s great that you’ve been using @global.parent_app . You’ve gained 6 parenting tools already! \n\nTake the next workshop to get another parenting tool! ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_spend_time", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_spend_time", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_spend_time+1", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_spend_time+1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"spend_time\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.spend_time.title", + "matchedExpression": "@data.habit.spend_time.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_spend_time": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_spend_time": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.spend_time.title": [ + "parameter_list.text" + ] } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ] - } - } - ], - "_nested_name": "m_workshop_reminder.in_week_message" - } - ], - "_nested_name": "m_workshop_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" - }, - { - "flow_type": "template", - "module": "consequence", - "flow_name": "w_consequence_m_workshop_in_pro", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_in_progress", - "value": "m_workshop_in_progress", - "rows": [ - { - "name": "workshop", - "value": "w_consequence", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Complete the workshop and try to discuss with your teen and come up with one positive and one negative consequence of a behaviour together. ", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.in_week_message.text" - } - ], - "_nested_name": "m_workshop_in_progress.in_week_message" - } - ], - "_nested_name": "m_workshop_in_progress" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" - }, - { - "flow_type": "template", - "module": "consequence", - "flow_name": "w_consequence_m_hp_reminder", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Have you managed to come up with one positive and one negative consequence of a behaviour with your teen yet? ", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text" - }, - { - "name": "button_1", - "value": "@global.ideas_button", - "action_list": [ + }, { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_consequence_home_practice_pop" + "type": "parent_point_box", + "name": "parent_point_praise_teen", + "value": "@field.total_parent_point_praise_teen", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_praise_teen", + "@field.total_parent_point_praise_teen+1" + ], + "_raw": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", + "_cleaned": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_praise_teen", + "@field.weekly_parent_point_praise_teen+1" + ], + "_raw": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", + "_cleaned": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1" + } ], - "_raw": "click | go_to:w_consequence_home_practice_pop", - "_cleaned": "click | go_to:w_consequence_home_practice_pop" - } - ], - "hidden": false, - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.ideas_button", - "matchedExpression": "@global.ideas_button", - "type": "global", - "fieldName": "ideas_button" - } - ] - }, - "_dynamicDependencies": { - "@global.ideas_button": [ - "value" - ] - } - } - ], - "_nested_name": "m_hp_reminder.in_week_message" - } - ], - "_nested_name": "m_hp_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" - }, - { - "flow_type": "template", - "module": "crisis", - "flow_name": "w_crisis_m_workshop_released", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", - "rows": [ - { - "name": "workshop", - "value": "w_crisis", - "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Hi @field.user_name! We can’t foresee when a crisis will happen, but we definitely can make a plan on how to cope when it does happen. \n\nYour tenth parenting workshop will show you how.", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! We can’t foresee when a crisis will happen, but we definitely can make a plan on how to cope when it does happen. \n\nYour tenth parenting workshop will show you how.", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "Hi @field.group_name! We can’t foresee when a crisis will happen, but we definitely can make a plan on how to cope when it does happen. \n\nYour tenth parenting workshop will show you how.", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! We can’t foresee when a crisis will happen, but we definitely can make a plan on how to cope when it does happen. \n\nYour tenth parenting workshop will show you how.", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - } - ], - "_nested_name": "m_workshop_released.in_week_message" - } - ], - "_nested_name": "m_workshop_released" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" - }, - { - "flow_type": "template", - "module": "crisis", - "flow_name": "w_crisis_m_something_fun", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", - "rows": [ - { - "name": "activity", - "value": "superpowers", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" - } - ], - "_nested_name": "m_something_fun" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" - }, - { - "flow_type": "template", - "module": "crisis", - "flow_name": "w_crisis_m_praise", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_praise", - "value": "m_praise", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "You are a committed parent. Be proud of yourself and don’t take this for granted!", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text" - } - ], - "_nested_name": "m_praise.in_week_message" - } - ], - "_nested_name": "m_praise" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" - }, - { - "flow_type": "template", - "module": "crisis", - "flow_name": "w_crisis_m_workshop_in_progress", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_in_progress", - "value": "m_workshop_in_progress", - "rows": [ - { - "name": "workshop", - "value": "w_crisis", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "We are happy you find @global.parent_app useful. \n\nWe encourage you to complete the workshop @global.w_crisis and learn the best way to react when your teen needs you the most. ", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "We are happy you find @global.parent_app useful. \n\nWe encourage you to complete the workshop @global.w_crisis and learn the best way to react when your teen needs you the most. ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" + "hidden": "\"@local.outro_habit\" != \"praise_teen\"", + "parameter_list": { + "text": "@data.habit.praise_teen.title", + "icon_src": "plh_images/habits/habit_praise_teen.svg" }, - { - "fullExpression": "We are happy you find @global.parent_app useful. \n\nWe encourage you to complete the workshop @global.w_crisis and learn the best way to react when your teen needs you the most. ", - "matchedExpression": "@global.w_crisis", - "type": "global", - "fieldName": "w_crisis" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ], - "@global.w_crisis": [ - "value" - ] - } - } - ], - "_nested_name": "m_workshop_in_progress.in_week_message" - } - ], - "_nested_name": "m_workshop_in_progress" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" - }, - { - "flow_type": "template", - "module": "instruct", - "flow_name": "w_instruct_m_workshop_released", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", - "rows": [ - { - "name": "workshop", - "value": "w_instruct", - "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "image", - "value": "@data.habit.instruct_positively.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.instruct_positively.image_asset", - "matchedExpression": "@data.habit.instruct_positively.image_asset", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.instruct_positively.image_asset": [ - "value" - ] - } - }, - { - "name": "text", - "value": "Hi @field.user_name! Congrats for starting your fourth week using @global.parent_app . \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! Congrats for starting your fourth week using @global.parent_app . \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_praise_teen", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_praise_teen", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_praise_teen+1", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_praise_teen+1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"praise_teen\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.praise_teen.title", + "matchedExpression": "@data.habit.praise_teen.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, - { - "fullExpression": "Hi @field.user_name! Congrats for starting your fourth week using @global.parent_app . \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "_dynamicDependencies": { + "@field.total_parent_point_praise_teen": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_praise_teen": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.praise_teen.title": [ + "parameter_list.text" + ] } - ] - }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "Hi @field.group_name! Congrats for starting your fourth week using @global.parent_app . \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! Congrats for starting your fourth week using @global.parent_app . \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" + }, + { + "type": "parent_point_box", + "name": "parent_point_instruct_positively", + "value": "@field.total_parent_point_instruct_positively", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_instruct_positively", + "@field.total_parent_point_instruct_positively+1" + ], + "_raw": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", + "_cleaned": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_instruct_positively", + "@field.weekly_parent_point_instruct_positively+1" + ], + "_raw": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", + "_cleaned": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1" + } + ], + "hidden": "\"@local.outro_habit\" != \"instruct_positively\"", + "parameter_list": { + "text": "@data.habit.instruct_positively.title", + "icon_src": "plh_images/habits/habit_instruct_positively.svg" }, - { - "fullExpression": "Hi @field.group_name! Congrats for starting your fourth week using @global.parent_app . \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - } - ], - "_nested_name": "m_workshop_released.in_week_message" - } - ], - "_nested_name": "m_workshop_released" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" - }, - { - "flow_type": "template", - "module": "instruct", - "flow_name": "w_instruct_m_something_fun", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", - "rows": [ - { - "name": "activity", - "value": "dance_moves", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" - } - ], - "_nested_name": "m_something_fun" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" - }, - { - "flow_type": "template", - "module": "instruct", - "flow_name": "w_instruct_m_praise", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_praise", - "value": "m_praise", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Speak kindly to yourself about what a great job you are doing. There is no such thing as a perfect parent, and we think you’re doing great!", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text" - } - ], - "_nested_name": "m_praise.in_week_message" - } - ], - "_nested_name": "m_praise" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" - }, - { - "flow_type": "template", - "module": "instruct", - "flow_name": "w_instruct_m_hp_reminder", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "You’ve not marked any @data.habit.instruct_positively.title @global.parent_points this week yet. \n\nGive it a try today!", - "condition": "@field.total_parent_point_instruct_positively == 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "You’ve not marked any @data.habit.instruct_positively.title @global.parent_points this week yet. \n\nGive it a try today!", - "matchedExpression": "@data.habit.instruct_positively.title", - "type": "data", - "fieldName": "habit" + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_instruct_positively", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively+1", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_instruct_positively+1", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"instruct_positively\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.instruct_positively.title", + "matchedExpression": "@data.habit.instruct_positively.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, - { - "fullExpression": "You’ve not marked any @data.habit.instruct_positively.title @global.parent_points this week yet. \n\nGive it a try today!", - "matchedExpression": "@global.parent_points", - "type": "global", - "fieldName": "parent_points" - } - ], - "condition": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively == 0", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" + "_dynamicDependencies": { + "@field.total_parent_point_instruct_positively": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_instruct_positively": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.instruct_positively.title": [ + "parameter_list.text" + ] } - ] - }, - "_dynamicDependencies": { - "@data.habit.instruct_positively.title": [ - "value" - ], - "@global.parent_points": [ - "value" - ], - "@field.total_parent_point_instruct_positively": [ - "condition" - ] - } - }, - { - "name": "button_1", - "value": "@global.w_instruct_tools", - "action_list": [ + }, { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_instruct_tools" + "type": "parent_point_box", + "name": "parent_point_breathe", + "value": "@field.total_parent_point_breathe", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_breathe", + "@field.total_parent_point_breathe+1" + ], + "_raw": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", + "_cleaned": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_breathe", + "@field.weekly_parent_point_breathe+1" + ], + "_raw": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", + "_cleaned": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1" + } ], - "_raw": "click | go_to:w_instruct_tools", - "_cleaned": "click | go_to:w_instruct_tools" - } - ], - "condition": "@field.total_parent_point_instruct_positively == 0", - "hidden": "FALSE ", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_instruct_tools", - "matchedExpression": "@global.w_instruct_tools", - "type": "global", - "fieldName": "w_instruct_tools" - } - ], - "condition": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively == 0", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "_dynamicDependencies": { - "@global.w_instruct_tools": [ - "value" - ], - "@field.total_parent_point_instruct_positively": [ - "condition" - ] - } - }, - { - "name": "habit_text", - "value": "@data.habit.instruct_positively.short_mark_text", - "condition": "@field.total_parent_point_instruct_positively == 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.instruct_positively.short_mark_text", - "matchedExpression": "@data.habit.instruct_positively.short_mark_text", - "type": "data", - "fieldName": "habit" - } - ], - "condition": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively == 0", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.instruct_positively.short_mark_text": [ - "value" - ], - "@field.total_parent_point_instruct_positively": [ - "condition" - ] - } - }, - { - "name": "habit", - "value": "instruct_positively", - "condition": "@field.total_parent_point_instruct_positively == 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively == 0", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "_dynamicDependencies": { - "@field.total_parent_point_instruct_positively": [ - "condition" - ] - } - }, - { - "name": "title", - "value": "Well done!", - "condition": "@field.total_parent_point_instruct_positively > 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively > 0", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "_dynamicDependencies": { - "@field.total_parent_point_instruct_positively": [ - "condition" - ] - } - }, - { - "name": "image", - "value": "@data.habit.instruct_positively.image_asset", - "condition": "@field.total_parent_point_instruct_positively > 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.instruct_positively.image_asset", - "matchedExpression": "@data.habit.instruct_positively.image_asset", - "type": "data", - "fieldName": "habit" - } - ], - "condition": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively > 0", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.instruct_positively.image_asset": [ - "value" - ], - "@field.total_parent_point_instruct_positively": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title once already – so you’ve been doing some great learning.", - "condition": "@field.total_parent_point_instruct_positively == 1", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title once already – so you’ve been doing some great learning.", - "matchedExpression": "@global.parent_point", - "type": "global", - "fieldName": "parent_point" + "hidden": "\"@local.outro_habit\" != \"breathe\"", + "parameter_list": { + "text": "@data.habit.breathe.title", + "icon_src": "plh_images/habits/habit_breathe.svg" }, - { - "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title once already – so you’ve been doing some great learning.", - "matchedExpression": "@data.habit.instruct_positively.title", - "type": "data", - "fieldName": "habit" - } - ], - "condition": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively == 1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_breathe", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_breathe", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_breathe+1", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_breathe+1", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"breathe\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.breathe.title", + "matchedExpression": "@data.habit.breathe.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_breathe": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_breathe": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.breathe.title": [ + "parameter_list.text" + ] } - ] - }, - "_dynamicDependencies": { - "@global.parent_point": [ - "value" - ], - "@data.habit.instruct_positively.title": [ - "value" - ], - "@field.total_parent_point_instruct_positively": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title @field.total_parent_point_instruct_positively times already – so you’ve been doing some great learning.", - "condition": "@field.total_parent_point_instruct_positively > 1", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title @field.total_parent_point_instruct_positively times already – so you’ve been doing some great learning.", - "matchedExpression": "@global.parent_point", - "type": "global", - "fieldName": "parent_point" + }, + { + "type": "parent_point_box", + "name": "parent_point_money", + "value": "@field.total_parent_point_money", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_money", + "@field.total_parent_point_money+1" + ], + "_raw": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", + "_cleaned": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_money", + "@field.weekly_parent_point_money+1" + ], + "_raw": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", + "_cleaned": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1" + } + ], + "hidden": "\"@local.outro_habit\" != \"money\"", + "parameter_list": { + "text": "@data.habit.money.title", + "icon_src": "plh_images/habits/habit_money.svg" }, - { - "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title @field.total_parent_point_instruct_positively times already – so you’ve been doing some great learning.", - "matchedExpression": "@data.habit.instruct_positively.title", - "type": "data", - "fieldName": "habit" + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_money", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_money", + "matchedExpression": "@field.total_parent_point_money", + "type": "field", + "fieldName": "total_parent_point_money" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_money+1", + "matchedExpression": "@field.total_parent_point_money", + "type": "field", + "fieldName": "total_parent_point_money" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", + "matchedExpression": "@field.total_parent_point_money", + "type": "field", + "fieldName": "total_parent_point_money" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", + "matchedExpression": "@field.total_parent_point_money", + "type": "field", + "fieldName": "total_parent_point_money" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_money+1", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"money\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.money.title", + "matchedExpression": "@data.habit.money.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, - { - "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title @field.total_parent_point_instruct_positively times already – so you’ve been doing some great learning.", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ], - "condition": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively > 1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_point": [ - "value" - ], - "@data.habit.instruct_positively.title": [ - "value" - ], - "@field.total_parent_point_instruct_positively": [ - "value", - "condition" - ] - } - } - ], - "_nested_name": "m_hp_reminder.in_week_message" - } - ], - "_nested_name": "m_hp_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" - }, - { - "flow_type": "template", - "module": "money", - "flow_name": "w_money_m_workshop_released", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", - "rows": [ - { - "name": "workshop", - "value": "w_money", - "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "image", - "value": "@data.habit.money.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.money.image_asset", - "matchedExpression": "@data.habit.money.image_asset", - "type": "data", - "fieldName": "habit" + "_dynamicDependencies": { + "@field.total_parent_point_money": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_money": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.money.title": [ + "parameter_list.text" + ] } - ] - }, - "_dynamicDependencies": { - "@data.habit.money.image_asset": [ - "value" - ] - } - }, - { - "name": "text", - "value": "Hi @field.user_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" - }, - { - "fullExpression": "Hi @field.user_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" + }, + { + "type": "parent_point_box", + "name": "parent_point_consequence", + "value": "@field.total_parent_point_consequence", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_consequence", + "@field.total_parent_point_consequence+1" + ], + "_raw": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", + "_cleaned": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_consequence", + "@field.weekly_parent_point_consequence+1" + ], + "_raw": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", + "_cleaned": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1" + } + ], + "hidden": "\"@local.outro_habit\" != \"consequence\"", + "parameter_list": { + "text": "@data.habit.consequence.title", + "icon_src": "plh_images/habits/habit_consequence.svg" + }, + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_consequence", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_consequence", + "matchedExpression": "@field.total_parent_point_consequence", + "type": "field", + "fieldName": "total_parent_point_consequence" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_consequence+1", + "matchedExpression": "@field.total_parent_point_consequence", + "type": "field", + "fieldName": "total_parent_point_consequence" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", + "matchedExpression": "@field.total_parent_point_consequence", + "type": "field", + "fieldName": "total_parent_point_consequence" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", + "matchedExpression": "@field.total_parent_point_consequence", + "type": "field", + "fieldName": "total_parent_point_consequence" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_consequence+1", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"consequence\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.consequence.title", + "matchedExpression": "@data.habit.consequence.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_consequence": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_consequence": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.consequence.title": [ + "parameter_list.text" + ] } - ], - "condition": [ + }, + { + "type": "parent_point_box", + "name": "parent_point_safe", + "value": "@field.total_parent_point_safe", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_safe", + "@field.total_parent_point_safe+1" + ], + "_raw": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", + "_cleaned": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_safe", + "@field.weekly_parent_point_safe+1" + ], + "_raw": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", + "_cleaned": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1" + } + ], + "hidden": "\"@local.outro_habit\" != \"safe\"", + "parameter_list": { + "text": "@data.habit.safe.title", + "icon_src": "plh_images/habits/habit_safe.svg" + }, + "_nested_name": "outro.outro_habit_box.outro_habit_tracker.parent_point_safe", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_safe", + "matchedExpression": "@field.total_parent_point_safe", + "type": "field", + "fieldName": "total_parent_point_safe" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_safe+1", + "matchedExpression": "@field.total_parent_point_safe", + "type": "field", + "fieldName": "total_parent_point_safe" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", + "matchedExpression": "@field.total_parent_point_safe", + "type": "field", + "fieldName": "total_parent_point_safe" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", + "matchedExpression": "@field.total_parent_point_safe", + "type": "field", + "fieldName": "total_parent_point_safe" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_safe+1", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.outro_habit\" != \"safe\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.safe.title", + "matchedExpression": "@data.habit.safe.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_safe": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_safe": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.outro_habit": [ + "hidden" + ], + "@data.habit.safe.title": [ + "parameter_list.text" + ] + } + } + ], + "_nested_name": "outro.outro_habit_box.outro_habit_tracker", + "_dynamicFields": { + "hidden": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "\"@local.outro_habit\" == \"undefined\"", + "matchedExpression": "@local.outro_habit", + "type": "local", + "fieldName": "outro_habit" } ] }, "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" + "@local.outro_habit": [ + "hidden" ] } - }, + } + ], + "_nested_name": "outro.outro_habit_box", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.outro_habit_text\" == \"undefined\"", + "matchedExpression": "@local.outro_habit_text", + "type": "local", + "fieldName": "outro_habit_text" + } + ] + }, + "_dynamicDependencies": { + "@local.outro_habit_text": [ + "hidden" + ] + } + }, + { + "name": "checkbox_text", + "type": "set_variable", + "_nested_name": "outro.checkbox_text" + }, + { + "type": "simple_checkbox", + "name": "checkbox", + "action_list": [ { - "name": "text", - "value": "Hi @field.group_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.checkbox_field", + "@local.checkbox" + ], + "_raw": "changed | set_field : @local.checkbox_field : @local.checkbox", + "_cleaned": "changed | set_field : @local.checkbox_field : @local.checkbox" + } + ], + "hidden": true, + "parameter_list": { + "label_text": "@local.checkbox_text" + }, + "_nested_name": "outro.checkbox", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.checkbox_field", + "matchedExpression": "@local.checkbox_field", + "type": "local", + "fieldName": "checkbox_field" + } + ], + "1": [ + { + "fullExpression": "@local.checkbox", + "matchedExpression": "@local.checkbox", + "type": "local", + "fieldName": "checkbox" + } + ] + }, + "_raw": [ { - "fullExpression": "Hi @field.group_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" + "fullExpression": "changed | set_field : @local.checkbox_field : @local.checkbox", + "matchedExpression": "@local.checkbox_field", + "type": "local", + "fieldName": "checkbox_field" }, { - "fullExpression": "Hi @field.group_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" + "fullExpression": "changed | set_field : @local.checkbox_field : @local.checkbox", + "matchedExpression": "@local.checkbox", + "type": "local", + "fieldName": "checkbox" } ], - "condition": [ + "_cleaned": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "changed | set_field : @local.checkbox_field : @local.checkbox", + "matchedExpression": "@local.checkbox_field", + "type": "local", + "fieldName": "checkbox_field" + }, + { + "fullExpression": "changed | set_field : @local.checkbox_field : @local.checkbox", + "matchedExpression": "@local.checkbox", + "type": "local", + "fieldName": "checkbox" } ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] } + }, + "parameter_list": { + "label_text": [ + { + "fullExpression": "@local.checkbox_text", + "matchedExpression": "@local.checkbox_text", + "type": "local", + "fieldName": "checkbox_text" + } + ] + } + }, + "_dynamicDependencies": { + "@local.checkbox_field": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.checkbox": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.checkbox_text": [ + "parameter_list.label_text" + ] + } + }, + { + "type": "template", + "name": "outro_nav_buttons", + "value": "nav_buttons", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "set_local", + "args": [ + "hide_content", + false + ], + "_raw": "uncompleted | set_local:hide_content:false", + "_cleaned": "uncompleted | set_local:hide_content:false" + }, + { + "trigger": "uncompleted", + "action_id": "set_local", + "args": [ + "hide_outro", + true + ], + "_raw": "uncompleted | set_local:hide_outro:true", + "_cleaned": "uncompleted | set_local:hide_outro:true" } ], - "_nested_name": "m_workshop_released.in_week_message" + "rows": [], + "_nested_name": "outro.outro_nav_buttons" } ], - "_nested_name": "m_workshop_released" + "_nested_name": "outro", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@local.hide_outro", + "matchedExpression": "@local.hide_outro", + "type": "local", + "fieldName": "hide_outro" + } + ] + }, + "_dynamicDependencies": { + "@local.hide_outro": [ + "hidden" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshops.xlsx" }, { "flow_type": "template", - "module": "money", - "flow_name": "w_money_m_something_fun", + "flow_name": "nav_buttons", "status": "released", "rows": [ { - "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", - "rows": [ - { - "name": "activity", - "value": "dream_travel", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" - } - ], - "_nested_name": "m_something_fun" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" - }, - { - "flow_type": "template", - "module": "money", - "flow_name": "w_money_m_workshop_reminder", - "status": "released", - "rows": [ + "name": "use_completed_chevron", + "value": false, + "type": "set_variable", + "_nested_name": "use_completed_chevron" + }, { - "type": "template", - "name": "m_workshop_reminder", - "value": "m_workshop_reminder", + "name": "use_uncompleted_chevron", + "value": true, + "type": "set_variable", + "_nested_name": "use_uncompleted_chevron" + }, + { + "name": "display_back", + "value": true, + "type": "set_variable", + "_nested_name": "display_back" + }, + { + "type": "display_group", + "parameter_list": { + "style": "navigation" + }, "rows": [ { - "name": "workshop", - "value": "w_money", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.workshop" + "type": "round_button", + "name": "button_uncompleted_chevron", + "action_list": [ + { + "trigger": "click", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "click | emit:uncompleted", + "_cleaned": "click | emit:uncompleted" + } + ], + "hidden": "(!@local.use_uncompleted_chevron) || (!@local.display_back)", + "parameter_list": { + "icon_src": "chevron-back", + "style": "navigation" + }, + "style_list": [ + "flex:1" + ], + "_nested_name": "display_group.button_uncompleted_chevron", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "(!@local.use_uncompleted_chevron) || (!@local.display_back)", + "matchedExpression": "@local.use_uncompleted_chevron", + "type": "local", + "fieldName": "use_uncompleted_chevron" + }, + { + "fullExpression": "(!@local.use_uncompleted_chevron) || (!@local.display_back)", + "matchedExpression": "@local.display_back", + "type": "local", + "fieldName": "display_back" + } + ] + }, + "_dynamicDependencies": { + "@local.use_uncompleted_chevron": [ + "hidden" + ], + "@local.display_back": [ + "hidden" + ] + } }, { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ + "type": "round_button", + "name": "button_uncompleted", + "action_list": [ { - "name": "image", - "value": "@data.habit.money.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.money.image_asset", - "matchedExpression": "@data.habit.money.image_asset", - "type": "data", - "fieldName": "habit" - } - ] + "trigger": "click", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "click | emit:uncompleted", + "_cleaned": "click | emit:uncompleted" + } + ], + "hidden": "@local.use_uncompleted_chevron || (!@local.display_back)", + "parameter_list": { + "icon_src": "caret-back", + "style": "navigation" + }, + "style_list": [ + "flex:1" + ], + "_nested_name": "display_group.button_uncompleted", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@local.use_uncompleted_chevron || (!@local.display_back)", + "matchedExpression": "@local.use_uncompleted_chevron", + "type": "local", + "fieldName": "use_uncompleted_chevron" }, - "_dynamicDependencies": { - "@data.habit.money.image_asset": [ - "value" - ] + { + "fullExpression": "@local.use_uncompleted_chevron || (!@local.display_back)", + "matchedExpression": "@local.display_back", + "type": "local", + "fieldName": "display_back" } - }, + ] + }, + "_dynamicDependencies": { + "@local.use_uncompleted_chevron": [ + "hidden" + ], + "@local.display_back": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_completed", + "value": "@global.done_button", + "action_list": [ { - "name": "text", - "value": "Do you feel stressed about money? Does your teen keep asking for things you can’t afford? \n\nThis week’s workshop deals with money and budgeting. ", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.text" + "trigger": "click", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" } ], - "_nested_name": "m_workshop_reminder.in_week_message" + "hidden": "@local.use_completed_chevron", + "parameter_list": { + "style": "navigation" + }, + "style_list": [ + "flex:1" + ], + "_nested_name": "display_group.button_completed", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.done_button", + "matchedExpression": "@global.done_button", + "type": "global", + "fieldName": "done_button" + } + ], + "hidden": [ + { + "fullExpression": "@local.use_completed_chevron", + "matchedExpression": "@local.use_completed_chevron", + "type": "local", + "fieldName": "use_completed_chevron" + } + ] + }, + "_dynamicDependencies": { + "@global.done_button": [ + "value" + ], + "@local.use_completed_chevron": [ + "hidden" + ] + } + }, + { + "type": "round_button", + "name": "button_completed_chevron", + "action_list": [ + { + "trigger": "click", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" + } + ], + "hidden": "!@local.use_completed_chevron", + "parameter_list": { + "icon_src": "chevron-forward", + "style": "navigation" + }, + "style_list": [ + "flex:1" + ], + "_nested_name": "display_group.button_completed_chevron", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "!@local.use_completed_chevron", + "matchedExpression": "@local.use_completed_chevron", + "type": "local", + "fieldName": "use_completed_chevron" + } + ] + }, + "_dynamicDependencies": { + "@local.use_completed_chevron": [ + "hidden" + ] + } } ], - "_nested_name": "m_workshop_reminder" + "name": "display_group", + "_nested_name": "display_group" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshops.xlsx" }, { "flow_type": "template", - "module": "money", - "flow_name": "w_money_m_praise", + "flow_name": "pair", "status": "released", "rows": [ { - "type": "template", - "name": "m_praise", - "value": "m_praise", + "name": "hide_animated_section_1", + "value": false, + "type": "set_variable", + "_nested_name": "hide_animated_section_1" + }, + { + "name": "hide_animated_section_2", + "value": true, + "type": "set_variable", + "_nested_name": "hide_animated_section_2" + }, + { + "type": "animated_section", + "name": "animated_section_1", + "hidden": "@local.hide_animated_section_1", "rows": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ + "type": "template", + "name": "box_1", + "action_list": [ { - "name": "text", - "value": "Whenever you feel alone or overwhelmed, know that you are not alone. There are parents all over the world who are going through the same struggles as you. \n\nYou are doing your best every day and we’re all proud of you!", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text" + "trigger": "completed", + "action_id": "set_local", + "args": [ + "hide_animated_section_1", + true + ], + "_raw": "completed | set_local:hide_animated_section_1:true", + "_cleaned": "completed | set_local:hide_animated_section_1:true" + }, + { + "trigger": "completed", + "action_id": "set_local", + "args": [ + "hide_animated_section_2", + false + ], + "_raw": "completed | set_local:hide_animated_section_2:false", + "_cleaned": "completed | set_local:hide_animated_section_2:false" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "m_praise.in_week_message" + "rows": [], + "_nested_name": "animated_section_1.box_1" } ], - "_nested_name": "m_praise" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" - }, - { - "flow_type": "template", - "module": "money", - "flow_name": "w_money_m_hp_reminder", - "status": "released", - "rows": [ + "_nested_name": "animated_section_1", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@local.hide_animated_section_1", + "matchedExpression": "@local.hide_animated_section_1", + "type": "local", + "fieldName": "hide_animated_section_1" + } + ] + }, + "_dynamicDependencies": { + "@local.hide_animated_section_1": [ + "hidden" + ] + } + }, { - "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", + "type": "animated_section", + "name": "animated_section_2", + "hidden": "@local.hide_animated_section_2", "rows": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Have you talked with your teen about your family budget yet?", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text" - }, + "type": "template", + "name": "box_2", + "action_list": [ { - "name": "button_1", - "value": "@global.w_money_tools", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_money_tools" - ], - "_raw": "click | go_to:w_money_tools", - "_cleaned": "click | go_to:w_money_tools" - } + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "hidden": "FALSE ", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_money_tools", - "matchedExpression": "@global.w_money_tools", - "type": "global", - "fieldName": "w_money_tools" - } - ] - }, - "_dynamicDependencies": { - "@global.w_money_tools": [ - "value" - ] - } + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "habit_text", - "value": "@data.habit.money.short_mark_text", - "hidden": "FALSE ", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.money.short_mark_text", - "matchedExpression": "@data.habit.money.short_mark_text", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.money.short_mark_text": [ - "value" - ] - } + "trigger": "uncompleted", + "action_id": "set_local", + "args": [ + "hide_animated_section_1", + false + ], + "_raw": "uncompleted | set_local:hide_animated_section_1:false", + "_cleaned": "uncompleted | set_local:hide_animated_section_1:false" }, { - "name": "habit", - "value": "money", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit" + "trigger": "uncompleted", + "action_id": "set_local", + "args": [ + "hide_animated_section_2", + true + ], + "_raw": "uncompleted | set_local:hide_animated_section_2:true", + "_cleaned": "uncompleted | set_local:hide_animated_section_2:true" } ], - "_nested_name": "m_hp_reminder.in_week_message" + "rows": [], + "_nested_name": "animated_section_2.box_2" } ], - "_nested_name": "m_hp_reminder" + "_nested_name": "animated_section_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@local.hide_animated_section_2", + "matchedExpression": "@local.hide_animated_section_2", + "type": "local", + "fieldName": "hide_animated_section_2" + } + ] + }, + "_dynamicDependencies": { + "@local.hide_animated_section_2": [ + "hidden" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshops.xlsx" }, { "flow_type": "template", - "module": "praise", - "flow_name": "w_praise_m_workshop_released", + "flow_name": "box_duo", "status": "released", "rows": [ { "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", + "name": "box_1", + "rows": [], + "_nested_name": "box_1" + }, + { + "type": "template", + "name": "box_2", + "rows": [], + "_nested_name": "box_2" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshops.xlsx" + }, + { + "flow_type": "template", + "flow_name": "box_video", + "status": "released", + "rows": [ + { + "type": "display_group", "rows": [ { - "name": "workshop", - "value": "w_praise", + "type": "title", + "name": "video_title", + "value": "Video", + "_nested_name": "display_group.video_title" + }, + { + "name": "video_help", "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" + "_nested_name": "display_group.video_help" + } + ], + "name": "display_group", + "_nested_name": "display_group" + }, + { + "type": "video", + "name": "video_src", + "_nested_name": "video_src" + }, + { + "type": "text", + "name": "bottom_text", + "hidden": true, + "_nested_name": "bottom_text" + }, + { + "type": "template", + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "image", - "value": "@data.habit.praise_teen.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.praise_teen.image_asset", - "matchedExpression": "@data.habit.praise_teen.image_asset", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.praise_teen.image_asset": [ - "value" - ] - } - }, - { - "name": "text", - "value": "Hi @field.user_name! Congrats for starting your third week on @global.parent_app . \n\nA new parenting workshop awaits you! Can you guess the topic of the workshop from this picture? ", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! Congrats for starting your third week on @global.parent_app . \n\nA new parenting workshop awaits you! Can you guess the topic of the workshop from this picture? ", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" - }, - { - "fullExpression": "Hi @field.user_name! Congrats for starting your third week on @global.parent_app . \n\nA new parenting workshop awaits you! Can you guess the topic of the workshop from this picture? ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "Hi @field.group_name! Congrats for starting your third week on @global.parent_app . \n\nA new parenting workshop awaits you! Can you guess the topic of the workshop from this picture?", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! Congrats for starting your third week on @global.parent_app . \n\nA new parenting workshop awaits you! Can you guess the topic of the workshop from this picture?", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" - }, - { - "fullExpression": "Hi @field.group_name! Congrats for starting your third week on @global.parent_app . \n\nA new parenting workshop awaits you! Can you guess the topic of the workshop from this picture?", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - } + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" ], - "_nested_name": "m_workshop_released.in_week_message" + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "m_workshop_released" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "praise", - "flow_name": "w_praise_m_something_fun", + "flow_name": "box_audio", "status": "released", "rows": [ + { + "name": "audio_src", + "value": "plh_audio/sample.mp3", + "type": "set_variable", + "_nested_name": "audio_src" + }, + { + "name": "audio_title", + "type": "set_variable", + "_nested_name": "audio_title" + }, + { + "type": "text", + "name": "text", + "_nested_name": "text" + }, + { + "type": "lottie_animation", + "name": "lottie_src", + "hidden": true, + "_nested_name": "lottie_src" + }, + { + "type": "audio", + "name": "audio_player", + "value": "@local.audio_src", + "parameter_list": { + "title": "@local.audio_title" + }, + "_nested_name": "audio_player", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.audio_src", + "matchedExpression": "@local.audio_src", + "type": "local", + "fieldName": "audio_src" + } + ], + "parameter_list": { + "title": [ + { + "fullExpression": "@local.audio_title", + "matchedExpression": "@local.audio_title", + "type": "local", + "fieldName": "audio_title" + } + ] + } + }, + "_dynamicDependencies": { + "@local.audio_src": [ + "value" + ], + "@local.audio_title": [ + "parameter_list.title" + ] + } + }, + { + "type": "button", + "name": "button", + "hidden": true, + "_nested_name": "button" + }, { "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", - "rows": [ + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "name": "activity", - "value": "reflect_positive", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" + "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" } ], - "_nested_name": "m_something_fun" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "praise", - "flow_name": "w_praise_m_praise", + "flow_name": "box_image", "status": "released", "rows": [ + { + "type": "title", + "name": "title", + "hidden": true, + "_nested_name": "title" + }, + { + "type": "image", + "name": "image_src", + "parameter_list": { + "style": "rounded_corners" + }, + "_nested_name": "image_src" + }, + { + "type": "text", + "name": "text", + "_nested_name": "text" + }, + { + "type": "dashed_box", + "name": "dashed_box", + "hidden": true, + "_nested_name": "dashed_box" + }, { "type": "template", - "name": "m_praise", - "value": "m_praise", - "rows": [ + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Well done for using @global.parent_app! Remember that it’s the small things that make a big difference.", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Well done for using @global.parent_app! Remember that it’s the small things that make a big difference.", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ] - } - } + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "_nested_name": "m_praise.in_week_message" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "m_praise" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "praise", - "flow_name": "w_praise_m_hp_reminder", + "flow_name": "box_image_more", "status": "released", "rows": [ + { + "type": "title", + "name": "title", + "hidden": true, + "_nested_name": "title" + }, + { + "type": "image", + "name": "image_src", + "parameter_list": { + "style": "rounded_corners" + }, + "_nested_name": "image_src" + }, + { + "type": "text", + "name": "text", + "_nested_name": "text" + }, + { + "type": "dashed_box", + "name": "dashed_box", + "hidden": true, + "_nested_name": "dashed_box" + }, { "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", + "name": "nav_buttons", + "value": "nav_buttons", + "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": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "title", - "value": "Praise time!", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.title" - }, - { - "name": "text", - "value": "Look at your teen and praise them for one thing they are doing well! \n\nAnd when was the last time you praised yourself or another adult in your household? Try it!", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text" - }, - { - "name": "habit_text", - "value": "Every time you praise your teen or yourself, mark your @global.parent_points to track your success!", - "hidden": false, - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Every time you praise your teen or yourself, mark your @global.parent_points to track your success!", - "matchedExpression": "@global.parent_points", - "type": "global", - "fieldName": "parent_points" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_points": [ - "value" - ] + "name": "button_completed", + "value": "@global.more_button", + "type": "set_variable", + "_nested_name": "nav_buttons.button_completed", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.more_button", + "matchedExpression": "@global.more_button", + "type": "global", + "fieldName": "more_button" } - }, - { - "name": "habit", - "value": "praise_teen", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit" - }, - { - "name": "parent_point_praise_yourself", - "hidden": false, - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.parent_point_praise_yourself" - } - ], - "_nested_name": "m_hp_reminder.in_week_message" + ] + }, + "_dynamicDependencies": { + "@global.more_button": [ + "value" + ] + } } ], - "_nested_name": "m_hp_reminder" + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "praise", - "flow_name": "w_praise_m_workshop_reminder", + "flow_name": "box_story", "status": "released", "rows": [ + { + "type": "title", + "name": "title", + "hidden": true, + "_nested_name": "title" + }, + { + "type": "image", + "name": "image_src", + "parameter_list": { + "style": "rounded_corners" + }, + "_nested_name": "image_src" + }, + { + "type": "text", + "name": "text", + "_nested_name": "text" + }, + { + "type": "dashed_box", + "name": "dashed_box", + "hidden": true, + "_nested_name": "dashed_box" + }, { "type": "template", - "name": "m_workshop_reminder", - "value": "m_workshop_reminder", + "name": "nav_buttons", + "value": "nav_buttons", + "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": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "image", - "value": "@data.habit.praise_teen.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.praise_teen.image_asset", - "matchedExpression": "@data.habit.praise_teen.image_asset", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.praise_teen.image_asset": [ - "value" - ] - } - }, - { - "name": "text", - "value": "Thank you again for using @global.parent_app and committing to your parenting. \n\nWhy don’t you try our parenting workshops? They can add some valuable parenting tools to your toolbox! ", - "condition": "\"@field.w_1on1_completion_status\" == \"uncompleted\"", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Thank you again for using @global.parent_app and committing to your parenting. \n\nWhy don’t you try our parenting workshops? They can add some valuable parenting tools to your toolbox! ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "\"@field.w_1on1_completion_status\" == \"uncompleted\"", - "matchedExpression": "@field.w_1on1_completion_status", - "type": "field", - "fieldName": "w_1on1_completion_status" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ], - "@field.w_1on1_completion_status": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "Thank you again for using @global.parent_app and committing to your parenting. \n\nWhy don’t you try our parenting workshop on @global.w_praise? This can add some valuable parenting tools to your toolbox! ", - "condition": "\"@field.w_1on1_completion_status\" == \"completed\"", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Thank you again for using @global.parent_app and committing to your parenting. \n\nWhy don’t you try our parenting workshop on @global.w_praise? This can add some valuable parenting tools to your toolbox! ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - }, - { - "fullExpression": "Thank you again for using @global.parent_app and committing to your parenting. \n\nWhy don’t you try our parenting workshop on @global.w_praise? This can add some valuable parenting tools to your toolbox! ", - "matchedExpression": "@global.w_praise", - "type": "global", - "fieldName": "w_praise" - } - ], - "condition": [ - { - "fullExpression": "\"@field.w_1on1_completion_status\" == \"completed\"", - "matchedExpression": "@field.w_1on1_completion_status", - "type": "field", - "fieldName": "w_1on1_completion_status" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ], - "@global.w_praise": [ - "value" - ], - "@field.w_1on1_completion_status": [ - "condition" - ] - } - }, - { - "name": "button_1", - "value": "Start workshop @global.w_1on1", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_1on1_stepper" - ], - "_raw": "click | go_to : w_1on1_stepper", - "_cleaned": "click | go_to : w_1on1_stepper" - } - ], - "hidden": "@field.do_workshops_together || \"@field.w_1on1_completion_status\" == \"completed\"", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Start workshop @global.w_1on1", - "matchedExpression": "@global.w_1on1", - "type": "global", - "fieldName": "w_1on1" - } - ], - "hidden": [ - { - "fullExpression": "@field.do_workshops_together || \"@field.w_1on1_completion_status\" == \"completed\"", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - }, - { - "fullExpression": "@field.do_workshops_together || \"@field.w_1on1_completion_status\" == \"completed\"", - "matchedExpression": "@field.w_1on1_completion_status", - "type": "field", - "fieldName": "w_1on1_completion_status" - } - ] - }, - "_dynamicDependencies": { - "@global.w_1on1": [ - "value" - ], - "@field.do_workshops_together": [ - "hidden" - ], - "@field.w_1on1_completion_status": [ - "hidden" - ] - } - }, - { - "name": "button_2", - "value": "Start workshop @global.w_praise", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_praise_stepper" - ], - "_raw": "click | go_to : w_praise_stepper", - "_cleaned": "click | go_to : w_praise_stepper" - } - ], - "hidden": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.button_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Start workshop @global.w_praise", - "matchedExpression": "@global.w_praise", - "type": "global", - "fieldName": "w_praise" - } - ], - "hidden": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@global.w_praise": [ - "value" - ], - "@field.do_workshops_together": [ - "hidden" - ] - } - } - ], - "_nested_name": "m_workshop_reminder.in_week_message" + "name": "use_completed_chevron", + "value": true, + "type": "set_variable", + "_nested_name": "nav_buttons.use_completed_chevron" } ], - "_nested_name": "m_workshop_reminder" + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "rules", - "flow_name": "w_rules_m_workshop_released", + "flow_name": "box_buttons", "status": "released", "rows": [ + { + "type": "image", + "name": "image_src", + "hidden": true, + "parameter_list": { + "style": "rounded_corners" + }, + "_nested_name": "image_src" + }, + { + "type": "text", + "name": "text_1", + "_nested_name": "text_1" + }, + { + "type": "button", + "name": "button_1", + "_nested_name": "button_1" + }, + { + "type": "text", + "name": "text_2", + "hidden": true, + "_nested_name": "text_2" + }, + { + "type": "button", + "name": "button_2", + "hidden": true, + "_nested_name": "button_2" + }, + { + "type": "text", + "name": "text_3", + "hidden": true, + "_nested_name": "text_3" + }, + { + "type": "button", + "name": "button_3", + "hidden": true, + "_nested_name": "button_3" + }, + { + "type": "dashed_box", + "name": "habit_text", + "hidden": true, + "parameter_list": { + "icon_src": "plh_images/icons/star_circle.svg", + "icon_position": "top-left" + }, + "_nested_name": "habit_text" + }, + { + "type": "text", + "name": "bottom_text", + "hidden": true, + "_nested_name": "bottom_text" + }, { "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", - "rows": [ + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "name": "workshop", - "value": "w_rules", - "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Hi @field.user_name! New week, new workshop! Learn how to set household rules in a way that will increase the chances of your teen keeping them.", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! New week, new workshop! Learn how to set household rules in a way that will increase the chances of your teen keeping them.", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "Hi @field.group_name! New week, new workshop! Learn how to set household rules in a way that will increase the chances of your teen keeping them.", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! New week, new workshop! Learn how to set household rules in a way that will increase the chances of your teen keeping them.", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - } + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" ], - "_nested_name": "m_workshop_released.in_week_message" + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "m_workshop_released" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "rules", - "flow_name": "w_rules_m_something_fun", + "flow_name": "box_timer", "status": "released", "rows": [ + { + "name": "timer_duration", + "value": 10, + "type": "set_variable", + "_nested_name": "timer_duration" + }, + { + "name": "timer_duration_extension", + "value": 1, + "type": "set_variable", + "_nested_name": "timer_duration_extension" + }, + { + "name": "timer_title", + "value": "Timer", + "type": "set_variable", + "_nested_name": "timer_title" + }, + { + "name": "timer_help", + "value": "Press the triangle to help you keep this discussion to @local.timer_duration minutes.", + "type": "set_variable", + "_nested_name": "timer_help", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Press the triangle to help you keep this discussion to @local.timer_duration minutes.", + "matchedExpression": "@local.timer_duration", + "type": "local", + "fieldName": "timer_duration" + } + ] + }, + "_dynamicDependencies": { + "@local.timer_duration": [ + "value" + ] + } + }, + { + "type": "text", + "name": "text", + "_nested_name": "text" + }, + { + "type": "button", + "name": "button_1", + "hidden": true, + "_nested_name": "button_1" + }, + { + "type": "button", + "name": "button_2", + "hidden": true, + "_nested_name": "button_2" + }, + { + "type": "button", + "name": "button_3", + "hidden": true, + "_nested_name": "button_3" + }, + { + "type": "timer", + "name": "timer", + "parameter_list": { + "title": "@local.timer_title", + "starting_minutes": "@local.timer_duration", + "duration_extension": "@local.timer_duration_extension", + "help": "@local.timer_help" + }, + "_nested_name": "timer", + "_dynamicFields": { + "parameter_list": { + "title": [ + { + "fullExpression": "@local.timer_title", + "matchedExpression": "@local.timer_title", + "type": "local", + "fieldName": "timer_title" + } + ], + "starting_minutes": [ + { + "fullExpression": "@local.timer_duration", + "matchedExpression": "@local.timer_duration", + "type": "local", + "fieldName": "timer_duration" + } + ], + "duration_extension": [ + { + "fullExpression": "@local.timer_duration_extension", + "matchedExpression": "@local.timer_duration_extension", + "type": "local", + "fieldName": "timer_duration_extension" + } + ], + "help": [ + { + "fullExpression": "@local.timer_help", + "matchedExpression": "@local.timer_help", + "type": "local", + "fieldName": "timer_help" + } + ] + } + }, + "_dynamicDependencies": { + "@local.timer_title": [ + "parameter_list.title" + ], + "@local.timer_duration": [ + "parameter_list.starting_minutes" + ], + "@local.timer_duration_extension": [ + "parameter_list.duration_extension" + ], + "@local.timer_help": [ + "parameter_list.help" + ] + } + }, { "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", - "rows": [ + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "name": "activity", - "value": "famous_party", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" + "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" } ], - "_nested_name": "m_something_fun" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "rules", - "flow_name": "w_rules_m_praise", + "flow_name": "box_duo_combo_box", "status": "released", "rows": [ { "type": "template", - "name": "m_praise", - "value": "m_praise", + "name": "combo_box_1", + "value": "box_combo_box", "rows": [ { "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Sometimes it feels like your teens are still grumpy even when you’ve done the best you can. Remember that you are doing an amazing job, and that there will be good times with them too!", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text" - } + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "combo_box_1.nav_buttons" + } + ], + "_nested_name": "combo_box_1" + }, + { + "type": "template", + "name": "combo_box_2", + "value": "box_combo_box", + "rows": [ + { + "type": "nested_properties", + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "combo_box_2.nav_buttons" + } + ], + "_nested_name": "combo_box_2" + }, + { + "type": "template", + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "_nested_name": "m_praise.in_week_message" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "m_praise" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "rules", - "flow_name": "w_rules_m_workshop_reminder", + "flow_name": "box_duo_radio_buttons", "status": "released", "rows": [ { "type": "template", - "name": "m_workshop_reminder", - "value": "m_workshop_reminder", + "name": "radio_buttons_1", + "value": "box_radio_buttons", "rows": [ { - "name": "workshop", - "value": "w_rules", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.workshop" - }, + "type": "nested_properties", + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "radio_buttons_1.nav_buttons" + } + ], + "_nested_name": "radio_buttons_1" + }, + { + "type": "template", + "name": "radio_buttons_2", + "value": "box_radio_buttons", + "rows": [ { "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Thank you again for using @global.parent_app and for committing to your parenting journey. \n\nThe workshop @global.w_rules will show you how to set rules in a way that your teen will understand and comply with. ", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Thank you again for using @global.parent_app and for committing to your parenting journey. \n\nThe workshop @global.w_rules will show you how to set rules in a way that your teen will understand and comply with. ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - }, - { - "fullExpression": "Thank you again for using @global.parent_app and for committing to your parenting journey. \n\nThe workshop @global.w_rules will show you how to set rules in a way that your teen will understand and comply with. ", - "matchedExpression": "@global.w_rules", - "type": "global", - "fieldName": "w_rules" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ], - "@global.w_rules": [ - "value" - ] - } - } - ], - "_nested_name": "m_workshop_reminder.in_week_message" + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "radio_buttons_2.nav_buttons" } ], - "_nested_name": "m_workshop_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" - }, - { - "flow_type": "template", - "module": "rules", - "flow_name": "w_rules_m_workshop_in_progress", - "status": "released", - "rows": [ + "_nested_name": "radio_buttons_2" + }, { "type": "template", - "name": "m_workshop_in_progress", - "value": "m_workshop_in_progress", - "rows": [ + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "name": "workshop", - "value": "w_rules", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.workshop" + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "You are close to gaining another parenting tool! Complete the workshop @global.w_rules, set ONE simple and realistic rule with your teen, and see the difference!", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "You are close to gaining another parenting tool! Complete the workshop @global.w_rules, set ONE simple and realistic rule with your teen, and see the difference!", - "matchedExpression": "@global.w_rules", - "type": "global", - "fieldName": "w_rules" - } - ] - }, - "_dynamicDependencies": { - "@global.w_rules": [ - "value" - ] - } - } + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" ], - "_nested_name": "m_workshop_in_progress.in_week_message" + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "m_workshop_in_progress" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "rules", - "flow_name": "w_rules_m_hp_reminder", + "flow_name": "box_multi_radio_buttons", "status": "released", "rows": [ { "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", + "name": "radio_buttons_1", + "value": "box_radio_buttons", "rows": [ { "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Have you managed to set a rule together with your teen? ", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text" - }, - { - "name": "button_1", - "value": "@global.ideas_button", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_rules_try_pop" - ], - "_raw": "click | go_to:w_rules_try_pop", - "_cleaned": "click | go_to:w_rules_try_pop" - } - ], - "hidden": false, - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.ideas_button", - "matchedExpression": "@global.ideas_button", - "type": "global", - "fieldName": "ideas_button" - } - ] - }, - "_dynamicDependencies": { - "@global.ideas_button": [ - "value" - ] - } - } - ], - "_nested_name": "m_hp_reminder.in_week_message" + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "radio_buttons_1.nav_buttons" } ], - "_nested_name": "m_hp_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" - }, - { - "flow_type": "template", - "module": "safe", - "flow_name": "w_safe_m_workshop_released", - "status": "released", - "rows": [ + "_nested_name": "radio_buttons_1" + }, { "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", + "name": "radio_buttons_2", + "value": "box_radio_buttons", "rows": [ - { - "name": "workshop", - "value": "w_safe", - "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" - }, { "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Hi @field.user_name! You are nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! You are nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" - }, - { - "fullExpression": "Hi @field.user_name! You are nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "Hi @field.group_name! You are all nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! You are all nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" - }, - { - "fullExpression": "Hi @field.group_name! You are all nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - } - ], - "_nested_name": "m_workshop_released.in_week_message" + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "radio_buttons_2.nav_buttons" } ], - "_nested_name": "m_workshop_released" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" - }, - { - "flow_type": "template", - "module": "safe", - "flow_name": "w_safe_m_something_fun", - "status": "released", - "rows": [ + "_nested_name": "radio_buttons_2" + }, { "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", + "name": "radio_buttons_3", + "value": "box_radio_buttons", "rows": [ { - "name": "activity", - "value": "time_machine", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" + "type": "nested_properties", + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "radio_buttons_3.nav_buttons" } ], - "_nested_name": "m_something_fun" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" - }, - { - "flow_type": "template", - "module": "safe", - "flow_name": "w_safe_m_workshop_reminder", - "status": "released", - "rows": [ + "_nested_name": "radio_buttons_3" + }, { "type": "template", - "name": "m_workshop_reminder", - "value": "m_workshop_reminder", + "name": "radio_buttons_4", + "value": "box_radio_buttons", "rows": [ - { - "name": "workshop", - "value": "w_safe", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.workshop" - }, { "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "You have been using @global.parent_app and you have gained 8 parenting tools already! \n\nComplete the next workshop to gain another tool! ", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "You have been using @global.parent_app and you have gained 8 parenting tools already! \n\nComplete the next workshop to gain another tool! ", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ] - } - } - ], - "_nested_name": "m_workshop_reminder.in_week_message" + "name": "nav_buttons", + "hidden": true, + "rows": [], + "_nested_name": "radio_buttons_4.nav_buttons" } ], - "_nested_name": "m_workshop_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" - }, - { - "flow_type": "template", - "module": "safe", - "flow_name": "w_safe_m_praise", - "status": "released", - "rows": [ + "_nested_name": "radio_buttons_4" + }, { "type": "template", - "name": "m_praise", - "value": "m_praise", - "rows": [ + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "This has been the hardest of times to be a parent. You should be so proud of yourself for everything you have done. \n\nThink about every time you have made your teen smile and all the care you have given them. Parents are incredible, and you are incredible! ", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text" - } + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "_nested_name": "m_praise.in_week_message" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "m_praise" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "safe", - "flow_name": "w_safe_m_hp_reminder", + "flow_name": "box_parent_points_temp", "status": "released", "rows": [ + { + "type": "text", + "name": "top_text", + "_nested_name": "top_text" + }, + { + "type": "text", + "name": "text", + "value": "Your marked @global.parent_points for this week will appear here.", + "_nested_name": "text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Your marked @global.parent_points for this week will appear here.", + "matchedExpression": "@global.parent_points", + "type": "global", + "fieldName": "parent_points" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_points": [ + "value" + ] + } + }, + { + "type": "text", + "name": "bottom_text", + "_nested_name": "bottom_text" + }, { "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", - "rows": [ + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Have you talked with your teen about safety measures? ", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text" - }, - { - "name": "habit", - "value": "safe", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit" - }, - { - "name": "habit_text", - "value": "@data.habit.safe.short_mark_text", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.safe.short_mark_text", - "matchedExpression": "@data.habit.safe.short_mark_text", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.safe.short_mark_text": [ - "value" - ] - } - } + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "_nested_name": "m_hp_reminder.in_week_message" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "m_hp_reminder" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/core_templates/core_templates_workshop_boxes.xlsx" }, { "flow_type": "template", - "module": "self_care", - "flow_name": "w_self_care_m_hp_reminder", + "module": "1on1", + "flow_name": "w_1on1_hp_review", "status": "released", "rows": [ + { + "type": "set_field", + "name": "w_1on1_hp_review", + "value": "ok", + "_nested_name": "w_1on1_hp_review" + }, { "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", + "name": "home_practice_review", + "value": "home_practice_review", + "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": [ { "type": "nested_properties", - "name": "in_week_message", + "name": "workshop_activity", "rows": [ { - "name": "text", - "value": "Remember – this week is about YOU! We hope you are treating yourself well. You deserve this! ", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text" - }, - { - "name": "habit", - "value": "treat_yourself", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit" + "type": "nested_properties", + "name": "content_box", + "value": "pair", + "rows": [ + { + "type": "nested_properties", + "name": "box_1", + "value": "box_radio_buttons_emo_temp", + "rows": [ + { + "name": "radio_group_tracker", + "value": "w_1on1_hp_review", + "type": "set_variable", + "_nested_name": "home_practice_review.workshop_activity.content_box.box_1.radio_group_tracker" + }, + { + "name": "text", + "value": "Your goal was to spend one-on-one time with your teen. ", + "type": "set_variable", + "_nested_name": "home_practice_review.workshop_activity.content_box.box_1.text" + }, + { + "name": "question_text", + "value": "How did that go?", + "type": "set_variable", + "_nested_name": "home_practice_review.workshop_activity.content_box.box_1.question_text" + }, + { + "name": "reply_happy", + "value": "@data.praise.hp_praise_message_1.text", + "type": "set_variable", + "_nested_name": "home_practice_review.workshop_activity.content_box.box_1.reply_happy", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.praise.hp_praise_message_1.text", + "matchedExpression": "@data.praise.hp_praise_message_1.text", + "type": "data", + "fieldName": "praise" + } + ] + }, + "_dynamicDependencies": { + "@data.praise.hp_praise_message_1.text": [ + "value" + ] + } + }, + { + "name": "reply_ok", + "value": "@data.praise.hp_praise_message_6.text", + "type": "set_variable", + "_nested_name": "home_practice_review.workshop_activity.content_box.box_1.reply_ok", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.praise.hp_praise_message_6.text", + "matchedExpression": "@data.praise.hp_praise_message_6.text", + "type": "data", + "fieldName": "praise" + } + ] + }, + "_dynamicDependencies": { + "@data.praise.hp_praise_message_6.text": [ + "value" + ] + } + }, + { + "name": "reply_sad", + "value": "@data.praise.hp_praise_message_7.text", + "type": "set_variable", + "_nested_name": "home_practice_review.workshop_activity.content_box.box_1.reply_sad", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.praise.hp_praise_message_7.text", + "matchedExpression": "@data.praise.hp_praise_message_7.text", + "type": "data", + "fieldName": "praise" + } + ] + }, + "_dynamicDependencies": { + "@data.praise.hp_praise_message_7.text": [ + "value" + ] + } + } + ], + "_nested_name": "home_practice_review.workshop_activity.content_box.box_1" + }, + { + "type": "nested_properties", + "name": "box_2", + "value": "pair", + "rows": [ + { + "type": "nested_properties", + "name": "box_1", + "value": "w_1on1_hp_first_box", + "rows": [], + "_nested_name": "home_practice_review.workshop_activity.content_box.box_2.box_1" + }, + { + "type": "nested_properties", + "name": "box_2", + "value": "w_1on1_hp_second_box", + "rows": [], + "_nested_name": "home_practice_review.workshop_activity.content_box.box_2.box_2" + } + ], + "_nested_name": "home_practice_review.workshop_activity.content_box.box_2" + } + ], + "_nested_name": "home_practice_review.workshop_activity.content_box" }, { - "name": "habit_text", - "value": "@data.habit.treat_yourself.short_mark_text", + "name": "outro_text", + "value": "Well done for coming up with solutions to your challenges. Go try them out. Your relationship with your teen will get stronger and stronger!", "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.treat_yourself.short_mark_text", - "matchedExpression": "@data.habit.treat_yourself.short_mark_text", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.treat_yourself.short_mark_text": [ - "value" - ] - } + "_nested_name": "home_practice_review.workshop_activity.outro_text" } ], - "_nested_name": "m_hp_reminder.in_week_message" + "_nested_name": "home_practice_review.workshop_activity" } ], - "_nested_name": "m_hp_reminder" + "_nested_name": "home_practice_review" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_self_care_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_1on1_hp_review.xlsx" }, { "flow_type": "template", - "module": "self_care", - "flow_name": "w_self_care_m_workshop_tomorrow", + "module": "1on1", + "flow_name": "w_1on1_hp_highlights", "status": "released", "rows": [ { - "type": "template", - "name": "m_workshop_tomorrow", - "value": "m_workshop_tomorrow", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ + "type": "text", + "name": "question_text_1", + "value": "Which of my tips have helped you?", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text_1" + }, + { + "name": "choice_1", + "value": "DAY – Do it every day.", + "hidden": true, + "type": "set_variable", + "_nested_name": "choice_1" + }, + { + "name": "choice_2", + "value": "PLAY – Let your teen choose the activity.", + "type": "set_variable", + "_nested_name": "choice_2" + }, + { + "name": "choice_3", + "value": "STAY – Give your teen all of your attention.", + "type": "set_variable", + "_nested_name": "choice_3" + }, + { + "name": "choice_4", + "value": "None", + "type": "set_variable", + "_nested_name": "choice_4" + }, + { + "name": "answer_list", + "value": [ + "name:choice_1 | text:@local.choice_1", + "name:choice_2 | text:@local.choice_2", + "name:choice_3 | text:@local.choice_3", + "name:choice_4 | text:@local.choice_4" + ], + "type": "set_variable", + "_nested_name": "answer_list", + "_dynamicFields": { + "value": { + "0": [ { - "name": "title", - "value": "First @global.weekly_workshop ready tomorrow!", - "type": "set_variable", - "_nested_name": "m_workshop_tomorrow.in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "First @global.weekly_workshop ready tomorrow!", - "matchedExpression": "@global.weekly_workshop", - "type": "global", - "fieldName": "weekly_workshop" - } - ] - }, - "_dynamicDependencies": { - "@global.weekly_workshop": [ - "value" - ] - } - }, + "fullExpression": "name:choice_1 | text:@local.choice_1", + "matchedExpression": "@local.choice_1", + "type": "local", + "fieldName": "choice_1" + } + ], + "1": [ { - "name": "text", - "value": "To maximise benefits, start your first @global.parent_app workshop tomorrow!", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_tomorrow.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "To maximise benefits, start your first @global.parent_app workshop tomorrow!", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } - }, + "fullExpression": "name:choice_2 | text:@local.choice_2", + "matchedExpression": "@local.choice_2", + "type": "local", + "fieldName": "choice_2" + } + ], + "2": [ { - "name": "text", - "value": "Have you told your @global.parent_app partners about the app yet? You can all start your first @global.parent_app workshop tomorrow!", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_tomorrow.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Have you told your @global.parent_app partners about the app yet? You can all start your first @global.parent_app workshop tomorrow!", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - }, - { - "fullExpression": "Have you told your @global.parent_app partners about the app yet? You can all start your first @global.parent_app workshop tomorrow!", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_app": [ - "value", - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } + "fullExpression": "name:choice_3 | text:@local.choice_3", + "matchedExpression": "@local.choice_3", + "type": "local", + "fieldName": "choice_3" } ], - "_nested_name": "m_workshop_tomorrow.in_week_message" + "3": [ + { + "fullExpression": "name:choice_4 | text:@local.choice_4", + "matchedExpression": "@local.choice_4", + "type": "local", + "fieldName": "choice_4" + } + ] } - ], - "_nested_name": "m_workshop_tomorrow" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_self_care_messages.xlsx" - }, - { - "flow_type": "template", - "module": "solve", - "flow_name": "w_solve_m_workshop_released", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@local.choice_1": [ + "value.0" + ], + "@local.choice_2": [ + "value.1" + ], + "@local.choice_3": [ + "value.2" + ], + "@local.choice_4": [ + "value.3" + ] + } + }, { - "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", - "rows": [ - { - "name": "workshop", - "value": "w_solve", - "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" - }, + "type": "combo_box", + "name": "combo_box", + "action_list": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Hi @field.user_name! You have completed seven out of ten workshops! That’s amazing! \n\nHaving a teen means having a lot of unexpected problems to deal with. This workshop will show you how to deal with them. ", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! You have completed seven out of ten workshops! That’s amazing! \n\nHaving a teen means having a lot of unexpected problems to deal with. This workshop will show you how to deal with them. ", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] - } + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.first_combo_box_tracker", + "@local.combo_box" + ], + "_raw": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", + "_cleaned": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box" + } + ], + "parameter_list": { + "answer_list": "@local.answer_list", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.first_combo_box_tracker", + "matchedExpression": "@local.first_combo_box_tracker", + "type": "local", + "fieldName": "first_combo_box_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] }, - { - "name": "text", - "value": "Hi @field.group_name! You have all completed seven out of ten workshops! That’s amazing! \n\nHaving a teen means having a lot of unexpected problems to deal with. This workshop will show you all how to deal with them. ", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! You have all completed seven out of ten workshops! That’s amazing! \n\nHaving a teen means having a lot of unexpected problems to deal with. This workshop will show you all how to deal with them. ", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] + "_raw": [ + { + "fullExpression": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.first_combo_box_tracker", + "type": "local", + "fieldName": "first_combo_box_tracker" }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] + { + "fullExpression": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } - }, - { - "name": "text", - "value": "Hi @field.user_name! You are starting your eighth week of using @global.parent_app . How time flies! \n\nThis week’s workshop is about dealing with unexpected problems. We advise you to complete the previous workshop before starting this one. \n\nKeep up the good work!", - "condition": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! You are starting your eighth week of using @global.parent_app . How time flies! \n\nThis week’s workshop is about dealing with unexpected problems. We advise you to complete the previous workshop before starting this one. \n\nKeep up the good work!", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" - }, - { - "fullExpression": "Hi @field.user_name! You are starting your eighth week of using @global.parent_app . How time flies! \n\nThis week’s workshop is about dealing with unexpected problems. We advise you to complete the previous workshop before starting this one. \n\nKeep up the good work!", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - }, - { - "fullExpression": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_self_care_completion_status", - "type": "field", - "fieldName": "w_self_care_completion_status" - }, - { - "fullExpression": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_1on1_completion_status", - "type": "field", - "fieldName": "w_1on1_completion_status" - }, - { - "fullExpression": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_praise_completion_status", - "type": "field", - "fieldName": "w_praise_completion_status" - }, - { - "fullExpression": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_instruct_completion_status", - "type": "field", - "fieldName": "w_instruct_completion_status" - }, - { - "fullExpression": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_stress_completion_status", - "type": "field", - "fieldName": "w_stress_completion_status" - }, - { - "fullExpression": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_money_completion_status", - "type": "field", - "fieldName": "w_money_completion_status" - }, - { - "fullExpression": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_rules_completion_status", - "type": "field", - "fieldName": "w_rules_completion_status" - }, - { - "fullExpression": "!@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_consequence_completion_status", - "type": "field", - "fieldName": "w_consequence_completion_status" - } - ] + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.first_combo_box_tracker", + "type": "local", + "fieldName": "first_combo_box_tracker" }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ], - "@field.w_self_care_completion_status": [ - "condition" - ], - "@field.w_1on1_completion_status": [ - "condition" - ], - "@field.w_praise_completion_status": [ - "condition" - ], - "@field.w_instruct_completion_status": [ - "condition" - ], - "@field.w_stress_completion_status": [ - "condition" - ], - "@field.w_money_completion_status": [ - "condition" - ], - "@field.w_rules_completion_status": [ - "condition" - ], - "@field.w_consequence_completion_status": [ - "condition" - ] + { + "fullExpression": "changed | set_field: @local.first_combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } - }, + ] + } + }, + "parameter_list": { + "answer_list": [ { - "name": "text", - "value": "Hi @field.group_name! You are starting your eighth week of using @global.parent_app . How time flies! \n\nThis week’s workshop is about dealing with unexpected problems. We advise you to all complete the previous workshop before starting this one.\n\nKeep up the good work!", - "condition": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! You are starting your eighth week of using @global.parent_app . How time flies! \n\nThis week’s workshop is about dealing with unexpected problems. We advise you to all complete the previous workshop before starting this one.\n\nKeep up the good work!", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" - }, - { - "fullExpression": "Hi @field.group_name! You are starting your eighth week of using @global.parent_app . How time flies! \n\nThis week’s workshop is about dealing with unexpected problems. We advise you to all complete the previous workshop before starting this one.\n\nKeep up the good work!", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - }, - { - "fullExpression": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_self_care_completion_status", - "type": "field", - "fieldName": "w_self_care_completion_status" - }, - { - "fullExpression": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_1on1_completion_status", - "type": "field", - "fieldName": "w_1on1_completion_status" - }, - { - "fullExpression": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_praise_completion_status", - "type": "field", - "fieldName": "w_praise_completion_status" - }, - { - "fullExpression": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_instruct_completion_status", - "type": "field", - "fieldName": "w_instruct_completion_status" - }, - { - "fullExpression": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_stress_completion_status", - "type": "field", - "fieldName": "w_stress_completion_status" - }, - { - "fullExpression": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_money_completion_status", - "type": "field", - "fieldName": "w_money_completion_status" - }, - { - "fullExpression": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_rules_completion_status", - "type": "field", - "fieldName": "w_rules_completion_status" - }, - { - "fullExpression": "@field.do_workshops_together &&\n(\"@field.w_self_care_completion_status\" == \"uncompleted\" ||\n\"@field.w_1on1_completion_status\" == \"uncompleted\" ||\n\"@field.w_praise_completion_status\" == \"uncompleted\" ||\n\"@field.w_instruct_completion_status\" == \"uncompleted\" ||\n\"@field.w_stress_completion_status\" == \"uncompleted\" ||\n\"@field.w_money_completion_status\" == \"uncompleted\" ||\n\"@field.w_rules_completion_status\" == \"uncompleted\" ||\n\"@field.w_consequence_completion_status\" == \"uncompleted\") ", - "matchedExpression": "@field.w_consequence_completion_status", - "type": "field", - "fieldName": "w_consequence_completion_status" - } - ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ], - "@field.w_self_care_completion_status": [ - "condition" - ], - "@field.w_1on1_completion_status": [ - "condition" - ], - "@field.w_praise_completion_status": [ - "condition" - ], - "@field.w_instruct_completion_status": [ - "condition" - ], - "@field.w_stress_completion_status": [ - "condition" - ], - "@field.w_money_completion_status": [ - "condition" - ], - "@field.w_rules_completion_status": [ - "condition" - ], - "@field.w_consequence_completion_status": [ - "condition" - ] - } + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" } ], - "_nested_name": "m_workshop_released.in_week_message" + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] } - ], - "_nested_name": "m_workshop_released" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" - }, - { - "flow_type": "template", - "module": "solve", - "flow_name": "w_solve_m_something_fun", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@local.first_combo_box_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.answer_list": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, { - "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", - "rows": [ - { - "name": "activity", - "value": "mirror", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" - } + "type": "text", + "name": "question_text_2", + "value": "Why was this tip helpful for you?", + "hidden": "\"@local.combo_box\"==\"undefined\" || \"@local.combo_box\"==\"choice_4\"", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"==\"undefined\" || \"@local.combo_box\"==\"choice_4\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"==\"undefined\" || \"@local.combo_box\"==\"choice_4\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden", + "hidden" + ] + } + }, + { + "name": "answer_list_choice_1", + "value": [ + "name:choice_1_a | text:Having a specific time to do this helps me to remember.", + "name:choice_1_b | text:With a routine, my teen and I can both keep our schedule free.", + "name:choice_1_c | text:Spending time with my teen every day helps to build trust with them/him/her." ], - "_nested_name": "m_something_fun" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" - }, - { - "flow_type": "template", - "module": "solve", - "flow_name": "w_solve_m_praise", - "status": "released", - "rows": [ + "type": "set_variable", + "_nested_name": "answer_list_choice_1" + }, { - "type": "template", - "name": "m_praise", - "value": "m_praise", - "rows": [ + "type": "combo_box", + "name": "combo_box_choice_1", + "action_list": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Your commitment is an inspiration to everyone. Keep calm and carry on! ", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text" - } + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.second_combo_box_tracker", + "@local.combo_box_choice_1" ], - "_nested_name": "m_praise.in_week_message" + "_raw": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", + "_cleaned": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1" } ], - "_nested_name": "m_praise" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" - }, - { - "flow_type": "template", - "module": "solve", - "flow_name": "w_solve_m_workshop_reminder", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_reminder", - "value": "m_workshop_reminder", - "rows": [ - { - "name": "workshop", - "value": "w_solve", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.workshop" + "hidden": "\"@local.combo_box\"!=\"choice_1\"", + "parameter_list": { + "answer_list": "@local.answer_list_choice_1", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_choice_1", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.second_combo_box_tracker", + "matchedExpression": "@local.second_combo_box_tracker", + "type": "local", + "fieldName": "second_combo_box_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.combo_box_choice_1", + "matchedExpression": "@local.combo_box_choice_1", + "type": "local", + "fieldName": "combo_box_choice_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", + "matchedExpression": "@local.second_combo_box_tracker", + "type": "local", + "fieldName": "second_combo_box_tracker" + }, + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", + "matchedExpression": "@local.combo_box_choice_1", + "type": "local", + "fieldName": "combo_box_choice_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", + "matchedExpression": "@local.second_combo_box_tracker", + "type": "local", + "fieldName": "second_combo_box_tracker" + }, + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_1", + "matchedExpression": "@local.combo_box_choice_1", + "type": "local", + "fieldName": "combo_box_choice_1" + } + ] + } }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"choice_1\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ { - "name": "text", - "value": "With teenagers, and in life, unexpected problems come up and we have to deal with them. \n\nStart workshop eight to learn how to address these problems properly. ", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.text" + "fullExpression": "@local.answer_list_choice_1", + "matchedExpression": "@local.answer_list_choice_1", + "type": "local", + "fieldName": "answer_list_choice_1" } ], - "_nested_name": "m_workshop_reminder.in_week_message" + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] } + }, + "_dynamicDependencies": { + "@local.second_combo_box_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_choice_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_choice_1": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_1", + "value": "Ah yes, even 10 minutes together makes a big difference – that makes it easy to schedule it in next to your work and chores! ", + "hidden": "\"@local.combo_box\"!=\"choice_1\" || \"@local.combo_box_choice_1\"==\"undefined\"", + "_nested_name": "reply_choice_1", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"choice_1\" || \"@local.combo_box_choice_1\"==\"undefined\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"choice_1\" || \"@local.combo_box_choice_1\"==\"undefined\"", + "matchedExpression": "@local.combo_box_choice_1", + "type": "local", + "fieldName": "combo_box_choice_1" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_choice_1": [ + "hidden" + ] + } + }, + { + "name": "answer_list_choice_2", + "value": [ + "name:choice_2_a | text:Letting my teen choose what to do builds their confidence.", + "name:choice_2_b | text:If my teen chooses, s/he is more likely to want to spend time together.", + "name:choice_2_c | text:Letting my teen choose shows that I care about his/her interests.", + "name:choice_2_d | text:By accepting my teen’s suggestions, I am showing that I listen to him/her.", + "name: choice_2_e | text:Saying something nice about my teen’s choice helps them feel valued." ], - "_nested_name": "m_workshop_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" - }, - { - "flow_type": "template", - "module": "solve", - "flow_name": "w_solve_m_workshop_in_progress", - "status": "released", - "rows": [ + "type": "set_variable", + "_nested_name": "answer_list_choice_2" + }, { - "type": "template", - "name": "m_workshop_in_progress", - "value": "m_workshop_in_progress", - "rows": [ - { - "name": "workshop", - "value": "w_solve", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.workshop" - }, + "type": "combo_box", + "name": "combo_box_choice_2", + "action_list": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "You are on the right track to learning how to problem-solve with your teen! \n\nComplete the workshop @global.w_solve and gain another important parenting tool!", - "type": "set_variable", - "_nested_name": "m_workshop_in_progress.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "You are on the right track to learning how to problem-solve with your teen! \n\nComplete the workshop @global.w_solve and gain another important parenting tool!", - "matchedExpression": "@global.w_solve", - "type": "global", - "fieldName": "w_solve" - } - ] - }, - "_dynamicDependencies": { - "@global.w_solve": [ - "value" - ] - } - } + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.second_combo_box_tracker", + "@local.combo_box_choice_2" ], - "_nested_name": "m_workshop_in_progress.in_week_message" + "_raw": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", + "_cleaned": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2" } ], - "_nested_name": "m_workshop_in_progress" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" - }, - { - "flow_type": "template", - "module": "solve", - "flow_name": "w_solve_m_hp_reminder", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Have you tried the four steps of problem-solving with your teen yet? \n\nKNOW IT, SOLVE IT, TRY IT, TEST IT! ", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text" - }, - { - "name": "button_1", - "value": "@global.w_solve_tools", - "action_list": [ + "hidden": "\"@local.combo_box\"!=\"choice_2\"", + "parameter_list": { + "answer_list": "@local.answer_list_choice_2", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_choice_2", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_solve_tools" - ], - "_raw": "click | go_to:w_solve_tools", - "_cleaned": "click | go_to:w_solve_tools" + "fullExpression": "@local.second_combo_box_tracker", + "matchedExpression": "@local.second_combo_box_tracker", + "type": "local", + "fieldName": "second_combo_box_tracker" } ], - "hidden": false, - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_solve_tools", - "matchedExpression": "@global.w_solve_tools", - "type": "global", - "fieldName": "w_solve_tools" - } - ] - }, - "_dynamicDependencies": { - "@global.w_solve_tools": [ - "value" - ] - } - }, - { - "name": "button_2", - "value": "@global.ideas_button", - "action_list": [ + "1": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_solve_home_practice_pop" - ], - "_raw": "click | go_to:w_solve_home_practice_pop", - "_cleaned": "click | go_to:w_solve_home_practice_pop" + "fullExpression": "@local.combo_box_choice_2", + "matchedExpression": "@local.combo_box_choice_2", + "type": "local", + "fieldName": "combo_box_choice_2" } - ], - "hidden": false, - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.button_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.ideas_button", - "matchedExpression": "@global.ideas_button", - "type": "global", - "fieldName": "ideas_button" - } - ] - }, - "_dynamicDependencies": { - "@global.ideas_button": [ - "value" - ] - } - } - ], - "_nested_name": "m_hp_reminder.in_week_message" - } - ], - "_nested_name": "m_hp_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" - }, - { - "flow_type": "template", - "module": "stress", - "flow_name": "w_stress_m_workshop_released", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_released", - "value": "m_workshop_released", - "rows": [ - { - "name": "workshop", - "value": "w_stress", - "type": "set_variable", - "_nested_name": "m_workshop_released.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "image", - "value": "@data.habit.breathe.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.breathe.image_asset", - "matchedExpression": "@data.habit.breathe.image_asset", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.breathe.image_asset": [ - "value" - ] - } + ] }, - { - "name": "text", - "value": "Hi @field.user_name! Congrats for starting your fifth week on @global.parent_app . \n\nA new parenting workshop awaits you with tips on how we can stay calm and in control when our teens are driving us crazy.", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! Congrats for starting your fifth week on @global.parent_app . \n\nA new parenting workshop awaits you with tips on how we can stay calm and in control when our teens are driving us crazy.", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" - }, - { - "fullExpression": "Hi @field.user_name! Congrats for starting your fifth week on @global.parent_app . \n\nA new parenting workshop awaits you with tips on how we can stay calm and in control when our teens are driving us crazy.", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] + "_raw": [ + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", + "matchedExpression": "@local.second_combo_box_tracker", + "type": "local", + "fieldName": "second_combo_box_tracker" }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", + "matchedExpression": "@local.combo_box_choice_2", + "type": "local", + "fieldName": "combo_box_choice_2" } - }, - { - "name": "text", - "value": "Hi @field.group_name! Congrats for starting your fifth week on @global.parent_app . \n\nA new parenting workshop awaits you with tips how we can stay calm and in control when our teens are driving us crazy.", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "m_workshop_released.in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.group_name! Congrats for starting your fifth week on @global.parent_app . \n\nA new parenting workshop awaits you with tips how we can stay calm and in control when our teens are driving us crazy.", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" - }, - { - "fullExpression": "Hi @field.group_name! Congrats for starting your fifth week on @global.parent_app . \n\nA new parenting workshop awaits you with tips how we can stay calm and in control when our teens are driving us crazy.", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" - } - ], - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", + "matchedExpression": "@local.second_combo_box_tracker", + "type": "local", + "fieldName": "second_combo_box_tracker" }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ], - "@global.parent_app": [ - "value" - ], - "@field.do_workshops_together": [ - "condition" - ] + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_2", + "matchedExpression": "@local.combo_box_choice_2", + "type": "local", + "fieldName": "combo_box_choice_2" } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"choice_2\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_choice_2", + "matchedExpression": "@local.answer_list_choice_2", + "type": "local", + "fieldName": "answer_list_choice_2" } ], - "_nested_name": "m_workshop_released.in_week_message" + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] } + }, + "_dynamicDependencies": { + "@local.second_combo_box_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_choice_2": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_choice_2": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_2", + "value": "So true! And if our teens choose, they are encouraged to also take responsibility in other areas of their lives.", + "hidden": "\"@local.combo_box\"!=\"choice_2\" || \"@local.combo_box_choice_2\"==\"undefined\"", + "_nested_name": "reply_choice_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"choice_2\" || \"@local.combo_box_choice_2\"==\"undefined\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"choice_2\" || \"@local.combo_box_choice_2\"==\"undefined\"", + "matchedExpression": "@local.combo_box_choice_2", + "type": "local", + "fieldName": "combo_box_choice_2" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_choice_2": [ + "hidden" + ] + } + }, + { + "name": "answer_list_choice_3", + "value": [ + "name:choice_3_a | text:By preventing interruptions, I am showing my teen that s/he is most important.", + "name:choice_3_b | text:Even if I can’t join my teen’s activity, like sports, I can still cheer them on.", + "name:choice_3_c | text:When I pay attention, I can learn so much about my teen’s interests, views and capabilities." ], - "_nested_name": "m_workshop_released" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" - }, - { - "flow_type": "template", - "module": "stress", - "flow_name": "w_stress_m_something_fun", - "status": "released", - "rows": [ + "type": "set_variable", + "_nested_name": "answer_list_choice_3" + }, { - "type": "template", - "name": "m_something_fun", - "value": "m_something_fun", - "rows": [ + "type": "combo_box", + "name": "combo_box_choice_3", + "action_list": [ { - "name": "activity", - "value": "check_in_chat", - "type": "set_variable", - "_nested_name": "m_something_fun.activity" + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.second_combo_box_tracker", + "@local.combo_box_choice_3" + ], + "_raw": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", + "_cleaned": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3" } ], - "_nested_name": "m_something_fun" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" - }, - { - "flow_type": "template", - "module": "stress", - "flow_name": "w_stress_m_workshop_reminder", - "status": "released", - "rows": [ - { - "type": "template", - "name": "m_workshop_reminder", - "value": "m_workshop_reminder", - "rows": [ - { - "name": "workshop", - "value": "w_stress", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.workshop" - }, - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "image", - "value": "@data.habit.breathe.image_asset", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.breathe.image_asset", - "matchedExpression": "@data.habit.breathe.image_asset", - "type": "data", - "fieldName": "habit" - } - ] + "hidden": "\"@local.combo_box\"!=\"choice_3\"", + "parameter_list": { + "answer_list": "@local.answer_list_choice_3", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_choice_3", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.second_combo_box_tracker", + "matchedExpression": "@local.second_combo_box_tracker", + "type": "local", + "fieldName": "second_combo_box_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.combo_box_choice_3", + "matchedExpression": "@local.combo_box_choice_3", + "type": "local", + "fieldName": "combo_box_choice_3" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", + "matchedExpression": "@local.second_combo_box_tracker", + "type": "local", + "fieldName": "second_combo_box_tracker" }, - "_dynamicDependencies": { - "@data.habit.breathe.image_asset": [ - "value" - ] + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", + "matchedExpression": "@local.combo_box_choice_3", + "type": "local", + "fieldName": "combo_box_choice_3" } - }, + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", + "matchedExpression": "@local.second_combo_box_tracker", + "type": "local", + "fieldName": "second_combo_box_tracker" + }, + { + "fullExpression": "changed | set_field: @local.second_combo_box_tracker: @local.combo_box_choice_3", + "matchedExpression": "@local.combo_box_choice_3", + "type": "local", + "fieldName": "combo_box_choice_3" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"choice_3\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ { - "name": "text", - "value": "We want to remind you that we have a new workshop for you. This week’s workshop is about managing anger and stress. It will help you take better care of yourself.", - "type": "set_variable", - "_nested_name": "m_workshop_reminder.in_week_message.text" + "fullExpression": "@local.answer_list_choice_3", + "matchedExpression": "@local.answer_list_choice_3", + "type": "local", + "fieldName": "answer_list_choice_3" } ], - "_nested_name": "m_workshop_reminder.in_week_message" + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] } - ], - "_nested_name": "m_workshop_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" - }, - { - "flow_type": "template", - "module": "stress", - "flow_name": "w_stress_m_praise", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@local.second_combo_box_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_choice_3": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_choice_3": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_3", + "value": "Yes! If we give our teens our full attention, they will more likely do the same for us the next time we ask them for something!", + "hidden": "\"@local.combo_box\"!=\"choice_3\" || \"@local.combo_box_choice_3\"==\"undefined\"", + "_nested_name": "reply_choice_3", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"choice_3\" || \"@local.combo_box_choice_3\"==\"undefined\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"choice_3\" || \"@local.combo_box_choice_3\"==\"undefined\"", + "matchedExpression": "@local.combo_box_choice_3", + "type": "local", + "fieldName": "combo_box_choice_3" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_choice_3": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_4", + "value": "Sorry to hear my tips did not help you.", + "hidden": "\"@local.combo_box\"!=\"choice_4\"", + "_nested_name": "reply_choice_4", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"choice_4\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, { "type": "template", - "name": "m_praise", - "value": "m_praise", - "rows": [ + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ - { - "name": "text", - "value": "Happy, sad, angry, excited, worried? Well done for recognizing how you and others felt today! And remember, tomorrow is a brand new day.", - "type": "set_variable", - "_nested_name": "m_praise.in_week_message.text" - } + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "_nested_name": "m_praise.in_week_message" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "m_praise" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_1on1_hp_review.xlsx" }, { "flow_type": "template", - "module": "stress", - "flow_name": "w_stress_m_hp_reminder", + "module": "1on1", + "flow_name": "w_1on1_hp_challenges", "status": "released", "rows": [ { - "type": "template", - "name": "m_hp_reminder", - "value": "m_hp_reminder", - "rows": [ - { - "type": "nested_properties", - "name": "in_week_message", - "rows": [ + "type": "text", + "name": "text_1", + "value": "Many parents experience challenges in having one-on-one time with their teens. \n\nHere are the top 8 challenges parents told us they experience while trying to either schedule or spend one-on-one time with their teen. If you experienced one of these or are afraid that you will, please select an option to get a possible solution. You will be able to choose another option afterwards.", + "_nested_name": "text_1" + }, + { + "type": "text", + "name": "question_text_1", + "value": "Did you have any challenges when trying to spend time with your teen?", + "hidden": "\"@fields.w_1on1_hp_review\" == \"ok\" || \"@fields.w_1on1_hp_review\" == \"sad\" ", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text_1", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@fields.w_1on1_hp_review\" == \"ok\" || \"@fields.w_1on1_hp_review\" == \"sad\" ", + "matchedExpression": "@fields.w_1on1_hp_review", + "type": "fields", + "fieldName": "w_1on1_hp_review" + }, + { + "fullExpression": "\"@fields.w_1on1_hp_review\" == \"ok\" || \"@fields.w_1on1_hp_review\" == \"sad\" ", + "matchedExpression": "@fields.w_1on1_hp_review", + "type": "fields", + "fieldName": "w_1on1_hp_review" + } + ] + }, + "_dynamicDependencies": { + "@fields.w_1on1_hp_review": [ + "hidden", + "hidden" + ] + } + }, + { + "type": "text", + "name": "question_text_1", + "value": "What challenge did you have when trying to spend time with your teen?   ", + "hidden": "\"@fields.w_1on1_hp_review\" == \"happy\"", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text_1", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@fields.w_1on1_hp_review\" == \"happy\"", + "matchedExpression": "@fields.w_1on1_hp_review", + "type": "fields", + "fieldName": "w_1on1_hp_review" + } + ] + }, + "_dynamicDependencies": { + "@fields.w_1on1_hp_review": [ + "hidden" + ] + } + }, + { + "name": "text_challenge_1", + "value": "I don’t have enough time.", + "type": "set_variable", + "_nested_name": "text_challenge_1" + }, + { + "name": "text_challenge_2", + "value": "My teen does not want to spend time with me.", + "type": "set_variable", + "_nested_name": "text_challenge_2" + }, + { + "name": "text_challenge_3", + "value": "My teen only wants to watch TV or play on his/her phone.", + "type": "set_variable", + "_nested_name": "text_challenge_3" + }, + { + "name": "text_challenge_4", + "value": "My teen wants to do things that are not safe or that cost money.", + "type": "set_variable", + "_nested_name": "text_challenge_4" + }, + { + "name": "text_challenge_5", + "value": "My teen wants to do things that I cannot physically do.", + "type": "set_variable", + "_nested_name": "text_challenge_5" + }, + { + "name": "text_challenge_6", + "value": "My teen chose a competitive activity. I won and s/he got angry.", + "type": "set_variable", + "_nested_name": "text_challenge_6" + }, + { + "name": "text_challenge_7", + "value": "I struggled to end the one-on-one time.", + "type": "set_variable", + "_nested_name": "text_challenge_7" + }, + { + "name": "text_challenge_8", + "value": "All my children want one-on-one time with me at the same time.", + "type": "set_variable", + "_nested_name": "text_challenge_8" + }, + { + "name": "text_other_challenge", + "value": "My challenge is not listed here.", + "type": "set_variable", + "_nested_name": "text_other_challenge" + }, + { + "name": "answer_list", + "value": [ + "name:challenge_1 | text:@local.text_challenge_1", + "name:challenge_2 | text:@local.text_challenge_2", + "name:challenge_3 | text:@local.text_challenge_3", + "name:challenge_4 | text:@local.text_challenge_4", + "name:challenge_5 | text:@local.text_challenge_5", + "name:challenge_6 | text:@local.text_challenge_6", + "name:challenge_7 | text:@local.text_challenge_7", + "name:challenge_8 | text:@local.text_challenge_8", + "name:other_challenge | text: @local.text_other_challenge" + ], + "type": "set_variable", + "_nested_name": "answer_list", + "_dynamicFields": { + "value": { + "0": [ { - "name": "text", - "value": "How have your stress levels been this week? Try to take a few deep breaths before responding to your teen - it makes a big difference. ", - "condition": "@field.total_parent_point_breathe == 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.total_parent_point_breathe == 0", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] - }, - "_dynamicDependencies": { - "@field.total_parent_point_breathe": [ - "condition" - ] - } - }, + "fullExpression": "name:challenge_1 | text:@local.text_challenge_1", + "matchedExpression": "@local.text_challenge_1", + "type": "local", + "fieldName": "text_challenge_1" + } + ], + "1": [ { - "name": "habit_text", - "value": "@data.habit.breathe.short_mark_text", - "condition": "@field.total_parent_point_breathe == 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.breathe.short_mark_text", - "matchedExpression": "@data.habit.breathe.short_mark_text", - "type": "data", - "fieldName": "habit" - } - ], - "condition": [ - { - "fullExpression": "@field.total_parent_point_breathe == 0", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.breathe.short_mark_text": [ - "value" - ], - "@field.total_parent_point_breathe": [ - "condition" - ] - } - }, + "fullExpression": "name:challenge_2 | text:@local.text_challenge_2", + "matchedExpression": "@local.text_challenge_2", + "type": "local", + "fieldName": "text_challenge_2" + } + ], + "2": [ { - "name": "habit", - "value": "breathe", - "condition": "@field.total_parent_point_breathe == 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.habit", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.total_parent_point_breathe == 0", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] - }, - "_dynamicDependencies": { - "@field.total_parent_point_breathe": [ - "condition" - ] - } - }, + "fullExpression": "name:challenge_3 | text:@local.text_challenge_3", + "matchedExpression": "@local.text_challenge_3", + "type": "local", + "fieldName": "text_challenge_3" + } + ], + "3": [ { - "name": "title", - "value": "Well done!", - "condition": "@field.total_parent_point_breathe > 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.total_parent_point_breathe > 0", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] - }, - "_dynamicDependencies": { - "@field.total_parent_point_breathe": [ - "condition" - ] - } - }, + "fullExpression": "name:challenge_4 | text:@local.text_challenge_4", + "matchedExpression": "@local.text_challenge_4", + "type": "local", + "fieldName": "text_challenge_4" + } + ], + "4": [ { - "name": "image", - "value": "@data.habit.breathe.image_asset", - "condition": "@field.total_parent_point_breathe > 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.breathe.image_asset", - "matchedExpression": "@data.habit.breathe.image_asset", - "type": "data", - "fieldName": "habit" - } - ], - "condition": [ - { - "fullExpression": "@field.total_parent_point_breathe > 0", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] + "fullExpression": "name:challenge_5 | text:@local.text_challenge_5", + "matchedExpression": "@local.text_challenge_5", + "type": "local", + "fieldName": "text_challenge_5" + } + ], + "5": [ + { + "fullExpression": "name:challenge_6 | text:@local.text_challenge_6", + "matchedExpression": "@local.text_challenge_6", + "type": "local", + "fieldName": "text_challenge_6" + } + ], + "6": [ + { + "fullExpression": "name:challenge_7 | text:@local.text_challenge_7", + "matchedExpression": "@local.text_challenge_7", + "type": "local", + "fieldName": "text_challenge_7" + } + ], + "7": [ + { + "fullExpression": "name:challenge_8 | text:@local.text_challenge_8", + "matchedExpression": "@local.text_challenge_8", + "type": "local", + "fieldName": "text_challenge_8" + } + ], + "8": [ + { + "fullExpression": "name:other_challenge | text: @local.text_other_challenge", + "matchedExpression": "@local.text_other_challenge", + "type": "local", + "fieldName": "text_other_challenge" + } + ] + } + }, + "_dynamicDependencies": { + "@local.text_challenge_1": [ + "value.0" + ], + "@local.text_challenge_2": [ + "value.1" + ], + "@local.text_challenge_3": [ + "value.2" + ], + "@local.text_challenge_4": [ + "value.3" + ], + "@local.text_challenge_5": [ + "value.4" + ], + "@local.text_challenge_6": [ + "value.5" + ], + "@local.text_challenge_7": [ + "value.6" + ], + "@local.text_challenge_8": [ + "value.7" + ], + "@local.text_other_challenge": [ + "value.8" + ] + } + }, + { + "type": "combo_box", + "name": "combo_box", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.main_combo_box_tracker", + "@local.combo_box" + ], + "_raw": "changed | set_field: @local.main_combo_box_tracker: @local.combo_box", + "_cleaned": "changed | set_field: @local.main_combo_box_tracker: @local.combo_box" + } + ], + "parameter_list": { + "answer_list": "@local.answer_list", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.main_combo_box_tracker", + "matchedExpression": "@local.main_combo_box_tracker", + "type": "local", + "fieldName": "main_combo_box_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.main_combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.main_combo_box_tracker", + "type": "local", + "fieldName": "main_combo_box_tracker" }, - "_dynamicDependencies": { - "@data.habit.breathe.image_asset": [ - "value" - ], - "@field.total_parent_point_breathe": [ - "condition" - ] + { + "fullExpression": "changed | set_field: @local.main_combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } - }, - { - "name": "text", - "value": "Well done for taking a big breath before responding to your teen! Each time you are taking a pause, you are getting back control.", - "condition": "@field.total_parent_point_breathe > 0", - "type": "set_variable", - "_nested_name": "m_hp_reminder.in_week_message.text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.total_parent_point_breathe > 0", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.main_combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.main_combo_box_tracker", + "type": "local", + "fieldName": "main_combo_box_tracker" }, - "_dynamicDependencies": { - "@field.total_parent_point_breathe": [ - "condition" - ] + { + "fullExpression": "changed | set_field: @local.main_combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } + ] + } + }, + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" } ], - "_nested_name": "m_hp_reminder.in_week_message" + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] } - ], - "_nested_name": "m_hp_reminder" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" - }, - { - "flow_type": "template", - "flow_name": "in_week_message", - "status": "released", - "rows": [ - { - "name": "habit", - "type": "set_variable", - "_nested_name": "habit" - }, - { - "name": "habit_text", - "type": "set_variable", - "_nested_name": "habit_text" - }, - { - "type": "title", - "name": "title", - "_nested_name": "title" + }, + "_dynamicDependencies": { + "@local.main_combo_box_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.answer_list": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } }, { - "type": "image", - "name": "image", - "hidden": "\"@local.habit\" != \"undefined\"", - "style_list": [ - "max-height: 180px" - ], - "_nested_name": "image", + "type": "text", + "name": "reply_challenge_1", + "value": "I know it can be hard to find time during the day, with work, chores, and everything else. ", + "hidden": "\"@local.combo_box\"!=\"challenge_1\"", + "_nested_name": "reply_challenge_1", "_dynamicFields": { "hidden": [ { - "fullExpression": "\"@local.habit\" != \"undefined\"", - "matchedExpression": "@local.habit", + "fullExpression": "\"@local.combo_box\"!=\"challenge_1\"", + "matchedExpression": "@local.combo_box", "type": "local", - "fieldName": "habit" + "fieldName": "combo_box" } ] }, "_dynamicDependencies": { - "@local.habit": [ + "@local.combo_box": [ "hidden" ] } }, { "type": "text", - "name": "text", - "_nested_name": "text" + "name": "reply_challenge_2", + "value": "Sorry that you struggled with that. It can make us feel bad if our children do not want to spend one-on-one time with us. ", + "hidden": "\"@local.combo_box\"!=\"challenge_2\"", + "_nested_name": "reply_challenge_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_2\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } }, { - "type": "display_group", - "name": "habit_box", - "hidden": "\"@local.habit_text\" == \"undefined\"", - "parameter_list": { - "icon_src": "plh_images/icons/star_circle.svg", - "icon_position": "top-left", - "type": "dashed_box" - }, - "rows": [ + "type": "text", + "name": "reply_challenge_3", + "value": "Sorry that you had that challenge. Children often want to spend time watching T.V. or playing with a gadget. Well done for being patient with your teen!", + "hidden": "\"@local.combo_box\"!=\"challenge_3\"", + "_nested_name": "reply_challenge_3", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_3\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_challenge_4", + "value": "You are not alone here. Many parents sometimes have this challenge, too. One-on-one time should always be safe, and it does not have to cost a thing! ", + "hidden": "\"@local.combo_box\"!=\"challenge_4\"", + "_nested_name": "reply_challenge_4", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_4\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_challenge_5", + "value": "Sorry to hear this. Our teens may be disappointed if we cannot do what they want to do, like playing sports or doing other physically demanding activities. But remember, what is most important is that we spend time with them; that may look different for everyone! ", + "hidden": "\"@local.combo_box\"!=\"challenge_5\"", + "_nested_name": "reply_challenge_5", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_5\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_challenge_6", + "value": "This sometimes happens! Competitive games can be challenging for teens (and adults!) if they have difficulty with losing. ", + "hidden": "\"@local.combo_box\"!=\"challenge_6\"", + "_nested_name": "reply_challenge_6", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_6\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_challenge_7", + "value": "I know the end of one-on-one time can sometimes be difficult.", + "hidden": "\"@local.combo_box\"!=\"challenge_7\"", + "_nested_name": "reply_challenge_7", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_7\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_challenge_8", + "value": "Many parents are also faced with this. It can be difficult to spend one-on-one time with our teens when we have more than one child. ", + "hidden": "\"@local.combo_box\"!=\"challenge_8\"", + "_nested_name": "reply_challenge_8", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_8\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "question_text_2", + "value": "Do you want to try one of the following things?   ", + "hidden": "\"@local.combo_box\"==\"undefined\"", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"==\"undefined\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, + { + "name": "answer_list_challenge_1", + "value": [ + "name:choice_1_a | text: Think of a time each day that I can spare five minutes or a bit more time.", + "name:choice_1_b | text: Find a chore that we could do together in a fun way.", + "name:choice_1_c | text: Ask my teen or someone else to help me with a chore, so I have some extra free time." + ], + "type": "set_variable", + "_nested_name": "answer_list_challenge_1" + }, + { + "type": "combo_box", + "name": "combo_box_challenge_1", + "action_list": [ { - "type": "subtitle", - "name": "habit_box_text", - "value": "@local.habit_text", - "_nested_name": "habit_box.habit_box_text", - "_dynamicFields": { - "value": [ + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.combo_box_challenge_1_tracker", + "@local.combo_box_challenge_1" + ], + "_raw": "changed | set_field: @local.combo_box_challenge_1_tracker: @local.combo_box_challenge_1", + "_cleaned": "changed | set_field: @local.combo_box_challenge_1_tracker: @local.combo_box_challenge_1" + } + ], + "hidden": "\"@local.combo_box\"!=\"challenge_1\"", + "parameter_list": { + "answer_list": "@local.answer_list_challenge_1", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_challenge_1", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.combo_box_challenge_1_tracker", + "matchedExpression": "@local.combo_box_challenge_1_tracker", + "type": "local", + "fieldName": "combo_box_challenge_1_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.combo_box_challenge_1", + "matchedExpression": "@local.combo_box_challenge_1", + "type": "local", + "fieldName": "combo_box_challenge_1" + } + ] + }, + "_raw": [ { - "fullExpression": "@local.habit_text", - "matchedExpression": "@local.habit_text", + "fullExpression": "changed | set_field: @local.combo_box_challenge_1_tracker: @local.combo_box_challenge_1", + "matchedExpression": "@local.combo_box_challenge_1_tracker", "type": "local", - "fieldName": "habit_text" + "fieldName": "combo_box_challenge_1_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_1_tracker: @local.combo_box_challenge_1", + "matchedExpression": "@local.combo_box_challenge_1", + "type": "local", + "fieldName": "combo_box_challenge_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_1_tracker: @local.combo_box_challenge_1", + "matchedExpression": "@local.combo_box_challenge_1_tracker", + "type": "local", + "fieldName": "combo_box_challenge_1_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_1_tracker: @local.combo_box_challenge_1", + "matchedExpression": "@local.combo_box_challenge_1", + "type": "local", + "fieldName": "combo_box_challenge_1" } - ] - }, - "_dynamicDependencies": { - "@local.habit_text": [ - "value" ] } }, - { - "type": "display_group", - "name": "habit_tracker", - "hidden": "\"@local.habit\" == \"undefined\"", - "parameter_list": { - "style": "parent_point" - }, - "rows": [ + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_1\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ { - "type": "parent_point_box", - "name": "parent_point_relax", - "value": "@field.total_parent_point_relax", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_relax", - "@field.total_parent_point_relax+1" - ], - "_raw": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", - "_cleaned": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1" - }, + "fullExpression": "@local.answer_list_challenge_1", + "matchedExpression": "@local.answer_list_challenge_1", + "type": "local", + "fieldName": "answer_list_challenge_1" + } + ], + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] + } + }, + "_dynamicDependencies": { + "@local.combo_box_challenge_1_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_challenge_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_challenge_1": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_1_a", + "value": "Perfect; even spending 5 minutes makes a big difference, and if you do it at the same time every day (like at breakfast or before bed), it will be easier to keep it up!  ", + "hidden": "\"@local.combo_box\"!=\"challenge_1\" || \n\"@local.combo_box_challenge_1\"!=\"choice_1_a\"", + "_nested_name": "reply_choice_1_a", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_1\" || \n\"@local.combo_box_challenge_1\"!=\"choice_1_a\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_1\" || \n\"@local.combo_box_challenge_1\"!=\"choice_1_a\"", + "matchedExpression": "@local.combo_box_challenge_1", + "type": "local", + "fieldName": "combo_box_challenge_1" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_1": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_1_b", + "value": "Great! That way you get your work done and have a fun time together with your teen!  ", + "hidden": "\"@local.combo_box\"!=\"challenge_1\" || \n\"@local.combo_box_challenge_1\"!=\"choice_1_b\"", + "_nested_name": "reply_choice_1_b", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_1\" || \n\"@local.combo_box_challenge_1\"!=\"choice_1_b\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_1\" || \n\"@local.combo_box_challenge_1\"!=\"choice_1_b\"", + "matchedExpression": "@local.combo_box_challenge_1", + "type": "local", + "fieldName": "combo_box_challenge_1" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_1": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_1_c", + "value": "Wonderful! By sharing responsibilities, you will have more time to do something fun with your teen – it’s so important!", + "hidden": "\"@local.combo_box\"!=\"challenge_1\" || \n\"@local.combo_box_challenge_1\"!=\"choice_1_c\"", + "_nested_name": "reply_choice_1_c", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_1\" || \n\"@local.combo_box_challenge_1\"!=\"choice_1_c\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_1\" || \n\"@local.combo_box_challenge_1\"!=\"choice_1_c\"", + "matchedExpression": "@local.combo_box_challenge_1", + "type": "local", + "fieldName": "combo_box_challenge_1" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_1": [ + "hidden" + ] + } + }, + { + "name": "answer_list_challenge_2", + "value": [ + "name:choice_2_a | text: Think of a time when my teen is more open to me, like in the morning or right before bedtime.", + "name:choice_2_b | text: Sit next to my teen when they are doing something they enjoy and show interest in what they like.", + "name:choice_2_c | text: Do something fun with the whole family." + ], + "type": "set_variable", + "_nested_name": "answer_list_challenge_2" + }, + { + "type": "combo_box", + "name": "combo_box_challenge_2", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.combo_box_challenge_2_tracker", + "@local.combo_box_challenge_2" + ], + "_raw": "changed | set_field: @local.combo_box_challenge_2_tracker: @local.combo_box_challenge_2", + "_cleaned": "changed | set_field: @local.combo_box_challenge_2_tracker: @local.combo_box_challenge_2" + } + ], + "hidden": "\"@local.combo_box\"!=\"challenge_2\"", + "parameter_list": { + "answer_list": "@local.answer_list_challenge_2", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_challenge_2", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_relax", - "@field.weekly_parent_point_relax+1" - ], - "_raw": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", - "_cleaned": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1" + "fullExpression": "@local.combo_box_challenge_2_tracker", + "matchedExpression": "@local.combo_box_challenge_2_tracker", + "type": "local", + "fieldName": "combo_box_challenge_2_tracker" } ], - "hidden": "\"@local.habit\" != \"relax\"", - "parameter_list": { - "text": "@data.habit.relax.title", - "icon_src": "plh_images/habits/habit_relax.svg" - }, - "style_list": [ - "Images should be read from habit_data_list" - ], - "_nested_name": "habit_box.habit_tracker.parent_point_relax", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_relax", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", - "fieldName": "total_parent_point_relax" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_relax+1", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", - "fieldName": "total_parent_point_relax" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", - "fieldName": "total_parent_point_relax" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", - "matchedExpression": "@field.total_parent_point_relax", - "type": "field", - "fieldName": "total_parent_point_relax" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_relax+1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"relax\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.relax.title", - "matchedExpression": "@data.habit.relax.title", - "type": "data", - "fieldName": "habit" - } - ] + "1": [ + { + "fullExpression": "@local.combo_box_challenge_2", + "matchedExpression": "@local.combo_box_challenge_2", + "type": "local", + "fieldName": "combo_box_challenge_2" } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_2_tracker: @local.combo_box_challenge_2", + "matchedExpression": "@local.combo_box_challenge_2_tracker", + "type": "local", + "fieldName": "combo_box_challenge_2_tracker" }, - "_dynamicDependencies": { - "@field.total_parent_point_relax": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_relax": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.relax.title": [ - "parameter_list.text" - ] + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_2_tracker: @local.combo_box_challenge_2", + "matchedExpression": "@local.combo_box_challenge_2", + "type": "local", + "fieldName": "combo_box_challenge_2" } - }, - { - "type": "parent_point_box", - "name": "parent_point_treat_yourself", - "value": "@field.total_parent_point_treat_yourself", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_treat_yourself", - "@field.total_parent_point_treat_yourself+1" - ], - "_raw": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", - "_cleaned": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_treat_yourself", - "@field.weekly_parent_point_treat_yourself+1" - ], - "_raw": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", - "_cleaned": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1" - } - ], - "hidden": "\"@local.habit\" != \"treat_yourself\"", - "parameter_list": { - "text": "@data.habit.treat_yourself.title", - "icon_src": "plh_images/habits/habit_treat_yourself.svg" + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_2_tracker: @local.combo_box_challenge_2", + "matchedExpression": "@local.combo_box_challenge_2_tracker", + "type": "local", + "fieldName": "combo_box_challenge_2_tracker" }, - "_nested_name": "habit_box.habit_tracker.parent_point_treat_yourself", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_treat_yourself", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", - "fieldName": "total_parent_point_treat_yourself" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_treat_yourself+1", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", - "fieldName": "total_parent_point_treat_yourself" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", - "fieldName": "total_parent_point_treat_yourself" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", - "matchedExpression": "@field.total_parent_point_treat_yourself", - "type": "field", - "fieldName": "total_parent_point_treat_yourself" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_treat_yourself+1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"treat_yourself\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.treat_yourself.title", - "matchedExpression": "@data.habit.treat_yourself.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_treat_yourself": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_treat_yourself": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.treat_yourself.title": [ - "parameter_list.text" - ] + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_2_tracker: @local.combo_box_challenge_2", + "matchedExpression": "@local.combo_box_challenge_2", + "type": "local", + "fieldName": "combo_box_challenge_2" } - }, + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_2\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ { - "type": "parent_point_box", - "name": "parent_point_praise_yourself", - "value": "@field.total_parent_point_praise_yourself", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_praise_yourself", - "@field.total_parent_point_praise_yourself+1" - ], - "_raw": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", - "_cleaned": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1" - }, + "fullExpression": "@local.answer_list_challenge_2", + "matchedExpression": "@local.answer_list_challenge_2", + "type": "local", + "fieldName": "answer_list_challenge_2" + } + ], + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] + } + }, + "_dynamicDependencies": { + "@local.combo_box_challenge_2_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_challenge_2": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_challenge_2": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_2_a", + "value": "Great! Picking a time when your teen is more talkative will help them to respond well to your attempt to connect.   ", + "hidden": "\"@local.combo_box\"!=\"challenge_2\" || \n\"@local.combo_box_challenge_2\"!=\"choice_2_a\"", + "_nested_name": "reply_choice_2_a", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_2\" || \n\"@local.combo_box_challenge_2\"!=\"choice_2_a\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_2\" || \n\"@local.combo_box_challenge_2\"!=\"choice_2_a\"", + "matchedExpression": "@local.combo_box_challenge_2", + "type": "local", + "fieldName": "combo_box_challenge_2" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_2": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_2_b", + "value": "Nice! Watching your teen’s favourite T.V. show or sports match together will show them that you care. Just be patient; they will open up to you over time!  ", + "hidden": "\"@local.combo_box\"!=\"challenge_2\" || \n\"@local.combo_box_challenge_2\"!=\"choice_2_b\"", + "_nested_name": "reply_choice_2_b", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_2\" || \n\"@local.combo_box_challenge_2\"!=\"choice_2_b\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_2\" || \n\"@local.combo_box_challenge_2\"!=\"choice_2_b\"", + "matchedExpression": "@local.combo_box_challenge_2", + "type": "local", + "fieldName": "combo_box_challenge_2" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_2": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_2_c", + "value": "Perfect! Sometimes it can be easier to start with spending time with the whole family. That way your teen can get more comfortable with spending one-on-one time with you over time.", + "hidden": "\"@local.combo_box\"!=\"challenge_2\" || \n\"@local.combo_box_challenge_2\"!=\"choice_2_c\"", + "_nested_name": "reply_choice_2_c", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_2\" || \n\"@local.combo_box_challenge_2\"!=\"choice_2_c\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_2\" || \n\"@local.combo_box_challenge_2\"!=\"choice_2_c\"", + "matchedExpression": "@local.combo_box_challenge_2", + "type": "local", + "fieldName": "combo_box_challenge_2" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_2": [ + "hidden" + ] + } + }, + { + "name": "answer_list_challenge_3", + "value": [ + "name:choice_3_a | text: Suggest fun things my teen and I could do together.", + "name:choice_3_b | text: Find something educational to do with my teen on the gadget.", + "name:choice_3_c | text: Ask my teen to show me how their phone/gadget works." + ], + "type": "set_variable", + "_nested_name": "answer_list_challenge_3" + }, + { + "type": "combo_box", + "name": "combo_box_challenge_3", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.combo_box_challenge_3_tracker", + "@local.combo_box_challenge_3" + ], + "_raw": "changed | set_field: @local.combo_box_challenge_3_tracker: @local.combo_box_challenge_3", + "_cleaned": "changed | set_field: @local.combo_box_challenge_3_tracker: @local.combo_box_challenge_3" + } + ], + "hidden": "\"@local.combo_box\"!=\"challenge_3\"", + "parameter_list": { + "answer_list": "@local.answer_list_challenge_3", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_challenge_3", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_praise_yourself", - "@field.weekly_parent_point_praise_yourself+1" - ], - "_raw": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", - "_cleaned": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1" + "fullExpression": "@local.combo_box_challenge_3_tracker", + "matchedExpression": "@local.combo_box_challenge_3_tracker", + "type": "local", + "fieldName": "combo_box_challenge_3_tracker" } ], - "hidden": "\"@local.habit\" != \"praise_yourself\"", - "parameter_list": { - "text": "@data.habit.praise_yourself.title", - "icon_src": "plh_images/habits/habit_praise_yourself.svg" - }, - "_nested_name": "habit_box.habit_tracker.parent_point_praise_yourself", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_praise_yourself", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", - "fieldName": "total_parent_point_praise_yourself" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_praise_yourself+1", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", - "fieldName": "total_parent_point_praise_yourself" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", - "fieldName": "total_parent_point_praise_yourself" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", - "matchedExpression": "@field.total_parent_point_praise_yourself", - "type": "field", - "fieldName": "total_parent_point_praise_yourself" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_praise_yourself+1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"praise_yourself\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.praise_yourself.title", - "matchedExpression": "@data.habit.praise_yourself.title", - "type": "data", - "fieldName": "habit" - } - ] - } - }, - "_dynamicDependencies": { - "@field.total_parent_point_praise_yourself": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_praise_yourself": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.praise_yourself.title": [ - "parameter_list.text" - ] - } - }, - { - "type": "parent_point_box", - "name": "parent_point_spend_time", - "value": "@field.total_parent_point_spend_time", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_spend_time", - "@field.total_parent_point_spend_time+1" - ], - "_raw": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "_cleaned": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1" - }, + "1": [ { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_spend_time", - "@field.weekly_parent_point_spend_time+1" - ], - "_raw": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "_cleaned": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1" + "fullExpression": "@local.combo_box_challenge_3", + "matchedExpression": "@local.combo_box_challenge_3", + "type": "local", + "fieldName": "combo_box_challenge_3" } - ], - "hidden": "\"@local.habit\" != \"spend_time\"", - "parameter_list": { - "text": "@data.habit.spend_time.title", - "icon_src": "plh_images/habits/habit_spend_time.svg" + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_3_tracker: @local.combo_box_challenge_3", + "matchedExpression": "@local.combo_box_challenge_3_tracker", + "type": "local", + "fieldName": "combo_box_challenge_3_tracker" }, - "_nested_name": "habit_box.habit_tracker.parent_point_spend_time", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_spend_time", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", - "matchedExpression": "@field.total_parent_point_spend_time", - "type": "field", - "fieldName": "total_parent_point_spend_time" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"spend_time\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.spend_time.title", - "matchedExpression": "@data.habit.spend_time.title", - "type": "data", - "fieldName": "habit" - } - ] - } + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_3_tracker: @local.combo_box_challenge_3", + "matchedExpression": "@local.combo_box_challenge_3", + "type": "local", + "fieldName": "combo_box_challenge_3" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_3_tracker: @local.combo_box_challenge_3", + "matchedExpression": "@local.combo_box_challenge_3_tracker", + "type": "local", + "fieldName": "combo_box_challenge_3_tracker" }, - "_dynamicDependencies": { - "@field.total_parent_point_spend_time": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_spend_time": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.spend_time.title": [ - "parameter_list.text" - ] + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_3_tracker: @local.combo_box_challenge_3", + "matchedExpression": "@local.combo_box_challenge_3", + "type": "local", + "fieldName": "combo_box_challenge_3" } - }, - { - "type": "parent_point_box", - "name": "parent_point_praise_teen", - "value": "@field.total_parent_point_praise_teen", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_praise_teen", - "@field.total_parent_point_praise_teen+1" - ], - "_raw": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", - "_cleaned": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1" - }, + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_3\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_challenge_3", + "matchedExpression": "@local.answer_list_challenge_3", + "type": "local", + "fieldName": "answer_list_challenge_3" + } + ], + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] + } + }, + "_dynamicDependencies": { + "@local.combo_box_challenge_3_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_challenge_3": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_challenge_3": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_3_a", + "value": "That’s perfect! If you need any inspiration, we can give you ideas of what you could do together! In a minute, we will give you a list of suggested activities. Remember, let your teen choose!", + "hidden": "\"@local.combo_box\"!=\"challenge_3\" || \n\"@local.combo_box_challenge_3\"!=\"choice_3_a\"", + "_nested_name": "reply_choice_3_a", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_3\" || \n\"@local.combo_box_challenge_3\"!=\"choice_3_a\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_3\" || \n\"@local.combo_box_challenge_3\"!=\"choice_3_a\"", + "matchedExpression": "@local.combo_box_challenge_3", + "type": "local", + "fieldName": "combo_box_challenge_3" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_3": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_3_b", + "value": "Wonderful!  There are lots of fun apps on phones that you can play together. Ask questions, show interest, and remember to say something nice.    ", + "hidden": "\"@local.combo_box\"!=\"challenge_3\" || \n\"@local.combo_box_challenge_3\"!=\"choice_3_b\"", + "_nested_name": "reply_choice_3_b", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_3\" || \n\"@local.combo_box_challenge_3\"!=\"choice_3_b\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_3\" || \n\"@local.combo_box_challenge_3\"!=\"choice_3_b\"", + "matchedExpression": "@local.combo_box_challenge_3", + "type": "local", + "fieldName": "combo_box_challenge_3" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_3": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_3_c", + "value": "Nice! Teens love it when you show interest in their gadget and when they get to explain something they know to you. This is a great starting point!  ", + "hidden": "\"@local.combo_box\"!=\"challenge_3\" || \n\"@local.combo_box_challenge_3\"!=\"choice_3_c\"", + "_nested_name": "reply_choice_3_c", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_3\" || \n\"@local.combo_box_challenge_3\"!=\"choice_3_c\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_3\" || \n\"@local.combo_box_challenge_3\"!=\"choice_3_c\"", + "matchedExpression": "@local.combo_box_challenge_3", + "type": "local", + "fieldName": "combo_box_challenge_3" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_3": [ + "hidden" + ] + } + }, + { + "name": "answer_list_challenge_4", + "value": [ + "name:choice_4_a | text: Explain to my teen why their suggestion is not safe or possible and ask them for other ideas.", + "name:choice_4_b | text: Suggest other fun activities that we could do together." + ], + "type": "set_variable", + "_nested_name": "answer_list_challenge_4" + }, + { + "type": "combo_box", + "name": "combo_box_challenge_4", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.combo_box_challenge_4_tracker", + "@local.combo_box_challenge_4" + ], + "_raw": "changed | set_field: @local.combo_box_challenge_4_tracker: @local.combo_box_challenge_4", + "_cleaned": "changed | set_field: @local.combo_box_challenge_4_tracker: @local.combo_box_challenge_4" + } + ], + "hidden": "\"@local.combo_box\"!=\"challenge_4\"", + "parameter_list": { + "answer_list": "@local.answer_list_challenge_4", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_challenge_4", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_praise_teen", - "@field.weekly_parent_point_praise_teen+1" - ], - "_raw": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", - "_cleaned": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1" + "fullExpression": "@local.combo_box_challenge_4_tracker", + "matchedExpression": "@local.combo_box_challenge_4_tracker", + "type": "local", + "fieldName": "combo_box_challenge_4_tracker" } ], - "hidden": "\"@local.habit\" != \"praise_teen\"", - "parameter_list": { - "text": "@data.habit.praise_teen.title", - "icon_src": "plh_images/habits/habit_praise_teen.svg" - }, - "_nested_name": "habit_box.habit_tracker.parent_point_praise_teen", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_praise_teen", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", - "fieldName": "total_parent_point_praise_teen" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_praise_teen+1", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", - "fieldName": "total_parent_point_praise_teen" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", - "fieldName": "total_parent_point_praise_teen" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", - "matchedExpression": "@field.total_parent_point_praise_teen", - "type": "field", - "fieldName": "total_parent_point_praise_teen" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_praise_teen+1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"praise_teen\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.praise_teen.title", - "matchedExpression": "@data.habit.praise_teen.title", - "type": "data", - "fieldName": "habit" - } - ] + "1": [ + { + "fullExpression": "@local.combo_box_challenge_4", + "matchedExpression": "@local.combo_box_challenge_4", + "type": "local", + "fieldName": "combo_box_challenge_4" } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_4_tracker: @local.combo_box_challenge_4", + "matchedExpression": "@local.combo_box_challenge_4_tracker", + "type": "local", + "fieldName": "combo_box_challenge_4_tracker" }, - "_dynamicDependencies": { - "@field.total_parent_point_praise_teen": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_praise_teen": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.praise_teen.title": [ - "parameter_list.text" - ] + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_4_tracker: @local.combo_box_challenge_4", + "matchedExpression": "@local.combo_box_challenge_4", + "type": "local", + "fieldName": "combo_box_challenge_4" } - }, + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_4_tracker: @local.combo_box_challenge_4", + "matchedExpression": "@local.combo_box_challenge_4_tracker", + "type": "local", + "fieldName": "combo_box_challenge_4_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_4_tracker: @local.combo_box_challenge_4", + "matchedExpression": "@local.combo_box_challenge_4", + "type": "local", + "fieldName": "combo_box_challenge_4" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_4\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ { - "type": "parent_point_box", - "name": "parent_point_instruct_positively", - "value": "@field.total_parent_point_instruct_positively", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_instruct_positively", - "@field.total_parent_point_instruct_positively+1" - ], - "_raw": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", - "_cleaned": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1" - }, + "fullExpression": "@local.answer_list_challenge_4", + "matchedExpression": "@local.answer_list_challenge_4", + "type": "local", + "fieldName": "answer_list_challenge_4" + } + ], + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] + } + }, + "_dynamicDependencies": { + "@local.combo_box_challenge_4_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_challenge_4": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_challenge_4": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_4_a", + "value": "Awesome! It is very important that your teen understands why you cannot do the activity that they suggested. Ask them for other ideas!", + "hidden": "\"@local.combo_box\"!=\"challenge_4\" || \n\"@local.combo_box_challenge_4\"!=\"choice_4_a\"", + "_nested_name": "reply_choice_4_a", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_4\" || \n\"@local.combo_box_challenge_4\"!=\"choice_4_a\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_4\" || \n\"@local.combo_box_challenge_4\"!=\"choice_4_a\"", + "matchedExpression": "@local.combo_box_challenge_4", + "type": "local", + "fieldName": "combo_box_challenge_4" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_4": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_4_b", + "value": "This is perfect! If you need any inspiration, you can find suggestions for activities in your @global.parent_centre . Remember, let your teen choose the activity! ", + "hidden": "\"@local.combo_box\"!=\"challenge_4\" || \n\"@local.combo_box_challenge_4\"!=\"choice_4_b\"", + "_nested_name": "reply_choice_4_b", + "_dynamicFields": { + "value": [ + { + "fullExpression": "This is perfect! If you need any inspiration, you can find suggestions for activities in your @global.parent_centre . Remember, let your teen choose the activity! ", + "matchedExpression": "@global.parent_centre", + "type": "global", + "fieldName": "parent_centre" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_4\" || \n\"@local.combo_box_challenge_4\"!=\"choice_4_b\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_4\" || \n\"@local.combo_box_challenge_4\"!=\"choice_4_b\"", + "matchedExpression": "@local.combo_box_challenge_4", + "type": "local", + "fieldName": "combo_box_challenge_4" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_centre": [ + "value" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_4": [ + "hidden" + ] + } + }, + { + "name": "answer_list_challenge_5", + "value": [ + "name:choice_5_a | text: Watch my teen do the activity and cheer them on.", + "name:choice_5_b | text: Suggest other fun activities we can do together." + ], + "type": "set_variable", + "_nested_name": "answer_list_challenge_5" + }, + { + "type": "combo_box", + "name": "combo_box_challenge_5", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.combo_box_challenge_5_tracker", + "@local.combo_box_challenge_5" + ], + "_raw": "changed | set_field: @local.combo_box_challenge_5_tracker: @local.combo_box_challenge_5", + "_cleaned": "changed | set_field: @local.combo_box_challenge_5_tracker: @local.combo_box_challenge_5" + } + ], + "hidden": "\"@local.combo_box\"!=\"challenge_5\"", + "parameter_list": { + "answer_list": "@local.answer_list_challenge_5", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_challenge_5", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_instruct_positively", - "@field.weekly_parent_point_instruct_positively+1" - ], - "_raw": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", - "_cleaned": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1" + "fullExpression": "@local.combo_box_challenge_5_tracker", + "matchedExpression": "@local.combo_box_challenge_5_tracker", + "type": "local", + "fieldName": "combo_box_challenge_5_tracker" } ], - "hidden": "\"@local.habit\" != \"instruct_positively\"", - "parameter_list": { - "text": "@data.habit.instruct_positively.title", - "icon_src": "plh_images/habits/habit_instruct_positively.svg" - }, - "_nested_name": "habit_box.habit_tracker.parent_point_instruct_positively", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_instruct_positively+1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", - "matchedExpression": "@field.total_parent_point_instruct_positively", - "type": "field", - "fieldName": "total_parent_point_instruct_positively" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_instruct_positively+1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"instruct_positively\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.instruct_positively.title", - "matchedExpression": "@data.habit.instruct_positively.title", - "type": "data", - "fieldName": "habit" - } - ] + "1": [ + { + "fullExpression": "@local.combo_box_challenge_5", + "matchedExpression": "@local.combo_box_challenge_5", + "type": "local", + "fieldName": "combo_box_challenge_5" } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_5_tracker: @local.combo_box_challenge_5", + "matchedExpression": "@local.combo_box_challenge_5_tracker", + "type": "local", + "fieldName": "combo_box_challenge_5_tracker" }, - "_dynamicDependencies": { - "@field.total_parent_point_instruct_positively": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_instruct_positively": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.instruct_positively.title": [ - "parameter_list.text" - ] + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_5_tracker: @local.combo_box_challenge_5", + "matchedExpression": "@local.combo_box_challenge_5", + "type": "local", + "fieldName": "combo_box_challenge_5" } - }, + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_5_tracker: @local.combo_box_challenge_5", + "matchedExpression": "@local.combo_box_challenge_5_tracker", + "type": "local", + "fieldName": "combo_box_challenge_5_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_5_tracker: @local.combo_box_challenge_5", + "matchedExpression": "@local.combo_box_challenge_5", + "type": "local", + "fieldName": "combo_box_challenge_5" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_5\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ { - "type": "parent_point_box", - "name": "parent_point_breathe", - "value": "@field.total_parent_point_breathe", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_breathe", - "@field.total_parent_point_breathe+1" - ], - "_raw": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", - "_cleaned": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1" - }, + "fullExpression": "@local.answer_list_challenge_5", + "matchedExpression": "@local.answer_list_challenge_5", + "type": "local", + "fieldName": "answer_list_challenge_5" + } + ], + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] + } + }, + "_dynamicDependencies": { + "@local.combo_box_challenge_5_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_challenge_5": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_challenge_5": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_5_a", + "value": "Wonderful! Even if you are watching instead of doing the activity together, you can show your interest by describing and praising what your teen is doing!   ", + "hidden": "\"@local.combo_box\"!=\"challenge_5\" || \n\"@local.combo_box_challenge_5\"!=\"choice_5_a\"", + "_nested_name": "reply_choice_5_a", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_5\" || \n\"@local.combo_box_challenge_5\"!=\"choice_5_a\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_5\" || \n\"@local.combo_box_challenge_5\"!=\"choice_5_a\"", + "matchedExpression": "@local.combo_box_challenge_5", + "type": "local", + "fieldName": "combo_box_challenge_5" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_5": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_5_b", + "value": "That’s perfect! If you need any inspiration, you can find suggestions for activities in your @global.parent_centre . Remember, let your teen choose the activity!", + "hidden": "\"@local.combo_box\"!=\"challenge_5\" || \n\"@local.combo_box_challenge_5\"!=\"choice_5_b\"", + "_nested_name": "reply_choice_5_b", + "_dynamicFields": { + "value": [ + { + "fullExpression": "That’s perfect! If you need any inspiration, you can find suggestions for activities in your @global.parent_centre . Remember, let your teen choose the activity!", + "matchedExpression": "@global.parent_centre", + "type": "global", + "fieldName": "parent_centre" + } + ], + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_5\" || \n\"@local.combo_box_challenge_5\"!=\"choice_5_b\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_5\" || \n\"@local.combo_box_challenge_5\"!=\"choice_5_b\"", + "matchedExpression": "@local.combo_box_challenge_5", + "type": "local", + "fieldName": "combo_box_challenge_5" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_centre": [ + "value" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_5": [ + "hidden" + ] + } + }, + { + "name": "answer_list_challenge_6", + "value": [ + "name:choice_6_a | text: Suggest other activities that we can do together instead of against each other.", + "name:choice_6_b | text: Play the activity in teams, so I can encourage my teen if our team loses." + ], + "type": "set_variable", + "_nested_name": "answer_list_challenge_6" + }, + { + "type": "combo_box", + "name": "combo_box_challenge_6", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.combo_box_challenge_6_tracker", + "@local.combo_box_challenge_6" + ], + "_raw": "changed | set_field: @local.combo_box_challenge_6_tracker: @local.combo_box_challenge_6", + "_cleaned": "changed | set_field: @local.combo_box_challenge_6_tracker: @local.combo_box_challenge_6" + } + ], + "hidden": "\"@local.combo_box\"!=\"challenge_6\"", + "parameter_list": { + "answer_list": "@local.answer_list_challenge_6", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_challenge_6", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_breathe", - "@field.weekly_parent_point_breathe+1" - ], - "_raw": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", - "_cleaned": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1" + "fullExpression": "@local.combo_box_challenge_6_tracker", + "matchedExpression": "@local.combo_box_challenge_6_tracker", + "type": "local", + "fieldName": "combo_box_challenge_6_tracker" } ], - "hidden": "\"@local.habit\" != \"breathe\"", - "parameter_list": { - "text": "@data.habit.breathe.title", - "icon_src": "plh_images/habits/habit_breathe.svg" - }, - "_nested_name": "habit_box.habit_tracker.parent_point_breathe", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_breathe", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_breathe+1", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", - "matchedExpression": "@field.total_parent_point_breathe", - "type": "field", - "fieldName": "total_parent_point_breathe" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_breathe+1", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"breathe\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.breathe.title", - "matchedExpression": "@data.habit.breathe.title", - "type": "data", - "fieldName": "habit" - } - ] + "1": [ + { + "fullExpression": "@local.combo_box_challenge_6", + "matchedExpression": "@local.combo_box_challenge_6", + "type": "local", + "fieldName": "combo_box_challenge_6" } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_6_tracker: @local.combo_box_challenge_6", + "matchedExpression": "@local.combo_box_challenge_6_tracker", + "type": "local", + "fieldName": "combo_box_challenge_6_tracker" }, - "_dynamicDependencies": { - "@field.total_parent_point_breathe": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_breathe": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.breathe.title": [ - "parameter_list.text" - ] + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_6_tracker: @local.combo_box_challenge_6", + "matchedExpression": "@local.combo_box_challenge_6", + "type": "local", + "fieldName": "combo_box_challenge_6" } - }, + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_6_tracker: @local.combo_box_challenge_6", + "matchedExpression": "@local.combo_box_challenge_6_tracker", + "type": "local", + "fieldName": "combo_box_challenge_6_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_6_tracker: @local.combo_box_challenge_6", + "matchedExpression": "@local.combo_box_challenge_6", + "type": "local", + "fieldName": "combo_box_challenge_6" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_6\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ { - "type": "parent_point_box", - "name": "parent_point_money", - "value": "@field.total_parent_point_money", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_money", - "@field.total_parent_point_money+1" - ], - "_raw": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", - "_cleaned": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1" - }, + "fullExpression": "@local.answer_list_challenge_6", + "matchedExpression": "@local.answer_list_challenge_6", + "type": "local", + "fieldName": "answer_list_challenge_6" + } + ], + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] + } + }, + "_dynamicDependencies": { + "@local.combo_box_challenge_6_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_challenge_6": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_challenge_6": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_6_a", + "value": "Remember, let your teen choose!  ", + "hidden": "\"@local.combo_box\"!=\"challenge_6\" || \n\"@local.combo_box_challenge_6\"!=\"choice_6_a\"", + "_nested_name": "reply_choice_6_a", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_6\" || \n\"@local.combo_box_challenge_6\"!=\"choice_6_a\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_6\" || \n\"@local.combo_box_challenge_6\"!=\"choice_6_a\"", + "matchedExpression": "@local.combo_box_challenge_6", + "type": "local", + "fieldName": "combo_box_challenge_6" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_6": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_6_b", + "value": "If you and your teen are in the same team, you can help them manage their emotions if your team loses.", + "hidden": "\"@local.combo_box\"!=\"challenge_6\" || \n\"@local.combo_box_challenge_6\"!=\"choice_6_b\"", + "_nested_name": "reply_choice_6_b", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_6\" || \n\"@local.combo_box_challenge_6\"!=\"choice_6_b\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_6\" || \n\"@local.combo_box_challenge_6\"!=\"choice_6_b\"", + "matchedExpression": "@local.combo_box_challenge_6", + "type": "local", + "fieldName": "combo_box_challenge_6" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_6": [ + "hidden" + ] + } + }, + { + "name": "answer_list_challenge_7", + "value": [ + "name:choice_7_a | text: Say to my teen, “We have one minute before the end of one-on-one time today”, so my teen is prepared.", + "name:choice_7_b | text: Inform my teen of how much time I have for one-on-one time and ask them to keep track on a clock or watch.", + "name:choice_7_c | text: Plan one-on-one time right before another activity that my teen enjoys." + ], + "type": "set_variable", + "_nested_name": "answer_list_challenge_7" + }, + { + "type": "combo_box", + "name": "combo_box_challenge_7", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.combo_box_challenge_7_tracker", + "@local.combo_box_challenge_7" + ], + "_raw": "changed | set_field: @local.combo_box_challenge_7_tracker: @local.combo_box_challenge_7", + "_cleaned": "changed | set_field: @local.combo_box_challenge_7_tracker: @local.combo_box_challenge_7" + } + ], + "hidden": "\"@local.combo_box\"!=\"challenge_7\"", + "parameter_list": { + "answer_list": "@local.answer_list_challenge_7", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_challenge_7", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_money", - "@field.weekly_parent_point_money+1" - ], - "_raw": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", - "_cleaned": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1" + "fullExpression": "@local.combo_box_challenge_7_tracker", + "matchedExpression": "@local.combo_box_challenge_7_tracker", + "type": "local", + "fieldName": "combo_box_challenge_7_tracker" } ], - "hidden": "\"@local.habit\" != \"money\"", - "parameter_list": { - "text": "@data.habit.money.title", - "icon_src": "plh_images/habits/habit_money.svg" - }, - "_nested_name": "habit_box.habit_tracker.parent_point_money", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_money", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", - "fieldName": "total_parent_point_money" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_money+1", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", - "fieldName": "total_parent_point_money" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", - "fieldName": "total_parent_point_money" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", - "matchedExpression": "@field.total_parent_point_money", - "type": "field", - "fieldName": "total_parent_point_money" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_money+1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"money\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.money.title", - "matchedExpression": "@data.habit.money.title", - "type": "data", - "fieldName": "habit" - } - ] + "1": [ + { + "fullExpression": "@local.combo_box_challenge_7", + "matchedExpression": "@local.combo_box_challenge_7", + "type": "local", + "fieldName": "combo_box_challenge_7" } - }, - "_dynamicDependencies": { - "@field.total_parent_point_money": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_money": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.money.title": [ - "parameter_list.text" - ] - } + ] }, - { - "type": "parent_point_box", - "name": "parent_point_consequence", - "value": "@field.total_parent_point_consequence", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_consequence", - "@field.total_parent_point_consequence+1" - ], - "_raw": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", - "_cleaned": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_consequence", - "@field.weekly_parent_point_consequence+1" - ], - "_raw": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", - "_cleaned": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1" - } - ], - "hidden": "\"@local.habit\" != \"consequence\"", - "parameter_list": { - "text": "@data.habit.consequence.title", - "icon_src": "plh_images/habits/habit_consequence.svg" - }, - "_nested_name": "habit_box.habit_tracker.parent_point_consequence", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_consequence", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", - "fieldName": "total_parent_point_consequence" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_consequence+1", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", - "fieldName": "total_parent_point_consequence" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", - "fieldName": "total_parent_point_consequence" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", - "matchedExpression": "@field.total_parent_point_consequence", - "type": "field", - "fieldName": "total_parent_point_consequence" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_consequence+1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"consequence\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.consequence.title", - "matchedExpression": "@data.habit.consequence.title", - "type": "data", - "fieldName": "habit" - } - ] - } + "_raw": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_7_tracker: @local.combo_box_challenge_7", + "matchedExpression": "@local.combo_box_challenge_7_tracker", + "type": "local", + "fieldName": "combo_box_challenge_7_tracker" }, - "_dynamicDependencies": { - "@field.total_parent_point_consequence": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_consequence": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.consequence.title": [ - "parameter_list.text" - ] + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_7_tracker: @local.combo_box_challenge_7", + "matchedExpression": "@local.combo_box_challenge_7", + "type": "local", + "fieldName": "combo_box_challenge_7" } - }, - { - "type": "parent_point_box", - "name": "parent_point_safe", - "value": "@field.total_parent_point_safe", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "total_parent_point_safe", - "@field.total_parent_point_safe+1" - ], - "_raw": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", - "_cleaned": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "weekly_parent_point_safe", - "@field.weekly_parent_point_safe+1" - ], - "_raw": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", - "_cleaned": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1" - } - ], - "hidden": "\"@local.habit\" != \"safe\"", - "parameter_list": { - "text": "@data.habit.safe.title", - "icon_src": "plh_images/habits/habit_safe.svg" - }, - "_nested_name": "habit_box.habit_tracker.parent_point_safe", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.total_parent_point_safe", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", - "fieldName": "total_parent_point_safe" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@field.total_parent_point_safe+1", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", - "fieldName": "total_parent_point_safe" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", - "fieldName": "total_parent_point_safe" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", - "matchedExpression": "@field.total_parent_point_safe", - "type": "field", - "fieldName": "total_parent_point_safe" - } - ] - }, - "1": { - "args": { - "1": [ - { - "fullExpression": "@field.weekly_parent_point_safe+1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "\"@local.habit\" != \"safe\"", - "matchedExpression": "@local.habit", - "type": "local", - "fieldName": "habit" - } - ], - "parameter_list": { - "text": [ - { - "fullExpression": "@data.habit.safe.title", - "matchedExpression": "@data.habit.safe.title", - "type": "data", - "fieldName": "habit" - } - ] - } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_7_tracker: @local.combo_box_challenge_7", + "matchedExpression": "@local.combo_box_challenge_7_tracker", + "type": "local", + "fieldName": "combo_box_challenge_7_tracker" }, - "_dynamicDependencies": { - "@field.total_parent_point_safe": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.weekly_parent_point_safe": [ - "action_list.1.args.1", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.habit": [ - "hidden" - ], - "@data.habit.safe.title": [ - "parameter_list.text" - ] - } - } - ], - "_nested_name": "habit_box.habit_tracker", - "_dynamicFields": { - "hidden": [ { - "fullExpression": "\"@local.habit\" == \"undefined\"", - "matchedExpression": "@local.habit", + "fullExpression": "changed | set_field: @local.combo_box_challenge_7_tracker: @local.combo_box_challenge_7", + "matchedExpression": "@local.combo_box_challenge_7", "type": "local", - "fieldName": "habit" + "fieldName": "combo_box_challenge_7" } ] - }, - "_dynamicDependencies": { - "@local.habit": [ - "hidden" - ] } + }, + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_7\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_challenge_7", + "matchedExpression": "@local.answer_list_challenge_7", + "type": "local", + "fieldName": "answer_list_challenge_7" + } + ], + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] } - ], - "_nested_name": "habit_box", + }, + "_dynamicDependencies": { + "@local.combo_box_challenge_7_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_challenge_7": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_challenge_7": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } + }, + { + "type": "text", + "name": "reply_choice_7_a", + "value": "Wonderful! By giving your teen a heads-up, the end of one-on-one time will not come as a surprise. Also, you can remind your teen that you will spend time together again tomorrow.    ", + "hidden": "\"@local.combo_box\"!=\"challenge_7\" || \n\"@local.combo_box_challenge_7\"!=\"choice_7_a\"", + "_nested_name": "reply_choice_7_a", "_dynamicFields": { "hidden": [ { - "fullExpression": "\"@local.habit_text\" == \"undefined\"", - "matchedExpression": "@local.habit_text", + "fullExpression": "\"@local.combo_box\"!=\"challenge_7\" || \n\"@local.combo_box_challenge_7\"!=\"choice_7_a\"", + "matchedExpression": "@local.combo_box", "type": "local", - "fieldName": "habit_text" + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_7\" || \n\"@local.combo_box_challenge_7\"!=\"choice_7_a\"", + "matchedExpression": "@local.combo_box_challenge_7", + "type": "local", + "fieldName": "combo_box_challenge_7" } ] }, "_dynamicDependencies": { - "@local.habit_text": [ + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_7": [ "hidden" ] } }, { - "type": "button", - "name": "button_1", - "value": "@global.check_it_out_button", - "hidden": true, - "parameter_list": { - "style": "navigation" - }, - "_nested_name": "button_1", + "type": "text", + "name": "reply_choice_7_b", + "value": "Great! That way your teen has the responsibility to monitor the time and will be aware when time is almost up. Remind them that you will spend time together again tomorrow.  ", + "hidden": "\"@local.combo_box\"!=\"challenge_7\" || \n\"@local.combo_box_challenge_7\"!=\"choice_7_b\"", + "_nested_name": "reply_choice_7_b", "_dynamicFields": { - "value": [ + "hidden": [ { - "fullExpression": "@global.check_it_out_button", - "matchedExpression": "@global.check_it_out_button", - "type": "global", - "fieldName": "check_it_out_button" + "fullExpression": "\"@local.combo_box\"!=\"challenge_7\" || \n\"@local.combo_box_challenge_7\"!=\"choice_7_b\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + }, + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_7\" || \n\"@local.combo_box_challenge_7\"!=\"choice_7_b\"", + "matchedExpression": "@local.combo_box_challenge_7", + "type": "local", + "fieldName": "combo_box_challenge_7" } ] }, "_dynamicDependencies": { - "@global.check_it_out_button": [ - "value" + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_7": [ + "hidden" ] } }, { - "type": "button", - "name": "button_2", - "hidden": true, - "parameter_list": { - "style": "navigation" - }, - "_nested_name": "button_2" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" - }, - { - "flow_type": "template", - "flow_name": "m_workshop_tomorrow", - "status": "released", - "rows": [ - { - "type": "template", - "name": "in_week_message", - "value": "in_week_message", - "rows": [ - { - "name": "title", - "value": "@global.m_workshop_tomorrow", - "type": "set_variable", - "_nested_name": "in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_tomorrow", - "matchedExpression": "@global.m_workshop_tomorrow", - "type": "global", - "fieldName": "m_workshop_tomorrow" - } - ] + "type": "text", + "name": "reply_choice_7_c", + "value": "Wonderful! If you spend time together right before dinner, you can happily say, “One-on-one time is over. Let’s get ready for dinner with the rest of the family!”   ", + "hidden": "\"@local.combo_box\"!=\"challenge_7\" || \n\"@local.combo_box_challenge_7\"!=\"choice_7_c\"", + "_nested_name": "reply_choice_7_c", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_7\" || \n\"@local.combo_box_challenge_7\"!=\"choice_7_c\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" }, - "_dynamicDependencies": { - "@global.m_workshop_tomorrow": [ - "value" - ] + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_7\" || \n\"@local.combo_box_challenge_7\"!=\"choice_7_c\"", + "matchedExpression": "@local.combo_box_challenge_7", + "type": "local", + "fieldName": "combo_box_challenge_7" } - }, - { - "name": "image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "type": "set_variable", - "_nested_name": "in_week_message.image" - } - ], - "_nested_name": "in_week_message" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" - }, - { - "flow_type": "template", - "flow_name": "m_workshop_released", - "status": "released", - "rows": [ - { - "name": "workshop", - "type": "set_variable", - "_nested_name": "workshop" + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_7": [ + "hidden" + ] + } }, { - "name": "stepper", - "value": "_stepper", + "name": "answer_list_challenge_8", + "value": [ + "name:choice_8_a | text: Ask another adult or older sibling to look after the younger children during the one-on-one time with my teen.", + "name:choice_8_b | text: Think of a time when the other children are not around and spend time with my teen then.", + "name:choice_8_c | text: Plan one-on-one time in a place other than at home." + ], "type": "set_variable", - "_nested_name": "stepper" + "_nested_name": "answer_list_challenge_8" }, { - "type": "template", - "name": "in_week_message", - "value": "in_week_message", - "rows": [ - { - "name": "title", - "value": "@global.m_workshop_released", - "type": "set_variable", - "_nested_name": "in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, - { - "name": "image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "type": "set_variable", - "_nested_name": "in_week_message.image" - }, + "type": "combo_box", + "name": "combo_box_challenge_8", + "action_list": [ { - "name": "button_1", - "value": "Start workshop @global.@local.workshop", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "@local.workshop@local.stepper" + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.combo_box_challenge_8_tracker", + "@local.combo_box_challenge_8" + ], + "_raw": "changed | set_field: @local.combo_box_challenge_8_tracker: @local.combo_box_challenge_8", + "_cleaned": "changed | set_field: @local.combo_box_challenge_8_tracker: @local.combo_box_challenge_8" + } + ], + "hidden": "\"@local.combo_box\"!=\"challenge_8\"", + "parameter_list": { + "answer_list": "@local.answer_list_challenge_8", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box_challenge_8", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.combo_box_challenge_8_tracker", + "matchedExpression": "@local.combo_box_challenge_8_tracker", + "type": "local", + "fieldName": "combo_box_challenge_8_tracker" + } ], - "_raw": "click | go_to : @local.workshop@local.stepper", - "_cleaned": "click | go_to : @local.workshop@local.stepper" + "1": [ + { + "fullExpression": "@local.combo_box_challenge_8", + "matchedExpression": "@local.combo_box_challenge_8", + "type": "local", + "fieldName": "combo_box_challenge_8" + } + ] }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - } - ], - "hidden": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "in_week_message.button_1", - "_dynamicFields": { - "value": [ + "_raw": [ { - "fullExpression": "Start workshop @global.@local.workshop", - "matchedExpression": "@local.workshop", + "fullExpression": "changed | set_field: @local.combo_box_challenge_8_tracker: @local.combo_box_challenge_8", + "matchedExpression": "@local.combo_box_challenge_8_tracker", "type": "local", - "fieldName": "workshop" + "fieldName": "combo_box_challenge_8_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_8_tracker: @local.combo_box_challenge_8", + "matchedExpression": "@local.combo_box_challenge_8", + "type": "local", + "fieldName": "combo_box_challenge_8" } ], - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop@local.stepper", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - }, - { - "fullExpression": "@local.workshop@local.stepper", - "matchedExpression": "@local.stepper", - "type": "local", - "fieldName": "stepper" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - }, - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.stepper", - "type": "local", - "fieldName": "stepper" - } - ], - "_cleaned": [ - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - }, - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.stepper", - "type": "local", - "fieldName": "stepper" - } - ] - } - }, - "hidden": [ + "_cleaned": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "changed | set_field: @local.combo_box_challenge_8_tracker: @local.combo_box_challenge_8", + "matchedExpression": "@local.combo_box_challenge_8_tracker", + "type": "local", + "fieldName": "combo_box_challenge_8_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_challenge_8_tracker: @local.combo_box_challenge_8", + "matchedExpression": "@local.combo_box_challenge_8", + "type": "local", + "fieldName": "combo_box_challenge_8" } ] - }, - "_dynamicDependencies": { - "@local.workshop": [ - "value", - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.stepper": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.do_workshops_together": [ - "hidden" - ] } + }, + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_8\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_challenge_8", + "matchedExpression": "@local.answer_list_challenge_8", + "type": "local", + "fieldName": "answer_list_challenge_8" + } + ], + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] } - ], - "_nested_name": "in_week_message" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" - }, - { - "flow_type": "template", - "flow_name": "m_something_fun", - "status": "released", - "rows": [ - { - "name": "activity", - "type": "set_variable", - "_nested_name": "activity" + }, + "_dynamicDependencies": { + "@local.combo_box_challenge_8_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box_challenge_8": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@local.answer_list_challenge_8": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" + ] + } }, { - "name": "activity_data", - "value": "@data.something_fun.@local.activity", - "type": "set_variable", - "_nested_name": "activity_data", + "type": "text", + "name": "reply_choice_8_a", + "value": "Perfect! This way, you can give your undivided attention to your teen, so they feel valued and loved.   ", + "hidden": "\"@local.combo_box\"!=\"challenge_8\" || \n\"@local.combo_box_challenge_8\"!=\"choice_8_a\"", + "_nested_name": "reply_choice_8_a", "_dynamicFields": { - "value": [ + "hidden": [ { - "fullExpression": "@data.something_fun.@local.activity", - "matchedExpression": "@data.something_fun.", - "type": "data", - "fieldName": "something_fun" + "fullExpression": "\"@local.combo_box\"!=\"challenge_8\" || \n\"@local.combo_box_challenge_8\"!=\"choice_8_a\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" }, { - "fullExpression": "@data.something_fun.@local.activity", - "matchedExpression": "@local.activity", + "fullExpression": "\"@local.combo_box\"!=\"challenge_8\" || \n\"@local.combo_box_challenge_8\"!=\"choice_8_a\"", + "matchedExpression": "@local.combo_box_challenge_8", "type": "local", - "fieldName": "activity" + "fieldName": "combo_box_challenge_8" } ] }, "_dynamicDependencies": { - "@data.something_fun.": [ - "value" + "@local.combo_box": [ + "hidden" ], - "@local.activity": [ - "value" + "@local.combo_box_challenge_8": [ + "hidden" ] } }, { - "type": "template", - "name": "in_week_message", - "value": "in_week_message", - "rows": [ - { - "name": "title", - "value": "@global.m_something_fun", - "type": "set_variable", - "_nested_name": "in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" - } - ] + "type": "text", + "name": "reply_choice_8_b", + "value": "Great! You can try spending time with your teen when the other children have already gone to bed, or are playing outside.   ", + "hidden": "\"@local.combo_box\"!=\"challenge_8\" || \n\"@local.combo_box_challenge_8\"!=\"choice_8_b\"", + "_nested_name": "reply_choice_8_b", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_8\" || \n\"@local.combo_box_challenge_8\"!=\"choice_8_b\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_8\" || \n\"@local.combo_box_challenge_8\"!=\"choice_8_b\"", + "matchedExpression": "@local.combo_box_challenge_8", + "type": "local", + "fieldName": "combo_box_challenge_8" } - }, - { - "name": "image", - "value": "@data.habit.spend_time.image_asset", - "type": "set_variable", - "_nested_name": "in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.spend_time.image_asset", - "matchedExpression": "@data.habit.spend_time.image_asset", - "type": "data", - "fieldName": "habit" - } - ] + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_8": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_choice_8_c", + "value": "Wonderful! Maybe you can walk to the shops together or go watch a sports match, so you can chat without having the other children demand your attention.   ", + "hidden": "\"@local.combo_box\"!=\"challenge_8\" || \n\"@local.combo_box_challenge_8\"!=\"choice_8_c\"", + "_nested_name": "reply_choice_8_c", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_8\" || \n\"@local.combo_box_challenge_8\"!=\"choice_8_c\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" }, - "_dynamicDependencies": { - "@data.habit.spend_time.image_asset": [ - "value" - ] + { + "fullExpression": "\"@local.combo_box\"!=\"challenge_8\" || \n\"@local.combo_box_challenge_8\"!=\"choice_8_c\"", + "matchedExpression": "@local.combo_box_challenge_8", + "type": "local", + "fieldName": "combo_box_challenge_8" } - }, - { - "name": "text", - "value": "Here is something fun to do with your teen! ", - "type": "set_variable", - "_nested_name": "in_week_message.text" - }, + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ], + "@local.combo_box_challenge_8": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "reply_other_challenge", + "value": "Sorry we missed this! ", + "hidden": "\"@local.combo_box\"!=\"other_challenge\"", + "_nested_name": "reply_other_challenge", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"other_challenge\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "question_other_challenge", + "value": "Do you want to share it with us? ", + "hidden": "\"@local.combo_box\"!=\"other_challenge\"", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_other_challenge", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"other_challenge\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box": [ + "hidden" + ] + } + }, + { + "type": "text_box", + "name": "text_box", + "action_list": [ { - "name": "button_1", - "value": "@local.activity_data.title", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "activity_@local.activity" - ], - "_raw": "click | go_to:activity_@local.activity", - "_cleaned": "click | go_to:activity_@local.activity" - } + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.text_box_tracker", + "@local.text_box" ], - "hidden": false, - "type": "set_variable", - "_nested_name": "in_week_message.button_1", - "_dynamicFields": { - "value": [ + "_raw": "changed | set_field: @local.text_box_tracker: @local.text_box", + "_cleaned": "changed | set_field: @local.text_box_tracker: @local.text_box" + } + ], + "hidden": "\"@local.combo_box\"!=\"other_challenge\"", + "parameter_list": { + "placeholder": "@global.tap_and_type" + }, + "_nested_name": "text_box", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.text_box_tracker", + "matchedExpression": "@local.text_box_tracker", + "type": "local", + "fieldName": "text_box_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ] + }, + "_raw": [ { - "fullExpression": "@local.activity_data.title", - "matchedExpression": "@local.activity_data.title", + "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", + "matchedExpression": "@local.text_box_tracker", "type": "local", - "fieldName": "activity_data" - } - ], - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "activity_@local.activity", - "matchedExpression": "@local.activity", - "type": "local", - "fieldName": "activity" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | go_to:activity_@local.activity", - "matchedExpression": "@local.activity", - "type": "local", - "fieldName": "activity" - } - ], - "_cleaned": [ - { - "fullExpression": "click | go_to:activity_@local.activity", - "matchedExpression": "@local.activity", - "type": "local", - "fieldName": "activity" - } - ] + "fieldName": "text_box_tracker" + }, + { + "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" } - } - }, - "_dynamicDependencies": { - "@local.activity_data.title": [ - "value" ], - "@local.activity": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } - } - ], - "_nested_name": "in_week_message" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" - }, - { - "flow_type": "template", - "flow_name": "m_praise", - "status": "released", - "rows": [ - { - "type": "template", - "name": "in_week_message", - "value": "in_week_message", - "rows": [ - { - "name": "title", - "value": "@global.m_praise", - "type": "set_variable", - "_nested_name": "in_week_message.title", - "_dynamicFields": { - "value": [ + "_cleaned": [ { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" + "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", + "matchedExpression": "@local.text_box_tracker", + "type": "local", + "fieldName": "text_box_tracker" + }, + { + "fullExpression": "changed | set_field: @local.text_box_tracker: @local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" } ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] } }, - { - "name": "image", - "value": "@data.habit.praise_yourself.image_asset", - "type": "set_variable", - "_nested_name": "in_week_message.image", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.praise_yourself.image_asset", - "matchedExpression": "@data.habit.praise_yourself.image_asset", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.praise_yourself.image_asset": [ - "value" - ] + "hidden": [ + { + "fullExpression": "\"@local.combo_box\"!=\"other_challenge\"", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } + ], + "parameter_list": { + "placeholder": [ + { + "fullExpression": "@global.tap_and_type", + "matchedExpression": "@global.tap_and_type", + "type": "global", + "fieldName": "tap_and_type" + } + ] } - ], - "_nested_name": "in_week_message" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" - }, - { - "flow_type": "template", - "flow_name": "m_workshop_reminder", - "status": "released", - "rows": [ - { - "name": "workshop", - "type": "set_variable", - "_nested_name": "workshop" + }, + "_dynamicDependencies": { + "@local.text_box_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.text_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "hidden" + ], + "@global.tap_and_type": [ + "parameter_list.placeholder" + ] + } }, { - "name": "stepper", - "value": "_stepper", - "type": "set_variable", - "_nested_name": "stepper" + "type": "text", + "name": "reply_text_box", + "value": "Thank you for sharing! You are an awesome parent for trying to spend time with your teen. It makes all the difference. Keep up the good work, and remember, I am always here to support! ", + "hidden": "\"@local.text_box\"==\"undefined\"", + "_nested_name": "reply_text_box", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.text_box\"==\"undefined\"", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ] + }, + "_dynamicDependencies": { + "@local.text_box": [ + "hidden" + ] + } }, { "type": "template", - "name": "in_week_message", - "value": "in_week_message", - "rows": [ - { - "name": "title", - "value": "@global.m_workshop_reminder", - "type": "set_variable", - "_nested_name": "in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ { - "name": "image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "type": "set_variable", - "_nested_name": "in_week_message.image" + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "button_1", - "value": "Start workshop @global.@local.workshop", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "@local.workshop@local.stepper" - ], - "_raw": "click | go_to : @local.workshop@local.stepper", - "_cleaned": "click | go_to : @local.workshop@local.stepper" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - } + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" ], - "hidden": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "in_week_message.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Start workshop @global.@local.workshop", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - } - ], - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop@local.stepper", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - }, - { - "fullExpression": "@local.workshop@local.stepper", - "matchedExpression": "@local.stepper", - "type": "local", - "fieldName": "stepper" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - }, - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.stepper", - "type": "local", - "fieldName": "stepper" - } - ], - "_cleaned": [ - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - }, - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.stepper", - "type": "local", - "fieldName": "stepper" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@local.workshop": [ - "value", - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.stepper": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.do_workshops_together": [ - "hidden" - ] - } + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "in_week_message" + "rows": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_1on1_hp_review.xlsx" }, { "flow_type": "template", - "flow_name": "m_workshop_in_progress", + "module": "1on1", + "flow_name": "w_1on1_hp_first_box", "status": "released", "rows": [ - { - "name": "workshop", - "type": "set_variable", - "_nested_name": "workshop" - }, - { - "name": "stepper", - "value": "_stepper", - "type": "set_variable", - "_nested_name": "stepper" - }, { "type": "template", - "name": "in_week_message", - "value": "in_week_message", - "rows": [ + "name": "highlights", + "value": "w_1on1_hp_highlights", + "action_list": [ { - "name": "title", - "value": "@global.m_workshop_in_progress", - "type": "set_variable", - "_nested_name": "in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "type": "set_variable", - "_nested_name": "in_week_message.image" + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" + } + ], + "hidden": "\"@fields.w_1on1_hp_review\" == \"sad\"", + "rows": [], + "_nested_name": "highlights", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@fields.w_1on1_hp_review\" == \"sad\"", + "matchedExpression": "@fields.w_1on1_hp_review", + "type": "fields", + "fieldName": "w_1on1_hp_review" + } + ] + }, + "_dynamicDependencies": { + "@fields.w_1on1_hp_review": [ + "hidden" + ] + } + }, + { + "type": "template", + "name": "challenges", + "value": "w_1on1_hp_challenges", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "button_1", - "value": "Continue workshop @global.@local.workshop", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "@local.workshop@local.stepper" - ], - "_raw": "click | go_to : @local.workshop@local.stepper", - "_cleaned": "click | go_to : @local.workshop@local.stepper" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "do_this_workshop_together", - false - ], - "_raw": "set_field: do_this_workshop_together : false", - "_cleaned": "click | set_field: do_this_workshop_together : false" - } + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" ], - "hidden": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "in_week_message.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Continue workshop @global.@local.workshop", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - } - ], - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop@local.stepper", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - }, - { - "fullExpression": "@local.workshop@local.stepper", - "matchedExpression": "@local.stepper", - "type": "local", - "fieldName": "stepper" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - }, - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.stepper", - "type": "local", - "fieldName": "stepper" - } - ], - "_cleaned": [ - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.workshop", - "type": "local", - "fieldName": "workshop" - }, - { - "fullExpression": "click | go_to : @local.workshop@local.stepper", - "matchedExpression": "@local.stepper", - "type": "local", - "fieldName": "stepper" - } - ] - } - }, - "hidden": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@local.workshop": [ - "value", - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.stepper": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@field.do_workshops_together": [ - "hidden" - ] - } + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "in_week_message" + "hidden": "\"@fields.w_1on1_hp_review\" == \"happy\" || \n\"@fields.w_1on1_hp_review\" == \"ok\" ", + "rows": [], + "_nested_name": "challenges", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@fields.w_1on1_hp_review\" == \"happy\" || \n\"@fields.w_1on1_hp_review\" == \"ok\" ", + "matchedExpression": "@fields.w_1on1_hp_review", + "type": "fields", + "fieldName": "w_1on1_hp_review" + }, + { + "fullExpression": "\"@fields.w_1on1_hp_review\" == \"happy\" || \n\"@fields.w_1on1_hp_review\" == \"ok\" ", + "matchedExpression": "@fields.w_1on1_hp_review", + "type": "fields", + "fieldName": "w_1on1_hp_review" + } + ] + }, + "_dynamicDependencies": { + "@fields.w_1on1_hp_review": [ + "hidden", + "hidden" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_1on1_hp_review.xlsx" }, { "flow_type": "template", - "flow_name": "m_hp_reminder", + "module": "1on1", + "flow_name": "w_1on1_hp_second_box", "status": "released", "rows": [ { "type": "template", - "name": "in_week_message", - "value": "in_week_message", - "rows": [ + "name": "challenges", + "value": "w_1on1_hp_challenges", + "action_list": [ { - "name": "title", - "value": "@global.m_hp_reminder", - "type": "set_variable", - "_nested_name": "in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] + "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" + } + ], + "hidden": "\"@fields.w_1on1_hp_review\" == \"sad\"", + "rows": [], + "_nested_name": "challenges", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@fields.w_1on1_hp_review\" == \"sad\"", + "matchedExpression": "@fields.w_1on1_hp_review", + "type": "fields", + "fieldName": "w_1on1_hp_review" } + ] + }, + "_dynamicDependencies": { + "@fields.w_1on1_hp_review": [ + "hidden" + ] + } + }, + { + "type": "template", + "name": "highlights", + "value": "w_1on1_hp_highlights", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "image", - "value": "plh_images/workshop_modes/guide_2/with_teen.svg", - "type": "set_variable", - "_nested_name": "in_week_message.image" + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "in_week_message" + "hidden": "\"@fields.w_1on1_hp_review\" == \"happy\" || \n\"@fields.w_1on1_hp_review\" == \"ok\" ", + "rows": [], + "_nested_name": "highlights", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@fields.w_1on1_hp_review\" == \"happy\" || \n\"@fields.w_1on1_hp_review\" == \"ok\" ", + "matchedExpression": "@fields.w_1on1_hp_review", + "type": "fields", + "fieldName": "w_1on1_hp_review" + }, + { + "fullExpression": "\"@fields.w_1on1_hp_review\" == \"happy\" || \n\"@fields.w_1on1_hp_review\" == \"ok\" ", + "matchedExpression": "@fields.w_1on1_hp_review", + "type": "fields", + "fieldName": "w_1on1_hp_review" + } + ] + }, + "_dynamicDependencies": { + "@fields.w_1on1_hp_review": [ + "hidden", + "hidden" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_1on1_hp_review.xlsx" }, { "flow_type": "template", - "flow_name": "m_hp_review", + "module": "praise", + "flow_name": "w_praise_hp_review", "status": "released", "rows": [ { "type": "template", - "name": "in_week_message", - "value": "in_week_message", - "rows": [ - { - "name": "title", - "value": "@global.m_hp_review", - "type": "set_variable", - "_nested_name": "in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_review", - "matchedExpression": "@global.m_hp_review", - "type": "global", - "fieldName": "m_hp_review" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_review": [ - "value" - ] - } + "name": "home_practice_review", + "value": "home_practice_review", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "image", - "value": "plh_images/workshop_modes/guide_2/with_teen.svg", - "type": "set_variable", - "_nested_name": "in_week_message.image" + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" + }, + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "w_praise_hp_review_completed", + true + ], + "_raw": "completed | set_field:w_praise_hp_review_completed: true", + "_cleaned": "completed | set_field:w_praise_hp_review_completed: true" } ], - "_nested_name": "in_week_message" + "rows": [ + { + "type": "nested_properties", + "name": "workshop_activity", + "rows": [ + { + "type": "nested_properties", + "name": "content_box", + "value": "w_praise_hp_content", + "rows": [], + "_nested_name": "home_practice_review.workshop_activity.content_box" + }, + { + "name": "outro_text", + "value": "You deserve some praise, too. Thank you again for using @global.parent_app . It shows you really care!", + "type": "set_variable", + "_nested_name": "home_practice_review.workshop_activity.outro_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You deserve some praise, too. Thank you again for using @global.parent_app . It shows you really care!", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ] + } + } + ], + "_nested_name": "home_practice_review.workshop_activity" + } + ], + "_nested_name": "home_practice_review" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_praise_hp_review.xlsx" }, { "flow_type": "template", - "flow_name": "m_parent_points_overview", + "module": "praise", + "flow_name": "w_praise_hp_content", "status": "released", "rows": [ { - "type": "template", - "name": "in_week_message", - "value": "in_week_message", - "rows": [ - { - "name": "title", - "value": "@global.m_parent_points_overview", - "type": "set_variable", - "_nested_name": "in_week_message.title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } - }, - { - "name": "image", - "value": "plh_images/workshop_modes/guide_2/star.svg", - "type": "set_variable", - "_nested_name": "in_week_message.image" - }, - { - "name": "text", - "value": "Hi @field.user_name! This week you:", - "type": "set_variable", - "_nested_name": "in_week_message.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Hi @field.user_name! This week you:", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" - } - ] - }, - "_dynamicDependencies": { - "@field.user_name": [ - "value" - ] - } - } - ], - "_nested_name": "in_week_message" - }, - { - "type": "text", - "name": "relax", - "value": "Did a relax, which shows you are trying to stay calm.", - "condition": "@field.weekly_parent_point_relax == 1", - "hidden": "@field.weekly_parent_point_relax == 0", - "_nested_name": "relax", + "name": "praise_teen_count", + "value": "@fields.weekly_parent_point_praise_teen", + "type": "set_variable", + "_nested_name": "praise_teen_count", "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_relax == 1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" - } - ], - "hidden": [ + "value": [ { - "fullExpression": "@field.weekly_parent_point_relax == 0", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" + "fullExpression": "@fields.weekly_parent_point_praise_teen", + "matchedExpression": "@fields.weekly_parent_point_praise_teen", + "type": "fields", + "fieldName": "weekly_parent_point_praise_teen" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_relax": [ - "condition", - "hidden" + "@fields.weekly_parent_point_praise_teen": [ + "value" ] } }, + { + "name": "radio_group_tracker", + "value": "w_praise_hp_review_1", + "type": "set_variable", + "_nested_name": "radio_group_tracker" + }, + { + "name": "combo_box_tracker", + "value": "w_praise_hp_review_2", + "type": "set_variable", + "_nested_name": "combo_box_tracker" + }, { "type": "text", - "name": "relax", - "value": "Did @field.weekly_parent_point_relax relaxes, which shows you are trying to stay calm.", - "condition": "@field.weekly_parent_point_relax > 1", - "hidden": "@field.weekly_parent_point_relax == 0", - "_nested_name": "relax", + "name": "text_1", + "value": "Your goal was to praise your teen. You’ve marked the @global.parent_point @data.habit.praise_teen.title once this week.", + "hidden": "!(@local.praise_teen_count == 1)", + "_nested_name": "text_1", "_dynamicFields": { "value": [ { - "fullExpression": "Did @field.weekly_parent_point_relax relaxes, which shows you are trying to stay calm.", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" - } - ], - "condition": [ + "fullExpression": "Your goal was to praise your teen. You’ve marked the @global.parent_point @data.habit.praise_teen.title once this week.", + "matchedExpression": "@global.parent_point", + "type": "global", + "fieldName": "parent_point" + }, { - "fullExpression": "@field.weekly_parent_point_relax > 1", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" + "fullExpression": "Your goal was to praise your teen. You’ve marked the @global.parent_point @data.habit.praise_teen.title once this week.", + "matchedExpression": "@data.habit.praise_teen.title", + "type": "data", + "fieldName": "habit" } ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_relax == 0", - "matchedExpression": "@field.weekly_parent_point_relax", - "type": "field", - "fieldName": "weekly_parent_point_relax" + "fullExpression": "!(@local.praise_teen_count == 1)", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_relax": [ - "value", - "condition", + "@global.parent_point": [ + "value" + ], + "@data.habit.praise_teen.title": [ + "value" + ], + "@local.praise_teen_count": [ "hidden" ] } }, { "type": "text", - "name": "treat_yourself", - "value": "Treated yourself, which shows you are trying to look after yourself.", - "condition": "@field.weekly_parent_point_treat_yourself == 1", - "hidden": "@field.weekly_parent_point_treat_yourself == 0", - "_nested_name": "treat_yourself", + "name": "text_2", + "value": "Your goal was to praise your teen.You’ve marked the @global.parent_point @data.habit.praise_teen.title @fields.weekly_parent_point_praise_teen times this week.", + "hidden": "@local.praise_teen_count <=1", + "_nested_name": "text_2", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "@field.weekly_parent_point_treat_yourself == 1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" + "fullExpression": "Your goal was to praise your teen.You’ve marked the @global.parent_point @data.habit.praise_teen.title @fields.weekly_parent_point_praise_teen times this week.", + "matchedExpression": "@global.parent_point", + "type": "global", + "fieldName": "parent_point" + }, + { + "fullExpression": "Your goal was to praise your teen.You’ve marked the @global.parent_point @data.habit.praise_teen.title @fields.weekly_parent_point_praise_teen times this week.", + "matchedExpression": "@data.habit.praise_teen.title", + "type": "data", + "fieldName": "habit" + }, + { + "fullExpression": "Your goal was to praise your teen.You’ve marked the @global.parent_point @data.habit.praise_teen.title @fields.weekly_parent_point_praise_teen times this week.", + "matchedExpression": "@fields.weekly_parent_point_praise_teen", + "type": "fields", + "fieldName": "weekly_parent_point_praise_teen" } ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_treat_yourself == 0", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" + "fullExpression": "@local.praise_teen_count <=1", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_treat_yourself": [ - "condition", + "@global.parent_point": [ + "value" + ], + "@data.habit.praise_teen.title": [ + "value" + ], + "@fields.weekly_parent_point_praise_teen": [ + "value" + ], + "@local.praise_teen_count": [ "hidden" ] } }, { "type": "text", - "name": "treat_yourself", - "value": "Treated yourself @field.weekly_parent_point_treat_yourself times, which shows you are trying to look after yourself.", - "condition": "@field.weekly_parent_point_treat_yourself > 1", - "hidden": "@field.weekly_parent_point_treat_yourself == 0", - "_nested_name": "treat_yourself", + "name": "text_3", + "value": "Your goal was to praise your teen. It seems you haven’t marked any @data.habit.praise_teen.title @global.parent_points this week.", + "hidden": "@local.praise_teen_count >= 1", + "_nested_name": "text_3", "_dynamicFields": { "value": [ { - "fullExpression": "Treated yourself @field.weekly_parent_point_treat_yourself times, which shows you are trying to look after yourself.", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" - } - ], - "condition": [ + "fullExpression": "Your goal was to praise your teen. It seems you haven’t marked any @data.habit.praise_teen.title @global.parent_points this week.", + "matchedExpression": "@data.habit.praise_teen.title", + "type": "data", + "fieldName": "habit" + }, { - "fullExpression": "@field.weekly_parent_point_treat_yourself > 1", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" + "fullExpression": "Your goal was to praise your teen. It seems you haven’t marked any @data.habit.praise_teen.title @global.parent_points this week.", + "matchedExpression": "@global.parent_points", + "type": "global", + "fieldName": "parent_points" } ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_treat_yourself == 0", - "matchedExpression": "@field.weekly_parent_point_treat_yourself", - "type": "field", - "fieldName": "weekly_parent_point_treat_yourself" + "fullExpression": "@local.praise_teen_count >= 1", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_treat_yourself": [ - "value", - "condition", + "@data.habit.praise_teen.title": [ + "value" + ], + "@global.parent_points": [ + "value" + ], + "@local.praise_teen_count": [ "hidden" ] } }, { "type": "text", - "name": "praise_yourself", - "value": "Praised yourself, which shows you are finding positives.", - "condition": "@field.weekly_parent_point_praise_yourself == 1", - "hidden": "@field.weekly_parent_point_praise_yourself == 0", - "_nested_name": "praise_yourself", + "name": "question_text_1", + "value": "Did you praise your teen this week?", + "hidden": "@local.praise_teen_count >= 1", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text_1", "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_praise_yourself == 1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" - } - ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_praise_yourself == 0", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" + "fullExpression": "@local.praise_teen_count >= 1", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_praise_yourself": [ - "condition", + "@local.praise_teen_count": [ "hidden" ] } }, { - "type": "text", - "name": "praise_yourself", - "value": "Praised yourself @field.weekly_parent_point_praise_yourself times, which shows you are finding positives.", - "condition": "@field.weekly_parent_point_praise_yourself > 1", - "hidden": "@field.weekly_parent_point_praise_yourself == 0", - "_nested_name": "praise_yourself", + "name": "answer_list_1", + "value": [ + "name: yes | text: Yes", + "name: no | text: No" + ], + "type": "set_variable", + "_nested_name": "answer_list_1" + }, + { + "type": "radio_group", + "name": "radio_group", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.radio_group_tracker", + "@local.radio_group" + ], + "_raw": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "_cleaned": "changed | set_field:@local.radio_group_tracker:@local.radio_group" + } + ], + "hidden": "@local.praise_teen_count >= 1", + "parameter_list": { + "answer_list": "@local.answer_list_1", + "radio_button_type": "btn_text", + "options_per_row": "2" + }, + "_nested_name": "radio_group", "_dynamicFields": { - "value": [ - { - "fullExpression": "Praised yourself @field.weekly_parent_point_praise_yourself times, which shows you are finding positives.", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" - } - ], - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_praise_yourself > 1", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.radio_group_tracker", + "matchedExpression": "@local.radio_group_tracker", + "type": "local", + "fieldName": "radio_group_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group_tracker", + "type": "local", + "fieldName": "radio_group_tracker" + }, + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group_tracker", + "type": "local", + "fieldName": "radio_group_tracker" + }, + { + "fullExpression": "changed | set_field:@local.radio_group_tracker:@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] } - ], + }, "hidden": [ { - "fullExpression": "@field.weekly_parent_point_praise_yourself == 0", - "matchedExpression": "@field.weekly_parent_point_praise_yourself", - "type": "field", - "fieldName": "weekly_parent_point_praise_yourself" + "fullExpression": "@local.praise_teen_count >= 1", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" } - ] + ], + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_1", + "matchedExpression": "@local.answer_list_1", + "type": "local", + "fieldName": "answer_list_1" + } + ] + } }, "_dynamicDependencies": { - "@field.weekly_parent_point_praise_yourself": [ - "value", - "condition", + "@local.radio_group_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.radio_group": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.praise_teen_count": [ "hidden" + ], + "@local.answer_list_1": [ + "parameter_list.answer_list" ] } }, { "type": "text", - "name": "spend_time", - "value": "Did one-on-one, which shows you are spending time together.", - "condition": "@field.weekly_parent_point_spend_time == 1", - "hidden": "@field.weekly_parent_point_spend_time == 0", - "_nested_name": "spend_time", + "name": "reply_no", + "value": "It can sometimes be hard to remember to praise our teens. Next time you spend one-on-one time with your teen, try and think of one thing you can praise them for. You can even say, “Thank you for spending time with me!”.", + "hidden": "@local.praise_teen_count >= 1 || !(\"@local.radio_group\" == \"no\")", + "_nested_name": "reply_no", "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_spend_time == 1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_spend_time == 0", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" + "fullExpression": "@local.praise_teen_count >= 1 || !(\"@local.radio_group\" == \"no\")", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" + }, + { + "fullExpression": "@local.praise_teen_count >= 1 || !(\"@local.radio_group\" == \"no\")", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_spend_time": [ - "condition", + "@local.praise_teen_count": [ + "hidden" + ], + "@local.radio_group": [ "hidden" ] } }, { "type": "text", - "name": "spend_time", - "value": "Did one-on-one @field.weekly_parent_point_spend_time times, which shows you are spending time together.", - "condition": "@field.weekly_parent_point_spend_time > 1", - "hidden": "@field.weekly_parent_point_spend_time == 0", - "_nested_name": "spend_time", + "name": "reply_yes", + "value": "Well done; great job for remembering!", + "hidden": "@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" )", + "_nested_name": "reply_yes", "_dynamicFields": { - "value": [ - { - "fullExpression": "Did one-on-one @field.weekly_parent_point_spend_time times, which shows you are spending time together.", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ], - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_spend_time > 1", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" - } - ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_spend_time == 0", - "matchedExpression": "@field.weekly_parent_point_spend_time", - "type": "field", - "fieldName": "weekly_parent_point_spend_time" + "fullExpression": "@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" )", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" + }, + { + "fullExpression": "@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" )", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_spend_time": [ - "value", - "condition", + "@local.praise_teen_count": [ + "hidden" + ], + "@local.radio_group": [ "hidden" ] } }, { - "type": "text", - "name": "praise_teen", - "value": "Praised your teen, which shows you are finding positives.", - "condition": "@field.weekly_parent_point_praise_teen == 1", - "hidden": "@field.weekly_parent_point_praise_teen == 0", - "_nested_name": "praise_teen", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_praise_teen == 1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" + "type": "display_group", + "name": "habit_box", + "hidden": "@local.praise_teen_count > 0 || (@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" ))", + "parameter_list": { + "icon_src": "plh_images/icons/star_circle.svg", + "icon_position": "top-left", + "type": "dashed_box" + }, + "rows": [ + { + "type": "subtitle", + "name": "habit_box_text", + "value": "@data.habit.praise_teen.short_mark_text", + "_nested_name": "habit_box.habit_box_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.praise_teen.short_mark_text", + "matchedExpression": "@data.habit.praise_teen.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.praise_teen.short_mark_text": [ + "value" + ] } - ], + }, + { + "type": "parent_point_box", + "name": "parent_point_praise_teen", + "value": "@field.total_parent_point_praise_teen", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_praise_teen", + "@field.total_parent_point_praise_teen+1" + ], + "_raw": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", + "_cleaned": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_praise_teen", + "@field.weekly_parent_point_praise_teen+1" + ], + "_raw": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", + "_cleaned": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1" + } + ], + "parameter_list": { + "text": "@data.habit.praise_teen.title", + "icon_src": "plh_images/habits/habit_praise_teen.svg" + }, + "_nested_name": "habit_box.parent_point_praise_teen", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_praise_teen", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_praise_teen+1", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_praise_teen+1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ] + } + }, + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.praise_teen.title", + "matchedExpression": "@data.habit.praise_teen.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_praise_teen": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_praise_teen": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@data.habit.praise_teen.title": [ + "parameter_list.text" + ] + } + } + ], + "_nested_name": "habit_box", + "_dynamicFields": { "hidden": [ { - "fullExpression": "@field.weekly_parent_point_praise_teen == 0", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" + "fullExpression": "@local.praise_teen_count > 0 || (@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" ))", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" + }, + { + "fullExpression": "@local.praise_teen_count > 0 || (@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" ))", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" + }, + { + "fullExpression": "@local.praise_teen_count > 0 || (@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" ))", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_praise_teen": [ - "condition", + "@local.praise_teen_count": [ + "hidden", + "hidden" + ], + "@local.radio_group": [ "hidden" ] } }, { "type": "text", - "name": "praise_teen", - "value": "Praised your teen @field.weekly_parent_point_praise_teen times, which shows you are finding positives.", - "condition": "@field.weekly_parent_point_praise_teen > 1", - "hidden": "@field.weekly_parent_point_praise_teen == 0", - "_nested_name": "praise_teen", + "name": "question_text_2", + "value": "How did your teen respond?", + "hidden": "@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" )", + "parameter_list": { + "style": "emphasised" + }, + "_nested_name": "question_text_2", "_dynamicFields": { - "value": [ - { - "fullExpression": "Praised your teen @field.weekly_parent_point_praise_teen times, which shows you are finding positives.", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" - } - ], - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_praise_teen > 1", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" - } - ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_praise_teen == 0", - "matchedExpression": "@field.weekly_parent_point_praise_teen", - "type": "field", - "fieldName": "weekly_parent_point_praise_teen" + "fullExpression": "@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" )", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" + }, + { + "fullExpression": "@local.praise_teen_count ==0 && !(\"@local.radio_group\" == \"yes\" )", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_praise_teen": [ - "value", - "condition", + "@local.praise_teen_count": [ + "hidden" + ], + "@local.radio_group": [ "hidden" ] } }, { - "type": "text", - "name": "instruct_positively", - "value": "Gave a positive instruction, which shows you are being positive.", - "condition": "@field.weekly_parent_point_instruct_positively == 1", - "hidden": "@field.weekly_parent_point_instruct_positively == 0", - "_nested_name": "instruct_positively", + "name": "answer_list_2", + "value": [ + "name:choice_1 | text: Surprised", + "name:choice_2 | text: Happy", + "name:choice_3 | text: My teen did not like it", + "name:choice_4 | text: I do not know" + ], + "type": "set_variable", + "_nested_name": "answer_list_2" + }, + { + "type": "combo_box", + "name": "combo_box", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "@local.combo_box_tracker", + "@local.combo_box" + ], + "_raw": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "_cleaned": "changed | set_field: @local.combo_box_tracker: @local.combo_box" + } + ], + "hidden": "@local.praise_teen_count ==0 && (\"@local.radio_group\" == \"no\" || \"@local.radio_group\" == \"undefined\")", + "parameter_list": { + "answer_list": "@local.answer_list_2", + "placeholder": "@global.tap_and_choose" + }, + "_nested_name": "combo_box", "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_instruct_positively == 1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.combo_box_tracker", + "matchedExpression": "@local.combo_box_tracker", + "type": "local", + "fieldName": "combo_box_tracker" + } + ], + "1": [ + { + "fullExpression": "@local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box_tracker", + "type": "local", + "fieldName": "combo_box_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box_tracker", + "type": "local", + "fieldName": "combo_box_tracker" + }, + { + "fullExpression": "changed | set_field: @local.combo_box_tracker: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] } - ], + }, "hidden": [ { - "fullExpression": "@field.weekly_parent_point_instruct_positively == 0", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" + "fullExpression": "@local.praise_teen_count ==0 && (\"@local.radio_group\" == \"no\" || \"@local.radio_group\" == \"undefined\")", + "matchedExpression": "@local.praise_teen_count", + "type": "local", + "fieldName": "praise_teen_count" + }, + { + "fullExpression": "@local.praise_teen_count ==0 && (\"@local.radio_group\" == \"no\" || \"@local.radio_group\" == \"undefined\")", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + }, + { + "fullExpression": "@local.praise_teen_count ==0 && (\"@local.radio_group\" == \"no\" || \"@local.radio_group\" == \"undefined\")", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" } - ] + ], + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" + } + ], + "placeholder": [ + { + "fullExpression": "@global.tap_and_choose", + "matchedExpression": "@global.tap_and_choose", + "type": "global", + "fieldName": "tap_and_choose" + } + ] + } }, "_dynamicDependencies": { - "@field.weekly_parent_point_instruct_positively": [ - "condition", + "@local.combo_box_tracker": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.combo_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.praise_teen_count": [ + "hidden" + ], + "@local.radio_group": [ + "hidden", "hidden" + ], + "@local.answer_list_2": [ + "parameter_list.answer_list" + ], + "@global.tap_and_choose": [ + "parameter_list.placeholder" ] } }, { "type": "text", - "name": "instruct_positively", - "value": "Gave positive instructions @field.weekly_parent_point_instruct_positively times, which shows you are being positive.", - "condition": "@field.weekly_parent_point_instruct_positively > 1", - "hidden": "@field.weekly_parent_point_instruct_positively == 0", - "_nested_name": "instruct_positively", + "name": "reply_1", + "value": "Remember, it takes some time for your teen to get used to seeing you praise them. The more time you spend with them, the better it will go!", + "hidden": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_1\")", + "_nested_name": "reply_1", "_dynamicFields": { - "value": [ - { - "fullExpression": "Gave positive instructions @field.weekly_parent_point_instruct_positively times, which shows you are being positive.", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" - } - ], - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_instruct_positively > 1", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" - } - ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_instruct_positively == 0", - "matchedExpression": "@field.weekly_parent_point_instruct_positively", - "type": "field", - "fieldName": "weekly_parent_point_instruct_positively" + "fullExpression": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_1\")", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + }, + { + "fullExpression": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_1\")", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_instruct_positively": [ - "value", - "condition", + "@local.radio_group": [ + "hidden" + ], + "@local.combo_box": [ "hidden" ] } }, { "type": "text", - "name": "breathe", - "value": "Took a breath instead of yelling, which shows you are trying to control yourself.", - "condition": "@field.weekly_parent_point_breathe == 1 ", - "hidden": "@field.weekly_parent_point_breathe == 0", - "_nested_name": "breathe", + "name": "reply_2", + "value": "Well done for observing how your teen felt; keep it up! ", + "hidden": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_2\")", + "_nested_name": "reply_2", "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_breathe == 1 ", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" - } - ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_breathe == 0", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" + "fullExpression": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_2\")", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + }, + { + "fullExpression": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_2\")", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_breathe": [ - "condition", + "@local.radio_group": [ + "hidden" + ], + "@local.combo_box": [ "hidden" ] } }, { "type": "text", - "name": "breathe", - "value": "Took a breath instead of yelling @field.weekly_parent_point_breathe times, which shows you are trying to control yourself.", - "condition": "@field.weekly_parent_point_breathe > 1 ", - "hidden": "@field.weekly_parent_point_breathe == 0", - "_nested_name": "breathe", + "name": "reply_3", + "value": "It happens; just be patient. Make sure to keep spending time with your teen, so they will value your opinion more and more. When your praise is genuine, you will see the benefits soon!  ", + "hidden": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_3\")", + "_nested_name": "reply_3", "_dynamicFields": { - "value": [ - { - "fullExpression": "Took a breath instead of yelling @field.weekly_parent_point_breathe times, which shows you are trying to control yourself.", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" - } - ], - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_breathe > 1 ", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" - } - ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_breathe == 0", - "matchedExpression": "@field.weekly_parent_point_breathe", - "type": "field", - "fieldName": "weekly_parent_point_breathe" + "fullExpression": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_3\")", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + }, + { + "fullExpression": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_3\")", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_breathe": [ - "value", - "condition", + "@local.radio_group": [ + "hidden" + ], + "@local.combo_box": [ "hidden" ] } }, { "type": "text", - "name": "money", - "value": "Made a good money choice, which shows you are trying to manage your finances.", - "condition": "@field.weekly_parent_point_money == 1", - "hidden": "@field.weekly_parent_point_money == 0", - "_nested_name": "money", + "name": "reply_4", + "value": "No problem; try to observe how they respond the next time!", + "hidden": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_4\")", + "_nested_name": "reply_4", "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_money == 1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ], "hidden": [ { - "fullExpression": "@field.weekly_parent_point_money == 0", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" + "fullExpression": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_4\")", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + }, + { + "fullExpression": "\"@local.radio_group\" == \"no\" || !(\"@local.combo_box\"==\"choice_4\")", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" } ] }, "_dynamicDependencies": { - "@field.weekly_parent_point_money": [ - "condition", + "@local.radio_group": [ + "hidden" + ], + "@local.combo_box": [ "hidden" ] } }, { - "type": "text", - "name": "money", - "value": "Made @field.weekly_parent_point_money good money choices, which shows you are trying to manage your finances.", - "condition": "@field.weekly_parent_point_money > 1", - "hidden": "@field.weekly_parent_point_money == 0", - "_nested_name": "money", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Made @field.weekly_parent_point_money good money choices, which shows you are trying to manage your finances.", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ], - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_money > 1", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ], - "hidden": [ - { - "fullExpression": "@field.weekly_parent_point_money == 0", - "matchedExpression": "@field.weekly_parent_point_money", - "type": "field", - "fieldName": "weekly_parent_point_money" - } - ] - }, - "_dynamicDependencies": { - "@field.weekly_parent_point_money": [ - "value", - "condition", - "hidden" - ] - } - }, - { - "type": "text", - "name": "consequence", - "value": "Gave a calm consequence, which shows you are trying to control yourself.", - "condition": "@field.weekly_parent_point_consequence == 1", - "hidden": "@field.weekly_parent_point_consequence == 0", - "_nested_name": "consequence", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_consequence == 1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ], - "hidden": [ - { - "fullExpression": "@field.weekly_parent_point_consequence == 0", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ] - }, - "_dynamicDependencies": { - "@field.weekly_parent_point_consequence": [ - "condition", - "hidden" - ] - } - }, - { - "type": "text", - "name": "consequence", - "value": "Gave a calm consequence @field.weekly_parent_point_consequence times, which shows you are trying to control yourself.", - "condition": "@field.weekly_parent_point_consequence > 1", - "hidden": "@field.weekly_parent_point_consequence == 0", - "_nested_name": "consequence", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Gave a calm consequence @field.weekly_parent_point_consequence times, which shows you are trying to control yourself.", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ], - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_consequence > 1", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ], - "hidden": [ - { - "fullExpression": "@field.weekly_parent_point_consequence == 0", - "matchedExpression": "@field.weekly_parent_point_consequence", - "type": "field", - "fieldName": "weekly_parent_point_consequence" - } - ] - }, - "_dynamicDependencies": { - "@field.weekly_parent_point_consequence": [ - "value", - "condition", - "hidden" - ] - } - }, - { - "type": "text", - "name": "safe", - "value": "Did something to keep your teen safe, which shows you care.", - "condition": "@field.weekly_parent_point_safe == 1", - "hidden": "@field.weekly_parent_point_safe == 0", - "_nested_name": "safe", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_safe == 1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ], - "hidden": [ - { - "fullExpression": "@field.weekly_parent_point_safe == 0", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ] - }, - "_dynamicDependencies": { - "@field.weekly_parent_point_safe": [ - "condition", - "hidden" - ] - } - }, - { - "type": "text", - "name": "safe", - "value": "Did something to keep your teen safe @field.weekly_parent_point_safe times, which shows you care.", - "condition": "@field.weekly_parent_point_safe > 1", - "hidden": "@field.weekly_parent_point_safe == 0", - "_nested_name": "safe", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Did something to keep your teen safe @field.weekly_parent_point_safe times, which shows you care.", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ], - "condition": [ - { - "fullExpression": "@field.weekly_parent_point_safe > 1", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ], - "hidden": [ - { - "fullExpression": "@field.weekly_parent_point_safe == 0", - "matchedExpression": "@field.weekly_parent_point_safe", - "type": "field", - "fieldName": "weekly_parent_point_safe" - } - ] - }, - "_dynamicDependencies": { - "@field.weekly_parent_point_safe": [ - "value", - "condition", - "hidden" - ] - } + "type": "template", + "name": "nav_buttons", + "value": "nav_buttons", + "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": [], + "_nested_name": "nav_buttons" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/home_practice_reviews/w_praise_hp_review.xlsx" }, { "flow_type": "template", - "flow_name": "m_relax", + "module": "1on1", + "flow_name": "w_1on1_m_workshop_released", "status": "released", "rows": [ { "type": "template", - "name": "in_week_message", - "value": "in_week_message", + "name": "m_workshop_released", + "value": "m_workshop_released", "rows": [ { - "name": "title", - "value": "@global.current_relax", + "name": "workshop_data", + "value": "@data.workshop.w_1on1", "type": "set_variable", - "_nested_name": "in_week_message.title", + "_nested_name": "m_workshop_released.workshop_data", "_dynamicFields": { "value": [ { - "fullExpression": "@global.current_relax", - "matchedExpression": "@global.current_relax", - "type": "global", - "fieldName": "current_relax" + "fullExpression": "@data.workshop.w_1on1", + "matchedExpression": "@data.workshop.w_1on1", + "type": "data", + "fieldName": "workshop" } ] }, "_dynamicDependencies": { - "@global.current_relax": [ + "@data.workshop.w_1on1": [ "value" ] } }, { - "name": "image", - "hidden": true, - "type": "set_variable", - "_nested_name": "in_week_message.image" - }, - { - "name": "text", - "value": "Remember to sit down and relax today - taking care of yourself is an important parenting skill.", - "type": "set_variable", - "_nested_name": "in_week_message.text" - }, - { - "name": "button_1", - "value": "Relax now", - "action_list": [ + "type": "nested_properties", + "name": "in_week_message", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "relax" - ], - "_raw": "click | go_to:relax", - "_cleaned": "click | go_to:relax" + "name": "title", + "value": "First @global.weekly_workshop! ", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "First @global.weekly_workshop! ", + "matchedExpression": "@global.weekly_workshop", + "type": "global", + "fieldName": "weekly_workshop" + } + ] + }, + "_dynamicDependencies": { + "@global.weekly_workshop": [ + "value" + ] + } }, { - "trigger": "click", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" + "name": "text", + "value": "Hi @field.user_name! Your @local.workshop_data.in_text_title is ready for you! ", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! Your @local.workshop_data.in_text_title is ready for you! ", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + }, + { + "fullExpression": "Hi @field.user_name! Your @local.workshop_data.in_text_title is ready for you! ", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@local.workshop_data.in_text_title": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } }, { - "trigger": "click", - "action_id": "set_field", - "args": [ - "daily_relax_done", - true - ], - "_raw": "click | set_field:daily_relax_done:true", - "_cleaned": "click | set_field:daily_relax_done:true" + "name": "text", + "value": "Hi @field.group_name! Your @data.workshop_data.in_text_title is ready for you!", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! Your @data.workshop_data.in_text_title is ready for you!", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + }, + { + "fullExpression": "Hi @field.group_name! Your @data.workshop_data.in_text_title is ready for you!", + "matchedExpression": "@data.workshop_data.in_text_title", + "type": "data", + "fieldName": "workshop_data" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@data.workshop_data.in_text_title": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } } ], - "hidden": false, - "type": "set_variable", - "_nested_name": "in_week_message.button_1" - }, - { - "name": "habit", - "value": "relax", - "type": "set_variable", - "_nested_name": "in_week_message.habit" - }, + "_nested_name": "m_workshop_released.in_week_message" + } + ], + "_nested_name": "m_workshop_released" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" + }, + { + "flow_type": "template", + "module": "1on1", + "flow_name": "w_1on1_m_something_fun", + "status": "released", + "rows": [ + { + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "name": "habit_text", - "value": "Did you relax already? Tap it!", - "hidden": false, + "name": "activity", + "value": "co_chef", "type": "set_variable", - "_nested_name": "in_week_message.habit_text" + "_nested_name": "m_something_fun.activity" } ], - "_nested_name": "in_week_message" + "_nested_name": "m_something_fun" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" }, { "flow_type": "template", - "flow_name": "message_navigation", + "module": "1on1", + "flow_name": "w_1on1_m_workshop_in_progress", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "In Week Content", - "_nested_name": "title" - }, - { - "type": "button", - "name": "week_1_messages", - "value": "@global.w_self_care", - "action_list": [ + "type": "template", + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_self_care_messages" + "name": "workshop_data", + "value": "@data.workshop.w_1on1", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_1on1", + "matchedExpression": "@data.workshop.w_1on1", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_1on1": [ + "value" + ] + } + }, + { + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Spending time with your teen helps build trust between you. \n\nContinue your @global.parent_app journey now - you and your family will see great results. ", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Spending time with your teen helps build trust between you. \n\nContinue your @global.parent_app journey now - you and your family will see great results. ", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ] + } + } ], - "_raw": "click | go_to:w_self_care_messages", - "_cleaned": "click | go_to:w_self_care_messages" + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_1_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_self_care", - "matchedExpression": "@global.w_self_care", - "type": "global", - "fieldName": "w_self_care" - } - ] - }, - "_dynamicDependencies": { - "@global.w_self_care": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_in_progress" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" + }, + { + "flow_type": "template", + "module": "1on1", + "flow_name": "w_1on1_m_praise", + "status": "released", + "rows": [ { - "type": "button", - "name": "week_2_messages", - "value": "@global.w_1on1", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_1on1_messages" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Thank you for putting so much effort into being a better parent. You are loved and appreciated!", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text" + } ], - "_raw": "click | go_to:w_1on1_messages", - "_cleaned": "click | go_to:w_1on1_messages" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_2_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_1on1", - "matchedExpression": "@global.w_1on1", - "type": "global", - "fieldName": "w_1on1" - } - ] - }, - "_dynamicDependencies": { - "@global.w_1on1": [ - "value" - ] - } - }, + "_nested_name": "m_praise" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" + }, + { + "flow_type": "template", + "module": "1on1", + "flow_name": "w_1on1_m_hp_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "week_3_messages", - "value": "@global.w_praise", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_praise_messages" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Have you spent time with your teen already?", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text" + }, + { + "name": "habit_text", + "value": "@data.habit.spend_time.short_mark_text", + "hidden": false, + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.spend_time.short_mark_text", + "matchedExpression": "@data.habit.spend_time.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.spend_time.short_mark_text": [ + "value" + ] + } + }, + { + "name": "habit", + "value": "spend_time", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit" + } ], - "_raw": "click | go_to:w_praise_messages", - "_cleaned": "click | go_to:w_praise_messages" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_3_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_praise", - "matchedExpression": "@global.w_praise", - "type": "global", - "fieldName": "w_praise" - } - ] - }, - "_dynamicDependencies": { - "@global.w_praise": [ - "value" - ] - } - }, + "_nested_name": "m_hp_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" + }, + { + "flow_type": "template", + "module": "1on1", + "flow_name": "w_1on1_m_workshop_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "week_4_messages", - "value": "@global.w_instruct", - "action_list": [ + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_instruct_messages" - ], - "_raw": "click | go_to:w_instruct_messages", - "_cleaned": "click | go_to:w_instruct_messages" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_4_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_instruct", - "matchedExpression": "@global.w_instruct", - "type": "global", - "fieldName": "w_instruct" + "name": "workshop_data", + "value": "@data.workshop.w_1on1", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_1on1", + "matchedExpression": "@data.workshop.w_1on1", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_1on1": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.w_instruct": [ - "value" - ] - } - }, - { - "type": "button", - "name": "week_5_messages", - "value": "@global.w_stress", - "action_list": [ + }, { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_stress_messages" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Thank you for using @global.parent_app and committing to your parenting. \n\nYour @local.workshop_data.in_text_title is ready for you! ", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Thank you for using @global.parent_app and committing to your parenting. \n\nYour @local.workshop_data.in_text_title is ready for you! ", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + }, + { + "fullExpression": "Thank you for using @global.parent_app and committing to your parenting. \n\nYour @local.workshop_data.in_text_title is ready for you! ", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ], + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | go_to:w_stress_messages", - "_cleaned": "click | go_to:w_stress_messages" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_5_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_stress", - "matchedExpression": "@global.w_stress", - "type": "global", - "fieldName": "w_stress" - } - ] - }, - "_dynamicDependencies": { - "@global.w_stress": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_1on1_messages.xlsx" + }, + { + "flow_type": "template", + "module": "consequence", + "flow_name": "w_consequence_m_workshop_rel", + "status": "released", + "rows": [ { - "type": "button", - "name": "week_6_messages", - "value": "@global.w_money", - "action_list": [ + "type": "template", + "name": "m_workshop_released", + "value": "m_workshop_released", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_money_messages" - ], - "_raw": "click | go_to:w_money_messages", - "_cleaned": "click | go_to:w_money_messages" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_6_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_money", - "matchedExpression": "@global.w_money", - "type": "global", - "fieldName": "w_money" + "name": "workshop_data", + "value": "@data.workshop.w_consequence", + "type": "set_variable", + "_nested_name": "m_workshop_released.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_consequence", + "matchedExpression": "@data.workshop.w_consequence", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_consequence": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.w_money": [ - "value" - ] - } - }, - { - "type": "button", - "name": "week_7_messages", - "value": "@global.w_rules", - "action_list": [ + }, { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_rules_messages" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Hi @field.user_name! Today we are celebrating two months of using @global.parent_app! \n\nYou are doing great! This week’s workshop will help you know what to do when your teen is not following the household rules. ", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! Today we are celebrating two months of using @global.parent_app! \n\nYou are doing great! This week’s workshop will help you know what to do when your teen is not following the household rules. ", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + }, + { + "fullExpression": "Hi @field.user_name! Today we are celebrating two months of using @global.parent_app! \n\nYou are doing great! This week’s workshop will help you know what to do when your teen is not following the household rules. ", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Hi @field.group_name! Today we are celebrating two months of using @global.parent_app! \n\nYou are doing great! This week’s workshop will help you know what to do when your teen is not following the household rules. ", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! Today we are celebrating two months of using @global.parent_app! \n\nYou are doing great! This week’s workshop will help you know what to do when your teen is not following the household rules. ", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + }, + { + "fullExpression": "Hi @field.group_name! Today we are celebrating two months of using @global.parent_app! \n\nYou are doing great! This week’s workshop will help you know what to do when your teen is not following the household rules. ", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | go_to:w_rules_messages", - "_cleaned": "click | go_to:w_rules_messages" + "_nested_name": "m_workshop_released.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_7_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_rules", - "matchedExpression": "@global.w_rules", - "type": "global", - "fieldName": "w_rules" - } - ] - }, - "_dynamicDependencies": { - "@global.w_rules": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_released" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" + }, + { + "flow_type": "template", + "module": "consequence", + "flow_name": "w_consequence_m_something_fun", + "status": "released", + "rows": [ { - "type": "button", - "name": "week_8_messages", - "value": "@global.w_consequence", - "action_list": [ + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_consequence_messages" - ], - "_raw": "click | go_to:w_consequence_messages", - "_cleaned": "click | go_to:w_consequence_messages" + "name": "activity", + "value": "two_truths", + "type": "set_variable", + "_nested_name": "m_something_fun.activity" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_8_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_consequence", - "matchedExpression": "@global.w_consequence", - "type": "global", - "fieldName": "w_consequence" - } - ] - }, - "_dynamicDependencies": { - "@global.w_consequence": [ - "value" - ] - } - }, + "_nested_name": "m_something_fun" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" + }, + { + "flow_type": "template", + "module": "consequence", + "flow_name": "w_consequence_m_praise", + "status": "released", + "rows": [ { - "type": "button", - "name": "week_9_messages", - "value": "@global.w_solve", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_solve_messages" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "This has been the hardest of times to be a parent. You should be so proud of yourself for everything you have done. \n\nThink about every time you have made your teen smile and all the care you have given them. Parents are incredible, and you are incredible!", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text" + } ], - "_raw": "click | go_to:w_solve_messages", - "_cleaned": "click | go_to:w_solve_messages" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_9_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_solve", - "matchedExpression": "@global.w_solve", - "type": "global", - "fieldName": "w_solve" - } - ] - }, - "_dynamicDependencies": { - "@global.w_solve": [ - "value" - ] - } - }, + "_nested_name": "m_praise" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" + }, + { + "flow_type": "template", + "module": "consequence", + "flow_name": "w_consequence_m_workshop_rem", + "status": "released", + "rows": [ { - "type": "button", - "name": "week_10_messages", - "value": "@global.w_safe", - "action_list": [ + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_safe_messages" - ], - "_raw": "click | go_to:w_safe_messages", - "_cleaned": "click | go_to:w_safe_messages" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_10_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_safe", - "matchedExpression": "@global.w_safe", - "type": "global", - "fieldName": "w_safe" + "name": "workshop_data", + "value": "@data.workshop.w_consequence", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_consequence", + "matchedExpression": "@data.workshop.w_consequence", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_consequence": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.w_safe": [ - "value" - ] - } - }, - { - "type": "button", - "name": "week_11_messages", - "value": "@global.w_crisis", - "action_list": [ + }, { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_crisis_messages" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "It’s great that you’ve been using @global.parent_app . You’ve gained 6 parenting tools already! \n\nTake the next workshop to get another parenting tool! ", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "It’s great that you’ve been using @global.parent_app . You’ve gained 6 parenting tools already! \n\nTake the next workshop to get another parenting tool! ", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ] + } + } ], - "_raw": "click | go_to:w_crisis_messages", - "_cleaned": "click | go_to:w_crisis_messages" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "week_11_messages", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_crisis", - "matchedExpression": "@global.w_crisis", - "type": "global", - "fieldName": "w_crisis" - } - ] - }, - "_dynamicDependencies": { - "@global.w_crisis": [ - "value" - ] - } + "_nested_name": "m_workshop_reminder" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_self_care_messages", + "module": "consequence", + "flow_name": "w_consequence_m_workshop_in_pro", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_self_care In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_self_care In Week Messages", - "matchedExpression": "@global.w_self_care", - "type": "global", - "fieldName": "w_self_care" + "type": "template", + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", + "rows": [ + { + "name": "workshop_data", + "value": "@data.workshop.w_consequence", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_consequence", + "matchedExpression": "@data.workshop.w_consequence", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_consequence": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.w_self_care": [ - "value" - ] - } - }, - { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_self_care_m_hp_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Complete the workshop and try to discuss with your teen to come up with one positive and one negative consequence of a behaviour together. ", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text" + } ], - "_raw": "click | pop_up:w_self_care_m_hp_reminder", - "_cleaned": "click | pop_up:w_self_care_m_hp_reminder" + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_in_progress" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" + }, + { + "flow_type": "template", + "module": "consequence", + "flow_name": "w_consequence_m_hp_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "workshop_tomorrow", - "value": "@global.m_workshop_tomorrow", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_self_care_m_workshop_tomorrow" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Have you managed to come up with one positive and one negative consequence of a behaviour with your teen yet? ", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text" + }, + { + "name": "button_1", + "value": "@global.ideas_button", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_consequence_home_practice_pop" + ], + "_raw": "click | go_to:w_consequence_home_practice_pop", + "_cleaned": "click | go_to:w_consequence_home_practice_pop" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.ideas_button", + "matchedExpression": "@global.ideas_button", + "type": "global", + "fieldName": "ideas_button" + } + ] + }, + "_dynamicDependencies": { + "@global.ideas_button": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_self_care_m_workshop_tomorrow", - "_cleaned": "click | pop_up:w_self_care_m_workshop_tomorrow" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_tomorrow", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_tomorrow", - "matchedExpression": "@global.m_workshop_tomorrow", - "type": "global", - "fieldName": "m_workshop_tomorrow" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_tomorrow": [ - "value" - ] - } - }, + "_nested_name": "m_hp_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_consequence_messages.xlsx" + }, + { + "flow_type": "template", + "module": "crisis", + "flow_name": "w_crisis_m_workshop_released", + "status": "released", + "rows": [ { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + "type": "template", + "name": "m_workshop_released", + "value": "m_workshop_released", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" + "name": "workshop_data", + "value": "@data.workshop.w_crisis", + "type": "set_variable", + "_nested_name": "m_workshop_released.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_crisis", + "matchedExpression": "@data.workshop.w_crisis", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_crisis": [ + "value" + ] + } + }, + { + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Hi @field.user_name! A crisis can happen to anyone - being prepared helps a lot. \n\nThis workshop will show you how. ", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! A crisis can happen to anyone - being prepared helps a lot. \n\nThis workshop will show you how. ", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Hi @field.group_name! A crisis can happen to anyone - being prepared helps a lot. \n\nThis workshop will show you how. ", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! A crisis can happen to anyone - being prepared helps a lot. \n\nThis workshop will show you how. ", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "_nested_name": "m_workshop_released.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_workshop_released" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_1on1_messages", + "module": "crisis", + "flow_name": "w_crisis_m_something_fun", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_1on1 In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_1on1 In Week Messages", - "matchedExpression": "@global.w_1on1", - "type": "global", - "fieldName": "w_1on1" - } - ] - }, - "_dynamicDependencies": { - "@global.w_1on1": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_1on1_m_workshop_released" - ], - "_raw": "click | pop_up:w_1on1_m_workshop_released", - "_cleaned": "click | pop_up:w_1on1_m_workshop_released" + "name": "activity", + "value": "superpowers", + "type": "set_variable", + "_nested_name": "m_something_fun.activity" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, + "_nested_name": "m_something_fun" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" + }, + { + "flow_type": "template", + "module": "crisis", + "flow_name": "w_crisis_m_praise", + "status": "released", + "rows": [ { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_1on1_m_something_fun" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "You are a committed parent. Be proud of yourself - this is a big achievement in itself!", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text" + } ], - "_raw": "click | pop_up:w_1on1_m_something_fun", - "_cleaned": "click | pop_up:w_1on1_m_something_fun" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" - } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, - { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ + "_nested_name": "m_praise" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" + }, + { + "flow_type": "template", + "module": "crisis", + "flow_name": "w_crisis_m_workshop_reminder", + "status": "released", + "rows": [ + { + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_1on1_m_praise" - ], - "_raw": "click | pop_up:w_1on1_m_praise", - "_cleaned": "click | pop_up:w_1on1_m_praise" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" + "name": "workshop_data", + "value": "@data.workshop.w_crisis", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_crisis", + "matchedExpression": "@data.workshop.w_crisis", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_crisis": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_reminder", - "value": "@global.m_workshop_reminder", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_1on1_m_workshop_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "We never know when a crisis may happen, but we CAN be prepared! \n\nStart the next workshop to explore how you can do this together with your teen.", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text" + } ], - "_raw": "click | pop_up:w_1on1_m_workshop_reminder", - "_cleaned": "click | pop_up:w_1on1_m_workshop_reminder" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" + }, + { + "flow_type": "template", + "module": "crisis", + "flow_name": "w_crisis_m_workshop_in_progress", + "status": "released", + "rows": [ { - "type": "button", - "name": "workshop_in_progress", - "value": "@global.m_workshop_in_progress", - "action_list": [ + "type": "template", + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_1on1_m_workshop_in_progress" + "name": "workshop_data", + "value": "@data.workshop.w_crisis", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_crisis", + "matchedExpression": "@data.workshop.w_crisis", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_crisis": [ + "value" + ] + } + }, + { + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "So good that you're with us on this parenting journey! \n\nComplete the @local.workshop_data.in_text_title and learn the best way to react when your teen needs you the most. ", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "So good that you're with us on this parenting journey! \n\nComplete the @local.workshop_data.in_text_title and learn the best way to react when your teen needs you the most. ", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_1on1_m_workshop_in_progress", - "_cleaned": "click | pop_up:w_1on1_m_workshop_in_progress" + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_in_progress" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" + }, + { + "flow_type": "template", + "module": "crisis", + "flow_name": "w_crisis_m_hp_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_1on1_m_hp_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Have you discussed with your teen what you would do in a crisis situation?", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text" + }, + { + "name": "habit", + "value": "safe", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit" + }, + { + "name": "habit_text", + "value": "@data.habit.safe.short_mark_text", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.safe.short_mark_text", + "matchedExpression": "@data.habit.safe.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.safe.short_mark_text": [ + "value" + ] + } + }, + { + "name": "button_1", + "value": "Crisis Examples", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_crisis_learn_temp" + ], + "_raw": "click | go_to:w_crisis_learn_temp", + "_cleaned": "click | go_to:w_crisis_learn_temp" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.button_1" + } ], - "_raw": "click | pop_up:w_1on1_m_hp_reminder", - "_cleaned": "click | pop_up:w_1on1_m_hp_reminder" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_hp_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_crisis_messages.xlsx" + }, + { + "flow_type": "template", + "module": "instruct", + "flow_name": "w_instruct_m_workshop_released", + "status": "released", + "rows": [ { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + "type": "template", + "name": "m_workshop_released", + "value": "m_workshop_released", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" + "name": "workshop_data", + "value": "@data.workshop.w_instruct", + "type": "set_variable", + "_nested_name": "m_workshop_released.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_instruct", + "matchedExpression": "@data.workshop.w_instruct", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_instruct": [ + "value" + ] + } + }, + { + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Hi @field.user_name! Congratulations for starting @global.parent_app week 4. \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! Congratulations for starting @global.parent_app week 4. \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + }, + { + "fullExpression": "Hi @field.user_name! Congratulations for starting @global.parent_app week 4. \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Hi @field.group_name! Congratulations for starting @global.parent_app week 4. \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! Congratulations for starting @global.parent_app week 4. \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + }, + { + "fullExpression": "Hi @field.group_name! Congratulations for starting @global.parent_app week 4. \n\nThis week’s workshop is about how to increase your chances of getting your teen to do what you ask them to do.", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "_nested_name": "m_workshop_released.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_workshop_released" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_praise_messages", + "module": "instruct", + "flow_name": "w_instruct_m_something_fun", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_praise In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_praise In Week Messages", - "matchedExpression": "@global.w_praise", - "type": "global", - "fieldName": "w_praise" - } - ] - }, - "_dynamicDependencies": { - "@global.w_praise": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_praise_m_workshop_released" - ], - "_raw": "click | pop_up:w_praise_m_workshop_released", - "_cleaned": "click | pop_up:w_praise_m_workshop_released" + "name": "activity", + "value": "dance_moves", + "type": "set_variable", + "_nested_name": "m_something_fun.activity" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, + "_nested_name": "m_something_fun" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" + }, + { + "flow_type": "template", + "module": "instruct", + "flow_name": "w_instruct_m_praise", + "status": "released", + "rows": [ { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_praise_m_something_fun" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Speak kindly to yourself about what a great job you are doing. There is no such thing as a perfect parent, and we think you’re doing great!", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text" + } ], - "_raw": "click | pop_up:w_praise_m_something_fun", - "_cleaned": "click | pop_up:w_praise_m_something_fun" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" - } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, - { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_praise_m_praise" - ], - "_raw": "click | pop_up:w_praise_m_praise", - "_cleaned": "click | pop_up:w_praise_m_praise" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" - } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, + "_nested_name": "m_praise" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" + }, + { + "flow_type": "template", + "module": "instruct", + "flow_name": "w_instruct_m_hp_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "workshop_reminder", - "value": "@global.m_workshop_reminder", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_praise_m_workshop_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "You’ve not marked any @data.habit.instruct_positively.title @global.parent_points this week yet. \n\nGive it a try today!", + "condition": "@field.total_parent_point_instruct_positively == 0", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You’ve not marked any @data.habit.instruct_positively.title @global.parent_points this week yet. \n\nGive it a try today!", + "matchedExpression": "@data.habit.instruct_positively.title", + "type": "data", + "fieldName": "habit" + }, + { + "fullExpression": "You’ve not marked any @data.habit.instruct_positively.title @global.parent_points this week yet. \n\nGive it a try today!", + "matchedExpression": "@global.parent_points", + "type": "global", + "fieldName": "parent_points" + } + ], + "condition": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively == 0", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.instruct_positively.title": [ + "value" + ], + "@global.parent_points": [ + "value" + ], + "@field.total_parent_point_instruct_positively": [ + "condition" + ] + } + }, + { + "name": "button_1", + "value": "@global.w_instruct_tools", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_instruct_tools" + ], + "_raw": "click | go_to:w_instruct_tools", + "_cleaned": "click | go_to:w_instruct_tools" + } + ], + "condition": "@field.total_parent_point_instruct_positively == 0", + "hidden": "FALSE ", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_instruct_tools", + "matchedExpression": "@global.w_instruct_tools", + "type": "global", + "fieldName": "w_instruct_tools" + } + ], + "condition": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively == 0", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@global.w_instruct_tools": [ + "value" + ], + "@field.total_parent_point_instruct_positively": [ + "condition" + ] + } + }, + { + "name": "habit_text", + "value": "@data.habit.instruct_positively.short_mark_text", + "condition": "@field.total_parent_point_instruct_positively == 0", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.instruct_positively.short_mark_text", + "matchedExpression": "@data.habit.instruct_positively.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ], + "condition": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively == 0", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.instruct_positively.short_mark_text": [ + "value" + ], + "@field.total_parent_point_instruct_positively": [ + "condition" + ] + } + }, + { + "name": "habit", + "value": "instruct_positively", + "condition": "@field.total_parent_point_instruct_positively == 0", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively == 0", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@field.total_parent_point_instruct_positively": [ + "condition" + ] + } + }, + { + "name": "title", + "value": "Well done!", + "condition": "@field.total_parent_point_instruct_positively > 0", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.title", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively > 0", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@field.total_parent_point_instruct_positively": [ + "condition" + ] + } + }, + { + "name": "image", + "value": "@data.habit.instruct_positively.image_asset", + "condition": "@field.total_parent_point_instruct_positively > 0", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.image", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.instruct_positively.image_asset", + "matchedExpression": "@data.habit.instruct_positively.image_asset", + "type": "data", + "fieldName": "habit" + } + ], + "condition": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively > 0", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.instruct_positively.image_asset": [ + "value" + ], + "@field.total_parent_point_instruct_positively": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title once already – so you’re making great progress.\n", + "condition": "@field.total_parent_point_instruct_positively == 1", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title once already – so you’re making great progress.\n", + "matchedExpression": "@global.parent_point", + "type": "global", + "fieldName": "parent_point" + }, + { + "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title once already – so you’re making great progress.\n", + "matchedExpression": "@data.habit.instruct_positively.title", + "type": "data", + "fieldName": "habit" + } + ], + "condition": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively == 1", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_point": [ + "value" + ], + "@data.habit.instruct_positively.title": [ + "value" + ], + "@field.total_parent_point_instruct_positively": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title @field.total_parent_point_instruct_positively times already – so you’re making great progress.\n", + "condition": "@field.total_parent_point_instruct_positively > 1", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title @field.total_parent_point_instruct_positively times already – so you’re making great progress.\n", + "matchedExpression": "@global.parent_point", + "type": "global", + "fieldName": "parent_point" + }, + { + "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title @field.total_parent_point_instruct_positively times already – so you’re making great progress.\n", + "matchedExpression": "@data.habit.instruct_positively.title", + "type": "data", + "fieldName": "habit" + }, + { + "fullExpression": "You’ve marked the @global.parent_point @data.habit.instruct_positively.title @field.total_parent_point_instruct_positively times already – so you’re making great progress.\n", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ], + "condition": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively > 1", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_point": [ + "value" + ], + "@data.habit.instruct_positively.title": [ + "value" + ], + "@field.total_parent_point_instruct_positively": [ + "value", + "condition" + ] + } + } ], - "_raw": "click | pop_up:w_praise_m_workshop_reminder", - "_cleaned": "click | pop_up:w_praise_m_workshop_reminder" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, - { - "type": "text", - "name": "workshop_in_progress", - "value": "Missing: @global.m_workshop_in_progress", - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Missing: @global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, + "_nested_name": "m_hp_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" + }, + { + "flow_type": "template", + "module": "instruct", + "flow_name": "w_instruct_m_workshop_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_praise_m_hp_reminder" - ], - "_raw": "click | pop_up:w_praise_m_hp_reminder", - "_cleaned": "click | pop_up:w_praise_m_hp_reminder" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" + "name": "workshop_data", + "value": "@data.workshop.w_instruct", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_instruct", + "matchedExpression": "@data.workshop.w_instruct", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_instruct": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, - { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Does your teen always listen to you? If not (like the rest of us), have a look at this week's workshop to learn how giving positive instructions can help - a lot. ", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text" + } ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_workshop_reminder" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_instruct_messages", + "module": "instruct", + "flow_name": "w_instruct_m_workshop_in_pro", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_instruct In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_instruct In Week Messages", - "matchedExpression": "@global.w_instruct", - "type": "global", - "fieldName": "w_instruct" + "type": "template", + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", + "rows": [ + { + "name": "workshop_data", + "value": "@data.workshop.w_instruct", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_instruct", + "matchedExpression": "@data.workshop.w_instruct", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_instruct": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.w_instruct": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_instruct_m_workshop_released" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Positive instructions help to see more and more good behaviour! \n\nComplete the @local.workshop_data.in_text_title to get some ideas on how this could work in your family. ", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Positive instructions help to see more and more good behaviour! \n\nComplete the @local.workshop_data.in_text_title to get some ideas on how this could work in your family. ", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_instruct_m_workshop_released", - "_cleaned": "click | pop_up:w_instruct_m_workshop_released" + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_in_progress" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_instruct_messages.xlsx" + }, + { + "flow_type": "template", + "module": "money", + "flow_name": "w_money_m_workshop_released", + "status": "released", + "rows": [ { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ + "type": "template", + "name": "m_workshop_released", + "value": "m_workshop_released", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_instruct_m_something_fun" - ], - "_raw": "click | pop_up:w_instruct_m_something_fun", - "_cleaned": "click | pop_up:w_instruct_m_something_fun" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" + "name": "workshop_data", + "value": "@data.workshop.w_money", + "type": "set_variable", + "_nested_name": "m_workshop_released.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_money", + "matchedExpression": "@data.workshop.w_money", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_money": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, - { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_instruct_m_praise" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Hi @field.user_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + }, + { + "fullExpression": "Hi @field.user_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Hi @field.group_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + }, + { + "fullExpression": "Hi @field.group_name! You are starting your second month of using @global.parent_app . Amazing! \n\nAlmost every family struggles with money issues, therefore, this week’s workshop will give you a tool that will help you to plan your expenses so you can have enough money to get through the month.", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | pop_up:w_instruct_m_praise", - "_cleaned": "click | pop_up:w_instruct_m_praise" + "_nested_name": "m_workshop_released.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" - } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, - { - "type": "text", - "name": "workshop_reminder", - "value": "Missing: @global.m_workshop_reminder", - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Missing: @global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, - { - "type": "text", - "name": "workshop_in_progress", - "value": "Missing: @global.m_workshop_in_progress", - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Missing: @global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_released" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" + }, + { + "flow_type": "template", + "module": "money", + "flow_name": "w_money_m_something_fun", + "status": "released", + "rows": [ { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_instruct_m_hp_reminder" - ], - "_raw": "click | pop_up:w_instruct_m_hp_reminder", - "_cleaned": "click | pop_up:w_instruct_m_hp_reminder" + "name": "activity", + "value": "dream_travel", + "type": "set_variable", + "_nested_name": "m_something_fun.activity" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_something_fun" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" + }, + { + "flow_type": "template", + "module": "money", + "flow_name": "w_money_m_praise", + "status": "released", + "rows": [ { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Whenever you feel alone or overwhelmed, know that you are not alone. There are parents all over the world who are going through the same struggles as you. \n\nYou are doing your best every day and we’re all proud of you!", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text" + } ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_praise" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_stress_messages", + "module": "money", + "flow_name": "w_money_m_workshop_reminder", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_stress In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_stress In Week Messages", - "matchedExpression": "@global.w_stress", - "type": "global", - "fieldName": "w_stress" + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ + { + "name": "workshop_data", + "value": "@data.workshop.w_money", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_money", + "matchedExpression": "@data.workshop.w_money", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_money": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.w_stress": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_stress_m_workshop_released" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Do you feel stressed about money? Does your teen keep asking for things you can’t afford? \n\nThis week’s workshop deals with money and budgeting. ", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text" + } ], - "_raw": "click | pop_up:w_stress_m_workshop_released", - "_cleaned": "click | pop_up:w_stress_m_workshop_released" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" + }, + { + "flow_type": "template", + "module": "money", + "flow_name": "w_money_m_workshop_in_progress", + "status": "released", + "rows": [ { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ + "type": "template", + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_stress_m_something_fun" - ], - "_raw": "click | pop_up:w_stress_m_something_fun", - "_cleaned": "click | pop_up:w_stress_m_something_fun" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" + "name": "workshop_data", + "value": "@data.workshop.w_money", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_money", + "matchedExpression": "@data.workshop.w_money", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_money": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, - { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_stress_m_praise" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Involving your family in how you spend your money can take away a lot of stress and arguments. \n\nComplete the @local.workshop_data.in_text_title and gain useful tools to help your family with budgeting and saving. It's actually easy - you will see!", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Involving your family in how you spend your money can take away a lot of stress and arguments. \n\nComplete the @local.workshop_data.in_text_title and gain useful tools to help your family with budgeting and saving. It's actually easy - you will see!", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_stress_m_praise", - "_cleaned": "click | pop_up:w_stress_m_praise" + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" - } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_in_progress" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" + }, + { + "flow_type": "template", + "module": "money", + "flow_name": "w_money_m_hp_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "workshop_reminder", - "value": "@global.m_workshop_reminder", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_stress_m_workshop_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Have you talked with your teen about your family budget yet?", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text" + }, + { + "name": "button_1", + "value": "@data.workshop.w_money.tools", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_money_tools" + ], + "_raw": "click | go_to:w_money_tools", + "_cleaned": "click | go_to:w_money_tools" + } + ], + "hidden": "FALSE ", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_money.tools", + "matchedExpression": "@data.workshop.w_money.tools", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_money.tools": [ + "value" + ] + } + }, + { + "name": "habit_text", + "value": "@data.habit.money.short_mark_text", + "hidden": "FALSE ", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.money.short_mark_text", + "matchedExpression": "@data.habit.money.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.money.short_mark_text": [ + "value" + ] + } + }, + { + "name": "habit", + "value": "money", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit" + } ], - "_raw": "click | pop_up:w_stress_m_workshop_reminder", - "_cleaned": "click | pop_up:w_stress_m_workshop_reminder" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_hp_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_money_messages.xlsx" + }, + { + "flow_type": "template", + "module": "praise", + "flow_name": "w_praise_m_workshop_released", + "status": "released", + "rows": [ { - "type": "text", - "name": "workshop_in_progress", - "value": "Missing: @global.m_workshop_in_progress", - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Missing: @global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" + "type": "template", + "name": "m_workshop_released", + "value": "m_workshop_released", + "rows": [ + { + "name": "workshop_data", + "value": "@data.workshop.w_praise", + "type": "set_variable", + "_nested_name": "m_workshop_released.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_praise", + "matchedExpression": "@data.workshop.w_praise", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_praise": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, - { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_stress_m_hp_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Hi @field.user_name! Congratulations for starting your third @global.parent_app week. \n\nA new workshop awaits you! Can you guess the topic of the workshop from this picture?", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! Congratulations for starting your third @global.parent_app week. \n\nA new workshop awaits you! Can you guess the topic of the workshop from this picture?", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + }, + { + "fullExpression": "Hi @field.user_name! Congratulations for starting your third @global.parent_app week. \n\nA new workshop awaits you! Can you guess the topic of the workshop from this picture?", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Hi @field.group_name! Congratulations for starting your third @global.parent_app week. \n\nA new workshop awaits you! Can you guess the topic of the workshop from this picture?", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! Congratulations for starting your third @global.parent_app week. \n\nA new workshop awaits you! Can you guess the topic of the workshop from this picture?", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + }, + { + "fullExpression": "Hi @field.group_name! Congratulations for starting your third @global.parent_app week. \n\nA new workshop awaits you! Can you guess the topic of the workshop from this picture?", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | pop_up:w_stress_m_hp_reminder", - "_cleaned": "click | pop_up:w_stress_m_hp_reminder" + "_nested_name": "m_workshop_released.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_released" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + }, + { + "flow_type": "template", + "module": "praise", + "flow_name": "w_praise_m_something_fun", + "status": "released", + "rows": [ { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" - ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "name": "activity", + "value": "reflect_positive", + "type": "set_variable", + "_nested_name": "m_something_fun.activity" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_something_fun" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_money_messages", + "module": "praise", + "flow_name": "w_praise_m_praise", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_money In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_money In Week Messages", - "matchedExpression": "@global.w_money", - "type": "global", - "fieldName": "w_money" - } - ] - }, - "_dynamicDependencies": { - "@global.w_money": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_money_m_workshop_released" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Well done for using @global.parent_app! Remember that it’s the small things that make a big difference.", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Well done for using @global.parent_app! Remember that it’s the small things that make a big difference.", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_money_m_workshop_released", - "_cleaned": "click | pop_up:w_money_m_workshop_released" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, + "_nested_name": "m_praise" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + }, + { + "flow_type": "template", + "module": "praise", + "flow_name": "w_praise_m_hp_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_money_m_something_fun" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "title", + "value": "Praise time!", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.title" + }, + { + "name": "text", + "value": "When you see your teen next, praise them for one thing they are doing well! \n\nAnd when was the last time you praised yourself or another adult in your household? Try it!", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text" + }, + { + "name": "habit_text", + "value": "@data.habit.praise_teen.short_mark_text", + "hidden": false, + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.praise_teen.short_mark_text", + "matchedExpression": "@data.habit.praise_teen.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.praise_teen.short_mark_text": [ + "value" + ] + } + }, + { + "name": "habit", + "value": "praise_teen", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit" + }, + { + "name": "parent_point_praise_yourself", + "hidden": false, + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.parent_point_praise_yourself" + } ], - "_raw": "click | pop_up:w_money_m_something_fun", - "_cleaned": "click | pop_up:w_money_m_something_fun" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" - } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, + "_nested_name": "m_hp_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + }, + { + "flow_type": "template", + "module": "praise", + "flow_name": "w_praise_m_workshop_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_money_m_praise" - ], - "_raw": "click | pop_up:w_money_m_praise", - "_cleaned": "click | pop_up:w_money_m_praise" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" + "name": "workshop_data", + "value": "@data.workshop.w_praise", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_praise", + "matchedExpression": "@data.workshop.w_praise", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_praise": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_reminder", - "value": "@global.m_workshop_reminder", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_money_m_workshop_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Thank you again for using @global.parent_app to invest in yourself and your family.\n\nTry the @local.workshop_data.in_text_title and add some valuable parenting tools to your toolbox!", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Thank you again for using @global.parent_app to invest in yourself and your family.\n\nTry the @local.workshop_data.in_text_title and add some valuable parenting tools to your toolbox!", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + }, + { + "fullExpression": "Thank you again for using @global.parent_app to invest in yourself and your family.\n\nTry the @local.workshop_data.in_text_title and add some valuable parenting tools to your toolbox!", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ], + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_money_m_workshop_reminder", - "_cleaned": "click | pop_up:w_money_m_workshop_reminder" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + }, + { + "flow_type": "template", + "module": "praise", + "flow_name": "w_praise_m_workshop_in_progress", + "status": "released", + "rows": [ { - "type": "text", - "name": "workshop_in_progress", - "value": "Missing: @global.m_workshop_in_progress", - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Missing: @global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" + "type": "template", + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", + "rows": [ + { + "name": "workshop_data", + "value": "@data.workshop.w_praise", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_praise", + "matchedExpression": "@data.workshop.w_praise", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_praise": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, - { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_money_m_hp_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Praising makes all the difference. \n\nComplete the @local.workshop_data.in_text_title and see how YOU can use praise in your family. ", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Praising makes all the difference. \n\nComplete the @local.workshop_data.in_text_title and see how YOU can use praise in your family. ", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_money_m_hp_reminder", - "_cleaned": "click | pop_up:w_money_m_hp_reminder" + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_in_progress" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_praise_messages.xlsx" + }, + { + "flow_type": "template", + "module": "rules", + "flow_name": "w_rules_m_workshop_released", + "status": "released", + "rows": [ { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + "type": "template", + "name": "m_workshop_released", + "value": "m_workshop_released", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" + "name": "workshop_data", + "value": "@data.workshop.w_rules", + "type": "set_variable", + "_nested_name": "m_workshop_released.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_rules", + "matchedExpression": "@data.workshop.w_rules", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_rules": [ + "value" + ] + } + }, + { + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Hi @field.user_name! New week, new workshop! Learn how to set household rules in a way that will increase the chances of your teen keeping them.", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! New week, new workshop! Learn how to set household rules in a way that will increase the chances of your teen keeping them.", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Hi @field.group_name! New week, new workshop! Learn how to set household rules in a way that will increase the chances of your teen keeping them.", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! New week, new workshop! Learn how to set household rules in a way that will increase the chances of your teen keeping them.", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "_nested_name": "m_workshop_released.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_workshop_released" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_rules_messages", + "module": "rules", + "flow_name": "w_rules_m_something_fun", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_rules In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_rules In Week Messages", - "matchedExpression": "@global.w_rules", - "type": "global", - "fieldName": "w_rules" - } - ] - }, - "_dynamicDependencies": { - "@global.w_rules": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_rules_m_workshop_released" - ], - "_raw": "click | pop_up:w_rules_m_workshop_released", - "_cleaned": "click | pop_up:w_rules_m_workshop_released" + "name": "activity", + "value": "famous_party", + "type": "set_variable", + "_nested_name": "m_something_fun.activity" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, + "_nested_name": "m_something_fun" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" + }, + { + "flow_type": "template", + "module": "rules", + "flow_name": "w_rules_m_praise", + "status": "released", + "rows": [ { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_rules_m_something_fun" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Sometimes it feels like your teens are still grumpy even when you’ve done the best you can. Remember that you are doing an amazing job, and that there will be good times with them too!", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text" + } ], - "_raw": "click | pop_up:w_rules_m_something_fun", - "_cleaned": "click | pop_up:w_rules_m_something_fun" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" - } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, + "_nested_name": "m_praise" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" + }, + { + "flow_type": "template", + "module": "rules", + "flow_name": "w_rules_m_workshop_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_rules_m_praise" - ], - "_raw": "click | pop_up:w_rules_m_praise", - "_cleaned": "click | pop_up:w_rules_m_praise" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" + "name": "workshop_data", + "value": "@data.workshop.w_rules", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_rules", + "matchedExpression": "@data.workshop.w_rules", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_rules": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_reminder", - "value": "@global.m_workshop_reminder", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_rules_m_workshop_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Thank you again for using @global.parent_app and for committing to your parenting journey. \n\nThe @local.workshop_data.in_text_title will show you how to set rules in a way that will help your teen to understand and follow them. ", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Thank you again for using @global.parent_app and for committing to your parenting journey. \n\nThe @local.workshop_data.in_text_title will show you how to set rules in a way that will help your teen to understand and follow them. ", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + }, + { + "fullExpression": "Thank you again for using @global.parent_app and for committing to your parenting journey. \n\nThe @local.workshop_data.in_text_title will show you how to set rules in a way that will help your teen to understand and follow them. ", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ], + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_rules_m_workshop_reminder", - "_cleaned": "click | pop_up:w_rules_m_workshop_reminder" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" + }, + { + "flow_type": "template", + "module": "rules", + "flow_name": "w_rules_m_workshop_in_progress", + "status": "released", + "rows": [ { - "type": "button", - "name": "workshop_in_progress", - "value": "@global.m_workshop_in_progress", - "action_list": [ + "type": "template", + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_rules_m_workshop_in_progress" + "name": "workshop_data", + "value": "@data.workshop.w_rules", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_rules", + "matchedExpression": "@data.workshop.w_rules", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_rules": [ + "value" + ] + } + }, + { + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "You are close to gaining another parenting tool! Complete the @local.workshop_data.in_text_title, set ONE simple and realistic rule with your teen, and see things change! ", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You are close to gaining another parenting tool! Complete the @local.workshop_data.in_text_title, set ONE simple and realistic rule with your teen, and see things change! ", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_rules_m_workshop_in_progress", - "_cleaned": "click | pop_up:w_rules_m_workshop_in_progress" + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_in_progress" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" + }, + { + "flow_type": "template", + "module": "rules", + "flow_name": "w_rules_m_hp_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_rules_m_hp_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Have you managed to set a rule together with your teen? ", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text" + }, + { + "name": "button_1", + "value": "@global.ideas_button", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_rules_try_pop" + ], + "_raw": "click | go_to:w_rules_try_pop", + "_cleaned": "click | go_to:w_rules_try_pop" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.ideas_button", + "matchedExpression": "@global.ideas_button", + "type": "global", + "fieldName": "ideas_button" + } + ] + }, + "_dynamicDependencies": { + "@global.ideas_button": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_rules_m_hp_reminder", - "_cleaned": "click | pop_up:w_rules_m_hp_reminder" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_hp_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_rules_messages.xlsx" + }, + { + "flow_type": "template", + "module": "safe", + "flow_name": "w_safe_m_workshop_released", + "status": "released", + "rows": [ { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + "type": "template", + "name": "m_workshop_released", + "value": "m_workshop_released", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" + "name": "workshop_data", + "value": "@data.workshop.w_safe", + "type": "set_variable", + "_nested_name": "m_workshop_released.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_safe", + "matchedExpression": "@data.workshop.w_safe", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_safe": [ + "value" + ] + } + }, + { + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Hi @field.user_name! You are nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! You are nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + }, + { + "fullExpression": "Hi @field.user_name! You are nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Hi @field.group_name! You are all nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! You are all nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + }, + { + "fullExpression": "Hi @field.group_name! You are all nearly at the end of your @global.parent_app workshops! Thank you for your long-lasting commitment. \n\nThis week’s workshop is about keeping our teens safe, both online and in the community. Enjoy!", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "_nested_name": "m_workshop_released.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_workshop_released" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_consequence_messages", + "module": "safe", + "flow_name": "w_safe_m_something_fun", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_consequence In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_consequence In Week Messages", - "matchedExpression": "@global.w_consequence", - "type": "global", - "fieldName": "w_consequence" - } - ] - }, - "_dynamicDependencies": { - "@global.w_consequence": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_consequence_m_workshop_rel" - ], - "_raw": "click | pop_up:w_consequence_m_workshop_rel", - "_cleaned": "click | pop_up:w_consequence_m_workshop_rel" + "name": "activity", + "value": "time_machine", + "type": "set_variable", + "_nested_name": "m_something_fun.activity" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, + "_nested_name": "m_something_fun" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" + }, + { + "flow_type": "template", + "module": "safe", + "flow_name": "w_safe_m_praise", + "status": "released", + "rows": [ { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_consequence_m_something_fun" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "This has been the hardest of times to be a parent. You should be so proud of yourself for everything you have done. \n\nThink about every time you have made your teen smile and all the care you have given them. Parents are incredible, and you are incredible! ", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text" + } ], - "_raw": "click | pop_up:w_consequence_m_something_fun", - "_cleaned": "click | pop_up:w_consequence_m_something_fun" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" - } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, + "_nested_name": "m_praise" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" + }, + { + "flow_type": "template", + "module": "safe", + "flow_name": "w_safe_m_workshop_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_consequence_m_praise" - ], - "_raw": "click | pop_up:w_consequence_m_praise", - "_cleaned": "click | pop_up:w_consequence_m_praise" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" + "name": "workshop_data", + "value": "@data.workshop.w_safe", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_safe", + "matchedExpression": "@data.workshop.w_safe", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_safe": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_reminder", - "value": "@global.m_workshop_reminder", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_consequence_m_workshop_rem" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "You have been using @global.parent_app and you have gained 8 parenting tools already! \n\nComplete the next workshop to gain another tool! ", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You have been using @global.parent_app and you have gained 8 parenting tools already! \n\nComplete the next workshop to gain another tool! ", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_consequence_m_workshop_rem", - "_cleaned": "click | pop_up:w_consequence_m_workshop_rem" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" + }, + { + "flow_type": "template", + "module": "safe", + "flow_name": "w_safe_m_workshop_in_progress", + "status": "released", + "rows": [ { - "type": "button", - "name": "workshop_in_progress", - "value": "@global.m_workshop_in_progress", - "action_list": [ + "type": "template", + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_consequence_m_workshop_in_pro" - ], - "_raw": "click | pop_up:w_consequence_m_workshop_in_pro", - "_cleaned": "click | pop_up:w_consequence_m_workshop_in_pro" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" + "name": "workshop_data", + "value": "@data.workshop.w_safe", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_safe", + "matchedExpression": "@data.workshop.w_safe", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_safe": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, - { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_consequence_m_hp_reminder" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "To keep your teen safe, it helps to chat together about your community and their online experiences. \n\nComplete the @local.workshop_data.in_text_title and see how you can do this!", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "To keep your teen safe, it helps to chat together about your community and their online experiences. \n\nComplete the @local.workshop_data.in_text_title and see how you can do this!", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_consequence_m_hp_reminder", - "_cleaned": "click | pop_up:w_consequence_m_hp_reminder" + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_in_progress" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" + }, + { + "flow_type": "template", + "module": "safe", + "flow_name": "w_safe_m_hp_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Have you talked with your teen about safety measures? ", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text" + }, + { + "name": "habit", + "value": "safe", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit" + }, + { + "name": "habit_text", + "value": "@data.habit.safe.short_mark_text", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.safe.short_mark_text", + "matchedExpression": "@data.habit.safe.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.safe.short_mark_text": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_hp_reminder" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_safe_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_solve_messages", + "module": "self_care", + "flow_name": "w_self_care_m_hp_reminder", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_solve In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_solve In Week Messages", - "matchedExpression": "@global.w_solve", - "type": "global", - "fieldName": "w_solve" - } - ] - }, - "_dynamicDependencies": { - "@global.w_solve": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_solve_m_workshop_released" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Remember – this week is about YOU! We hope you are treating yourself well. You deserve this! ", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text" + }, + { + "name": "habit", + "value": "treat_yourself", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit" + }, + { + "name": "habit_text", + "value": "@data.habit.treat_yourself.short_mark_text", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.treat_yourself.short_mark_text", + "matchedExpression": "@data.habit.treat_yourself.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.treat_yourself.short_mark_text": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_solve_m_workshop_released", - "_cleaned": "click | pop_up:w_solve_m_workshop_released" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, + "_nested_name": "m_hp_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_self_care_messages.xlsx" + }, + { + "flow_type": "template", + "module": "self_care", + "flow_name": "w_self_care_m_workshop_tomorrow", + "status": "released", + "rows": [ { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ + "type": "template", + "name": "m_workshop_tomorrow", + "value": "m_workshop_tomorrow", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_solve_m_something_fun" - ], - "_raw": "click | pop_up:w_solve_m_something_fun", - "_cleaned": "click | pop_up:w_solve_m_something_fun" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" - } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, - { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ + "name": "workshop_data", + "value": "@data.workshop.w_1on1", + "type": "set_variable", + "_nested_name": "m_workshop_tomorrow.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_1on1", + "matchedExpression": "@data.workshop.w_1on1", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_1on1": [ + "value" + ] + } + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_solve_m_praise" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "title", + "value": "First @global.weekly_workshop ready tomorrow!", + "type": "set_variable", + "_nested_name": "m_workshop_tomorrow.in_week_message.title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "First @global.weekly_workshop ready tomorrow!", + "matchedExpression": "@global.weekly_workshop", + "type": "global", + "fieldName": "weekly_workshop" + } + ] + }, + "_dynamicDependencies": { + "@global.weekly_workshop": [ + "value" + ] + } + }, + { + "name": "text", + "value": "Start your first @global.parent_app workshop tomorrow. You will see the good results!", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_tomorrow.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Start your first @global.parent_app workshop tomorrow. You will see the good results!", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Have you told your @global.parent_app partners about the app yet? You can start your first @global.parent_app workshop together tomorrow!", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_tomorrow.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Have you told your @global.parent_app partners about the app yet? You can start your first @global.parent_app workshop together tomorrow!", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + }, + { + "fullExpression": "Have you told your @global.parent_app partners about the app yet? You can start your first @global.parent_app workshop together tomorrow!", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value", + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | pop_up:w_solve_m_praise", - "_cleaned": "click | pop_up:w_solve_m_praise" + "_nested_name": "m_workshop_tomorrow.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" - } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_tomorrow" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_self_care_messages.xlsx" + }, + { + "flow_type": "template", + "module": "solve", + "flow_name": "w_solve_m_workshop_released", + "status": "released", + "rows": [ { - "type": "button", - "name": "workshop_reminder", - "value": "@global.m_workshop_reminder", - "action_list": [ + "type": "template", + "name": "m_workshop_released", + "value": "m_workshop_released", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_solve_m_workshop_reminder" - ], - "_raw": "click | pop_up:w_solve_m_workshop_reminder", - "_cleaned": "click | pop_up:w_solve_m_workshop_reminder" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" + "name": "workshop_data", + "value": "@data.workshop.w_solve", + "type": "set_variable", + "_nested_name": "m_workshop_released.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_solve", + "matchedExpression": "@data.workshop.w_solve", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_solve": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_in_progress", - "value": "@global.m_workshop_in_progress", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_solve_m_workshop_in_progress" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Hi @field.user_name! You are making such good progress on your parenting journey! \n\nHaving a teen means having a lot of unexpected problems to deal with. This workshop will show you how to deal with them. ", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! You are making such good progress on your parenting journey! \n\nHaving a teen means having a lot of unexpected problems to deal with. This workshop will show you how to deal with them. ", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Hi @field.group_name! You are making such good progress on your parenting journey!\n\nHaving a teen means having a lot of unexpected problems to deal with. This workshop will show you all how to deal with them. ", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! You are making such good progress on your parenting journey!\n\nHaving a teen means having a lot of unexpected problems to deal with. This workshop will show you all how to deal with them. ", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | pop_up:w_solve_m_workshop_in_progress", - "_cleaned": "click | pop_up:w_solve_m_workshop_in_progress" + "_nested_name": "m_workshop_released.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_released" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" + }, + { + "flow_type": "template", + "module": "solve", + "flow_name": "w_solve_m_something_fun", + "status": "released", + "rows": [ { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_solve_m_hp_reminder" - ], - "_raw": "click | pop_up:w_solve_m_hp_reminder", - "_cleaned": "click | pop_up:w_solve_m_hp_reminder" + "name": "activity", + "value": "mirror", + "type": "set_variable", + "_nested_name": "m_something_fun.activity" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_something_fun" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" + }, + { + "flow_type": "template", + "module": "solve", + "flow_name": "w_solve_m_praise", + "status": "released", + "rows": [ { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Your commitment is an inspiration to everyone. Keep calm and carry on! ", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text" + } ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_praise" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_safe_messages", + "module": "solve", + "flow_name": "w_solve_m_workshop_reminder", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_safe In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_safe In Week Messages", - "matchedExpression": "@global.w_safe", - "type": "global", - "fieldName": "w_safe" + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ + { + "name": "workshop_data", + "value": "@data.workshop.w_solve", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_solve", + "matchedExpression": "@data.workshop.w_solve", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_solve": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.w_safe": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_safe_m_workshop_released" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "With teenagers, and in life, unexpected problems come up and we have to deal with them. \n\nStart the next workshop to learn how to successfully address these problems. ", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text" + } ], - "_raw": "click | pop_up:w_safe_m_workshop_released", - "_cleaned": "click | pop_up:w_safe_m_workshop_released" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" + }, + { + "flow_type": "template", + "module": "solve", + "flow_name": "w_solve_m_workshop_in_progress", + "status": "released", + "rows": [ { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ + "type": "template", + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_safe_m_something_fun" + "name": "workshop_data", + "value": "@data.workshop.w_solve", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_solve", + "matchedExpression": "@data.workshop.w_solve", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_solve": [ + "value" + ] + } + }, + { + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "You are on the right track to start solving problems together with your teen! \n\nComplete the @local.workshop_data.in_text_title and gain another important parenting tool! ", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You are on the right track to start solving problems together with your teen! \n\nComplete the @local.workshop_data.in_text_title and gain another important parenting tool! ", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_safe_m_something_fun", - "_cleaned": "click | pop_up:w_safe_m_something_fun" + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" - } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_in_progress" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" + }, + { + "flow_type": "template", + "module": "solve", + "flow_name": "w_solve_m_hp_reminder", + "status": "released", + "rows": [ { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ + "type": "template", + "name": "m_hp_reminder", + "value": "m_hp_reminder", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_safe_m_praise" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Have you tried the four steps of problem-solving with your teen yet? \n\nKNOW IT, SOLVE IT, TRY IT, TEST IT! ", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text" + }, + { + "name": "button_1", + "value": "@global.w_solve_tools", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_solve_tools" + ], + "_raw": "click | go_to:w_solve_tools", + "_cleaned": "click | go_to:w_solve_tools" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_solve_tools", + "matchedExpression": "@global.w_solve_tools", + "type": "global", + "fieldName": "w_solve_tools" + } + ] + }, + "_dynamicDependencies": { + "@global.w_solve_tools": [ + "value" + ] + } + }, + { + "name": "button_2", + "value": "@global.ideas_button", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_solve_home_practice_pop" + ], + "_raw": "click | go_to:w_solve_home_practice_pop", + "_cleaned": "click | go_to:w_solve_home_practice_pop" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.button_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.ideas_button", + "matchedExpression": "@global.ideas_button", + "type": "global", + "fieldName": "ideas_button" + } + ] + }, + "_dynamicDependencies": { + "@global.ideas_button": [ + "value" + ] + } + } ], - "_raw": "click | pop_up:w_safe_m_praise", - "_cleaned": "click | pop_up:w_safe_m_praise" + "_nested_name": "m_hp_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" - } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, + "_nested_name": "m_hp_reminder" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_solve_messages.xlsx" + }, + { + "flow_type": "template", + "module": "stress", + "flow_name": "w_stress_m_workshop_released", + "status": "released", + "rows": [ { - "type": "button", - "name": "workshop_reminder", - "value": "@global.m_workshop_reminder", - "action_list": [ + "type": "template", + "name": "m_workshop_released", + "value": "m_workshop_released", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_safe_m_workshop_reminder" + "name": "workshop_data", + "value": "@data.workshop.w_stress", + "type": "set_variable", + "_nested_name": "m_workshop_released.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_stress", + "matchedExpression": "@data.workshop.w_stress", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_stress": [ + "value" + ] + } + }, + { + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Hi @field.user_name! Congratulations for starting @global.parent_app week 5.\n\nA new parenting workshop awaits you with tips on how we can stay calm and in control when our teens are driving us crazy.", + "condition": "!@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! Congratulations for starting @global.parent_app week 5.\n\nA new parenting workshop awaits you with tips on how we can stay calm and in control when our teens are driving us crazy.", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + }, + { + "fullExpression": "Hi @field.user_name! Congratulations for starting @global.parent_app week 5.\n\nA new parenting workshop awaits you with tips on how we can stay calm and in control when our teens are driving us crazy.", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "Hi @field.group_name! Congratulations for starting @global.parent_app week 5.\n\nA new parenting workshop awaits you with tips how we can stay calm and in control when our teens are driving us crazy.", + "condition": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "m_workshop_released.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.group_name! Congratulations for starting @global.parent_app week 5.\n\nA new parenting workshop awaits you with tips how we can stay calm and in control when our teens are driving us crazy.", + "matchedExpression": "@field.group_name", + "type": "field", + "fieldName": "group_name" + }, + { + "fullExpression": "Hi @field.group_name! Congratulations for starting @global.parent_app week 5.\n\nA new parenting workshop awaits you with tips how we can stay calm and in control when our teens are driving us crazy.", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ], + "condition": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@field.group_name": [ + "value" + ], + "@global.parent_app": [ + "value" + ], + "@field.do_workshops_together": [ + "condition" + ] + } + } ], - "_raw": "click | pop_up:w_safe_m_workshop_reminder", - "_cleaned": "click | pop_up:w_safe_m_workshop_reminder" + "_nested_name": "m_workshop_released.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, - { - "type": "text", - "name": "workshop_in_progress", - "value": "Missing: @global.m_workshop_in_progress", - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Missing: @global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, + "_nested_name": "m_workshop_released" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" + }, + { + "flow_type": "template", + "module": "stress", + "flow_name": "w_stress_m_something_fun", + "status": "released", + "rows": [ { - "type": "button", - "name": "hp_reminder", - "value": "@global.m_hp_reminder", - "action_list": [ + "type": "template", + "name": "m_something_fun", + "value": "m_something_fun", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_safe_m_hp_reminder" - ], - "_raw": "click | pop_up:w_safe_m_hp_reminder", - "_cleaned": "click | pop_up:w_safe_m_hp_reminder" + "name": "activity", + "value": "check_in_chat", + "type": "set_variable", + "_nested_name": "m_something_fun.activity" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, + "_nested_name": "m_something_fun" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" + }, + { + "flow_type": "template", + "module": "stress", + "flow_name": "w_stress_m_praise", + "status": "released", + "rows": [ { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ + "type": "template", + "name": "m_praise", + "value": "m_praise", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "Happy, sad, angry, excited, worried? Well done for recognizing how you and others felt today! And remember, tomorrow is a brand new day.", + "type": "set_variable", + "_nested_name": "m_praise.in_week_message.text" + } ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" + "_nested_name": "m_praise.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_praise" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" }, { "flow_type": "template", - "flow_name": "w_crisis_messages", + "module": "stress", + "flow_name": "w_stress_m_workshop_reminder", "status": "released", "rows": [ { - "type": "title", - "name": "title", - "value": "@global.w_crisis In Week Messages", - "_nested_name": "title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_crisis In Week Messages", - "matchedExpression": "@global.w_crisis", - "type": "global", - "fieldName": "w_crisis" + "type": "template", + "name": "m_workshop_reminder", + "value": "m_workshop_reminder", + "rows": [ + { + "name": "workshop_data", + "value": "@data.workshop.w_stress", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.workshop_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.workshop.w_stress", + "matchedExpression": "@data.workshop.w_stress", + "type": "data", + "fieldName": "workshop" + } + ] + }, + "_dynamicDependencies": { + "@data.workshop.w_stress": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.w_crisis": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_released", - "value": "@global.m_workshop_released", - "action_list": [ + }, { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_crisis_m_workshop_released" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "We have a new workshop available for you about managing anger and stress. It will help you take better care of yourself. ", + "type": "set_variable", + "_nested_name": "m_workshop_reminder.in_week_message.text" + } ], - "_raw": "click | pop_up:w_crisis_m_workshop_released", - "_cleaned": "click | pop_up:w_crisis_m_workshop_released" + "_nested_name": "m_workshop_reminder.in_week_message" } ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_released", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_released", - "matchedExpression": "@global.m_workshop_released", - "type": "global", - "fieldName": "m_workshop_released" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_released": [ - "value" - ] - } - }, - { - "type": "button", - "name": "something_fun", - "value": "@global.m_something_fun", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_crisis_m_something_fun" - ], - "_raw": "click | pop_up:w_crisis_m_something_fun", - "_cleaned": "click | pop_up:w_crisis_m_something_fun" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "something_fun", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_something_fun", - "matchedExpression": "@global.m_something_fun", - "type": "global", - "fieldName": "m_something_fun" - } - ] - }, - "_dynamicDependencies": { - "@global.m_something_fun": [ - "value" - ] - } - }, - { - "type": "button", - "name": "praise", - "value": "@global.m_praise", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_crisis_m_praise" - ], - "_raw": "click | pop_up:w_crisis_m_praise", - "_cleaned": "click | pop_up:w_crisis_m_praise" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "praise", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_praise", - "matchedExpression": "@global.m_praise", - "type": "global", - "fieldName": "m_praise" - } - ] - }, - "_dynamicDependencies": { - "@global.m_praise": [ - "value" - ] - } - }, - { - "type": "text", - "name": "workshop_reminder", - "value": "Missing: @global.m_workshop_reminder", - "_nested_name": "workshop_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Missing: @global.m_workshop_reminder", - "matchedExpression": "@global.m_workshop_reminder", - "type": "global", - "fieldName": "m_workshop_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_reminder": [ - "value" - ] - } - }, - { - "type": "button", - "name": "workshop_in_progress", - "value": "@global.m_workshop_in_progress", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_crisis_m_workshop_in_progress" - ], - "_raw": "click | pop_up:w_crisis_m_workshop_in_progress", - "_cleaned": "click | pop_up:w_crisis_m_workshop_in_progress" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "workshop_in_progress", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_workshop_in_progress", - "matchedExpression": "@global.m_workshop_in_progress", - "type": "global", - "fieldName": "m_workshop_in_progress" - } - ] - }, - "_dynamicDependencies": { - "@global.m_workshop_in_progress": [ - "value" - ] - } - }, - { - "type": "text", - "name": "hp_reminder", - "value": "Missing: @global.m_hp_reminder", - "_nested_name": "hp_reminder", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Missing: @global.m_hp_reminder", - "matchedExpression": "@global.m_hp_reminder", - "type": "global", - "fieldName": "m_hp_reminder" - } - ] - }, - "_dynamicDependencies": { - "@global.m_hp_reminder": [ - "value" - ] - } - }, - { - "type": "button", - "name": "parent_points_overview", - "value": "@global.m_parent_points_overview", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "m_parent_points_overview" - ], - "_raw": "click | pop_up:m_parent_points_overview", - "_cleaned": "click | pop_up:m_parent_points_overview" - } - ], - "parameter_list": { - "style": "information" - }, - "_nested_name": "parent_points_overview", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.m_parent_points_overview", - "matchedExpression": "@global.m_parent_points_overview", - "type": "global", - "fieldName": "m_parent_points_overview" - } - ] - }, - "_dynamicDependencies": { - "@global.m_parent_points_overview": [ - "value" - ] - } + "_nested_name": "m_workshop_reminder" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" }, { "flow_type": "template", - "flow_name": "tools_activity", + "module": "stress", + "flow_name": "w_stress_m_workshop_in_progress", "status": "released", "rows": [ { "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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" - } - ], + "name": "m_workshop_in_progress", + "value": "m_workshop_in_progress", "rows": [ { - "name": "activity_image", - "value": "plh_images/workshop_modes/group/light_bulb.svg", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/light_bulb.svg", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_title", - "value": "@global.essential_tools", + "name": "workshop_data", + "value": "@data.workshop.w_stress", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "_nested_name": "m_workshop_in_progress.workshop_data", "_dynamicFields": { "value": [ { - "fullExpression": "@global.essential_tools", - "matchedExpression": "@global.essential_tools", - "type": "global", - "fieldName": "essential_tools" + "fullExpression": "@data.workshop.w_stress", + "matchedExpression": "@data.workshop.w_stress", + "type": "data", + "fieldName": "workshop" } ] }, "_dynamicDependencies": { - "@global.essential_tools": [ + "@data.workshop.w_stress": [ "value" ] } }, { - "name": "intro_text", - "value": "Here are this week’s takeaway skills! \n\nUse them at home and find them anytime in your @global.parent_centre", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Here are this week’s takeaway skills! \n\nUse them at home and find them anytime in your @global.parent_centre", - "matchedExpression": "@global.parent_centre", - "type": "global", - "fieldName": "parent_centre" + "type": "nested_properties", + "name": "in_week_message", + "rows": [ + { + "name": "text", + "value": "We all feel overwhelmed sometimes. Taking a deep breath helps! \n\nComplete the @local.workshop_data.in_text_title to get some useful tools to deal with stress.", + "type": "set_variable", + "_nested_name": "m_workshop_in_progress.in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "We all feel overwhelmed sometimes. Taking a deep breath helps! \n\nComplete the @local.workshop_data.in_text_title to get some useful tools to deal with stress.", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@global.parent_centre": [ - "value" - ] - } + } + ], + "_nested_name": "m_workshop_in_progress.in_week_message" } ], - "_nested_name": "workshop_activity" + "_nested_name": "m_workshop_in_progress" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/essential_tools_activity.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" }, { "flow_type": "template", - "flow_name": "home_practice", + "module": "stress", + "flow_name": "w_stress_m_hp_reminder", "status": "released", "rows": [ { "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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" - } - ], + "name": "m_hp_reminder", + "value": "m_hp_reminder", "rows": [ - { - "name": "activity_image", - "value": "plh_images/workshop_modes/group/with_teen.svg", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/with_teen.svg", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_title", - "value": "Home Practice", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title" - }, - { - "name": "intro_text", - "value": "Small actions, big results! Parents who practice their workshop skills at home get better results.", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text" - }, - { - "name": "activity_banner", - "hidden": false, - "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" - }, { "type": "nested_properties", - "name": "intro_nav_buttons", + "name": "in_week_message", "rows": [ { - "name": "button_completed", - "value": "@global.check_it_out_button", + "name": "text", + "value": "How have your stress levels been this week? Try to take a few deep breaths before responding to your teen - it makes a big difference. ", + "condition": "@field.total_parent_point_breathe == 0", "type": "set_variable", - "_nested_name": "workshop_activity.intro_nav_buttons.button_completed", + "_nested_name": "m_hp_reminder.in_week_message.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.total_parent_point_breathe == 0", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ] + }, + "_dynamicDependencies": { + "@field.total_parent_point_breathe": [ + "condition" + ] + } + }, + { + "name": "habit_text", + "value": "@data.habit.breathe.short_mark_text", + "condition": "@field.total_parent_point_breathe == 0", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.habit_text", "_dynamicFields": { "value": [ { - "fullExpression": "@global.check_it_out_button", - "matchedExpression": "@global.check_it_out_button", - "type": "global", - "fieldName": "check_it_out_button" + "fullExpression": "@data.habit.breathe.short_mark_text", + "matchedExpression": "@data.habit.breathe.short_mark_text", + "type": "data", + "fieldName": "habit" + } + ], + "condition": [ + { + "fullExpression": "@field.total_parent_point_breathe == 0", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" } ] }, "_dynamicDependencies": { - "@global.check_it_out_button": [ + "@data.habit.breathe.short_mark_text": [ "value" + ], + "@field.total_parent_point_breathe": [ + "condition" ] } - } - ], - "_nested_name": "workshop_activity.intro_nav_buttons" - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_buttons", - "rows": [ + }, { - "name": "bottom_text", - "value": "Next week, you’ll share with your group how your home practice went. You can also support and remind each other during the week.", - "hidden": false, - "condition": "@field.do_workshops_together", + "name": "habit", + "value": "breathe", + "condition": "@field.total_parent_point_breathe == 0", "type": "set_variable", - "_nested_name": "workshop_activity.content_box.bottom_text", + "_nested_name": "m_hp_reminder.in_week_message.habit", "_dynamicFields": { "condition": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", + "fullExpression": "@field.total_parent_point_breathe == 0", + "matchedExpression": "@field.total_parent_point_breathe", "type": "field", - "fieldName": "do_workshops_together" + "fieldName": "total_parent_point_breathe" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@field.total_parent_point_breathe": [ "condition" ] } - } - ], - "_nested_name": "workshop_activity.content_box" - } - ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/home_practice.xlsx" - }, - { - "flow_type": "template", - "flow_name": "home_practice_review", - "status": "released", - "rows": [ - { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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": "activity_image", - "value": "plh_images/workshop_modes/group/with_teen.svg", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + }, + { + "name": "title", + "value": "Well done!", + "condition": "@field.total_parent_point_breathe > 0", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.title", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.total_parent_point_breathe > 0", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ] + }, + "_dynamicDependencies": { + "@field.total_parent_point_breathe": [ + "condition" + ] } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/with_teen.svg", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + }, + { + "name": "image", + "value": "@data.habit.breathe.image_asset", + "condition": "@field.total_parent_point_breathe > 0", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.image", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.breathe.image_asset", + "matchedExpression": "@data.habit.breathe.image_asset", + "type": "data", + "fieldName": "habit" + } + ], + "condition": [ + { + "fullExpression": "@field.total_parent_point_breathe > 0", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.breathe.image_asset": [ + "value" + ], + "@field.total_parent_point_breathe": [ + "condition" + ] } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_title", - "value": "Home Practice Review", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title" - }, - { - "name": "intro_text", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text" - }, - { - "name": "activity_banner", - "hidden": false, - "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" + }, + { + "name": "text", + "value": "Well done for taking a big breath before responding to your teen! Each time you are taking a pause, you are getting back control.", + "condition": "@field.total_parent_point_breathe > 0", + "type": "set_variable", + "_nested_name": "m_hp_reminder.in_week_message.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.total_parent_point_breathe > 0", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ] + }, + "_dynamicDependencies": { + "@field.total_parent_point_breathe": [ + "condition" + ] + } + } + ], + "_nested_name": "m_hp_reminder.in_week_message" } ], - "_nested_name": "workshop_activity" + "_nested_name": "m_hp_reminder" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/home_practice.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_texts/w_stress_messages.xlsx" }, { "flow_type": "template", - "flow_name": "listen", + "flow_name": "in_week_message", "status": "released", "rows": [ { - "name": "audio_src", - "value": "plh_audio/sample.mp3", + "name": "habit", "type": "set_variable", - "_nested_name": "audio_src" + "_nested_name": "habit" }, { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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" - } + "name": "habit_text", + "type": "set_variable", + "_nested_name": "habit_text" + }, + { + "type": "title", + "name": "title", + "_nested_name": "title" + }, + { + "type": "image", + "name": "image", + "hidden": "\"@local.habit\" != \"undefined\"", + "style_list": [ + "max-height: 180px" ], - "rows": [ - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" - }, - { - "name": "activity_title", - "value": "Listen Together", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "intro_text", - "value": "Let's listen to an audio together!", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] + "_nested_name": "image", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.habit\" != \"undefined\"", + "matchedExpression": "@local.habit", + "type": "local", + "fieldName": "habit" } - }, + ] + }, + "_dynamicDependencies": { + "@local.habit": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "text", + "_nested_name": "text" + }, + { + "type": "display_group", + "name": "habit_box", + "hidden": "\"@local.habit_text\" == \"undefined\"", + "parameter_list": { + "icon_src": "plh_images/icons/star_circle.svg", + "icon_position": "top-left", + "type": "dashed_box" + }, + "rows": [ { - "name": "activity_title", - "value": "Listen", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "type": "subtitle", + "name": "habit_box_text", + "value": "@local.habit_text", + "_nested_name": "habit_box.habit_box_text", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "@local.habit_text", + "matchedExpression": "@local.habit_text", + "type": "local", + "fieldName": "habit_text" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@local.habit_text": [ + "value" ] } }, { - "name": "intro_text", - "value": "Let's listen to an audio!", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] + "type": "display_group", + "name": "habit_tracker", + "hidden": "\"@local.habit\" == \"undefined\"", + "parameter_list": { + "style": "parent_point" }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_banner", - "hidden": false, - "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_audio", - "rows": [], - "_nested_name": "workshop_activity.content_box" - } - ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/listen.xlsx" - }, - { - "flow_type": "template", - "flow_name": "topic_intro", - "status": "released", - "rows": [ - { - "type": "template", - "name": "listen", - "value": "listen", - "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": [ - { - "type": "nested_properties", - "name": "workshop_activity", "rows": [ { - "type": "nested_properties", - "name": "intro_nav_buttons", - "rows": [ - { - "name": "button_completed", - "value": "Tell me more! ", - "type": "set_variable", - "_nested_name": "listen.workshop_activity.intro_nav_buttons.button_completed" - } - ], - "_nested_name": "listen.workshop_activity.intro_nav_buttons" - }, - { - "type": "nested_properties", - "name": "content_box", - "rows": [ + "type": "parent_point_box", + "name": "parent_point_relax", + "value": "@field.total_parent_point_relax", + "action_list": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_title", - "value": "Hear Sbo's message", - "type": "set_variable", - "_nested_name": "listen.workshop_activity.content_box.widget_audio.audio_title" - } + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_relax", + "@field.total_parent_point_relax+1" ], - "_nested_name": "listen.workshop_activity.content_box.widget_audio" + "_raw": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", + "_cleaned": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1" }, { - "name": "button", - "value": "Today's steps", - "hidden": false, - "type": "set_variable", - "_nested_name": "listen.workshop_activity.content_box.button" + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_relax", + "@field.weekly_parent_point_relax+1" + ], + "_raw": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", + "_cleaned": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1" } ], - "_nested_name": "listen.workshop_activity.content_box" - } - ], - "_nested_name": "listen.workshop_activity" - } - ], - "_nested_name": "listen" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/listen.xlsx" - }, - { - "flow_type": "template", - "flow_name": "question_time", - "status": "released", - "rows": [ - { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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": "activity_title", - "value": "Question Time", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title" - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/write.svg", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" - }, - { - "name": "intro_text", - "value": "It's time for some questions!", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text" - }, - { - "name": "activity_banner", - "hidden": false, - "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_duo_combo_box", - "rows": [], - "_nested_name": "workshop_activity.content_box" - } - ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/question_time.xlsx" - }, - { - "flow_type": "template", - "flow_name": "read", - "status": "released", - "rows": [ - { - "name": "number_of_slides", - "value": 3, - "type": "set_variable", - "_nested_name": "number_of_slides" - }, - { - "name": "slide_text_1", - "type": "set_variable", - "_nested_name": "slide_text_1" - }, - { - "name": "slide_text_2", - "type": "set_variable", - "_nested_name": "slide_text_2" - }, - { - "name": "slide_text_3", - "type": "set_variable", - "_nested_name": "slide_text_3" - }, - { - "name": "slide_text_4", - "type": "set_variable", - "_nested_name": "slide_text_4" - }, - { - "name": "slide_text_5", - "type": "set_variable", - "_nested_name": "slide_text_5" - }, - { - "name": "slide_text_6", - "type": "set_variable", - "_nested_name": "slide_text_6" - }, - { - "name": "slide_text_7", - "type": "set_variable", - "_nested_name": "slide_text_7" - }, - { - "name": "slide_text_8", - "type": "set_variable", - "_nested_name": "slide_text_8" - }, - { - "name": "slide_image_src_1", - "type": "set_variable", - "_nested_name": "slide_image_src_1" - }, - { - "name": "slide_image_src_2", - "type": "set_variable", - "_nested_name": "slide_image_src_2" - }, - { - "name": "slide_image_src_3", - "type": "set_variable", - "_nested_name": "slide_image_src_3" - }, - { - "name": "slide_image_src_4", - "type": "set_variable", - "_nested_name": "slide_image_src_4" - }, - { - "name": "slide_image_src_5", - "type": "set_variable", - "_nested_name": "slide_image_src_5" - }, - { - "name": "slide_image_src_6", - "type": "set_variable", - "_nested_name": "slide_image_src_6" - }, - { - "name": "slide_image_src_7", - "type": "set_variable", - "_nested_name": "slide_image_src_7" - }, - { - "name": "slide_image_src_8", - "type": "set_variable", - "_nested_name": "slide_image_src_8" - }, - { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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": "activity_image", - "value": "plh_images/workshop_modes/guide_2/read.svg", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_title", - "value": "Read", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "intro_text", - "value": "Let's read a story!", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/group/read.svg", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_title", - "value": "Read Together", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "intro_text", - "value": "Let's read a story together!", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_image", - "condition": "@local.number_of_slides = 1", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_1", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.image_src", + "hidden": "\"@local.habit\" != \"relax\"", + "parameter_list": { + "text": "@data.habit.relax.title", + "icon_src": "plh_images/habits/habit_relax.svg" + }, + "style_list": [ + "Images should be read from habit_data_list" + ], + "_nested_name": "habit_box.habit_tracker.parent_point_relax", "_dynamicFields": { "value": [ { - "fullExpression": "@local.slide_image_src_1", - "matchedExpression": "@local.slide_image_src_1", + "fullExpression": "@field.total_parent_point_relax", + "matchedExpression": "@field.total_parent_point_relax", + "type": "field", + "fieldName": "total_parent_point_relax" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_relax+1", + "matchedExpression": "@field.total_parent_point_relax", + "type": "field", + "fieldName": "total_parent_point_relax" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", + "matchedExpression": "@field.total_parent_point_relax", + "type": "field", + "fieldName": "total_parent_point_relax" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_relax: @field.total_parent_point_relax+1", + "matchedExpression": "@field.total_parent_point_relax", + "type": "field", + "fieldName": "total_parent_point_relax" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_relax+1", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_relax: @field.weekly_parent_point_relax+1", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.habit\" != \"relax\"", + "matchedExpression": "@local.habit", "type": "local", - "fieldName": "slide_image_src_1" + "fieldName": "habit" } - ] + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.relax.title", + "matchedExpression": "@data.habit.relax.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, "_dynamicDependencies": { - "@local.slide_image_src_1": [ - "value" + "@field.total_parent_point_relax": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_relax": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.relax.title": [ + "parameter_list.text" ] } }, { - "name": "text", - "value": "@local.slide_text_1", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.text", + "type": "parent_point_box", + "name": "parent_point_treat_yourself", + "value": "@field.total_parent_point_treat_yourself", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_treat_yourself", + "@field.total_parent_point_treat_yourself+1" + ], + "_raw": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", + "_cleaned": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_treat_yourself", + "@field.weekly_parent_point_treat_yourself+1" + ], + "_raw": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", + "_cleaned": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1" + } + ], + "hidden": "\"@local.habit\" != \"treat_yourself\"", + "parameter_list": { + "text": "@data.habit.treat_yourself.title", + "icon_src": "plh_images/habits/habit_treat_yourself.svg" + }, + "_nested_name": "habit_box.habit_tracker.parent_point_treat_yourself", "_dynamicFields": { "value": [ { - "fullExpression": "@local.slide_text_1", - "matchedExpression": "@local.slide_text_1", - "type": "local", - "fieldName": "slide_text_1" + "fullExpression": "@field.total_parent_point_treat_yourself", + "matchedExpression": "@field.total_parent_point_treat_yourself", + "type": "field", + "fieldName": "total_parent_point_treat_yourself" } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_1": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 1", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "pair", - "condition": "@local.number_of_slides > 1", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_1", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_1.image_src", - "_dynamicFields": { - "value": [ + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_treat_yourself+1", + "matchedExpression": "@field.total_parent_point_treat_yourself", + "type": "field", + "fieldName": "total_parent_point_treat_yourself" + } + ] + }, + "_raw": [ { - "fullExpression": "@local.slide_image_src_1", - "matchedExpression": "@local.slide_image_src_1", - "type": "local", - "fieldName": "slide_image_src_1" + "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", + "matchedExpression": "@field.total_parent_point_treat_yourself", + "type": "field", + "fieldName": "total_parent_point_treat_yourself" } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_1": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_1", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_1.text", - "_dynamicFields": { - "value": [ + ], + "_cleaned": [ { - "fullExpression": "@local.slide_text_1", - "matchedExpression": "@local.slide_text_1", - "type": "local", - "fieldName": "slide_text_1" + "fullExpression": "click | set_field: total_parent_point_treat_yourself: @field.total_parent_point_treat_yourself+1", + "matchedExpression": "@field.total_parent_point_treat_yourself", + "type": "field", + "fieldName": "total_parent_point_treat_yourself" } ] }, - "_dynamicDependencies": { - "@local.slide_text_1": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 2", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_2", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.image_src", - "_dynamicFields": { - "value": [ + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_treat_yourself+1", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" + } + ] + }, + "_raw": [ { - "fullExpression": "@local.slide_image_src_2", - "matchedExpression": "@local.slide_image_src_2", - "type": "local", - "fieldName": "slide_image_src_2" + "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_2": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_2", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.text", - "_dynamicFields": { - "value": [ + ], + "_cleaned": [ { - "fullExpression": "@local.slide_text_2", - "matchedExpression": "@local.slide_text_2", - "type": "local", - "fieldName": "slide_text_2" + "fullExpression": "click | set_field: weekly_parent_point_treat_yourself: @field.weekly_parent_point_treat_yourself+1", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" } ] - }, - "_dynamicDependencies": { - "@local.slide_text_2": [ - "value" - ] } - } - ], - "_nested_name": "workshop_activity.content_box.box_2", - "_dynamicFields": { - "condition": [ + }, + "hidden": [ { - "fullExpression": "@local.number_of_slides = 2", - "matchedExpression": "@local.number_of_slides", + "fullExpression": "\"@local.habit\" != \"treat_yourself\"", + "matchedExpression": "@local.habit", "type": "local", - "fieldName": "number_of_slides" + "fieldName": "habit" } - ] + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.treat_yourself.title", + "matchedExpression": "@data.habit.treat_yourself.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" + "@field.total_parent_point_treat_yourself": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_treat_yourself": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.treat_yourself.title": [ + "parameter_list.text" ] } }, { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 2", - "rows": [ + "type": "parent_point_box", + "name": "parent_point_praise_yourself", + "value": "@field.total_parent_point_praise_yourself", + "action_list": [ { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_2", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_1.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_2", - "matchedExpression": "@local.slide_image_src_2", - "type": "local", - "fieldName": "slide_image_src_2" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_2": [ - "value" - ] + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_praise_yourself", + "@field.total_parent_point_praise_yourself+1" + ], + "_raw": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", + "_cleaned": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_praise_yourself", + "@field.weekly_parent_point_praise_yourself+1" + ], + "_raw": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", + "_cleaned": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1" + } + ], + "hidden": "\"@local.habit\" != \"praise_yourself\"", + "parameter_list": { + "text": "@data.habit.praise_yourself.title", + "icon_src": "plh_images/habits/habit_praise_yourself.svg" + }, + "_nested_name": "habit_box.habit_tracker.parent_point_praise_yourself", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_praise_yourself", + "matchedExpression": "@field.total_parent_point_praise_yourself", + "type": "field", + "fieldName": "total_parent_point_praise_yourself" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_praise_yourself+1", + "matchedExpression": "@field.total_parent_point_praise_yourself", + "type": "field", + "fieldName": "total_parent_point_praise_yourself" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", + "matchedExpression": "@field.total_parent_point_praise_yourself", + "type": "field", + "fieldName": "total_parent_point_praise_yourself" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_yourself: @field.total_parent_point_praise_yourself+1", + "matchedExpression": "@field.total_parent_point_praise_yourself", + "type": "field", + "fieldName": "total_parent_point_praise_yourself" } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_praise_yourself+1", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ] }, - { - "name": "text", - "value": "@local.slide_text_2", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_2", - "matchedExpression": "@local.slide_text_2", - "type": "local", - "fieldName": "slide_text_2" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_2": [ - "value" - ] + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_yourself: @field.weekly_parent_point_praise_yourself+1", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.habit\" != \"praise_yourself\"", + "matchedExpression": "@local.habit", + "type": "local", + "fieldName": "habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.praise_yourself.title", + "matchedExpression": "@data.habit.praise_yourself.title", + "type": "data", + "fieldName": "habit" } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_praise_yourself": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_praise_yourself": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.praise_yourself.title": [ + "parameter_list.text" + ] + } + }, + { + "type": "parent_point_box", + "name": "parent_point_spend_time", + "value": "@field.total_parent_point_spend_time", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_spend_time", + "@field.total_parent_point_spend_time+1" ], - "_nested_name": "workshop_activity.content_box.box_2.box_1" + "_raw": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", + "_cleaned": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1" }, { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 3", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_3", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_3", - "matchedExpression": "@local.slide_image_src_3", - "type": "local", - "fieldName": "slide_image_src_3" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_3": [ - "value" - ] - } + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_spend_time", + "@field.weekly_parent_point_spend_time+1" + ], + "_raw": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", + "_cleaned": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1" + } + ], + "hidden": "\"@local.habit\" != \"spend_time\"", + "parameter_list": { + "text": "@data.habit.spend_time.title", + "icon_src": "plh_images/habits/habit_spend_time.svg" + }, + "_nested_name": "habit_box.habit_tracker.parent_point_spend_time", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_spend_time", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_spend_time+1", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" + } + ] }, - { - "name": "text", - "value": "@local.slide_text_3", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_3", - "matchedExpression": "@local.slide_text_3", - "type": "local", - "fieldName": "slide_text_3" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_3": [ - "value" - ] + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2", - "_dynamicFields": { - "condition": [ + ], + "_cleaned": [ { - "fullExpression": "@local.number_of_slides = 3", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" + "fullExpression": "click | set_field: total_parent_point_spend_time: @field.total_parent_point_spend_time+1", + "matchedExpression": "@field.total_parent_point_spend_time", + "type": "field", + "fieldName": "total_parent_point_spend_time" } ] }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_spend_time+1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_spend_time: @field.weekly_parent_point_spend_time+1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } ] } }, - { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 3", - "rows": [ + "hidden": [ + { + "fullExpression": "\"@local.habit\" != \"spend_time\"", + "matchedExpression": "@local.habit", + "type": "local", + "fieldName": "habit" + } + ], + "parameter_list": { + "text": [ { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_3", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_1.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_3", - "matchedExpression": "@local.slide_image_src_3", - "type": "local", - "fieldName": "slide_image_src_3" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_3": [ - "value" - ] - } - }, + "fullExpression": "@data.habit.spend_time.title", + "matchedExpression": "@data.habit.spend_time.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_spend_time": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_spend_time": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.spend_time.title": [ + "parameter_list.text" + ] + } + }, + { + "type": "parent_point_box", + "name": "parent_point_praise_teen", + "value": "@field.total_parent_point_praise_teen", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_praise_teen", + "@field.total_parent_point_praise_teen+1" + ], + "_raw": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", + "_cleaned": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_praise_teen", + "@field.weekly_parent_point_praise_teen+1" + ], + "_raw": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", + "_cleaned": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1" + } + ], + "hidden": "\"@local.habit\" != \"praise_teen\"", + "parameter_list": { + "text": "@data.habit.praise_teen.title", + "icon_src": "plh_images/habits/habit_praise_teen.svg" + }, + "_nested_name": "habit_box.habit_tracker.parent_point_praise_teen", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_praise_teen", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ], + "action_list": { + "0": { + "args": { + "1": [ { - "name": "text", - "value": "@local.slide_text_3", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_3", - "matchedExpression": "@local.slide_text_3", - "type": "local", - "fieldName": "slide_text_3" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_3": [ - "value" - ] - } + "fullExpression": "@field.total_parent_point_praise_teen+1", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_1" + ] }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 4", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_4", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_4", - "matchedExpression": "@local.slide_image_src_4", - "type": "local", - "fieldName": "slide_image_src_4" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_4": [ - "value" - ] - } - }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_praise_teen: @field.total_parent_point_praise_teen+1", + "matchedExpression": "@field.total_parent_point_praise_teen", + "type": "field", + "fieldName": "total_parent_point_praise_teen" + } + ] + }, + "1": { + "args": { + "1": [ { - "name": "text", - "value": "@local.slide_text_4", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_4", - "matchedExpression": "@local.slide_text_4", - "type": "local", - "fieldName": "slide_text_4" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_4": [ - "value" - ] - } + "fullExpression": "@field.weekly_parent_point_praise_teen+1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 4", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } + ] }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_praise_teen: @field.weekly_parent_point_praise_teen+1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.habit\" != \"praise_teen\"", + "matchedExpression": "@local.habit", + "type": "local", + "fieldName": "habit" + } + ], + "parameter_list": { + "text": [ { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 4", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_4", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_1.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_4", - "matchedExpression": "@local.slide_image_src_4", - "type": "local", - "fieldName": "slide_image_src_4" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_4": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_4", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_4", - "matchedExpression": "@local.slide_text_4", - "type": "local", - "fieldName": "slide_text_4" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_4": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 5", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_5", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_5", - "matchedExpression": "@local.slide_image_src_5", - "type": "local", - "fieldName": "slide_image_src_5" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_5": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_5", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_5", - "matchedExpression": "@local.slide_text_5", - "type": "local", - "fieldName": "slide_text_5" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_5": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 5", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - }, + "fullExpression": "@data.habit.praise_teen.title", + "matchedExpression": "@data.habit.praise_teen.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_praise_teen": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_praise_teen": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.praise_teen.title": [ + "parameter_list.text" + ] + } + }, + { + "type": "parent_point_box", + "name": "parent_point_instruct_positively", + "value": "@field.total_parent_point_instruct_positively", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_instruct_positively", + "@field.total_parent_point_instruct_positively+1" + ], + "_raw": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", + "_cleaned": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_instruct_positively", + "@field.weekly_parent_point_instruct_positively+1" + ], + "_raw": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", + "_cleaned": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1" + } + ], + "hidden": "\"@local.habit\" != \"instruct_positively\"", + "parameter_list": { + "text": "@data.habit.instruct_positively.title", + "icon_src": "plh_images/habits/habit_instruct_positively.svg" + }, + "_nested_name": "habit_box.habit_tracker.parent_point_instruct_positively", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_instruct_positively", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" + } + ], + "action_list": { + "0": { + "args": { + "1": [ { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 5", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_5", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_1.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_5", - "matchedExpression": "@local.slide_image_src_5", - "type": "local", - "fieldName": "slide_image_src_5" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_5": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_5", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_5", - "matchedExpression": "@local.slide_text_5", - "type": "local", - "fieldName": "slide_text_5" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_5": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 6", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_6", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_6", - "matchedExpression": "@local.slide_image_src_6", - "type": "local", - "fieldName": "slide_image_src_6" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_6": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_6", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_6", - "matchedExpression": "@local.slide_text_6", - "type": "local", - "fieldName": "slide_text_6" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_6": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 6", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 6", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_6", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_1.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_6", - "matchedExpression": "@local.slide_image_src_6", - "type": "local", - "fieldName": "slide_image_src_6" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_6": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_6", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_6", - "matchedExpression": "@local.slide_text_6", - "type": "local", - "fieldName": "slide_text_6" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_6": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 7", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_7", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_7", - "matchedExpression": "@local.slide_image_src_7", - "type": "local", - "fieldName": "slide_image_src_7" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_7": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_7", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_7", - "matchedExpression": "@local.slide_text_7", - "type": "local", - "fieldName": "slide_text_7" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_7": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 7", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 7", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_7", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_1.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_7", - "matchedExpression": "@local.slide_image_src_7", - "type": "local", - "fieldName": "slide_image_src_7" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_7": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_7", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_7", - "matchedExpression": "@local.slide_text_7", - "type": "local", - "fieldName": "slide_text_7" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_7": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 8", - "rows": [ - { - "name": "image_src", - "value": "@local.slide_image_src_8", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_2.image_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_image_src_8", - "matchedExpression": "@local.slide_image_src_8", - "type": "local", - "fieldName": "slide_image_src_8" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_image_src_8": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_8", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_8", - "matchedExpression": "@local.slide_text_8", - "type": "local", - "fieldName": "slide_text_8" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_8": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 8", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 7", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 6", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 5", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } + "fullExpression": "@field.total_parent_point_instruct_positively+1", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 4", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2", - "_dynamicFields": { - "condition": [ + ], + "_cleaned": [ { - "fullExpression": "@local.number_of_slides > 3", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" + "fullExpression": "click | set_field: total_parent_point_instruct_positively: @field.total_parent_point_instruct_positively+1", + "matchedExpression": "@field.total_parent_point_instruct_positively", + "type": "field", + "fieldName": "total_parent_point_instruct_positively" } ] }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_instruct_positively+1", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_instruct_positively: @field.weekly_parent_point_instruct_positively+1", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } ] } - } - ], - "_nested_name": "workshop_activity.content_box.box_2", - "_dynamicFields": { - "condition": [ + }, + "hidden": [ { - "fullExpression": "@local.number_of_slides > 2", - "matchedExpression": "@local.number_of_slides", + "fullExpression": "\"@local.habit\" != \"instruct_positively\"", + "matchedExpression": "@local.habit", "type": "local", - "fieldName": "number_of_slides" + "fieldName": "habit" } - ] + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.instruct_positively.title", + "matchedExpression": "@data.habit.instruct_positively.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" + "@field.total_parent_point_instruct_positively": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_instruct_positively": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.instruct_positively.title": [ + "parameter_list.text" ] } - } - ], - "_nested_name": "workshop_activity.content_box", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 1", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/read.xlsx" - }, - { - "flow_type": "template", - "flow_name": "read_temp", - "status": "released", - "rows": [ - { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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": "activity_image", - "value": "plh_images/workshop_modes/group/read.svg", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_title", - "value": "Read Together", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "intro_text", - "value": "Let's read a story together!", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/read.svg", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_title", - "value": "Read", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "intro_text", - "value": "Let's read a story!", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/read.xlsx" - }, - { - "flow_type": "template", - "flow_name": "think", - "status": "released", - "rows": [ - { - "type": "template", - "name": "read", - "value": "read", - "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": [ - { - "type": "nested_properties", - "name": "workshop_activity", - "rows": [ - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide2/wave.svg", - "type": "set_variable", - "_nested_name": "read.workshop_activity.activity_image" }, { - "name": "activity_title", - "value": "Think", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "read.workshop_activity.activity_title", + "type": "parent_point_box", + "name": "parent_point_breathe", + "value": "@field.total_parent_point_breathe", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_breathe", + "@field.total_parent_point_breathe+1" + ], + "_raw": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", + "_cleaned": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_breathe", + "@field.weekly_parent_point_breathe+1" + ], + "_raw": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", + "_cleaned": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1" + } + ], + "hidden": "\"@local.habit\" != \"breathe\"", + "parameter_list": { + "text": "@data.habit.breathe.title", + "icon_src": "plh_images/habits/habit_breathe.svg" + }, + "_nested_name": "habit_box.habit_tracker.parent_point_breathe", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", + "fullExpression": "@field.total_parent_point_breathe", + "matchedExpression": "@field.total_parent_point_breathe", "type": "field", - "fieldName": "do_workshops_together" + "fieldName": "total_parent_point_breathe" } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "intro_text", - "value": "It's time to think!", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "read.workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_breathe+1", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_breathe: @field.total_parent_point_breathe+1", + "matchedExpression": "@field.total_parent_point_breathe", + "type": "field", + "fieldName": "total_parent_point_breathe" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_breathe+1", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_breathe: @field.weekly_parent_point_breathe+1", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ] + } + }, + "hidden": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "\"@local.habit\" != \"breathe\"", + "matchedExpression": "@local.habit", + "type": "local", + "fieldName": "habit" } - ] + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.breathe.title", + "matchedExpression": "@data.habit.breathe.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@field.total_parent_point_breathe": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_breathe": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.breathe.title": [ + "parameter_list.text" ] } }, { - "name": "activity_title", - "value": "Think Together", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "read.workshop_activity.activity_title", + "type": "parent_point_box", + "name": "parent_point_money", + "value": "@field.total_parent_point_money", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_money", + "@field.total_parent_point_money+1" + ], + "_raw": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", + "_cleaned": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_money", + "@field.weekly_parent_point_money+1" + ], + "_raw": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", + "_cleaned": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1" + } + ], + "hidden": "\"@local.habit\" != \"money\"", + "parameter_list": { + "text": "@data.habit.money.title", + "icon_src": "plh_images/habits/habit_money.svg" + }, + "_nested_name": "habit_box.habit_tracker.parent_point_money", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", + "fullExpression": "@field.total_parent_point_money", + "matchedExpression": "@field.total_parent_point_money", "type": "field", - "fieldName": "do_workshops_together" + "fieldName": "total_parent_point_money" } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "intro_text", - "value": "It's time to think together!", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "read.workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_money+1", + "matchedExpression": "@field.total_parent_point_money", + "type": "field", + "fieldName": "total_parent_point_money" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", + "matchedExpression": "@field.total_parent_point_money", + "type": "field", + "fieldName": "total_parent_point_money" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_money: @field.total_parent_point_money+1", + "matchedExpression": "@field.total_parent_point_money", + "type": "field", + "fieldName": "total_parent_point_money" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_money+1", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_money: @field.weekly_parent_point_money+1", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ] + } + }, + "hidden": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "\"@local.habit\" != \"money\"", + "matchedExpression": "@local.habit", + "type": "local", + "fieldName": "habit" } - ] + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.money.title", + "matchedExpression": "@data.habit.money.title", + "type": "data", + "fieldName": "habit" + } + ] + } }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@field.total_parent_point_money": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_money": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.money.title": [ + "parameter_list.text" ] } - } + }, + { + "type": "parent_point_box", + "name": "parent_point_consequence", + "value": "@field.total_parent_point_consequence", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_consequence", + "@field.total_parent_point_consequence+1" + ], + "_raw": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", + "_cleaned": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_consequence", + "@field.weekly_parent_point_consequence+1" + ], + "_raw": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", + "_cleaned": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1" + } + ], + "hidden": "\"@local.habit\" != \"consequence\"", + "parameter_list": { + "text": "@data.habit.consequence.title", + "icon_src": "plh_images/habits/habit_consequence.svg" + }, + "_nested_name": "habit_box.habit_tracker.parent_point_consequence", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_consequence", + "matchedExpression": "@field.total_parent_point_consequence", + "type": "field", + "fieldName": "total_parent_point_consequence" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_consequence+1", + "matchedExpression": "@field.total_parent_point_consequence", + "type": "field", + "fieldName": "total_parent_point_consequence" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", + "matchedExpression": "@field.total_parent_point_consequence", + "type": "field", + "fieldName": "total_parent_point_consequence" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_consequence: @field.total_parent_point_consequence+1", + "matchedExpression": "@field.total_parent_point_consequence", + "type": "field", + "fieldName": "total_parent_point_consequence" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_consequence+1", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_consequence: @field.weekly_parent_point_consequence+1", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.habit\" != \"consequence\"", + "matchedExpression": "@local.habit", + "type": "local", + "fieldName": "habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.consequence.title", + "matchedExpression": "@data.habit.consequence.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_consequence": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_consequence": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.consequence.title": [ + "parameter_list.text" + ] + } + }, + { + "type": "parent_point_box", + "name": "parent_point_safe", + "value": "@field.total_parent_point_safe", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "total_parent_point_safe", + "@field.total_parent_point_safe+1" + ], + "_raw": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", + "_cleaned": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "weekly_parent_point_safe", + "@field.weekly_parent_point_safe+1" + ], + "_raw": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", + "_cleaned": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1" + } + ], + "hidden": "\"@local.habit\" != \"safe\"", + "parameter_list": { + "text": "@data.habit.safe.title", + "icon_src": "plh_images/habits/habit_safe.svg" + }, + "_nested_name": "habit_box.habit_tracker.parent_point_safe", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.total_parent_point_safe", + "matchedExpression": "@field.total_parent_point_safe", + "type": "field", + "fieldName": "total_parent_point_safe" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@field.total_parent_point_safe+1", + "matchedExpression": "@field.total_parent_point_safe", + "type": "field", + "fieldName": "total_parent_point_safe" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", + "matchedExpression": "@field.total_parent_point_safe", + "type": "field", + "fieldName": "total_parent_point_safe" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: total_parent_point_safe: @field.total_parent_point_safe+1", + "matchedExpression": "@field.total_parent_point_safe", + "type": "field", + "fieldName": "total_parent_point_safe" + } + ] + }, + "1": { + "args": { + "1": [ + { + "fullExpression": "@field.weekly_parent_point_safe+1", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_field: weekly_parent_point_safe: @field.weekly_parent_point_safe+1", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "\"@local.habit\" != \"safe\"", + "matchedExpression": "@local.habit", + "type": "local", + "fieldName": "habit" + } + ], + "parameter_list": { + "text": [ + { + "fullExpression": "@data.habit.safe.title", + "matchedExpression": "@data.habit.safe.title", + "type": "data", + "fieldName": "habit" + } + ] + } + }, + "_dynamicDependencies": { + "@field.total_parent_point_safe": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.weekly_parent_point_safe": [ + "action_list.1.args.1", + "action_list.1._raw", + "action_list.1._cleaned" + ], + "@local.habit": [ + "hidden" + ], + "@data.habit.safe.title": [ + "parameter_list.text" + ] + } + } ], - "_nested_name": "read.workshop_activity" + "_nested_name": "habit_box.habit_tracker", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.habit\" == \"undefined\"", + "matchedExpression": "@local.habit", + "type": "local", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@local.habit": [ + "hidden" + ] + } } ], - "_nested_name": "read" + "_nested_name": "habit_box", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.habit_text\" == \"undefined\"", + "matchedExpression": "@local.habit_text", + "type": "local", + "fieldName": "habit_text" + } + ] + }, + "_dynamicDependencies": { + "@local.habit_text": [ + "hidden" + ] + } + }, + { + "type": "button", + "name": "button_1", + "value": "@global.check_it_out_button", + "hidden": true, + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.check_it_out_button", + "matchedExpression": "@global.check_it_out_button", + "type": "global", + "fieldName": "check_it_out_button" + } + ] + }, + "_dynamicDependencies": { + "@global.check_it_out_button": [ + "value" + ] + } + }, + { + "type": "button", + "name": "button_2", + "hidden": true, + "parameter_list": { + "style": "navigation" + }, + "_nested_name": "button_2" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/read.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" }, { "flow_type": "template", - "flow_name": "think_temp", + "flow_name": "m_workshop_tomorrow", "status": "released", "rows": [ + { + "name": "workshop_data", + "type": "set_variable", + "_nested_name": "workshop_data" + }, + { + "name": "workshop", + "value": "@local.workshop_data.id", + "type": "set_variable", + "_nested_name": "workshop", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.workshop_data.id", + "matchedExpression": "@local.workshop_data.id", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.id": [ + "value" + ] + } + }, { "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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" - } - ], + "name": "in_week_message", + "value": "in_week_message", "rows": [ { - "name": "activity_title", - "value": "Think Together", - "condition": "@field.do_workshops_together", + "name": "title", + "value": "@global.m_workshop_tomorrow", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "_nested_name": "in_week_message.title", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "@global.m_workshop_tomorrow", + "matchedExpression": "@global.m_workshop_tomorrow", + "type": "global", + "fieldName": "m_workshop_tomorrow" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@global.m_workshop_tomorrow": [ + "value" ] } }, { - "name": "intro_text", - "value": "It's time to think together!", - "condition": "@field.do_workshops_together", + "name": "image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "condition": "\"@local.workshop_data.image_asset\" == \"undefined\"", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", + "_nested_name": "in_week_message.image", "_dynamicFields": { "condition": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "\"@local.workshop_data.image_asset\" == \"undefined\"", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@local.workshop_data.image_asset": [ "condition" ] } }, { - "name": "activity_image", - "value": "plh_images/workshop_modes/group/wave.svg", - "condition": "@field.do_workshops_together", + "name": "image", + "value": "@local.workshop_data.image_asset", + "condition": "\"@local.workshop_data.image_asset\" != \"undefined\"", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", + "_nested_name": "in_week_message.image", "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.workshop_data.image_asset", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" + } + ], "condition": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "\"@local.workshop_data.image_asset\" != \"undefined\"", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@local.workshop_data.image_asset": [ + "value", "condition" ] } - }, + } + ], + "_nested_name": "in_week_message" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "m_workshop_released", + "status": "released", + "rows": [ + { + "name": "workshop_data", + "type": "set_variable", + "_nested_name": "workshop_data" + }, + { + "name": "workshop", + "value": "@local.workshop_data.id", + "type": "set_variable", + "_nested_name": "workshop", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.workshop_data.id", + "matchedExpression": "@local.workshop_data.id", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.id": [ + "value" + ] + } + }, + { + "name": "stepper", + "value": "_stepper", + "type": "set_variable", + "_nested_name": "stepper" + }, + { + "type": "template", + "name": "in_week_message", + "value": "in_week_message", + "rows": [ { - "name": "activity_title", - "value": "Think", - "condition": "!@field.do_workshops_together", + "name": "title", + "value": "@global.m_workshop_released", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "_nested_name": "in_week_message.title", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@global.m_workshop_released": [ + "value" ] } }, { - "name": "intro_text", - "value": "It's time to think!", - "condition": "!@field.do_workshops_together", + "name": "image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "condition": "\"@local.workshop_data.image_asset\" == \"undefined\"", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", + "_nested_name": "in_week_message.image", "_dynamicFields": { "condition": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "\"@local.workshop_data.image_asset\" == \"undefined\"", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@local.workshop_data.image_asset": [ "condition" ] } }, { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "condition": "!@field.do_workshops_together", + "name": "image", + "value": "@local.workshop_data.image_asset", + "condition": "\"@local.workshop_data.image_asset\" != \"undefined\"", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", + "_nested_name": "in_week_message.image", "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.workshop_data.image_asset", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" + } + ], "condition": [ { - "fullExpression": "!@field.do_workshops_together", + "fullExpression": "\"@local.workshop_data.image_asset\" != \"undefined\"", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.image_asset": [ + "value", + "condition" + ] + } + }, + { + "name": "button_1", + "value": "Start @local.workshop_data.in_text_title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "@local.workshop@local.stepper" + ], + "_raw": "click | go_to : @local.workshop@local.stepper", + "_cleaned": "click | go_to : @local.workshop@local.stepper" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "do_this_workshop_together", + false + ], + "_raw": "set_field: do_this_workshop_together : false", + "_cleaned": "click | set_field: do_this_workshop_together : false" + } + ], + "hidden": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "in_week_message.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Start @local.workshop_data.in_text_title", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ], + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.workshop@local.stepper", + "matchedExpression": "@local.workshop", + "type": "local", + "fieldName": "workshop" + }, + { + "fullExpression": "@local.workshop@local.stepper", + "matchedExpression": "@local.stepper", + "type": "local", + "fieldName": "stepper" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.workshop", + "type": "local", + "fieldName": "workshop" + }, + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.stepper", + "type": "local", + "fieldName": "stepper" + } + ], + "_cleaned": [ + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.workshop", + "type": "local", + "fieldName": "workshop" + }, + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.stepper", + "type": "local", + "fieldName": "stepper" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "@field.do_workshops_together", "matchedExpression": "@field.do_workshops_together", "type": "field", "fieldName": "do_workshops_together" @@ -33406,1907 +33955,5113 @@ ] }, "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ], + "@local.workshop": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.stepper": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], "@field.do_workshops_together": [ - "condition" + "hidden" ] } } ], - "_nested_name": "workshop_activity" + "_nested_name": "in_week_message" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/read.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" }, { "flow_type": "template", - "flow_name": "learn", + "flow_name": "m_something_fun", "status": "released", "rows": [ { - "name": "number_of_slides", - "value": 3, - "type": "set_variable", - "_nested_name": "number_of_slides" - }, - { - "name": "slide_text_1", - "type": "set_variable", - "_nested_name": "slide_text_1" - }, - { - "name": "slide_text_2", - "type": "set_variable", - "_nested_name": "slide_text_2" - }, - { - "name": "slide_text_3", - "type": "set_variable", - "_nested_name": "slide_text_3" - }, - { - "name": "slide_text_4", - "type": "set_variable", - "_nested_name": "slide_text_4" - }, - { - "name": "slide_text_5", - "type": "set_variable", - "_nested_name": "slide_text_5" - }, - { - "name": "slide_text_6", - "type": "set_variable", - "_nested_name": "slide_text_6" - }, - { - "name": "slide_text_7", - "type": "set_variable", - "_nested_name": "slide_text_7" - }, - { - "name": "slide_text_8", - "type": "set_variable", - "_nested_name": "slide_text_8" - }, - { - "name": "slide_habit_text_1", - "type": "set_variable", - "_nested_name": "slide_habit_text_1" - }, - { - "name": "slide_habit_text_2", - "type": "set_variable", - "_nested_name": "slide_habit_text_2" - }, - { - "name": "slide_habit_text_3", - "type": "set_variable", - "_nested_name": "slide_habit_text_3" - }, - { - "name": "slide_habit_text_4", - "type": "set_variable", - "_nested_name": "slide_habit_text_4" - }, - { - "name": "slide_habit_text_5", - "type": "set_variable", - "_nested_name": "slide_habit_text_5" - }, - { - "name": "slide_habit_text_6", - "type": "set_variable", - "_nested_name": "slide_habit_text_6" - }, - { - "name": "slide_habit_text_7", + "name": "activity", + "value": "@fields.which_activity", "type": "set_variable", - "_nested_name": "slide_habit_text_7" + "_nested_name": "activity", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.which_activity", + "matchedExpression": "@fields.which_activity", + "type": "fields", + "fieldName": "which_activity" + } + ] + }, + "_dynamicDependencies": { + "@fields.which_activity": [ + "value" + ] + } }, { - "name": "slide_habit_text_8", + "name": "activity_data", + "value": "@data.something_fun.@local.activity", "type": "set_variable", - "_nested_name": "slide_habit_text_8" + "_nested_name": "activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.@local.activity", + "matchedExpression": "@data.something_fun.", + "type": "data", + "fieldName": "something_fun" + }, + { + "fullExpression": "@data.something_fun.@local.activity", + "matchedExpression": "@local.activity", + "type": "local", + "fieldName": "activity" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.": [ + "value" + ], + "@local.activity": [ + "value" + ] + } }, { "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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" - } - ], + "name": "in_week_message", + "value": "in_week_message", "rows": [ { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/notes.svg", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" - }, - { - "name": "activity_title", - "value": "Learn", - "condition": "!@field.do_workshops_together", + "name": "title", + "value": "@global.m_something_fun", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "_nested_name": "in_week_message.title", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@global.m_something_fun": [ + "value" ] } }, { - "name": "intro_text", - "value": "It's time to learn and practice!", - "condition": "!@field.do_workshops_together", + "name": "image", + "value": "@data.habit.spend_time.image_asset", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", + "_nested_name": "in_week_message.image", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "@data.habit.spend_time.image_asset", + "matchedExpression": "@data.habit.spend_time.image_asset", + "type": "data", + "fieldName": "habit" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@data.habit.spend_time.image_asset": [ + "value" ] } }, { - "name": "activity_title", - "value": "Learn Together", - "condition": "@field.do_workshops_together", + "name": "text", + "value": "Here is a fun activity to do with your teen! ", + "condition": "\"@local.activity_data.intro_text\" == \"undefined\"", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "_nested_name": "in_week_message.text", "_dynamicFields": { "condition": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "\"@local.activity_data.intro_text\" == \"undefined\"", + "matchedExpression": "@local.activity_data.intro_text", + "type": "local", + "fieldName": "activity_data" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@local.activity_data.intro_text": [ "condition" ] } }, { - "name": "intro_text", - "value": "It's time to learn and practice together!", - "condition": "@field.do_workshops_together", + "name": "text", + "value": "@local.activity_data.intro_text", + "condition": "\"@local.activity_data.intro_text\" != \"undefined\"", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", + "_nested_name": "in_week_message.text", "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.activity_data.intro_text", + "matchedExpression": "@local.activity_data.intro_text", + "type": "local", + "fieldName": "activity_data" + } + ], "condition": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "\"@local.activity_data.intro_text\" != \"undefined\"", + "matchedExpression": "@local.activity_data.intro_text", + "type": "local", + "fieldName": "activity_data" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@local.activity_data.intro_text": [ + "value", "condition" ] } }, { - "name": "activity_banner", - "condition": false, - "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_image", - "condition": "@local.number_of_slides = 1", - "rows": [ + "name": "button_1", + "value": "@local.activity_data.title", + "action_list": [ { - "name": "text", - "value": "@local.slide_text_1", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.text", - "_dynamicFields": { - "value": [ + "trigger": "click", + "action_id": "go_to", + "args": [ + "activity_@local.activity" + ], + "_raw": "click | go_to:activity_@local.activity", + "_cleaned": "click | go_to:activity_@local.activity" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "in_week_message.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.activity_data.title", + "matchedExpression": "@local.activity_data.title", + "type": "local", + "fieldName": "activity_data" + } + ], + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "activity_@local.activity", + "matchedExpression": "@local.activity", + "type": "local", + "fieldName": "activity" + } + ] + }, + "_raw": [ { - "fullExpression": "@local.slide_text_1", - "matchedExpression": "@local.slide_text_1", + "fullExpression": "click | go_to:activity_@local.activity", + "matchedExpression": "@local.activity", "type": "local", - "fieldName": "slide_text_1" + "fieldName": "activity" } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_1": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_1", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.habit_text", - "_dynamicFields": { - "value": [ + ], + "_cleaned": [ { - "fullExpression": "@local.slide_habit_text_1", - "matchedExpression": "@local.slide_habit_text_1", + "fullExpression": "click | go_to:activity_@local.activity", + "matchedExpression": "@local.activity", "type": "local", - "fieldName": "slide_habit_text_1" + "fieldName": "activity" } ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_1": [ - "value" - ] } } - ], - "_nested_name": "workshop_activity.content_box", + }, + "_dynamicDependencies": { + "@local.activity_data.title": [ + "value" + ], + "@local.activity": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } + } + ], + "_nested_name": "in_week_message" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "m_praise", + "status": "released", + "rows": [ + { + "type": "template", + "name": "in_week_message", + "value": "in_week_message", + "rows": [ + { + "name": "title", + "value": "@global.m_praise", + "type": "set_variable", + "_nested_name": "in_week_message.title", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "@local.number_of_slides = 1", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" } ] }, "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" + "@global.m_praise": [ + "value" ] } }, { - "type": "nested_properties", - "name": "content_box", - "value": "pair", - "condition": "@local.number_of_slides > 1", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_1", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_1", - "matchedExpression": "@local.slide_text_1", - "type": "local", - "fieldName": "slide_text_1" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_1": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_1", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_1.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_1", - "matchedExpression": "@local.slide_habit_text_1", - "type": "local", - "fieldName": "slide_habit_text_1" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_1": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 2", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_2", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_2", - "matchedExpression": "@local.slide_text_2", - "type": "local", - "fieldName": "slide_text_2" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_2": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_2", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_2", - "matchedExpression": "@local.slide_habit_text_2", - "type": "local", - "fieldName": "slide_habit_text_2" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_2": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 2", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 2", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ + "name": "image", + "value": "@data.habit.praise_yourself.image_asset", + "type": "set_variable", + "_nested_name": "in_week_message.image", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.habit.praise_yourself.image_asset", + "matchedExpression": "@data.habit.praise_yourself.image_asset", + "type": "data", + "fieldName": "habit" + } + ] + }, + "_dynamicDependencies": { + "@data.habit.praise_yourself.image_asset": [ + "value" + ] + } + } + ], + "_nested_name": "in_week_message" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "m_workshop_reminder", + "status": "released", + "rows": [ + { + "name": "workshop_data", + "type": "set_variable", + "_nested_name": "workshop_data" + }, + { + "name": "workshop", + "value": "@local.workshop_data.id", + "type": "set_variable", + "_nested_name": "workshop", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.workshop_data.id", + "matchedExpression": "@local.workshop_data.id", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.id": [ + "value" + ] + } + }, + { + "name": "stepper", + "value": "_stepper", + "type": "set_variable", + "_nested_name": "stepper" + }, + { + "type": "template", + "name": "in_week_message", + "value": "in_week_message", + "rows": [ + { + "name": "title", + "value": "@global.m_workshop_reminder", + "type": "set_variable", + "_nested_name": "in_week_message.title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, + { + "name": "image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "condition": "\"@local.workshop_data.image_asset\" == \"undefined\"", + "type": "set_variable", + "_nested_name": "in_week_message.image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "\"@local.workshop_data.image_asset\" == \"undefined\"", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.image_asset": [ + "condition" + ] + } + }, + { + "name": "image", + "value": "@local.workshop_data.image_asset", + "condition": "\"@local.workshop_data.image_asset\" != \"undefined\"", + "type": "set_variable", + "_nested_name": "in_week_message.image", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.workshop_data.image_asset", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" + } + ], + "condition": [ + { + "fullExpression": "\"@local.workshop_data.image_asset\" != \"undefined\"", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.image_asset": [ + "value", + "condition" + ] + } + }, + { + "name": "button_1", + "value": "Start @local.workshop_data.in_text_title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "@local.workshop@local.stepper" + ], + "_raw": "click | go_to : @local.workshop@local.stepper", + "_cleaned": "click | go_to : @local.workshop@local.stepper" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "do_this_workshop_together", + false + ], + "_raw": "set_field: do_this_workshop_together : false", + "_cleaned": "click | set_field: do_this_workshop_together : false" + } + ], + "hidden": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "in_week_message.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Start @local.workshop_data.in_text_title", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ], + "action_list": { + "0": { + "args": { + "0": [ { - "name": "text", - "value": "@local.slide_text_2", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_2", - "matchedExpression": "@local.slide_text_2", - "type": "local", - "fieldName": "slide_text_2" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_2": [ - "value" - ] - } + "fullExpression": "@local.workshop@local.stepper", + "matchedExpression": "@local.workshop", + "type": "local", + "fieldName": "workshop" }, { - "name": "habit_text", - "value": "@local.slide_habit_text_2", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_1.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_2", - "matchedExpression": "@local.slide_habit_text_2", - "type": "local", - "fieldName": "slide_habit_text_2" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_2": [ - "value" - ] - } + "fullExpression": "@local.workshop@local.stepper", + "matchedExpression": "@local.stepper", + "type": "local", + "fieldName": "stepper" } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_1" + ] }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 3", - "rows": [ + "_raw": [ + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.workshop", + "type": "local", + "fieldName": "workshop" + }, + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.stepper", + "type": "local", + "fieldName": "stepper" + } + ], + "_cleaned": [ + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.workshop", + "type": "local", + "fieldName": "workshop" + }, + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.stepper", + "type": "local", + "fieldName": "stepper" + } + ] + } + }, + "hidden": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ], + "@local.workshop": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.stepper": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.do_workshops_together": [ + "hidden" + ] + } + } + ], + "_nested_name": "in_week_message" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "m_workshop_in_progress", + "status": "released", + "rows": [ + { + "name": "workshop_data", + "type": "set_variable", + "_nested_name": "workshop_data" + }, + { + "name": "workshop", + "value": "@local.workshop_data.id", + "type": "set_variable", + "_nested_name": "workshop", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.workshop_data.id", + "matchedExpression": "@local.workshop_data.id", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.id": [ + "value" + ] + } + }, + { + "name": "stepper", + "value": "_stepper", + "type": "set_variable", + "_nested_name": "stepper" + }, + { + "type": "template", + "name": "in_week_message", + "value": "in_week_message", + "rows": [ + { + "name": "title", + "value": "@global.m_workshop_in_progress", + "type": "set_variable", + "_nested_name": "in_week_message.title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } + }, + { + "name": "image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "condition": "\"@local.workshop_data.image_asset\" == \"undefined\"", + "type": "set_variable", + "_nested_name": "in_week_message.image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "\"@local.workshop_data.image_asset\" == \"undefined\"", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.image_asset": [ + "condition" + ] + } + }, + { + "name": "image", + "value": "@local.workshop_data.image_asset", + "condition": "\"@local.workshop_data.image_asset\" != \"undefined\"", + "type": "set_variable", + "_nested_name": "in_week_message.image", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.workshop_data.image_asset", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" + } + ], + "condition": [ + { + "fullExpression": "\"@local.workshop_data.image_asset\" != \"undefined\"", + "matchedExpression": "@local.workshop_data.image_asset", + "type": "local", + "fieldName": "workshop_data" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.image_asset": [ + "value", + "condition" + ] + } + }, + { + "name": "button_1", + "value": "Continue @local.workshop_data.in_text_title", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "@local.workshop@local.stepper" + ], + "_raw": "click | go_to : @local.workshop@local.stepper", + "_cleaned": "click | go_to : @local.workshop@local.stepper" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "do_this_workshop_together", + false + ], + "_raw": "set_field: do_this_workshop_together : false", + "_cleaned": "click | set_field: do_this_workshop_together : false" + } + ], + "hidden": "@field.do_workshops_together", + "type": "set_variable", + "_nested_name": "in_week_message.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Continue @local.workshop_data.in_text_title", + "matchedExpression": "@local.workshop_data.in_text_title", + "type": "local", + "fieldName": "workshop_data" + } + ], + "action_list": { + "0": { + "args": { + "0": [ { - "name": "text", - "value": "@local.slide_text_3", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_3", - "matchedExpression": "@local.slide_text_3", - "type": "local", - "fieldName": "slide_text_3" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_3": [ - "value" - ] - } + "fullExpression": "@local.workshop@local.stepper", + "matchedExpression": "@local.workshop", + "type": "local", + "fieldName": "workshop" }, { - "name": "habit_text", - "value": "@local.slide_habit_text_3", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_3", - "matchedExpression": "@local.slide_habit_text_3", - "type": "local", - "fieldName": "slide_habit_text_3" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_3": [ - "value" - ] - } + "fullExpression": "@local.workshop@local.stepper", + "matchedExpression": "@local.stepper", + "type": "local", + "fieldName": "stepper" } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 3", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] + ] + }, + "_raw": [ + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.workshop", + "type": "local", + "fieldName": "workshop" }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.stepper", + "type": "local", + "fieldName": "stepper" } - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 3", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "habit_text", - "value": "@local.slide_habit_text_3", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_1.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_3", - "matchedExpression": "@local.slide_habit_text_3", - "type": "local", - "fieldName": "slide_habit_text_3" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_3": [ - "value" - ] - } - }, - { - "name": "text", - "value": "@local.slide_text_3", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_3", - "matchedExpression": "@local.slide_text_3", - "type": "local", - "fieldName": "slide_text_3" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_3": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 4", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_4", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_4", - "matchedExpression": "@local.slide_text_4", - "type": "local", - "fieldName": "slide_text_4" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_4": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_4", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_4", - "matchedExpression": "@local.slide_habit_text_4", - "type": "local", - "fieldName": "slide_habit_text_4" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_4": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 4", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 4", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_4", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_4", - "matchedExpression": "@local.slide_text_4", - "type": "local", - "fieldName": "slide_text_4" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_4": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_4", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_1.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_4", - "matchedExpression": "@local.slide_habit_text_4", - "type": "local", - "fieldName": "slide_habit_text_4" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_4": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 5", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_5", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_5", - "matchedExpression": "@local.slide_text_5", - "type": "local", - "fieldName": "slide_text_5" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_5": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_5", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_5", - "matchedExpression": "@local.slide_habit_text_5", - "type": "local", - "fieldName": "slide_habit_text_5" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_5": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 5", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 5", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_5", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_5", - "matchedExpression": "@local.slide_text_5", - "type": "local", - "fieldName": "slide_text_5" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_5": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_5", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_1.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_5", - "matchedExpression": "@local.slide_habit_text_5", - "type": "local", - "fieldName": "slide_habit_text_5" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_5": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 6", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_6", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_6", - "matchedExpression": "@local.slide_text_6", - "type": "local", - "fieldName": "slide_text_6" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_6": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_6", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_6", - "matchedExpression": "@local.slide_habit_text_6", - "type": "local", - "fieldName": "slide_habit_text_6" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_6": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 6", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 6", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_6", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_6", - "matchedExpression": "@local.slide_text_6", - "type": "local", - "fieldName": "slide_text_6" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_6": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_6", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_1.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_6", - "matchedExpression": "@local.slide_habit_text_6", - "type": "local", - "fieldName": "slide_habit_text_6" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_6": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 7", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_7", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_7", - "matchedExpression": "@local.slide_text_7", - "type": "local", - "fieldName": "slide_text_7" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_7": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_7", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_7", - "matchedExpression": "@local.slide_habit_text_7", - "type": "local", - "fieldName": "slide_habit_text_7" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_7": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 7", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "pair", - "condition": "@local.number_of_slides > 7", - "rows": [ - { - "type": "nested_properties", - "name": "box_1", - "value": "box_image", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_7", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_7", - "matchedExpression": "@local.slide_text_7", - "type": "local", - "fieldName": "slide_text_7" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_7": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_7", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_1.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_7", - "matchedExpression": "@local.slide_habit_text_7", - "type": "local", - "fieldName": "slide_habit_text_7" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_7": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_1" - }, - { - "type": "nested_properties", - "name": "box_2", - "value": "box_image", - "condition": "@local.number_of_slides = 8", - "rows": [ - { - "name": "text", - "value": "@local.slide_text_8", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_text_8", - "matchedExpression": "@local.slide_text_8", - "type": "local", - "fieldName": "slide_text_8" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_text_8": [ - "value" - ] - } - }, - { - "name": "habit_text", - "value": "@local.slide_habit_text_8", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_2.habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.slide_habit_text_8", - "matchedExpression": "@local.slide_habit_text_8", - "type": "local", - "fieldName": "slide_habit_text_8" - } - ] - }, - "_dynamicDependencies": { - "@local.slide_habit_text_8": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides = 8", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 7", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 6", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 5", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 4", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2.box_2", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 3", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] + ], + "_cleaned": [ + { + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.workshop", + "type": "local", + "fieldName": "workshop" }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box.box_2", - "_dynamicFields": { - "condition": [ { - "fullExpression": "@local.number_of_slides > 2", - "matchedExpression": "@local.number_of_slides", + "fullExpression": "click | go_to : @local.workshop@local.stepper", + "matchedExpression": "@local.stepper", "type": "local", - "fieldName": "number_of_slides" + "fieldName": "stepper" } ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] } - } + }, + "hidden": [ + { + "fullExpression": "@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@local.workshop_data.in_text_title": [ + "value" + ], + "@local.workshop": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.stepper": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@field.do_workshops_together": [ + "hidden" + ] + } + } + ], + "_nested_name": "in_week_message" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "m_hp_reminder", + "status": "released", + "rows": [ + { + "type": "template", + "name": "in_week_message", + "value": "in_week_message", + "rows": [ + { + "name": "title", + "value": "@global.m_hp_reminder", + "type": "set_variable", + "_nested_name": "in_week_message.title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "name": "image", + "value": "plh_images/workshop_modes/guide_2/with_teen.svg", + "type": "set_variable", + "_nested_name": "in_week_message.image" + } + ], + "_nested_name": "in_week_message" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "m_hp_review", + "status": "released", + "rows": [ + { + "type": "template", + "name": "in_week_message", + "value": "in_week_message", + "rows": [ + { + "name": "title", + "value": "@global.m_hp_review", + "type": "set_variable", + "_nested_name": "in_week_message.title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_review", + "matchedExpression": "@global.m_hp_review", + "type": "global", + "fieldName": "m_hp_review" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_review": [ + "value" + ] + } + }, + { + "name": "image", + "value": "plh_images/workshop_modes/guide_2/with_teen.svg", + "type": "set_variable", + "_nested_name": "in_week_message.image" + } + ], + "_nested_name": "in_week_message" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "m_parent_points_overview", + "status": "released", + "rows": [ + { + "type": "template", + "name": "in_week_message", + "value": "in_week_message", + "rows": [ + { + "name": "title", + "value": "@global.m_parent_points_overview", + "type": "set_variable", + "_nested_name": "in_week_message.title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } + }, + { + "name": "image", + "value": "plh_images/workshop_modes/guide_2/star.svg", + "type": "set_variable", + "_nested_name": "in_week_message.image" + }, + { + "name": "text", + "value": "Hi @field.user_name! This week you:", + "type": "set_variable", + "_nested_name": "in_week_message.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Hi @field.user_name! This week you:", + "matchedExpression": "@field.user_name", + "type": "field", + "fieldName": "user_name" + } + ] + }, + "_dynamicDependencies": { + "@field.user_name": [ + "value" + ] + } + } + ], + "_nested_name": "in_week_message" + }, + { + "type": "text", + "name": "relax", + "value": "Did a relax, which shows you are trying to stay calm.", + "condition": "@field.weekly_parent_point_relax == 1", + "hidden": "@field.weekly_parent_point_relax == 0", + "_nested_name": "relax", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_relax == 1", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_relax == 0", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_relax": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "relax", + "value": "Did @field.weekly_parent_point_relax relaxes, which shows you are trying to stay calm.", + "condition": "@field.weekly_parent_point_relax > 1", + "hidden": "@field.weekly_parent_point_relax == 0", + "_nested_name": "relax", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Did @field.weekly_parent_point_relax relaxes, which shows you are trying to stay calm.", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_relax > 1", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_relax == 0", + "matchedExpression": "@field.weekly_parent_point_relax", + "type": "field", + "fieldName": "weekly_parent_point_relax" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_relax": [ + "value", + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "treat_yourself", + "value": "Treated yourself, which shows you are trying to look after yourself.", + "condition": "@field.weekly_parent_point_treat_yourself == 1", + "hidden": "@field.weekly_parent_point_treat_yourself == 0", + "_nested_name": "treat_yourself", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_treat_yourself == 1", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_treat_yourself == 0", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_treat_yourself": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "treat_yourself", + "value": "Treated yourself @field.weekly_parent_point_treat_yourself times, which shows you are trying to look after yourself.", + "condition": "@field.weekly_parent_point_treat_yourself > 1", + "hidden": "@field.weekly_parent_point_treat_yourself == 0", + "_nested_name": "treat_yourself", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Treated yourself @field.weekly_parent_point_treat_yourself times, which shows you are trying to look after yourself.", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_treat_yourself > 1", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_treat_yourself == 0", + "matchedExpression": "@field.weekly_parent_point_treat_yourself", + "type": "field", + "fieldName": "weekly_parent_point_treat_yourself" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_treat_yourself": [ + "value", + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "praise_yourself", + "value": "Praised yourself, which shows you appreciate your hard work.", + "condition": "@field.weekly_parent_point_praise_yourself == 1", + "hidden": "@field.weekly_parent_point_praise_yourself == 0", + "_nested_name": "praise_yourself", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_praise_yourself == 1", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_praise_yourself == 0", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_praise_yourself": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "praise_yourself", + "value": "Praised yourself @field.weekly_parent_point_praise_yourself times, which shows you appreciate your hard work.", + "condition": "@field.weekly_parent_point_praise_yourself > 1", + "hidden": "@field.weekly_parent_point_praise_yourself == 0", + "_nested_name": "praise_yourself", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Praised yourself @field.weekly_parent_point_praise_yourself times, which shows you appreciate your hard work.", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_praise_yourself > 1", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_praise_yourself == 0", + "matchedExpression": "@field.weekly_parent_point_praise_yourself", + "type": "field", + "fieldName": "weekly_parent_point_praise_yourself" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_praise_yourself": [ + "value", + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "spend_time", + "value": "Did one-on-one, which shows you are spending time together.", + "condition": "@field.weekly_parent_point_spend_time == 1", + "hidden": "@field.weekly_parent_point_spend_time == 0", + "_nested_name": "spend_time", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_spend_time == 1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_spend_time == 0", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_spend_time": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "spend_time", + "value": "Did one-on-one @field.weekly_parent_point_spend_time times, which shows you are spending time together.", + "condition": "@field.weekly_parent_point_spend_time > 1", + "hidden": "@field.weekly_parent_point_spend_time == 0", + "_nested_name": "spend_time", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Did one-on-one @field.weekly_parent_point_spend_time times, which shows you are spending time together.", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_spend_time > 1", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_spend_time == 0", + "matchedExpression": "@field.weekly_parent_point_spend_time", + "type": "field", + "fieldName": "weekly_parent_point_spend_time" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_spend_time": [ + "value", + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "praise_teen", + "value": "Praised your teen, which shows you are finding positives.", + "condition": "@field.weekly_parent_point_praise_teen == 1", + "hidden": "@field.weekly_parent_point_praise_teen == 0", + "_nested_name": "praise_teen", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_praise_teen == 1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_praise_teen == 0", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_praise_teen": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "praise_teen", + "value": "Praised your teen @field.weekly_parent_point_praise_teen times, which shows you are finding positives.", + "condition": "@field.weekly_parent_point_praise_teen > 1", + "hidden": "@field.weekly_parent_point_praise_teen == 0", + "_nested_name": "praise_teen", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Praised your teen @field.weekly_parent_point_praise_teen times, which shows you are finding positives.", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_praise_teen > 1", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_praise_teen == 0", + "matchedExpression": "@field.weekly_parent_point_praise_teen", + "type": "field", + "fieldName": "weekly_parent_point_praise_teen" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_praise_teen": [ + "value", + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "instruct_positively", + "value": "Gave a positive instruction, which shows you are being positive.", + "condition": "@field.weekly_parent_point_instruct_positively == 1", + "hidden": "@field.weekly_parent_point_instruct_positively == 0", + "_nested_name": "instruct_positively", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_instruct_positively == 1", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_instruct_positively == 0", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_instruct_positively": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "instruct_positively", + "value": "Gave positive instructions @field.weekly_parent_point_instruct_positively times, which shows you are being positive.", + "condition": "@field.weekly_parent_point_instruct_positively > 1", + "hidden": "@field.weekly_parent_point_instruct_positively == 0", + "_nested_name": "instruct_positively", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Gave positive instructions @field.weekly_parent_point_instruct_positively times, which shows you are being positive.", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_instruct_positively > 1", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_instruct_positively == 0", + "matchedExpression": "@field.weekly_parent_point_instruct_positively", + "type": "field", + "fieldName": "weekly_parent_point_instruct_positively" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_instruct_positively": [ + "value", + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "breathe", + "value": "Took a breath instead of yelling, which shows you are trying to control yourself.", + "condition": "@field.weekly_parent_point_breathe == 1 ", + "hidden": "@field.weekly_parent_point_breathe == 0", + "_nested_name": "breathe", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_breathe == 1 ", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_breathe == 0", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_breathe": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "breathe", + "value": "Took a breath instead of yelling @field.weekly_parent_point_breathe times, which shows you are trying to control yourself.", + "condition": "@field.weekly_parent_point_breathe > 1 ", + "hidden": "@field.weekly_parent_point_breathe == 0", + "_nested_name": "breathe", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Took a breath instead of yelling @field.weekly_parent_point_breathe times, which shows you are trying to control yourself.", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_breathe > 1 ", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_breathe == 0", + "matchedExpression": "@field.weekly_parent_point_breathe", + "type": "field", + "fieldName": "weekly_parent_point_breathe" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_breathe": [ + "value", + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "money", + "value": "Made a good money choice, which shows you are trying to manage your finances.", + "condition": "@field.weekly_parent_point_money == 1", + "hidden": "@field.weekly_parent_point_money == 0", + "_nested_name": "money", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_money == 1", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_money == 0", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_money": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "money", + "value": "Made @field.weekly_parent_point_money good money choices, which shows you are trying to manage your finances.", + "condition": "@field.weekly_parent_point_money > 1", + "hidden": "@field.weekly_parent_point_money == 0", + "_nested_name": "money", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Made @field.weekly_parent_point_money good money choices, which shows you are trying to manage your finances.", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_money > 1", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_money == 0", + "matchedExpression": "@field.weekly_parent_point_money", + "type": "field", + "fieldName": "weekly_parent_point_money" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_money": [ + "value", + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "consequence", + "value": "Gave a calm consequence, which shows you guide your teen calmly.", + "condition": "@field.weekly_parent_point_consequence == 1", + "hidden": "@field.weekly_parent_point_consequence == 0", + "_nested_name": "consequence", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_consequence == 1", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_consequence == 0", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_consequence": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "consequence", + "value": "Gave a calm consequence @field.weekly_parent_point_consequence times, which shows you guide your teen calmly.", + "condition": "@field.weekly_parent_point_consequence > 1", + "hidden": "@field.weekly_parent_point_consequence == 0", + "_nested_name": "consequence", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Gave a calm consequence @field.weekly_parent_point_consequence times, which shows you guide your teen calmly.", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_consequence > 1", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_consequence == 0", + "matchedExpression": "@field.weekly_parent_point_consequence", + "type": "field", + "fieldName": "weekly_parent_point_consequence" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_consequence": [ + "value", + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "safe", + "value": "Did something to keep your teen safe, which shows you care.", + "condition": "@field.weekly_parent_point_safe == 1", + "hidden": "@field.weekly_parent_point_safe == 0", + "_nested_name": "safe", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_safe == 1", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_safe == 0", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_safe": [ + "condition", + "hidden" + ] + } + }, + { + "type": "text", + "name": "safe", + "value": "Did something to keep your teen safe @field.weekly_parent_point_safe times, which shows you care.", + "condition": "@field.weekly_parent_point_safe > 1", + "hidden": "@field.weekly_parent_point_safe == 0", + "_nested_name": "safe", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Did something to keep your teen safe @field.weekly_parent_point_safe times, which shows you care.", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ], + "condition": [ + { + "fullExpression": "@field.weekly_parent_point_safe > 1", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ], + "hidden": [ + { + "fullExpression": "@field.weekly_parent_point_safe == 0", + "matchedExpression": "@field.weekly_parent_point_safe", + "type": "field", + "fieldName": "weekly_parent_point_safe" + } + ] + }, + "_dynamicDependencies": { + "@field.weekly_parent_point_safe": [ + "value", + "condition", + "hidden" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "m_relax", + "status": "released", + "rows": [ + { + "type": "template", + "name": "in_week_message", + "value": "in_week_message", + "rows": [ + { + "name": "title", + "value": "@global.current_relax", + "type": "set_variable", + "_nested_name": "in_week_message.title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.current_relax", + "matchedExpression": "@global.current_relax", + "type": "global", + "fieldName": "current_relax" + } + ] + }, + "_dynamicDependencies": { + "@global.current_relax": [ + "value" + ] + } + }, + { + "name": "image", + "hidden": true, + "type": "set_variable", + "_nested_name": "in_week_message.image" + }, + { + "name": "text", + "value": "Remember to sit down and relax today - taking care of yourself is an important parenting skill.", + "type": "set_variable", + "_nested_name": "in_week_message.text" + }, + { + "name": "button_1", + "value": "Relax now", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "relax" + ], + "_raw": "click | go_to:relax", + "_cleaned": "click | go_to:relax" + }, + { + "trigger": "click", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "daily_relax_done", + true + ], + "_raw": "click | set_field:daily_relax_done:true", + "_cleaned": "click | set_field:daily_relax_done:true" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "in_week_message.button_1" + }, + { + "name": "habit", + "value": "relax", + "type": "set_variable", + "_nested_name": "in_week_message.habit" + }, + { + "name": "habit_text", + "value": "Did you relax already? Tap it!", + "hidden": false, + "type": "set_variable", + "_nested_name": "in_week_message.habit_text" + } + ], + "_nested_name": "in_week_message" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/in_week_message_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "message_navigation", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "In Week Content", + "_nested_name": "title" + }, + { + "type": "button", + "name": "week_1_messages", + "value": "@global.w_self_care", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_self_care_messages" + ], + "_raw": "click | go_to:w_self_care_messages", + "_cleaned": "click | go_to:w_self_care_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_1_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_self_care", + "matchedExpression": "@global.w_self_care", + "type": "global", + "fieldName": "w_self_care" + } + ] + }, + "_dynamicDependencies": { + "@global.w_self_care": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_2_messages", + "value": "@global.w_1on1", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_1on1_messages" + ], + "_raw": "click | go_to:w_1on1_messages", + "_cleaned": "click | go_to:w_1on1_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_2_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_1on1", + "matchedExpression": "@global.w_1on1", + "type": "global", + "fieldName": "w_1on1" + } + ] + }, + "_dynamicDependencies": { + "@global.w_1on1": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_3_messages", + "value": "@global.w_praise", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_praise_messages" + ], + "_raw": "click | go_to:w_praise_messages", + "_cleaned": "click | go_to:w_praise_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_3_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_praise", + "matchedExpression": "@global.w_praise", + "type": "global", + "fieldName": "w_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.w_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_4_messages", + "value": "@global.w_instruct", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_instruct_messages" + ], + "_raw": "click | go_to:w_instruct_messages", + "_cleaned": "click | go_to:w_instruct_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_4_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_instruct", + "matchedExpression": "@global.w_instruct", + "type": "global", + "fieldName": "w_instruct" + } + ] + }, + "_dynamicDependencies": { + "@global.w_instruct": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_5_messages", + "value": "@global.w_stress", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_stress_messages" + ], + "_raw": "click | go_to:w_stress_messages", + "_cleaned": "click | go_to:w_stress_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_5_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_stress", + "matchedExpression": "@global.w_stress", + "type": "global", + "fieldName": "w_stress" + } + ] + }, + "_dynamicDependencies": { + "@global.w_stress": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_6_messages", + "value": "@global.w_money", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_money_messages" + ], + "_raw": "click | go_to:w_money_messages", + "_cleaned": "click | go_to:w_money_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_6_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_money", + "matchedExpression": "@global.w_money", + "type": "global", + "fieldName": "w_money" + } + ] + }, + "_dynamicDependencies": { + "@global.w_money": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_7_messages", + "value": "@global.w_rules", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_rules_messages" + ], + "_raw": "click | go_to:w_rules_messages", + "_cleaned": "click | go_to:w_rules_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_7_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_rules", + "matchedExpression": "@global.w_rules", + "type": "global", + "fieldName": "w_rules" + } + ] + }, + "_dynamicDependencies": { + "@global.w_rules": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_8_messages", + "value": "@global.w_consequence", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_consequence_messages" + ], + "_raw": "click | go_to:w_consequence_messages", + "_cleaned": "click | go_to:w_consequence_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_8_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_consequence", + "matchedExpression": "@global.w_consequence", + "type": "global", + "fieldName": "w_consequence" + } + ] + }, + "_dynamicDependencies": { + "@global.w_consequence": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_9_messages", + "value": "@global.w_solve", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_solve_messages" + ], + "_raw": "click | go_to:w_solve_messages", + "_cleaned": "click | go_to:w_solve_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_9_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_solve", + "matchedExpression": "@global.w_solve", + "type": "global", + "fieldName": "w_solve" + } + ] + }, + "_dynamicDependencies": { + "@global.w_solve": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_10_messages", + "value": "@global.w_safe", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_safe_messages" + ], + "_raw": "click | go_to:w_safe_messages", + "_cleaned": "click | go_to:w_safe_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_10_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_safe", + "matchedExpression": "@global.w_safe", + "type": "global", + "fieldName": "w_safe" + } + ] + }, + "_dynamicDependencies": { + "@global.w_safe": [ + "value" + ] + } + }, + { + "type": "button", + "name": "week_11_messages", + "value": "@global.w_crisis", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_crisis_messages" + ], + "_raw": "click | go_to:w_crisis_messages", + "_cleaned": "click | go_to:w_crisis_messages" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "week_11_messages", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_crisis", + "matchedExpression": "@global.w_crisis", + "type": "global", + "fieldName": "w_crisis" + } + ] + }, + "_dynamicDependencies": { + "@global.w_crisis": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_self_care_messages", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "@global.w_self_care In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_self_care In Week Messages", + "matchedExpression": "@global.w_self_care", + "type": "global", + "fieldName": "w_self_care" + } + ] + }, + "_dynamicDependencies": { + "@global.w_self_care": [ + "value" + ] + } + }, + { + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_self_care_m_hp_reminder" + ], + "_raw": "click | pop_up:w_self_care_m_hp_reminder", + "_cleaned": "click | pop_up:w_self_care_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_tomorrow", + "value": "@global.m_workshop_tomorrow", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_self_care_m_workshop_tomorrow" + ], + "_raw": "click | pop_up:w_self_care_m_workshop_tomorrow", + "_cleaned": "click | pop_up:w_self_care_m_workshop_tomorrow" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_tomorrow", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_tomorrow", + "matchedExpression": "@global.m_workshop_tomorrow", + "type": "global", + "fieldName": "m_workshop_tomorrow" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_tomorrow": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_1on1_messages", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "@global.w_1on1 In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_1on1 In Week Messages", + "matchedExpression": "@global.w_1on1", + "type": "global", + "fieldName": "w_1on1" + } + ] + }, + "_dynamicDependencies": { + "@global.w_1on1": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_1on1_m_workshop_released" + ], + "_raw": "click | pop_up:w_1on1_m_workshop_released", + "_cleaned": "click | pop_up:w_1on1_m_workshop_released" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } + }, + { + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_1on1_m_something_fun" + ], + "_raw": "click | pop_up:w_1on1_m_something_fun", + "_cleaned": "click | pop_up:w_1on1_m_something_fun" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } + }, + { + "type": "button", + "name": "praise", + "value": "@global.m_praise", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_1on1_m_praise" + ], + "_raw": "click | pop_up:w_1on1_m_praise", + "_cleaned": "click | pop_up:w_1on1_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_1on1_m_workshop_reminder" + ], + "_raw": "click | pop_up:w_1on1_m_workshop_reminder", + "_cleaned": "click | pop_up:w_1on1_m_workshop_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_1on1_m_workshop_in_progress" + ], + "_raw": "click | pop_up:w_1on1_m_workshop_in_progress", + "_cleaned": "click | pop_up:w_1on1_m_workshop_in_progress" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } + }, + { + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_1on1_m_hp_reminder" + ], + "_raw": "click | pop_up:w_1on1_m_hp_reminder", + "_cleaned": "click | pop_up:w_1on1_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.hp_review", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_1on1_hp_review" + ], + "_raw": "click | go_to:w_1on1_hp_review", + "_cleaned": "click | go_to:w_1on1_hp_review" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.hp_review", + "matchedExpression": "@global.hp_review", + "type": "global", + "fieldName": "hp_review" + } + ] + }, + "_dynamicDependencies": { + "@global.hp_review": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_praise_messages", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "@global.w_praise In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_praise In Week Messages", + "matchedExpression": "@global.w_praise", + "type": "global", + "fieldName": "w_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.w_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_praise_m_workshop_released" + ], + "_raw": "click | pop_up:w_praise_m_workshop_released", + "_cleaned": "click | pop_up:w_praise_m_workshop_released" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } + }, + { + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_praise_m_something_fun" + ], + "_raw": "click | pop_up:w_praise_m_something_fun", + "_cleaned": "click | pop_up:w_praise_m_something_fun" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } + }, + { + "type": "button", + "name": "praise", + "value": "@global.m_praise", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_praise_m_praise" + ], + "_raw": "click | pop_up:w_praise_m_praise", + "_cleaned": "click | pop_up:w_praise_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_praise_m_workshop_reminder" + ], + "_raw": "click | pop_up:w_praise_m_workshop_reminder", + "_cleaned": "click | pop_up:w_praise_m_workshop_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_praise_m_workshop_in_progress" + ], + "_raw": "click | pop_up:w_praise_m_workshop_in_progress", + "_cleaned": "click | pop_up:w_praise_m_workshop_in_progress" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } + }, + { + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_praise_m_hp_reminder" + ], + "_raw": "click | pop_up:w_praise_m_hp_reminder", + "_cleaned": "click | pop_up:w_praise_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.hp_review", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_praise_hp_review" + ], + "_raw": "click | go_to:w_praise_hp_review", + "_cleaned": "click | go_to:w_praise_hp_review" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.hp_review", + "matchedExpression": "@global.hp_review", + "type": "global", + "fieldName": "hp_review" + } + ] + }, + "_dynamicDependencies": { + "@global.hp_review": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_instruct_messages", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "@global.w_instruct In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_instruct In Week Messages", + "matchedExpression": "@global.w_instruct", + "type": "global", + "fieldName": "w_instruct" + } + ] + }, + "_dynamicDependencies": { + "@global.w_instruct": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_instruct_m_workshop_released" + ], + "_raw": "click | pop_up:w_instruct_m_workshop_released", + "_cleaned": "click | pop_up:w_instruct_m_workshop_released" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } + }, + { + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_instruct_m_something_fun" + ], + "_raw": "click | pop_up:w_instruct_m_something_fun", + "_cleaned": "click | pop_up:w_instruct_m_something_fun" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } + }, + { + "type": "button", + "name": "praise", + "value": "@global.m_praise", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_instruct_m_praise" + ], + "_raw": "click | pop_up:w_instruct_m_praise", + "_cleaned": "click | pop_up:w_instruct_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_instruct_m_workshop_reminder" + ], + "_raw": "click | pop_up:w_instruct_m_workshop_reminder", + "_cleaned": "click | pop_up:w_instruct_m_workshop_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_instruct_m_workshop_in_pro" + ], + "_raw": "click | pop_up:w_instruct_m_workshop_in_pro", + "_cleaned": "click | pop_up:w_instruct_m_workshop_in_pro" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } + }, + { + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_instruct_m_hp_reminder" + ], + "_raw": "click | pop_up:w_instruct_m_hp_reminder", + "_cleaned": "click | pop_up:w_instruct_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_stress_messages", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "@global.w_stress In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_stress In Week Messages", + "matchedExpression": "@global.w_stress", + "type": "global", + "fieldName": "w_stress" + } + ] + }, + "_dynamicDependencies": { + "@global.w_stress": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_stress_m_workshop_released" + ], + "_raw": "click | pop_up:w_stress_m_workshop_released", + "_cleaned": "click | pop_up:w_stress_m_workshop_released" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } + }, + { + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_stress_m_something_fun" + ], + "_raw": "click | pop_up:w_stress_m_something_fun", + "_cleaned": "click | pop_up:w_stress_m_something_fun" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } + }, + { + "type": "button", + "name": "praise", + "value": "@global.m_praise", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_stress_m_praise" + ], + "_raw": "click | pop_up:w_stress_m_praise", + "_cleaned": "click | pop_up:w_stress_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_stress_m_workshop_reminder" + ], + "_raw": "click | pop_up:w_stress_m_workshop_reminder", + "_cleaned": "click | pop_up:w_stress_m_workshop_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_stress_m_workshop_in_progress" + ], + "_raw": "click | pop_up:w_stress_m_workshop_in_progress", + "_cleaned": "click | pop_up:w_stress_m_workshop_in_progress" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } + }, + { + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_stress_m_hp_reminder" + ], + "_raw": "click | pop_up:w_stress_m_hp_reminder", + "_cleaned": "click | pop_up:w_stress_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_money_messages", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "@global.w_money In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_money In Week Messages", + "matchedExpression": "@global.w_money", + "type": "global", + "fieldName": "w_money" + } + ] + }, + "_dynamicDependencies": { + "@global.w_money": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_money_m_workshop_released" + ], + "_raw": "click | pop_up:w_money_m_workshop_released", + "_cleaned": "click | pop_up:w_money_m_workshop_released" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } + }, + { + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_money_m_something_fun" + ], + "_raw": "click | pop_up:w_money_m_something_fun", + "_cleaned": "click | pop_up:w_money_m_something_fun" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } + }, + { + "type": "button", + "name": "praise", + "value": "@global.m_praise", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_money_m_praise" + ], + "_raw": "click | pop_up:w_money_m_praise", + "_cleaned": "click | pop_up:w_money_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_money_m_workshop_reminder" + ], + "_raw": "click | pop_up:w_money_m_workshop_reminder", + "_cleaned": "click | pop_up:w_money_m_workshop_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_money_m_workshop_in_progress" + ], + "_raw": "click | pop_up:w_money_m_workshop_in_progress", + "_cleaned": "click | pop_up:w_money_m_workshop_in_progress" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } + }, + { + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_money_m_hp_reminder" + ], + "_raw": "click | pop_up:w_money_m_hp_reminder", + "_cleaned": "click | pop_up:w_money_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_rules_messages", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "@global.w_rules In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_rules In Week Messages", + "matchedExpression": "@global.w_rules", + "type": "global", + "fieldName": "w_rules" + } + ] + }, + "_dynamicDependencies": { + "@global.w_rules": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_rules_m_workshop_released" + ], + "_raw": "click | pop_up:w_rules_m_workshop_released", + "_cleaned": "click | pop_up:w_rules_m_workshop_released" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } + }, + { + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_rules_m_something_fun" + ], + "_raw": "click | pop_up:w_rules_m_something_fun", + "_cleaned": "click | pop_up:w_rules_m_something_fun" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } + }, + { + "type": "button", + "name": "praise", + "value": "@global.m_praise", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_rules_m_praise" + ], + "_raw": "click | pop_up:w_rules_m_praise", + "_cleaned": "click | pop_up:w_rules_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_rules_m_workshop_reminder" + ], + "_raw": "click | pop_up:w_rules_m_workshop_reminder", + "_cleaned": "click | pop_up:w_rules_m_workshop_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_rules_m_workshop_in_progress" + ], + "_raw": "click | pop_up:w_rules_m_workshop_in_progress", + "_cleaned": "click | pop_up:w_rules_m_workshop_in_progress" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } + }, + { + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_rules_m_hp_reminder" + ], + "_raw": "click | pop_up:w_rules_m_hp_reminder", + "_cleaned": "click | pop_up:w_rules_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_consequence_messages", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title", + "value": "@global.w_consequence In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_consequence In Week Messages", + "matchedExpression": "@global.w_consequence", + "type": "global", + "fieldName": "w_consequence" + } + ] + }, + "_dynamicDependencies": { + "@global.w_consequence": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_consequence_m_workshop_rel" + ], + "_raw": "click | pop_up:w_consequence_m_workshop_rel", + "_cleaned": "click | pop_up:w_consequence_m_workshop_rel" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } + }, + { + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_consequence_m_something_fun" + ], + "_raw": "click | pop_up:w_consequence_m_something_fun", + "_cleaned": "click | pop_up:w_consequence_m_something_fun" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } + }, + { + "type": "button", + "name": "praise", + "value": "@global.m_praise", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_consequence_m_praise" + ], + "_raw": "click | pop_up:w_consequence_m_praise", + "_cleaned": "click | pop_up:w_consequence_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_consequence_m_workshop_rem" + ], + "_raw": "click | pop_up:w_consequence_m_workshop_rem", + "_cleaned": "click | pop_up:w_consequence_m_workshop_rem" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_consequence_m_workshop_in_pro" + ], + "_raw": "click | pop_up:w_consequence_m_workshop_in_pro", + "_cleaned": "click | pop_up:w_consequence_m_workshop_in_pro" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } + }, + { + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_consequence_m_hp_reminder" ], - "_nested_name": "workshop_activity.content_box", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.number_of_slides > 1", - "matchedExpression": "@local.number_of_slides", - "type": "local", - "fieldName": "number_of_slides" - } - ] - }, - "_dynamicDependencies": { - "@local.number_of_slides": [ - "condition" - ] + "_raw": "click | pop_up:w_consequence_m_hp_reminder", + "_cleaned": "click | pop_up:w_consequence_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" } ], - "_nested_name": "workshop_activity" + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/read.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" }, { "flow_type": "template", - "flow_name": "learn_temp", + "flow_name": "w_solve_messages", "status": "released", "rows": [ { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", + "type": "title", + "name": "title", + "value": "@global.w_solve In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_solve In Week Messages", + "matchedExpression": "@global.w_solve", + "type": "global", + "fieldName": "w_solve" + } + ] + }, + "_dynamicDependencies": { + "@global.w_solve": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", "action_list": [ { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "click", + "action_id": "pop_up", "args": [ - "uncompleted" + "w_solve_m_workshop_released" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" + "_raw": "click | pop_up:w_solve_m_workshop_released", + "_cleaned": "click | pop_up:w_solve_m_workshop_released" } ], - "rows": [ - { - "name": "activity_image", - "value": "plh_images/workshop_modes/group/notes.svg", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_title", - "value": "Learn Together", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "intro_text", - "value": "It's time to learn and practice together!", - "condition": "@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/notes.svg", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_title", - "value": "Learn", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "intro_text", - "value": "It's time to learn and practice!", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" } - }, + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } + }, + { + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ { - "name": "activity_banner", - "hidden": false, - "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_solve_m_something_fun" + ], + "_raw": "click | pop_up:w_solve_m_something_fun", + "_cleaned": "click | pop_up:w_solve_m_something_fun" } ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/read.xlsx" - }, - { - "flow_type": "template", - "module": "praise", - "flow_name": "reflect_together_buttons", - "status": "released", - "rows": [ + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } + }, { - "type": "template", - "name": "reflect_together", - "value": "reflect_together", + "type": "button", + "name": "praise", + "value": "@global.m_praise", "action_list": [ { - "trigger": "completed", - "action_id": "emit", + "trigger": "click", + "action_id": "pop_up", "args": [ - "completed" + "w_solve_m_praise" ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, + "_raw": "click | pop_up:w_solve_m_praise", + "_cleaned": "click | pop_up:w_solve_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ { - "trigger": "uncompleted", - "action_id": "emit", + "trigger": "click", + "action_id": "pop_up", "args": [ - "uncompleted" + "w_solve_m_workshop_reminder" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" + "_raw": "click | pop_up:w_solve_m_workshop_reminder", + "_cleaned": "click | pop_up:w_solve_m_workshop_reminder" } ], - "rows": [ + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ { - "type": "nested_properties", - "name": "workshop_activity", - "rows": [ - { - "name": "activity_title", - "value": "@global.home_practice_problem_solving: @global.w_1on1", - "type": "set_variable", - "_nested_name": "reflect_together.workshop_activity.activity_title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.home_practice_problem_solving: @global.w_1on1", - "matchedExpression": "@global.home_practice_problem_solving", - "type": "global", - "fieldName": "home_practice_problem_solving" - }, - { - "fullExpression": "@global.home_practice_problem_solving: @global.w_1on1", - "matchedExpression": "@global.w_1on1", - "type": "global", - "fieldName": "w_1on1" - } - ] - }, - "_dynamicDependencies": { - "@global.home_practice_problem_solving": [ - "value" - ], - "@global.w_1on1": [ - "value" - ] - } - }, - { - "type": "nested_properties", - "name": "content_box", - "rows": [ - { - "name": "text", - "value": "Take turns to discuss how your home activities went.", - "type": "set_variable", - "_nested_name": "reflect_together.workshop_activity.content_box.text" - }, - { - "name": "button_1", - "value": "Step 1: Share what went well and what was hard", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "problem_solve_step_1" - ], - "_raw": "click | pop_up:problem_solve_step_1", - "_cleaned": "click | pop_up:problem_solve_step_1" - } - ], - "hidden": false, - "type": "set_variable", - "_nested_name": "reflect_together.workshop_activity.content_box.button_1" - }, - { - "name": "button_2", - "value": "Step 2: Bring solutions!", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "problem_solve_step_2" - ], - "_raw": "click | pop_up:problem_solve_step_2", - "_cleaned": "click | pop_up:problem_solve_step_2" - } - ], - "hidden": false, - "type": "set_variable", - "_nested_name": "reflect_together.workshop_activity.content_box.button_2" - }, - { - "name": "button_3", - "value": "Step 3: Pick and try one!", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "problem_solve_step_3" - ], - "_raw": "click | pop_up:problem_solve_step_3", - "_cleaned": "click | pop_up:problem_solve_step_3" - } - ], - "hidden": false, - "type": "set_variable", - "_nested_name": "reflect_together.workshop_activity.content_box.button_3" - }, - { - "type": "nested_properties", - "name": "nav_buttons", - "rows": [ - { - "name": "button_info", - "value": "@global.ideas_button", - "hidden": false, - "type": "set_variable", - "_nested_name": "reflect_together.workshop_activity.content_box.nav_buttons.button_info", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.ideas_button", - "matchedExpression": "@global.ideas_button", - "type": "global", - "fieldName": "ideas_button" - } - ] - }, - "_dynamicDependencies": { - "@global.ideas_button": [ - "value" - ] - } - } - ], - "_nested_name": "reflect_together.workshop_activity.content_box.nav_buttons" - } - ], - "_nested_name": "reflect_together.workshop_activity.content_box" - } + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_solve_m_workshop_in_progress" ], - "_nested_name": "reflect_together.workshop_activity" + "_raw": "click | pop_up:w_solve_m_workshop_in_progress", + "_cleaned": "click | pop_up:w_solve_m_workshop_in_progress" } ], - "_nested_name": "reflect_together" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/reflect_together_with_pop_ups.xlsx" - }, - { - "flow_type": "template", - "module": "praise", - "flow_name": "problem_solve_step_1", - "status": "released", - "rows": [ + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } + }, { - "type": "template", - "name": "suggestions_image", - "value": "suggestions_image", - "rows": [ - { - "name": "title", - "value": "Step 1: Share what went well and what was hard", - "hidden": false, - "type": "set_variable", - "_nested_name": "suggestions_image.title" - }, + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ { - "name": "image", - "value": "plh_images/workshops/praise/reflect_together/placeholder.svg", - "type": "set_variable", - "_nested_name": "suggestions_image.image" - }, + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_solve_m_hp_reminder" + ], + "_raw": "click | pop_up:w_solve_m_hp_reminder", + "_cleaned": "click | pop_up:w_solve_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } + }, + { + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ { - "name": "text", - "value": "\"I learned so much more about my teen’s life when we spent one-on-one time! But after the first day, my teen only wanted to play on his phone.\"", - "type": "set_variable", - "_nested_name": "suggestions_image.text" + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" } ], - "_nested_name": "suggestions_image" + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/reflect_together_with_pop_ups.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" }, { "flow_type": "template", - "module": "praise", - "flow_name": "problem_solve_step_2", + "flow_name": "w_safe_messages", "status": "released", "rows": [ { - "type": "template", - "name": "suggestions_image", - "value": "suggestions_image", - "rows": [ - { - "name": "title", - "value": "Step 2: Bring solutions!", - "hidden": false, - "type": "set_variable", - "_nested_name": "suggestions_image.title" - }, - { - "name": "image", - "value": "plh_images/workshops/praise/reflect_together/placeholder.svg", - "type": "set_variable", - "_nested_name": "suggestions_image.image" - }, + "type": "title", + "name": "title", + "value": "@global.w_safe In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_safe In Week Messages", + "matchedExpression": "@global.w_safe", + "type": "global", + "fieldName": "w_safe" + } + ] + }, + "_dynamicDependencies": { + "@global.w_safe": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", + "action_list": [ { - "name": "text", - "value": "\"Well done for trying! Maybe you could suggest some other fun things you could do together with your teen.\"\n\n\"Yes, or you could do something together on his phone? Or he could show you how his phone works?\"", - "type": "set_variable", - "_nested_name": "suggestions_image.text" + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_safe_m_workshop_released" + ], + "_raw": "click | pop_up:w_safe_m_workshop_released", + "_cleaned": "click | pop_up:w_safe_m_workshop_released" } ], - "_nested_name": "suggestions_image" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/reflect_together_with_pop_ups.xlsx" - }, - { - "flow_type": "template", - "module": "praise", - "flow_name": "problem_solve_step_3", - "status": "released", - "rows": [ + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } + }, { - "type": "template", - "name": "suggestions_image", - "value": "suggestions_image", - "rows": [ + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ { - "name": "title", - "value": "Step 3: Pick and try one!", - "hidden": false, - "type": "set_variable", - "_nested_name": "suggestions_image.title" - }, + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_safe_m_something_fun" + ], + "_raw": "click | pop_up:w_safe_m_something_fun", + "_cleaned": "click | pop_up:w_safe_m_something_fun" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } + }, + { + "type": "button", + "name": "praise", + "value": "@global.m_praise", + "action_list": [ { - "name": "image", - "value": "plh_images/workshops/praise/reflect_together/placeholder.svg", - "type": "set_variable", - "_nested_name": "suggestions_image.image" - }, + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_safe_m_praise" + ], + "_raw": "click | pop_up:w_safe_m_praise", + "_cleaned": "click | pop_up:w_safe_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } + }, + { + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ { - "name": "text", - "value": "“Thank you for those great ideas! Yes, let me ask my teen to show how his phone works tomorrow after school. Can one of you pretend to be my teen now, so I can practice asking?”", - "type": "set_variable", - "_nested_name": "suggestions_image.text" + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_safe_m_workshop_reminder" + ], + "_raw": "click | pop_up:w_safe_m_workshop_reminder", + "_cleaned": "click | pop_up:w_safe_m_workshop_reminder" } ], - "_nested_name": "suggestions_image" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/reflect_together_with_pop_ups.xlsx" - }, - { - "flow_type": "template", - "module": "praise", - "flow_name": "suggestions_image", - "status": "released", - "rows": [ + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_reminder": [ + "value" + ] + } + }, { - "type": "title", - "name": "title", - "_nested_name": "title" + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_safe_m_workshop_in_progress" + ], + "_raw": "click | pop_up:w_safe_m_workshop_in_progress", + "_cleaned": "click | pop_up:w_safe_m_workshop_in_progress" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_in_progress": [ + "value" + ] + } }, { - "type": "image", - "name": "image", - "_nested_name": "image" + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_safe_m_hp_reminder" + ], + "_raw": "click | pop_up:w_safe_m_hp_reminder", + "_cleaned": "click | pop_up:w_safe_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" + } + ] + }, + "_dynamicDependencies": { + "@global.m_hp_reminder": [ + "value" + ] + } }, { - "type": "text", - "name": "text", - "_nested_name": "text" + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" + } + ] + }, + "_dynamicDependencies": { + "@global.m_parent_points_overview": [ + "value" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/reflect_together_with_pop_ups.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" }, { "flow_type": "template", - "flow_name": "relax", + "flow_name": "w_crisis_messages", "status": "released", "rows": [ { - "name": "text", - "value": "_text", - "type": "set_variable", - "_nested_name": "text" - }, - { - "name": "favourite", - "value": "_favourite", - "type": "set_variable", - "_nested_name": "favourite" + "type": "title", + "name": "title", + "value": "@global.w_crisis In Week Messages", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_crisis In Week Messages", + "matchedExpression": "@global.w_crisis", + "type": "global", + "fieldName": "w_crisis" + } + ] + }, + "_dynamicDependencies": { + "@global.w_crisis": [ + "value" + ] + } }, { - "name": "audio", - "value": "_audio.mp3", - "type": "set_variable", - "_nested_name": "audio" + "type": "button", + "name": "workshop_released", + "value": "@global.m_workshop_released", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_crisis_m_workshop_released" + ], + "_raw": "click | pop_up:w_crisis_m_workshop_released", + "_cleaned": "click | pop_up:w_crisis_m_workshop_released" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_released", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_workshop_released", + "matchedExpression": "@global.m_workshop_released", + "type": "global", + "fieldName": "m_workshop_released" + } + ] + }, + "_dynamicDependencies": { + "@global.m_workshop_released": [ + "value" + ] + } }, { - "name": "text_template", - "value": ".text_template", - "type": "set_variable", - "_nested_name": "text_template" + "type": "button", + "name": "something_fun", + "value": "@global.m_something_fun", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_crisis_m_something_fun" + ], + "_raw": "click | pop_up:w_crisis_m_something_fun", + "_cleaned": "click | pop_up:w_crisis_m_something_fun" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "something_fun", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_something_fun", + "matchedExpression": "@global.m_something_fun", + "type": "global", + "fieldName": "m_something_fun" + } + ] + }, + "_dynamicDependencies": { + "@global.m_something_fun": [ + "value" + ] + } }, { - "name": "audio_asset", - "value": ".audio_asset", - "type": "set_variable", - "_nested_name": "audio_asset" + "type": "button", + "name": "praise", + "value": "@global.m_praise", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_crisis_m_praise" + ], + "_raw": "click | pop_up:w_crisis_m_praise", + "_cleaned": "click | pop_up:w_crisis_m_praise" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "praise", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.m_praise", + "matchedExpression": "@global.m_praise", + "type": "global", + "fieldName": "m_praise" + } + ] + }, + "_dynamicDependencies": { + "@global.m_praise": [ + "value" + ] + } }, { - "name": "relax", - "value": "@field.which_relax", - "type": "set_variable", - "_nested_name": "relax", + "type": "button", + "name": "workshop_reminder", + "value": "@global.m_workshop_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_crisis_m_workshop_reminder" + ], + "_raw": "click | pop_up:w_crisis_m_workshop_reminder", + "_cleaned": "click | pop_up:w_crisis_m_workshop_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_reminder", "_dynamicFields": { "value": [ { - "fullExpression": "@field.which_relax", - "matchedExpression": "@field.which_relax", - "type": "field", - "fieldName": "which_relax" + "fullExpression": "@global.m_workshop_reminder", + "matchedExpression": "@global.m_workshop_reminder", + "type": "global", + "fieldName": "m_workshop_reminder" } ] }, "_dynamicDependencies": { - "@field.which_relax": [ + "@global.m_workshop_reminder": [ "value" ] } }, { - "name": "relax_favourite", - "value": "@local.relax@local.favourite", - "type": "set_variable", - "_nested_name": "relax_favourite", + "type": "button", + "name": "workshop_in_progress", + "value": "@global.m_workshop_in_progress", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_crisis_m_workshop_in_progress" + ], + "_raw": "click | pop_up:w_crisis_m_workshop_in_progress", + "_cleaned": "click | pop_up:w_crisis_m_workshop_in_progress" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "workshop_in_progress", "_dynamicFields": { "value": [ { - "fullExpression": "@local.relax@local.favourite", - "matchedExpression": "@local.relax", - "type": "local", - "fieldName": "relax" - }, - { - "fullExpression": "@local.relax@local.favourite", - "matchedExpression": "@local.favourite", - "type": "local", - "fieldName": "favourite" + "fullExpression": "@global.m_workshop_in_progress", + "matchedExpression": "@global.m_workshop_in_progress", + "type": "global", + "fieldName": "m_workshop_in_progress" } ] }, "_dynamicDependencies": { - "@local.relax": [ - "value" - ], - "@local.favourite": [ + "@global.m_workshop_in_progress": [ "value" ] } }, { - "name": "relax_text", - "value": "@local.relax@local.text", - "type": "set_variable", - "_nested_name": "relax_text", + "type": "button", + "name": "hp_reminder", + "value": "@global.m_hp_reminder", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_crisis_m_hp_reminder" + ], + "_raw": "click | pop_up:w_crisis_m_hp_reminder", + "_cleaned": "click | pop_up:w_crisis_m_hp_reminder" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "hp_reminder", "_dynamicFields": { "value": [ { - "fullExpression": "@local.relax@local.text", - "matchedExpression": "@local.relax", - "type": "local", - "fieldName": "relax" - }, - { - "fullExpression": "@local.relax@local.text", - "matchedExpression": "@local.text", - "type": "local", - "fieldName": "text" + "fullExpression": "@global.m_hp_reminder", + "matchedExpression": "@global.m_hp_reminder", + "type": "global", + "fieldName": "m_hp_reminder" } ] }, "_dynamicDependencies": { - "@local.relax": [ - "value" - ], - "@local.text": [ + "@global.m_hp_reminder": [ "value" ] } }, { - "name": "relax_audio", - "value": "plh_audio/relax/@local.relax@local.audio", - "type": "set_variable", - "_nested_name": "relax_audio", + "type": "button", + "name": "parent_points_overview", + "value": "@global.m_parent_points_overview", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "m_parent_points_overview" + ], + "_raw": "click | pop_up:m_parent_points_overview", + "_cleaned": "click | pop_up:m_parent_points_overview" + } + ], + "parameter_list": { + "style": "information" + }, + "_nested_name": "parent_points_overview", "_dynamicFields": { "value": [ { - "fullExpression": "plh_audio/relax/@local.relax@local.audio", - "matchedExpression": "@local.relax", - "type": "local", - "fieldName": "relax" - }, - { - "fullExpression": "plh_audio/relax/@local.relax@local.audio", - "matchedExpression": "@local.audio", - "type": "local", - "fieldName": "audio" + "fullExpression": "@global.m_parent_points_overview", + "matchedExpression": "@global.m_parent_points_overview", + "type": "global", + "fieldName": "m_parent_points_overview" } ] }, "_dynamicDependencies": { - "@local.relax": [ - "value" - ], - "@local.audio": [ + "@global.m_parent_points_overview": [ "value" ] } - }, + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/in_week_messages/message_navigation.xlsx" + }, + { + "flow_type": "template", + "flow_name": "tools_activity", + "status": "released", + "rows": [ { "type": "template", "name": "workshop_activity", @@ -35321,16 +39076,6 @@ "_raw": "completed | emit:completed", "_cleaned": "completed | emit:completed" }, - { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "daily_relax_done", - true - ], - "_raw": "completed | set_field:daily_relax_done:true", - "_cleaned": "completed | set_field:daily_relax_done:true" - }, { "trigger": "uncompleted", "action_id": "emit", @@ -35342,455 +39087,390 @@ } ], "rows": [ - { - "name": "include_outro", - "value": true, - "type": "set_variable", - "_nested_name": "workshop_activity.include_outro" - }, { "name": "activity_image", - "value": "plh_images/workshop_modes/group/relax.svg", - "condition": "@field.do_workshops_together", + "value": "plh_images/workshop_modes/group/light_bulb.svg", + "condition": "@fields.do_workshops_together", "type": "set_variable", "_nested_name": "workshop_activity.activity_image", "_dynamicFields": { "condition": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "condition" ] } }, { - "name": "activity_title", - "value": "Relax Together", - "condition": "@field.do_workshops_together", + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/light_bulb.svg", + "condition": "!@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "_nested_name": "workshop_activity.activity_image", "_dynamicFields": { "condition": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "condition" ] } }, { - "name": "intro_text", - "value": "Let’s do a 30 second relaxation activity together.", - "condition": "@field.do_workshops_together", + "name": "activity_title", + "value": "@global.essential_tools", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", + "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "@global.essential_tools", + "matchedExpression": "@global.essential_tools", + "type": "global", + "fieldName": "essential_tools" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@global.essential_tools": [ + "value" ] } }, { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/relax.svg", - "condition": "!@field.do_workshops_together", + "name": "intro_text", + "value": "Here are this week’s takeaway skills! \n\nUse them at home and find them anytime in your @global.parent_centre", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", + "_nested_name": "workshop_activity.intro_text", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "Here are this week’s takeaway skills! \n\nUse them at home and find them anytime in your @global.parent_centre", + "matchedExpression": "@global.parent_centre", + "type": "global", + "fieldName": "parent_centre" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@global.parent_centre": [ + "value" ] } + } + ], + "_nested_name": "workshop_activity" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/essential_tools_activity.xlsx" + }, + { + "flow_type": "template", + "flow_name": "home_practice", + "status": "released", + "rows": [ + { + "type": "template", + "name": "workshop_activity", + "value": "workshop_activity", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "activity_title", - "value": "Relax", - "condition": "!@field.do_workshops_together", + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" + } + ], + "rows": [ + { + "name": "activity_image", + "value": "plh_images/workshop_modes/group/with_teen.svg", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "_nested_name": "workshop_activity.activity_image", "_dynamicFields": { "condition": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "condition" ] } }, { - "name": "intro_text", - "value": "Let’s do a 30 second relaxation activity. ", - "condition": "!@field.do_workshops_together", + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/with_teen.svg", + "condition": "!@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", + "_nested_name": "workshop_activity.activity_image", "_dynamicFields": { "condition": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "condition" ] } }, { - "name": "activity_banner", - "hidden": true, + "name": "activity_title", + "value": "Home Practice", "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" + "_nested_name": "workshop_activity.activity_title" }, { - "name": "checkbox_field", - "value": "@local.relax_favourite", + "name": "intro_text", + "value": "Small actions, big results! Parents who practice their workshop skills at home get better results.", "type": "set_variable", - "_nested_name": "workshop_activity.checkbox_field", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.relax_favourite", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - } - ] - }, - "_dynamicDependencies": { - "@local.relax_favourite": [ - "value" - ] - } + "_nested_name": "workshop_activity.intro_text" + }, + { + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.activity_banner" }, { "type": "nested_properties", - "name": "content_box", - "value": "box_audio", + "name": "intro_nav_buttons", "rows": [ { - "name": "lottie_src", - "value": "lottie_animations/relax1.json", - "hidden": false, + "name": "button_completed", + "value": "@global.check_it_out_button", "type": "set_variable", - "_nested_name": "workshop_activity.content_box.lottie_src" - }, - { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_title", - "value": "Listen and relax", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.widget_audio.audio_title" - }, - { - "name": "audio_src", - "value": "@local.relax_audio", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.widget_audio.audio_src", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.relax_audio", - "matchedExpression": "@local.relax_audio", - "type": "local", - "fieldName": "relax_audio" - } - ] - }, - "_dynamicDependencies": { - "@local.relax_audio": [ - "value" - ] + "_nested_name": "workshop_activity.intro_nav_buttons.button_completed", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.check_it_out_button", + "matchedExpression": "@global.check_it_out_button", + "type": "global", + "fieldName": "check_it_out_button" } - } - ], - "_nested_name": "workshop_activity.content_box.widget_audio" - }, + ] + }, + "_dynamicDependencies": { + "@global.check_it_out_button": [ + "value" + ] + } + } + ], + "_nested_name": "workshop_activity.intro_nav_buttons" + }, + { + "type": "nested_properties", + "name": "content_box", + "value": "box_buttons", + "rows": [ { - "name": "button", - "value": "Read and relax", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "@local.relax_text" - ], - "_raw": "click | pop_up:@local.relax_text", - "_cleaned": "click | pop_up:@local.relax_text" - } - ], + "name": "bottom_text", + "value": "Next week, you’ll share with your group how your home practice went. You can also support and remind each other during the week.", "hidden": false, + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.content_box.button", + "_nested_name": "workshop_activity.content_box.bottom_text", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.relax_text", - "matchedExpression": "@local.relax_text", - "type": "local", - "fieldName": "relax_text" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | pop_up:@local.relax_text", - "matchedExpression": "@local.relax_text", - "type": "local", - "fieldName": "relax_text" - } - ], - "_cleaned": [ - { - "fullExpression": "click | pop_up:@local.relax_text", - "matchedExpression": "@local.relax_text", - "type": "local", - "fieldName": "relax_text" - } - ] + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } - } + ] }, "_dynamicDependencies": { - "@local.relax_text": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" + "@fields.do_workshops_together": [ + "condition" ] } } ], "_nested_name": "workshop_activity.content_box" - }, + } + ], + "_nested_name": "workshop_activity" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/home_practice.xlsx" + }, + { + "flow_type": "template", + "flow_name": "home_practice_review", + "status": "released", + "rows": [ + { + "type": "template", + "name": "workshop_activity", + "value": "workshop_activity", + "action_list": [ { - "name": "outro_text", - "value": "You are a star!\n\nEvery day, recognise something you have done well. Reward yourself with something that makes you happy. And take a deep breath to relax. ", - "type": "set_variable", - "_nested_name": "workshop_activity.outro_text" + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "outro_habit", - "value": "relax", + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" + } + ], + "rows": [ + { + "name": "activity_image", + "value": "plh_images/workshop_modes/group/with_teen.svg", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.outro_habit" + "_nested_name": "workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { - "name": "outro_habit_text", - "value": "@data.habit.relax.short_mark_text", - "hidden": false, + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/with_teen.svg", + "condition": "!@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.outro_habit_text", + "_nested_name": "workshop_activity.activity_image", "_dynamicFields": { - "value": [ + "condition": [ { - "fullExpression": "@data.habit.relax.short_mark_text", - "matchedExpression": "@data.habit.relax.short_mark_text", - "type": "data", - "fieldName": "habit" + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@data.habit.relax.short_mark_text": [ - "value" + "@fields.do_workshops_together": [ + "condition" ] } }, { - "name": "checkbox", - "value": "@fields.@local.relax_favourite", - "hidden": false, - "parameter_list": { - "label_text": "Add this activity to @global.my_relaxes" - }, + "name": "activity_title", + "value": "@global.hp_review", "type": "set_variable", - "_nested_name": "workshop_activity.checkbox", + "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { "value": [ { - "fullExpression": "@fields.@local.relax_favourite", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" + "fullExpression": "@global.hp_review", + "matchedExpression": "@global.hp_review", + "type": "global", + "fieldName": "hp_review" } - ], - "parameter_list": { - "label_text": [ - { - "fullExpression": "Add this activity to @global.my_relaxes", - "matchedExpression": "@global.my_relaxes", - "type": "global", - "fieldName": "my_relaxes" - } - ] - } + ] }, "_dynamicDependencies": { - "@local.relax_favourite": [ + "@global.hp_review": [ "value" - ], - "@global.my_relaxes": [ - "parameter_list.label_text" ] } + }, + { + "name": "intro_text", + "value": "Let's talk about how your home practice went this week.", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text" + }, + { + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.activity_banner" + }, + { + "name": "include_outro", + "value": true, + "type": "set_variable", + "_nested_name": "workshop_activity.include_outro" + }, + { + "name": "outro_text", + "value": "Well done for coming up with solutions to your challenges. Go try them out. Your relationship with your teen will get stronger and stronger!", + "type": "set_variable", + "_nested_name": "workshop_activity.outro_text" } ], "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/home_practice.xlsx" }, { "flow_type": "template", - "flow_name": "relax_pop_up_animation", + "flow_name": "listen", "status": "released", "rows": [ { - "name": "text_template", - "value": ".text_template", - "type": "set_variable", - "_nested_name": "text_template" - }, - { - "name": "audio_asset", - "value": ".audio_asset", - "type": "set_variable", - "_nested_name": "audio_asset" - }, - { - "name": "relax", - "value": "relax_1", - "type": "set_variable", - "_nested_name": "relax" - }, - { - "name": "relax_text", - "value": "@data.relax_list.@local.relax@local.text_template", - "type": "set_variable", - "_nested_name": "relax_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.relax_list.@local.relax@local.text_template", - "matchedExpression": "@data.relax_list.", - "type": "data", - "fieldName": "relax_list" - }, - { - "fullExpression": "@data.relax_list.@local.relax@local.text_template", - "matchedExpression": "@local.relax", - "type": "local", - "fieldName": "relax" - }, - { - "fullExpression": "@data.relax_list.@local.relax@local.text_template", - "matchedExpression": "@local.text_template", - "type": "local", - "fieldName": "text_template" - } - ] - }, - "_dynamicDependencies": { - "@data.relax_list.": [ - "value" - ], - "@local.relax": [ - "value" - ], - "@local.text_template": [ - "value" - ] - } - }, - { - "name": "relax_audio", - "value": "@data.relax_list.@local.relax@local.audio_asset", + "name": "audio_src", + "value": "plh_audio/sample.mp3", "type": "set_variable", - "_nested_name": "relax_audio", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.relax_list.@local.relax@local.audio_asset", - "matchedExpression": "@data.relax_list.", - "type": "data", - "fieldName": "relax_list" - }, - { - "fullExpression": "@data.relax_list.@local.relax@local.audio_asset", - "matchedExpression": "@local.relax", - "type": "local", - "fieldName": "relax" - }, - { - "fullExpression": "@data.relax_list.@local.relax@local.audio_asset", - "matchedExpression": "@local.audio_asset", - "type": "local", - "fieldName": "audio_asset" - } - ] - }, - "_dynamicDependencies": { - "@data.relax_list.": [ - "value" - ], - "@local.relax": [ - "value" - ], - "@local.audio_asset": [ - "value" - ] - } + "_nested_name": "audio_src" }, { "type": "template", @@ -35817,140 +39497,96 @@ } ], "rows": [ - { - "name": "include_outro", - "value": true, - "type": "set_variable", - "_nested_name": "workshop_activity.include_outro" - }, { "name": "activity_image", - "value": "plh_images/workshop_modes/group/relax.svg", - "condition": "@field.do_workshops_together", + "value": "plh_images/workshop_modes/guide_2/wave.svg", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } + "_nested_name": "workshop_activity.activity_image" }, { "name": "activity_title", - "value": "Relax Together", - "condition": "@field.do_workshops_together", + "value": "Listen Together", + "condition": "@fields.do_workshops_together", "type": "set_variable", "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { "condition": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "condition" ] } }, { "name": "intro_text", - "value": "Let’s do a 30 second relaxation activity together.", - "condition": "@field.do_workshops_together", + "value": "Let's listen to an audio together!", + "condition": "@fields.do_workshops_together", "type": "set_variable", "_nested_name": "workshop_activity.intro_text", "_dynamicFields": { "condition": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/relax.svg", - "condition": "!@field.do_workshops_together", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "condition" ] } }, { "name": "activity_title", - "value": "Relax", - "condition": "!@field.do_workshops_together", + "value": "Listen", + "condition": "!@fields.do_workshops_together", "type": "set_variable", "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { "condition": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "condition" ] } }, { "name": "intro_text", - "value": "Let’s do a 30 second relaxation activity.", - "condition": "!@field.do_workshops_together", + "value": "Let's listen to an audio!", + "condition": "!@fields.do_workshops_together", "type": "set_variable", "_nested_name": "workshop_activity.intro_text", "_dynamicFields": { "condition": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ + "@fields.do_workshops_together": [ "condition" ] } @@ -35965,174 +39601,176 @@ "type": "nested_properties", "name": "content_box", "value": "box_audio", + "rows": [], + "_nested_name": "workshop_activity.content_box" + } + ], + "_nested_name": "workshop_activity" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/listen.xlsx" + }, + { + "flow_type": "template", + "flow_name": "topic_intro", + "status": "released", + "rows": [ + { + "type": "template", + "name": "listen", + "value": "listen", + "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": [ + { + "type": "nested_properties", + "name": "workshop_activity", "rows": [ { "type": "nested_properties", - "name": "widget_audio", + "name": "intro_nav_buttons", "rows": [ { - "name": "audio_title", - "value": "Listen and relax", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.widget_audio.audio_title" - }, - { - "name": "audio_src", - "value": "@local.relax_audio", + "name": "button_completed", + "value": "@global.tell_me_more_button", "type": "set_variable", - "_nested_name": "workshop_activity.content_box.widget_audio.audio_src", + "_nested_name": "listen.workshop_activity.intro_nav_buttons.button_completed", "_dynamicFields": { "value": [ { - "fullExpression": "@local.relax_audio", - "matchedExpression": "@local.relax_audio", - "type": "local", - "fieldName": "relax_audio" + "fullExpression": "@global.tell_me_more_button", + "matchedExpression": "@global.tell_me_more_button", + "type": "global", + "fieldName": "tell_me_more_button" } ] }, "_dynamicDependencies": { - "@local.relax_audio": [ + "@global.tell_me_more_button": [ "value" ] } - }, - { - "name": "audio_player", - "action_list": [ - { - "trigger": "audio_play", - "action_id": "pop_up", - "args": [ - "feature_lottie" - ], - "_raw": "audio_play | pop_up: feature_lottie", - "_cleaned": "audio_play | pop_up: feature_lottie" - }, - { - "trigger": "audio_end", - "action_id": "close_pop_up", - "args": [], - "_raw": "audio_end | close_pop_up", - "_cleaned": "audio_end | close_pop_up" - } - ], - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.widget_audio.audio_player" } ], - "_nested_name": "workshop_activity.content_box.widget_audio" + "_nested_name": "listen.workshop_activity.intro_nav_buttons" }, { "type": "nested_properties", - "name": "nav_buttons", + "name": "content_box", "rows": [ { - "name": "button_info", - "value": "Read and relax", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "@local.relax_text" - ], - "_raw": "click | pop_up:@local.relax_text", - "_cleaned": "click | pop_up:@local.relax_text" - } - ], - "hidden": false, + "name": "audio_title", + "value": "Hear Sbo's message", "type": "set_variable", - "_nested_name": "workshop_activity.content_box.nav_buttons.button_info", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.relax_text", - "matchedExpression": "@local.relax_text", - "type": "local", - "fieldName": "relax_text" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | pop_up:@local.relax_text", - "matchedExpression": "@local.relax_text", - "type": "local", - "fieldName": "relax_text" - } - ], - "_cleaned": [ - { - "fullExpression": "click | pop_up:@local.relax_text", - "matchedExpression": "@local.relax_text", - "type": "local", - "fieldName": "relax_text" - } - ] - } - } - }, - "_dynamicDependencies": { - "@local.relax_text": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } + "_nested_name": "listen.workshop_activity.content_box.audio_title" }, { - "name": "button_completed", - "value": "Done!", + "name": "button", + "value": "Today's steps", + "hidden": false, "type": "set_variable", - "_nested_name": "workshop_activity.content_box.nav_buttons.button_completed" + "_nested_name": "listen.workshop_activity.content_box.button" } ], - "_nested_name": "workshop_activity.content_box.nav_buttons" + "_nested_name": "listen.workshop_activity.content_box" } ], - "_nested_name": "workshop_activity.content_box" + "_nested_name": "listen.workshop_activity" + } + ], + "_nested_name": "listen" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/listen.xlsx" + }, + { + "flow_type": "template", + "flow_name": "question_time", + "status": "released", + "rows": [ + { + "type": "template", + "name": "workshop_activity", + "value": "workshop_activity", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "name": "outro_text", - "value": "You are a star!\n\nEvery day, recognise something you have done well. Reward yourself with something that makes you happy. And take a deep breath to relax. ", + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" + } + ], + "rows": [ + { + "name": "activity_title", + "value": "Question Time", "type": "set_variable", - "_nested_name": "workshop_activity.outro_text" + "_nested_name": "workshop_activity.activity_title" }, { - "name": "outro_habit_text", - "value": "@data.habit.relax.short_mark_text", + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/write.svg", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_image" + }, + { + "name": "intro_text", + "value": "It's time for some questions!", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text" + }, + { + "name": "activity_banner", "hidden": false, "type": "set_variable", - "_nested_name": "workshop_activity.outro_habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.habit.relax.short_mark_text", - "matchedExpression": "@data.habit.relax.short_mark_text", - "type": "data", - "fieldName": "habit" - } - ] - }, - "_dynamicDependencies": { - "@data.habit.relax.short_mark_text": [ - "value" - ] - } + "_nested_name": "workshop_activity.activity_banner" + }, + { + "type": "nested_properties", + "name": "content_box", + "value": "box_duo_combo_box", + "rows": [], + "_nested_name": "workshop_activity.content_box" } ], "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/question_time.xlsx" }, { "flow_type": "template", - "flow_name": "survey_activity", + "flow_name": "read_temp", "status": "released", "rows": [ { @@ -36162,28 +39800,133 @@ "rows": [ { "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", + "value": "plh_images/workshop_modes/group/read.svg", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" + "_nested_name": "workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { "name": "activity_title", - "value": "Customise @global.parent_app", + "value": "Read Together", + "condition": "@fields.do_workshops_together", "type": "set_variable", "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { - "value": [ + "condition": [ { - "fullExpression": "Customise @global.parent_app", - "matchedExpression": "@global.parent_app", - "type": "global", - "fieldName": "parent_app" + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "intro_text", + "value": "Let's read a story together!", + "condition": "@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/read.svg", + "condition": "!@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "activity_title", + "value": "Read", + "condition": "!@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "intro_text", + "value": "Let's read a story!", + "condition": "!@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@global.parent_app": [ - "value" + "@fields.do_workshops_together": [ + "condition" ] } } @@ -36191,11 +39934,11 @@ "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/survey_activity.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/read.xlsx" }, { "flow_type": "template", - "flow_name": "talk_together", + "flow_name": "think_temp", "status": "released", "rows": [ { @@ -36225,71 +39968,145 @@ "rows": [ { "name": "activity_title", - "value": "Talk Together", + "value": "Think Together", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title" + "_nested_name": "workshop_activity.activity_title", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "intro_text", + "value": "It's time to think together!", + "condition": "@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { "name": "activity_image", - "value": "plh_images/workshop_modes/group/talk.svg", + "value": "plh_images/workshop_modes/group/wave.svg", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" + "_nested_name": "workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { - "name": "intro_text", - "value": "Share ideas, support each other!", + "name": "activity_title", + "value": "Think", + "condition": "!@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text" + "_nested_name": "workshop_activity.activity_title", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { - "name": "activity_banner", - "hidden": false, + "name": "intro_text", + "value": "It's time to think!", + "condition": "!@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" + "_nested_name": "workshop_activity.intro_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { - "type": "nested_properties", - "name": "content_box", - "value": "box_timer", - "rows": [ - { - "name": "text", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.text" - }, - { - "name": "button_1", - "value": "@global.ideas_button", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.ideas_button", - "matchedExpression": "@global.ideas_button", - "type": "global", - "fieldName": "ideas_button" - } - ] - }, - "_dynamicDependencies": { - "@global.ideas_button": [ - "value" - ] + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "condition": "!@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } - } - ], - "_nested_name": "workshop_activity.content_box" + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } } ], "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/read.xlsx" }, { "flow_type": "template", - "flow_name": "try_together", + "flow_name": "learn_temp", "status": "released", "rows": [ { @@ -36318,219 +40135,303 @@ ], "rows": [ { - "name": "activity_title", - "value": "Try it Together", + "name": "activity_image", + "value": "plh_images/workshop_modes/group/notes.svg", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title" + "_nested_name": "workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { - "name": "activity_image", - "value": "plh_images/workshop_modes/group/talk.svg", + "name": "activity_title", + "value": "Learn Together", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" + "_nested_name": "workshop_activity.activity_title", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { "name": "intro_text", - "value": "Let's practice together.", + "value": "It's time to learn and practice together!", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text" + "_nested_name": "workshop_activity.intro_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { - "name": "activity_banner", - "hidden": false, + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/notes.svg", + "condition": "!@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_timer", - "rows": [ - { - "name": "text", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.text" - }, - { - "name": "button_1", - "value": "@global.ideas_button", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.ideas_button", - "matchedExpression": "@global.ideas_button", - "type": "global", - "fieldName": "ideas_button" - } - ] - }, - "_dynamicDependencies": { - "@global.ideas_button": [ - "value" - ] + "_nested_name": "workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } - } - ], - "_nested_name": "workshop_activity.content_box" - } - ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" - }, - { - "flow_type": "template", - "flow_name": "reflect_together", - "status": "released", - "rows": [ - { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, - { - "trigger": "uncompleted", - "action_id": "emit", - "args": [ - "uncompleted" - ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" - } - ], - "rows": [ { "name": "activity_title", - "value": "@global.home_practice_problem_solving", + "value": "Learn", + "condition": "!@fields.do_workshops_together", "type": "set_variable", "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { - "value": [ + "condition": [ { - "fullExpression": "@global.home_practice_problem_solving", - "matchedExpression": "@global.home_practice_problem_solving", - "type": "global", - "fieldName": "home_practice_problem_solving" + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@global.home_practice_problem_solving": [ - "value" + "@fields.do_workshops_together": [ + "condition" ] } }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/group/talk.svg", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" - }, { "name": "intro_text", - "value": "Home practice is how we make our family life better. But it often brings challenges. \n\nLet's share our successes and problems, and help each other find new ideas to try!", + "value": "It's time to learn and practice!", + "condition": "!@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text" + "_nested_name": "workshop_activity.intro_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { "name": "activity_banner", "hidden": false, "type": "set_variable", "_nested_name": "workshop_activity.activity_banner" - }, - { - "type": "nested_properties", - "name": "intro_nav_buttons", - "rows": [ - { - "name": "button_completed", - "value": "@global.more_button", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_nav_buttons.button_completed", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.more_button", - "matchedExpression": "@global.more_button", - "type": "global", - "fieldName": "more_button" - } - ] - }, - "_dynamicDependencies": { - "@global.more_button": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.intro_nav_buttons" - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_timer", - "rows": [ - { - "name": "text", - "value": "Think about how your home activities went this week. \n\nTake turns to discuss: \n- What went well and what was a problem? \n- What solutions can you think of together? \n- Pick one solution and try it later with your teen! \n\n(Or you can even practice it now so it will be easier later!)", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.text" - }, - { - "name": "timer_duration", - "value": 20, - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.timer_duration" - }, - { - "name": "button_1", - "value": "@global.ideas_button", - "hidden": false, - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.button_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.ideas_button", - "matchedExpression": "@global.ideas_button", - "type": "global", - "fieldName": "ideas_button" - } - ] - }, - "_dynamicDependencies": { - "@global.ideas_button": [ - "value" - ] - } - } - ], - "_nested_name": "workshop_activity.content_box" } ], "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/read.xlsx" }, { "flow_type": "template", - "flow_name": "care_together", + "flow_name": "relax", "status": "released", "rows": [ + { + "name": "text", + "value": "_text", + "exclude_from_translation": true, + "type": "set_variable", + "_nested_name": "text" + }, + { + "name": "favourite", + "value": "_favourite", + "exclude_from_translation": true, + "type": "set_variable", + "_nested_name": "favourite" + }, + { + "name": "audio", + "value": "_audio.mp3", + "exclude_from_translation": true, + "type": "set_variable", + "_nested_name": "audio" + }, + { + "name": "text_template", + "value": ".text_template", + "exclude_from_translation": true, + "type": "set_variable", + "_nested_name": "text_template" + }, + { + "name": "audio_asset", + "value": ".audio_asset", + "exclude_from_translation": true, + "type": "set_variable", + "_nested_name": "audio_asset" + }, + { + "name": "relax", + "value": "@fields.which_relax", + "exclude_from_translation": true, + "type": "set_variable", + "_nested_name": "relax", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.which_relax", + "matchedExpression": "@fields.which_relax", + "type": "fields", + "fieldName": "which_relax" + } + ] + }, + "_dynamicDependencies": { + "@fields.which_relax": [ + "value" + ] + } + }, + { + "name": "relax_favourite", + "value": "@local.relax@local.favourite", + "exclude_from_translation": true, + "type": "set_variable", + "_nested_name": "relax_favourite", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.relax@local.favourite", + "matchedExpression": "@local.relax", + "type": "local", + "fieldName": "relax" + }, + { + "fullExpression": "@local.relax@local.favourite", + "matchedExpression": "@local.favourite", + "type": "local", + "fieldName": "favourite" + } + ] + }, + "_dynamicDependencies": { + "@local.relax": [ + "value" + ], + "@local.favourite": [ + "value" + ] + } + }, + { + "type": "set_field", + "name": "relax_text", + "value": "@local.relax@local.text", + "exclude_from_translation": true, + "_nested_name": "relax_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.relax@local.text", + "matchedExpression": "@local.relax", + "type": "local", + "fieldName": "relax" + }, + { + "fullExpression": "@local.relax@local.text", + "matchedExpression": "@local.text", + "type": "local", + "fieldName": "text" + } + ] + }, + "_dynamicDependencies": { + "@local.relax": [ + "value" + ], + "@local.text": [ + "value" + ] + } + }, + { + "type": "set_field", + "name": "relax_audio", + "value": "plh_audio/relax/@local.relax@local.audio", + "_nested_name": "relax_audio", + "_dynamicFields": { + "value": [ + { + "fullExpression": "plh_audio/relax/@local.relax@local.audio", + "matchedExpression": "@local.relax", + "type": "local", + "fieldName": "relax" + }, + { + "fullExpression": "plh_audio/relax/@local.relax@local.audio", + "matchedExpression": "@local.audio", + "type": "local", + "fieldName": "audio" + } + ] + }, + "_dynamicDependencies": { + "@local.relax": [ + "value" + ], + "@local.audio": [ + "value" + ] + } + }, { "type": "template", "name": "workshop_activity", @@ -36545,6 +40446,16 @@ "_raw": "completed | emit:completed", "_cleaned": "completed | emit:completed" }, + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "daily_relax_done", + true + ], + "_raw": "completed | set_field:daily_relax_done:true", + "_cleaned": "completed | set_field:daily_relax_done:true" + }, { "trigger": "uncompleted", "action_id": "emit", @@ -36557,470 +40468,365 @@ ], "rows": [ { - "name": "activity_title", - "value": "Start Positively Together", + "name": "include_outro", + "value": true, + "exclude_from_translation": true, "type": "set_variable", - "_nested_name": "workshop_activity.activity_title" + "_nested_name": "workshop_activity.include_outro" }, { "name": "activity_image", - "value": "plh_images/workshop_modes/group/talk.svg", + "value": "plh_images/workshop_modes/group/relax.svg", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" + "_nested_name": "workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { - "name": "intro_title", - "value": "Welcome @field.group_name", + "name": "activity_title", + "value": "Relax Together", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.intro_title", + "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { - "value": [ + "condition": [ { - "fullExpression": "Welcome @field.group_name", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.group_name": [ - "value" + "@fields.do_workshops_together": [ + "condition" ] } }, { "name": "intro_text", - "value": "It's great to see you again! \n\nLet's start with caring for you.", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text" - }, - { - "name": "activity_banner", - "hidden": false, + "value": "Let’s do a 30 second relaxation activity together.", + "condition": "@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_timer", - "rows": [ - { - "name": "text", - "value": "Take turns:\n- Share: How are you feeling today?\n- Praise someone in your group for something they did well this week!\n\nRemember that no matter how you feel, it’s great you are here. You all deserve praise.", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.text" - } - ], - "_nested_name": "workshop_activity.content_box" - } - ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" - }, - { - "flow_type": "template", - "flow_name": "suggestions", - "status": "released", - "rows": [ - { - "type": "text", - "name": "description_text", - "value": "Ideas from other families:", - "_nested_name": "description_text" - }, - { - "type": "text", - "name": "list_text", - "_nested_name": "list_text" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" - }, - { - "flow_type": "template", - "flow_name": "suggestions_ticks", - "status": "released", - "rows": [ - { - "type": "text", - "name": "text_1", - "_nested_name": "text_1" - }, - { - "type": "dashed_box", - "name": "dashed_box_1", - "_nested_name": "dashed_box_1" - }, - { - "type": "text", - "name": "text_2", - "_nested_name": "text_2" - }, - { - "type": "dashed_box", - "name": "dashed_box_2", - "_nested_name": "dashed_box_2" - }, - { - "type": "text", - "name": "text_3", - "_nested_name": "text_3" - }, - { - "type": "dashed_box", - "name": "dashed_box_3", - "_nested_name": "dashed_box_3" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" - }, - { - "flow_type": "template", - "flow_name": "welcome_individual", - "status": "released", - "rows": [ - { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" + "_nested_name": "workshop_activity.intro_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, - { - "trigger": "uncompleted", - "action_id": "emit", - "args": [ - "uncompleted" - ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" - } - ], - "rows": [ { "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", + "value": "plh_images/workshop_modes/guide_2/relax.svg", + "condition": "!@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" + "_nested_name": "workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { "name": "activity_title", - "value": "Welcome @field.user_name", + "value": "Relax", + "condition": "!@fields.do_workshops_together", "type": "set_variable", "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { - "value": [ + "condition": [ { - "fullExpression": "Welcome @field.user_name", - "matchedExpression": "@field.user_name", - "type": "field", - "fieldName": "user_name" + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.user_name": [ - "value" + "@fields.do_workshops_together": [ + "condition" ] } }, { "name": "intro_text", - "value": "It's great to see you again! ", + "value": "Let’s do a 30 second relaxation activity. ", + "condition": "!@fields.do_workshops_together", "type": "set_variable", - "_nested_name": "workshop_activity.intro_text" + "_nested_name": "workshop_activity.intro_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } }, { "name": "activity_banner", - "hidden": false, + "hidden": true, "type": "set_variable", "_nested_name": "workshop_activity.activity_banner" }, { - "type": "nested_properties", - "name": "content_box", - "value": "box_radio_buttons_emo_temp", - "rows": [ - { - "name": "radio_button_field", - "value": "current_feeling", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.radio_button_field" - }, - { - "name": "question_text", - "value": "How are you feeling today?", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.question_text" - } - ], - "_nested_name": "workshop_activity.content_box" - } - ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" - }, - { - "flow_type": "template", - "flow_name": "reflect_individual", - "status": "released", - "rows": [ - { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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": "activity_image", - "value": "plh_images/workshop_modes/guide_2/star.svg", - "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" - }, - { - "name": "activity_title", - "value": "@global.parent_points", + "name": "checkbox_field", + "value": "@local.relax_favourite", + "exclude_from_translation": true, "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "_nested_name": "workshop_activity.checkbox_field", "_dynamicFields": { "value": [ { - "fullExpression": "@global.parent_points", - "matchedExpression": "@global.parent_points", - "type": "global", - "fieldName": "parent_points" + "fullExpression": "@local.relax_favourite", + "matchedExpression": "@local.relax_favourite", + "type": "local", + "fieldName": "relax_favourite" } ] }, "_dynamicDependencies": { - "@global.parent_points": [ + "@local.relax_favourite": [ "value" ] } }, - { - "name": "intro_text", - "value": "Let's see how this week has been.", - "type": "set_variable", - "_nested_name": "workshop_activity.intro_text" - }, - { - "name": "activity_banner", - "hidden": false, - "type": "set_variable", - "_nested_name": "workshop_activity.activity_banner" - }, { "type": "nested_properties", "name": "content_box", - "value": "box_parent_points_temp", + "value": "box_audio", "rows": [ { - "name": "top_text", - "value": "This week you have done...", + "name": "lottie_src", + "value": "lottie_animations/relax1.json", + "hidden": false, "type": "set_variable", - "_nested_name": "workshop_activity.content_box.top_text" + "_nested_name": "workshop_activity.content_box.lottie_src" }, { - "name": "bottom_text", - "value": "You are showing such commitment to being a parent and to caring for yourself. \n\nYou are fantastic.", + "name": "audio_title", + "value": "Listen and relax", "type": "set_variable", - "_nested_name": "workshop_activity.content_box.bottom_text" + "_nested_name": "workshop_activity.content_box.audio_title" + }, + { + "name": "audio_src", + "value": "@fields.relax_audio", + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.audio_src", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.relax_audio", + "matchedExpression": "@fields.relax_audio", + "type": "fields", + "fieldName": "relax_audio" + } + ] + }, + "_dynamicDependencies": { + "@fields.relax_audio": [ + "value" + ] + } + }, + { + "name": "button", + "value": "Read and relax", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "@fields.relax_text" + ], + "_raw": "click | pop_up:@fields.relax_text", + "_cleaned": "click | pop_up:@fields.relax_text" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.button", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@fields.relax_text", + "matchedExpression": "@fields.relax_text", + "type": "fields", + "fieldName": "relax_text" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | pop_up:@fields.relax_text", + "matchedExpression": "@fields.relax_text", + "type": "fields", + "fieldName": "relax_text" + } + ], + "_cleaned": [ + { + "fullExpression": "click | pop_up:@fields.relax_text", + "matchedExpression": "@fields.relax_text", + "type": "fields", + "fieldName": "relax_text" + } + ] + } + } + }, + "_dynamicDependencies": { + "@fields.relax_text": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } } ], "_nested_name": "workshop_activity.content_box" - } - ], - "_nested_name": "workshop_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" - }, - { - "flow_type": "template", - "flow_name": "watch", - "status": "released", - "rows": [ - { - "type": "template", - "name": "workshop_activity", - "value": "workshop_activity", - "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": "activity_image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", + "name": "outro_text", + "value": "You are a star!\n\nEvery day, recognise something you have done well. Reward yourself with something that makes you happy. And take a deep breath to relax. ", "type": "set_variable", - "_nested_name": "workshop_activity.activity_image" + "_nested_name": "workshop_activity.outro_text" }, { - "name": "activity_title", - "value": "Watch Together", - "condition": "@field.do_workshops_together", + "name": "outro_habit", + "value": "relax", + "exclude_from_translation": true, "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } + "_nested_name": "workshop_activity.outro_habit" }, { - "name": "intro_text", - "value": "Let's watch a video together!", - "condition": "@field.do_workshops_together", + "name": "outro_habit_text", + "value": "@data.habit.relax.short_mark_text", + "hidden": false, "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", + "_nested_name": "workshop_activity.outro_habit_text", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "@data.habit.relax.short_mark_text", + "matchedExpression": "@data.habit.relax.short_mark_text", + "type": "data", + "fieldName": "habit" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@data.habit.relax.short_mark_text": [ + "value" ] } }, { - "name": "activity_title", - "value": "Watch", - "condition": "!@field.do_workshops_together", + "name": "checkbox_text", + "value": "Add this activity to @global.my_relaxes", "type": "set_variable", - "_nested_name": "workshop_activity.activity_title", + "_nested_name": "workshop_activity.checkbox_text", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "Add this activity to @global.my_relaxes", + "matchedExpression": "@global.my_relaxes", + "type": "global", + "fieldName": "my_relaxes" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@global.my_relaxes": [ + "value" ] } }, { - "name": "intro_text", - "value": "Let's watch a video!", - "condition": "!@field.do_workshops_together", + "name": "checkbox", + "value": "@fields.@local.relax_favourite", + "hidden": false, + "exclude_from_translation": true, "type": "set_variable", - "_nested_name": "workshop_activity.intro_text", + "_nested_name": "workshop_activity.checkbox", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "@fields.@local.relax_favourite", + "matchedExpression": "@local.relax_favourite", + "type": "local", + "fieldName": "relax_favourite" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@local.relax_favourite": [ + "value" ] } - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_video", - "rows": [ - { - "name": "video_help", - "value": "override value", - "type": "set_variable", - "_nested_name": "workshop_activity.content_box.video_help" - } - ], - "_nested_name": "workshop_activity.content_box" } ], "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/relax.xlsx" }, { "flow_type": "template", - "flow_name": "welcome_together", + "flow_name": "survey_activity", "status": "released", "rows": [ { "type": "template", - "name": "watch", - "value": "watch", + "name": "workshop_activity", + "value": "workshop_activity", "action_list": [ { "trigger": "completed", @@ -37043,85 +40849,47 @@ ], "rows": [ { - "type": "nested_properties", - "name": "workshop_activity", - "rows": [ - { - "name": "activity_banner", - "hidden": false, - "type": "set_variable", - "_nested_name": "watch.workshop_activity.activity_banner" - }, - { - "name": "activity_title", - "value": "Welcome @field.group_name", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.activity_title", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Welcome @field.group_name", - "matchedExpression": "@field.group_name", - "type": "field", - "fieldName": "group_name" - } - ] - }, - "_dynamicDependencies": { - "@field.group_name": [ - "value" - ] + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_image" + }, + { + "name": "activity_title", + "value": "Customise @global.parent_app", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Customise @global.parent_app", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" } - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.activity_image" - }, - { - "name": "intro_text", - "value": "It's great to see you again! Let’s start with a song for families everywhere.", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.intro_text" - }, - { - "type": "nested_properties", - "name": "content_box", - "rows": [ - { - "name": "video_title", - "value": "Let's Slow Down", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.content_box.video_title" - }, - { - "name": "video_src", - "value": "plh_video/lets_slow_down.mp4", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.content_box.video_src" - } - ], - "_nested_name": "watch.workshop_activity.content_box" - } - ], - "_nested_name": "watch.workshop_activity" + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ] + } } ], - "_nested_name": "watch" + "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/survey_activity.xlsx" }, { "flow_type": "template", - "flow_name": "ending", + "flow_name": "talk_together", "status": "released", "rows": [ { "type": "template", - "name": "watch", - "value": "watch", + "name": "workshop_activity", + "value": "workshop_activity", "action_list": [ { "trigger": "completed", @@ -37143,6862 +40911,5913 @@ } ], "rows": [ + { + "name": "activity_title", + "value": "Talk Together", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title" + }, + { + "name": "activity_image", + "value": "plh_images/workshop_modes/group/talk.svg", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_image" + }, + { + "name": "intro_text", + "value": "Share ideas, support each other!", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text" + }, + { + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.activity_banner" + }, { "type": "nested_properties", - "name": "workshop_activity", + "name": "content_box", + "value": "box_timer", "rows": [ { - "name": "activity_title", - "value": "Let's Slow Down", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.activity_title" - }, - { - "name": "activity_image", - "value": "plh_images/workshop_modes/group/cup.svg", - "condition": "@field.do_workshops_together", + "name": "text", "type": "set_variable", - "_nested_name": "watch.workshop_activity.activity_image", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ] - }, - "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" - ] - } + "_nested_name": "workshop_activity.content_box.text" }, { - "name": "activity_image", - "value": "plh_images/workshop_modes/guide_2/cup.svg", - "condition": "!@field.do_workshops_together", + "name": "button_1", + "value": "@global.ideas_button", "type": "set_variable", - "_nested_name": "watch.workshop_activity.activity_image", + "_nested_name": "workshop_activity.content_box.button_1", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" + "fullExpression": "@global.ideas_button", + "matchedExpression": "@global.ideas_button", + "type": "global", + "fieldName": "ideas_button" } ] }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "condition" + "@global.ideas_button": [ + "value" ] } - }, - { - "name": "intro_title", - "value": "Well done!", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.intro_title" - }, - { - "name": "intro_text", - "value": "You’ve completed this week’s workshop. ", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.intro_text" - }, - { - "name": "activity_banner", - "hidden": false, - "type": "set_variable", - "_nested_name": "watch.workshop_activity.activity_banner" - }, - { - "type": "nested_properties", - "name": "intro_nav_buttons", - "rows": [ - { - "name": "button_completed", - "value": "Finish with a song", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.intro_nav_buttons.button_completed" - } - ], - "_nested_name": "watch.workshop_activity.intro_nav_buttons" - }, - { - "type": "nested_properties", - "name": "content_box", - "rows": [ - { - "name": "video_src", - "value": "plh_video/lets_slow_down.mp4", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.content_box.video_src" - }, - { - "name": "bottom_text", - "value": "See you soon.", - "hidden": false, - "type": "set_variable", - "_nested_name": "watch.workshop_activity.content_box.bottom_text" - }, - { - "type": "nested_properties", - "name": "nav_buttons", - "rows": [ - { - "name": "button_completed", - "value": "Goodbye!", - "type": "set_variable", - "_nested_name": "watch.workshop_activity.content_box.nav_buttons.button_completed" - } - ], - "_nested_name": "watch.workshop_activity.content_box.nav_buttons" - } - ], - "_nested_name": "watch.workshop_activity.content_box" } ], - "_nested_name": "watch.workshop_activity" + "_nested_name": "workshop_activity.content_box" } ], - "_nested_name": "watch" + "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" }, { "flow_type": "template", - "flow_name": "debug_advanced_dashed_box_1", + "flow_name": "try_together", "status": "released", "rows": [ { - "type": "advanced_dashed_box", - "name": "dashed_box_test", - "rows": [ + "type": "template", + "name": "workshop_activity", + "value": "workshop_activity", + "action_list": [ { - "type": "subtitle", - "value": "s simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has", - "parameter_list": { - "style": "emphasised center" - }, - "exclude_from_translation": true, - "name": "subtitle", - "_nested_name": "dashed_box_test.subtitle" + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "type": "display_group", - "name": "display_group", - "rows": [ - { - "type": "button", - "value": "test", - "name": "button", - "_nested_name": "dashed_box_test.display_group.button" - } + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" ], - "_nested_name": "dashed_box_test.display_group" + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "_nested_name": "dashed_box_test" - }, - { - "type": "display_group", - "name": "display_group", - "parameter_list": { - "type": "dashed_box" - }, "rows": [ { - "type": "subtitle", - "value": "Every time you do a relax, tap the ParentPoint and celebrate your success!", - "parameter_list": { - "style": "emphasised center", - "text_align": "center" - }, - "exclude_from_translation": true, - "name": "subtitle", - "_nested_name": "display_group.subtitle" + "name": "activity_title", + "value": "Try it Together", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title" }, { - "type": "parent_point_box", - "name": "points_example_1", - "value": 3, - "parameter_list": { - "lottie_src": "lottie_animations/parent_centre.json", - "text": "text two" - }, - "_nested_name": "display_group.points_example_1" - } - ], - "_nested_name": "display_group" - }, - { - "type": "display_group", - "name": "display_group", - "parameter_list": { - "type": "dashed_box" - }, - "rows": [ - { - "type": "subtitle", - "value": "small text here", - "parameter_list": { - "style": "emphasised center" - }, - "name": "subtitle", - "_nested_name": "display_group.subtitle" + "name": "activity_image", + "value": "plh_images/workshop_modes/group/talk.svg", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_image" }, { - "type": "parent_point_box", - "name": "points_example_1", - "value": 3, - "parameter_list": { - "lottie_src": "lottie_animations/parent_centre.json", - "text": "text two" - }, - "_nested_name": "display_group.points_example_1" - } - ], - "_nested_name": "display_group" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_advanced_dashed_box.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_advanced_dashed_box_2", - "status": "released", - "rows": [ - { - "type": "advanced_dashed_box", - "name": "dashed_box", - "rows": [], - "_nested_name": "dashed_box" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_advanced_dashed_box.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_campaign", - "status": "released", - "rows": [ - { - "name": "active_campaign", - "value": "@campaign.debug_campaign", - "type": "set_variable", - "_nested_name": "active_campaign", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@campaign.debug_campaign", - "matchedExpression": "@campaign.debug_campaign", - "type": "campaign", - "fieldName": "debug_campaign" - } - ] - }, - "_dynamicDependencies": { - "@campaign.debug_campaign": [ - "value" - ] - } - }, - { - "type": "display_group", - "condition": "@local.active_campaign.id", - "parameter_list": { - "style": "column" - }, - "rows": [ + "name": "intro_text", + "value": "Let's practice together.", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text" + }, { - "type": "text", - "name": "campaign_id", - "value": "Campaign id: @local.active_campaign.id", - "_nested_name": "display_group.campaign_id", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Campaign id: @local.active_campaign.id", - "matchedExpression": "@local.active_campaign.id", - "type": "local", - "fieldName": "active_campaign" - } - ] - }, - "_dynamicDependencies": { - "@local.active_campaign.id": [ - "value" - ] - } + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.activity_banner" }, { - "type": "round_button", - "name": "campaign_quickstart", - "action_list": [ - { - "trigger": "click", - "action_id": "trigger_actions", - "args": [ - "@local.active_campaign.click_action_list" - ], - "_raw": "click | trigger_actions: @local.active_campaign.click_action_list", - "_cleaned": "click | trigger_actions: @local.active_campaign.click_action_list" - }, - { - "trigger": "click", - "action_id": "set_local", - "args": [ - "active_campaign", - false - ], - "_raw": "click | set_local: active_campaign : false", - "_cleaned": "click | set_local: active_campaign : false" - } - ], - "parameter_list": { - "icon_src": "@local.active_campaign.icon", - "text": "@local.active_campaign.text", - "style": "home_screen yellow" - }, - "style_list": [ - "padding: 0" - ], - "_nested_name": "display_group.campaign_quickstart", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.active_campaign.click_action_list", - "matchedExpression": "@local.active_campaign.click_action_list", - "type": "local", - "fieldName": "active_campaign" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | trigger_actions: @local.active_campaign.click_action_list", - "matchedExpression": "@local.active_campaign.click_action_list", - "type": "local", - "fieldName": "active_campaign" - } - ], - "_cleaned": [ + "type": "nested_properties", + "name": "content_box", + "value": "box_timer", + "rows": [ + { + "name": "text", + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.text" + }, + { + "name": "button_1", + "value": "@global.ideas_button", + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.button_1", + "_dynamicFields": { + "value": [ { - "fullExpression": "click | trigger_actions: @local.active_campaign.click_action_list", - "matchedExpression": "@local.active_campaign.click_action_list", - "type": "local", - "fieldName": "active_campaign" + "fullExpression": "@global.ideas_button", + "matchedExpression": "@global.ideas_button", + "type": "global", + "fieldName": "ideas_button" } ] + }, + "_dynamicDependencies": { + "@global.ideas_button": [ + "value" + ] } - }, - "parameter_list": { - "icon_src": [ - { - "fullExpression": "@local.active_campaign.icon", - "matchedExpression": "@local.active_campaign.icon", - "type": "local", - "fieldName": "active_campaign" - } - ], - "text": [ - { - "fullExpression": "@local.active_campaign.text", - "matchedExpression": "@local.active_campaign.text", - "type": "local", - "fieldName": "active_campaign" - } - ] } - }, - "_dynamicDependencies": { - "@local.active_campaign.click_action_list": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.active_campaign.icon": [ - "parameter_list.icon_src" - ], - "@local.active_campaign.text": [ - "parameter_list.text" - ] - } + ], + "_nested_name": "workshop_activity.content_box" } ], - "name": "display_group", - "_nested_name": "display_group", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.active_campaign.id", - "matchedExpression": "@local.active_campaign.id", - "type": "local", - "fieldName": "active_campaign" - } - ] - }, - "_dynamicDependencies": { - "@local.active_campaign.id": [ - "condition" - ] - } - }, + "_nested_name": "workshop_activity" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" + }, + { + "flow_type": "template", + "flow_name": "reflect_together", + "status": "released", + "rows": [ { - "type": "button", - "name": "clear_reminders", - "value": "Reset Reminders", + "type": "template", + "name": "workshop_activity", + "value": "workshop_activity", "action_list": [ { - "trigger": "click", - "action_id": "set_field", + "trigger": "completed", + "action_id": "emit", "args": [ - "debug_reminder_default.sent", - false + "completed" ], - "_raw": "click | set_field : debug_reminder_default.sent : false", - "_cleaned": "click | set_field : debug_reminder_default.sent : false" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, { - "trigger": "click", - "action_id": "set_field", + "trigger": "uncompleted", + "action_id": "emit", "args": [ - "debug_reminder_1.sent", - false + "uncompleted" ], - "_raw": "click | set_field : debug_reminder_1.sent : false", - "_cleaned": "click | set_field : debug_reminder_1.sent : false" + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" + } + ], + "rows": [ + { + "name": "activity_title", + "value": "@global.home_practice_problem_solving", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.home_practice_problem_solving", + "matchedExpression": "@global.home_practice_problem_solving", + "type": "global", + "fieldName": "home_practice_problem_solving" + } + ] + }, + "_dynamicDependencies": { + "@global.home_practice_problem_solving": [ + "value" + ] + } }, { - "trigger": "click", - "action_id": "set_field", - "args": [ - "debug_reminder_2.sent", - false + "name": "activity_image", + "value": "plh_images/workshop_modes/group/talk.svg", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_image" + }, + { + "name": "intro_text", + "value": "Home practice is how we make our family life better. But it often brings challenges. \n\nLet's share our successes and problems, and help each other find new ideas to try!", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text" + }, + { + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.activity_banner" + }, + { + "type": "nested_properties", + "name": "intro_nav_buttons", + "rows": [ + { + "name": "button_completed", + "value": "@global.more_button", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_nav_buttons.button_completed", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.more_button", + "matchedExpression": "@global.more_button", + "type": "global", + "fieldName": "more_button" + } + ] + }, + "_dynamicDependencies": { + "@global.more_button": [ + "value" + ] + } + } ], - "_raw": "click | set_field : debug_reminder_2.sent : false", - "_cleaned": "click | set_field : debug_reminder_2.sent : false" + "_nested_name": "workshop_activity.intro_nav_buttons" }, { - "trigger": "click", - "action_id": "set_field", - "args": [ - "debug_reminder_3.sent", - false + "type": "nested_properties", + "name": "content_box", + "value": "box_timer", + "rows": [ + { + "name": "text", + "value": "Think about how your home activities went this week. \n\nTake turns to discuss: \n- What went well and what was a problem? \n- What solutions can you think of together? \n- Pick one solution and try it later with your teen! \n\n(Or you can even practice it now so it will be easier later!)", + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.text" + }, + { + "name": "timer_duration", + "value": 20, + "exclude_from_translation": true, + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.timer_duration" + }, + { + "name": "button_1", + "value": "@global.ideas_button", + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.button_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.ideas_button", + "matchedExpression": "@global.ideas_button", + "type": "global", + "fieldName": "ideas_button" + } + ] + }, + "_dynamicDependencies": { + "@global.ideas_button": [ + "value" + ] + } + } ], - "_raw": "click | set_field : debug_reminder_3.sent : false", - "_cleaned": "click | set_field : debug_reminder_3.sent : false" + "_nested_name": "workshop_activity.content_box" } ], - "_nested_name": "clear_reminders" + "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_campaigns.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" }, { "flow_type": "template", - "flow_name": "debug_changed_radio_group_1", + "flow_name": "care_together", "status": "released", "rows": [ { - "type": "set_field", - "name": "demo_changed_field_1", - "value": false, - "_nested_name": "demo_changed_field_1" - }, - { - "name": "demo_changed_local", - "value": "demo_changed_field_2", - "type": "set_variable", - "_nested_name": "demo_changed_local" - }, - { - "name": "answer_list_2", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second" - ], - "type": "set_variable", - "_nested_name": "answer_list_2" - }, - { - "type": "radio_group", - "name": "radio_group", + "type": "template", + "name": "workshop_activity", + "value": "workshop_activity", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "completed", + "action_id": "emit", "args": [ - "@local.demo_changed_local", - "@local.radio_group" + "completed" ], - "_raw": "changed | set_field: @local.demo_changed_local: @local.radio_group", - "_cleaned": "changed | set_field: @local.demo_changed_local: @local.radio_group" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "parameter_list": { - "answer_list": "@local.answer_list_2" - }, - "_nested_name": "radio_group", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.demo_changed_local", - "matchedExpression": "@local.demo_changed_local", - "type": "local", - "fieldName": "demo_changed_local" - } - ], - "1": [ - { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: @local.demo_changed_local: @local.radio_group", - "matchedExpression": "@local.demo_changed_local", - "type": "local", - "fieldName": "demo_changed_local" - }, - { - "fullExpression": "changed | set_field: @local.demo_changed_local: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: @local.demo_changed_local: @local.radio_group", - "matchedExpression": "@local.demo_changed_local", - "type": "local", - "fieldName": "demo_changed_local" - }, + "rows": [ + { + "name": "activity_title", + "value": "Start Positively Together", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title" + }, + { + "name": "activity_image", + "value": "plh_images/workshop_modes/group/talk.svg", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_image" + }, + { + "name": "intro_title", + "value": "Welcome @fields.group_name", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_title", + "_dynamicFields": { + "value": [ { - "fullExpression": "changed | set_field: @local.demo_changed_local: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" + "fullExpression": "Welcome @fields.group_name", + "matchedExpression": "@fields.group_name", + "type": "fields", + "fieldName": "group_name" } ] + }, + "_dynamicDependencies": { + "@fields.group_name": [ + "value" + ] } }, - "parameter_list": { - "answer_list": [ + { + "name": "intro_text", + "value": "It's great to see you again! \n\nLet's start with caring for you.", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text" + }, + { + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.activity_banner" + }, + { + "type": "nested_properties", + "name": "content_box", + "value": "box_timer", + "rows": [ { - "fullExpression": "@local.answer_list_2", - "matchedExpression": "@local.answer_list_2", - "type": "local", - "fieldName": "answer_list_2" + "name": "text", + "value": "Take turns:\n- Share: How are you feeling today?\n- Praise someone in your group for something they did well this week!\n\nRemember that no matter how you feel, it’s great you are here. You all deserve praise.", + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.text" } - ] + ], + "_nested_name": "workshop_activity.content_box" } - }, - "_dynamicDependencies": { - "@local.demo_changed_local": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.radio_group": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list_2": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "text_1", - "value": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", - "hidden": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", - "_nested_name": "text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_1", - "type": "field", - "fieldName": "demo_changed_field_1" - }, - { - "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_2", - "type": "field", - "fieldName": "demo_changed_field_2" - } - ], - "hidden": [ - { - "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_1", - "type": "field", - "fieldName": "demo_changed_field_1" - }, - { - "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_2", - "type": "field", - "fieldName": "demo_changed_field_2" - } - ] - }, - "_dynamicDependencies": { - "@field.demo_changed_field_1": [ - "value", - "hidden" - ], - "@field.demo_changed_field_2": [ - "value", - "hidden" - ] - } - }, - { - "type": "text", - "name": "text_2", - "value": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", - "hidden": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", - "_nested_name": "text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_1", - "type": "field", - "fieldName": "demo_changed_field_1" - }, - { - "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_2", - "type": "field", - "fieldName": "demo_changed_field_2" - } - ], - "hidden": [ - { - "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_1", - "type": "field", - "fieldName": "demo_changed_field_1" - }, - { - "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_2", - "type": "field", - "fieldName": "demo_changed_field_2" - } - ] - }, - "_dynamicDependencies": { - "@field.demo_changed_field_1": [ - "value", - "hidden" - ], - "@field.demo_changed_field_2": [ - "value", - "hidden" - ] - } + ], + "_nested_name": "workshop_activity" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" + }, + { + "flow_type": "template", + "flow_name": "suggestions", + "status": "released", + "rows": [ + { + "type": "text", + "name": "description_text", + "value": "Ideas from other families:", + "_nested_name": "description_text" + }, + { + "type": "text", + "name": "list_text", + "_nested_name": "list_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_changed_radio_group.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" }, { "flow_type": "template", - "flow_name": "debug_changed_radio_group_2", + "flow_name": "suggestions_ticks", "status": "released", "rows": [ { - "type": "set_field", - "name": "demo_changed_field_3", - "value": false, - "_nested_name": "demo_changed_field_3" + "type": "text", + "name": "text_1", + "_nested_name": "text_1" }, { - "name": "answer_list_2", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second" - ], - "type": "set_variable", - "_nested_name": "answer_list_2" + "type": "dashed_box", + "name": "dashed_box_1", + "_nested_name": "dashed_box_1" }, { - "type": "radio_group", - "name": "radio_group", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "demo_changed_field_4", - "@local.radio_group" - ], - "_raw": "changed | set_field: demo_changed_field_4: @local.radio_group", - "_cleaned": "changed | set_field: demo_changed_field_4: @local.radio_group" - } - ], - "parameter_list": { - "answer_list": "@local.answer_list_2" - }, - "_nested_name": "radio_group", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: demo_changed_field_4: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: demo_changed_field_4: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - } - }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_2", - "matchedExpression": "@local.answer_list_2", - "type": "local", - "fieldName": "answer_list_2" - } - ] - } - }, - "_dynamicDependencies": { - "@local.radio_group": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list_2": [ - "parameter_list.answer_list" - ] - } + "type": "text", + "name": "text_2", + "_nested_name": "text_2" }, { - "type": "text", - "name": "text_1", - "value": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", - "hidden": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", - "_nested_name": "text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_3", - "type": "field", - "fieldName": "demo_changed_field_3" - }, - { - "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_4", - "type": "field", - "fieldName": "demo_changed_field_4" - } - ], - "hidden": [ - { - "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_3", - "type": "field", - "fieldName": "demo_changed_field_3" - }, - { - "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_4", - "type": "field", - "fieldName": "demo_changed_field_4" - } - ] - }, - "_dynamicDependencies": { - "@field.demo_changed_field_3": [ - "value", - "hidden" - ], - "@field.demo_changed_field_4": [ - "value", - "hidden" - ] - } + "type": "dashed_box", + "name": "dashed_box_2", + "_nested_name": "dashed_box_2" }, { "type": "text", - "name": "text_2", - "value": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", - "hidden": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", - "_nested_name": "text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_3", - "type": "field", - "fieldName": "demo_changed_field_3" - }, - { - "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_4", - "type": "field", - "fieldName": "demo_changed_field_4" - } - ], - "hidden": [ - { - "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_3", - "type": "field", - "fieldName": "demo_changed_field_3" - }, - { - "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_4", - "type": "field", - "fieldName": "demo_changed_field_4" - } - ] - }, - "_dynamicDependencies": { - "@field.demo_changed_field_3": [ - "value", - "hidden" - ], - "@field.demo_changed_field_4": [ - "value", - "hidden" - ] - } + "name": "text_3", + "_nested_name": "text_3" + }, + { + "type": "dashed_box", + "name": "dashed_box_3", + "_nested_name": "dashed_box_3" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_changed_radio_group.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" }, { "flow_type": "template", - "flow_name": "debug_changed_radio_group_3", + "flow_name": "suggestions_image", "status": "released", "rows": [ { - "type": "set_field", - "name": "demo_changed_field_5", - "value": false, - "_nested_name": "demo_changed_field_5" + "type": "title", + "name": "title", + "_nested_name": "title" }, { - "name": "answer_list_2", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second" - ], - "type": "set_variable", - "_nested_name": "answer_list_2" + "type": "image", + "name": "image", + "_nested_name": "image" }, { - "type": "radio_group", - "name": "radio_group", + "type": "text", + "name": "text", + "_nested_name": "text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/talk_together.xlsx" + }, + { + "flow_type": "template", + "flow_name": "welcome_individual", + "status": "released", + "rows": [ + { + "type": "template", + "name": "workshop_activity", + "value": "workshop_activity", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "completed", + "action_id": "emit", "args": [ - "demo_changed_field_6", - "@local.radio_group" + "completed" ], - "_raw": "changed | set_field: demo_changed_field_6: @local.radio_group", - "_cleaned": "changed | set_field: demo_changed_field_6: @local.radio_group" - } - ], - "parameter_list": { - "answer_list": "@local.answer_list_2" - }, - "_nested_name": "radio_group", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: demo_changed_field_6: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: demo_changed_field_6: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - } + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_2", - "matchedExpression": "@local.answer_list_2", - "type": "local", - "fieldName": "answer_list_2" - } - ] + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } - }, - "_dynamicDependencies": { - "@local.radio_group": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list_2": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "template", - "name": "example_text_1", - "value": "example_text", - "hidden": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", + ], "rows": [ { - "name": "text", - "value": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", "type": "set_variable", - "_nested_name": "example_text_1.text", + "_nested_name": "workshop_activity.activity_image" + }, + { + "name": "activity_title", + "value": "Welcome @fields.user_name", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { "value": [ { - "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_5", - "type": "field", - "fieldName": "demo_changed_field_5" - }, - { - "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_6", - "type": "field", - "fieldName": "demo_changed_field_6" + "fullExpression": "Welcome @fields.user_name", + "matchedExpression": "@fields.user_name", + "type": "fields", + "fieldName": "user_name" } ] }, "_dynamicDependencies": { - "@field.demo_changed_field_5": [ - "value" - ], - "@field.demo_changed_field_6": [ + "@fields.user_name": [ "value" ] } + }, + { + "name": "intro_text", + "value": "It's great to see you again! ", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text" + }, + { + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.activity_banner" + }, + { + "type": "nested_properties", + "name": "content_box", + "value": "box_radio_buttons_emo_temp", + "rows": [ + { + "name": "radio_button_field", + "value": "current_feeling", + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.radio_button_field" + }, + { + "name": "question_text", + "value": "How are you feeling today?", + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.question_text" + } + ], + "_nested_name": "workshop_activity.content_box" } ], - "_nested_name": "example_text_1", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_5", - "type": "field", - "fieldName": "demo_changed_field_5" - }, - { - "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_6", - "type": "field", - "fieldName": "demo_changed_field_6" - } - ] - }, - "_dynamicDependencies": { - "@field.demo_changed_field_5": [ - "hidden" - ], - "@field.demo_changed_field_6": [ - "hidden" - ] - } - }, + "_nested_name": "workshop_activity" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" + }, + { + "flow_type": "template", + "flow_name": "reflect_individual", + "status": "released", + "rows": [ { "type": "template", - "name": "example_text_2", - "value": "example_text", - "hidden": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", + "name": "workshop_activity", + "value": "workshop_activity", + "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": "text", - "value": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/star.svg", "type": "set_variable", - "_nested_name": "example_text_2.text", + "_nested_name": "workshop_activity.activity_image" + }, + { + "name": "activity_title", + "value": "@global.parent_points", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { "value": [ { - "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_5", - "type": "field", - "fieldName": "demo_changed_field_5" - }, - { - "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_6", - "type": "field", - "fieldName": "demo_changed_field_6" + "fullExpression": "@global.parent_points", + "matchedExpression": "@global.parent_points", + "type": "global", + "fieldName": "parent_points" } ] }, "_dynamicDependencies": { - "@field.demo_changed_field_5": [ - "value" - ], - "@field.demo_changed_field_6": [ + "@global.parent_points": [ "value" ] } - } - ], - "_nested_name": "example_text_2", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_5", - "type": "field", - "fieldName": "demo_changed_field_5" - }, - { - "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_6", - "type": "field", - "fieldName": "demo_changed_field_6" - } - ] - }, - "_dynamicDependencies": { - "@field.demo_changed_field_5": [ - "hidden" - ], - "@field.demo_changed_field_6": [ - "hidden" - ] - } + }, + { + "name": "intro_text", + "value": "Let's see how this week has been.", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text" + }, + { + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "workshop_activity.activity_banner" + }, + { + "type": "nested_properties", + "name": "content_box", + "value": "box_parent_points_temp", + "rows": [ + { + "name": "top_text", + "value": "This week you have done...", + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.top_text" + }, + { + "name": "bottom_text", + "value": "You are showing such commitment to being a parent and to caring for yourself. \n\nYou are fantastic.", + "type": "set_variable", + "_nested_name": "workshop_activity.content_box.bottom_text" + } + ], + "_nested_name": "workshop_activity.content_box" + } + ], + "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_changed_radio_group.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" }, { "flow_type": "template", - "flow_name": "debug_changed_radio_group_4", + "flow_name": "watch", "status": "released", "rows": [ { - "type": "set_field", - "name": "demo_changed_field_7", - "value": false, - "_nested_name": "demo_changed_field_7" - }, - { - "name": "answer_list_2", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second" - ], - "type": "set_variable", - "_nested_name": "answer_list_2" - }, - { - "type": "radio_group", - "name": "radio_group", + "type": "template", + "name": "workshop_activity", + "value": "workshop_activity", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "completed", + "action_id": "emit", "args": [ - "demo_changed_field_8", - "@local.radio_group" + "completed" ], - "_raw": "changed | set_field: demo_changed_field_8: @local.radio_group", - "_cleaned": "changed | set_field: demo_changed_field_8: @local.radio_group" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "parameter_list": { - "answer_list": "@local.answer_list_2" - }, - "_nested_name": "radio_group", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_raw": [ + "rows": [ + { + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_image" + }, + { + "name": "activity_title", + "value": "Watch Together", + "condition": "@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title", + "_dynamicFields": { + "condition": [ { - "fullExpression": "changed | set_field: demo_changed_field_8: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } - ], - "_cleaned": [ + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } + }, + { + "name": "intro_text", + "value": "Let's watch a video together!", + "condition": "@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text", + "_dynamicFields": { + "condition": [ { - "fullExpression": "changed | set_field: demo_changed_field_8: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] } }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_2", - "matchedExpression": "@local.answer_list_2", - "type": "local", - "fieldName": "answer_list_2" - } - ] - } - }, - "_dynamicDependencies": { - "@local.radio_group": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list_2": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "template", - "name": "box_duo", - "value": "box_duo", - "rows": [ { - "type": "nested_properties", - "name": "box_1", - "value": "example_text", - "hidden": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", - "rows": [ - { - "name": "text", - "value": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", - "type": "set_variable", - "_nested_name": "box_duo.box_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_7", - "type": "field", - "fieldName": "demo_changed_field_7" - }, - { - "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_8", - "type": "field", - "fieldName": "demo_changed_field_8" - } - ] - }, - "_dynamicDependencies": { - "@field.demo_changed_field_7": [ - "value" - ], - "@field.demo_changed_field_8": [ - "value" - ] - } - } - ], - "_nested_name": "box_duo.box_1", + "name": "activity_title", + "value": "Watch", + "condition": "!@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.activity_title", "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_7", - "type": "field", - "fieldName": "demo_changed_field_7" - }, + "condition": [ { - "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", - "matchedExpression": "@field.demo_changed_field_8", - "type": "field", - "fieldName": "demo_changed_field_8" + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.demo_changed_field_7": [ - "hidden" - ], - "@field.demo_changed_field_8": [ - "hidden" + "@fields.do_workshops_together": [ + "condition" ] } }, { - "type": "nested_properties", - "name": "box_2", - "value": "example_text", - "hidden": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", - "rows": [ - { - "name": "text", - "value": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", - "type": "set_variable", - "_nested_name": "box_duo.box_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_7", - "type": "field", - "fieldName": "demo_changed_field_7" - }, - { - "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_8", - "type": "field", - "fieldName": "demo_changed_field_8" - } - ] - }, - "_dynamicDependencies": { - "@field.demo_changed_field_7": [ - "value" - ], - "@field.demo_changed_field_8": [ - "value" - ] - } - } - ], - "_nested_name": "box_duo.box_2", + "name": "intro_text", + "value": "Let's watch a video!", + "condition": "!@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "workshop_activity.intro_text", "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_7", - "type": "field", - "fieldName": "demo_changed_field_7" - }, + "condition": [ { - "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", - "matchedExpression": "@field.demo_changed_field_8", - "type": "field", - "fieldName": "demo_changed_field_8" + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" } ] }, "_dynamicDependencies": { - "@field.demo_changed_field_7": [ - "hidden" - ], - "@field.demo_changed_field_8": [ - "hidden" + "@fields.do_workshops_together": [ + "condition" ] } + }, + { + "type": "nested_properties", + "name": "content_box", + "value": "box_video", + "rows": [], + "_nested_name": "workshop_activity.content_box" } ], - "_nested_name": "box_duo" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_changed_radio_group.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_combo_box_value", - "status": "released", - "rows": [ - { - "name": "answer_list", - "value": [ - "name: name_1 | text: This is text 1", - "name: name_2 | text: This is text 2", - "name: name_3 | text: This is text 3" - ], - "type": "set_variable", - "_nested_name": "answer_list" - }, - { - "type": "combo_box", - "name": "combo_box", - "value": "name_2", - "parameter_list": { - "answer_list": "@local.answer_list" - }, - "_nested_name": "combo_box", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] - } - }, - "_dynamicDependencies": { - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_combo_box.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_combo_box_input", - "status": "released", - "rows": [ - { - "name": "answer_list", - "value": [ - "name: name_1 | text: This is text 1", - "name: name_2 | text: This is text 2", - "name: name_3 | text: This is text 3" - ], - "type": "set_variable", - "_nested_name": "answer_list" - }, - { - "type": "combo_box", - "name": "combo_box", - "parameter_list": { - "answer_list": "@local.answer_list", - "placeholder": "Click here to answer", - "input_allowed": "true", - "answer_placeholder": "Type your own" - }, - "_nested_name": "combo_box", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] - } - }, - "_dynamicDependencies": { - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "text_result", - "value": "Local combo box variable: @local.combo_box", - "_nested_name": "text_result", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Local combo box variable: @local.combo_box", - "matchedExpression": "@local.combo_box", - "type": "local", - "fieldName": "combo_box" - } - ] - }, - "_dynamicDependencies": { - "@local.combo_box": [ - "value" - ] - } + "_nested_name": "workshop_activity" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_combo_box.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" }, { "flow_type": "template", - "flow_name": "debug_combo_box_variables", + "flow_name": "welcome_together", "status": "released", "rows": [ { - "name": "answer_1_list", - "value": [ - "name: name_1 | text: This is text 1", - "name: name_2 | text: This is text 2", - "name: name_3 | text: This is text 3" - ], - "type": "set_variable", - "_nested_name": "answer_1_list" - }, - { - "name": "option_1", - "value": "Option 1", - "type": "set_variable", - "_nested_name": "option_1" - }, - { - "name": "option_2", - "value": "Option 2", - "type": "set_variable", - "_nested_name": "option_2" - }, - { - "name": "option_3", - "value": "Option 3", - "type": "set_variable", - "_nested_name": "option_3" - }, - { - "name": "answer_2_list", - "value": [ - "name: name_1 | text: @local.option_1", - "name: name_2 | text: @local.option_2", - "name: name_3 | text: @local.option_3" - ], - "type": "set_variable", - "_nested_name": "answer_2_list", - "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "name: name_1 | text: @local.option_1", - "matchedExpression": "@local.option_1", - "type": "local", - "fieldName": "option_1" - } - ], - "1": [ - { - "fullExpression": "name: name_2 | text: @local.option_2", - "matchedExpression": "@local.option_2", - "type": "local", - "fieldName": "option_2" - } + "type": "template", + "name": "watch", + "value": "watch", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "2": [ - { - "fullExpression": "name: name_3 | text: @local.option_3", - "matchedExpression": "@local.option_3", - "type": "local", - "fieldName": "option_3" - } - ] - } - }, - "_dynamicDependencies": { - "@local.option_1": [ - "value.0" - ], - "@local.option_2": [ - "value.1" - ], - "@local.option_3": [ - "value.2" - ] - } - }, - { - "name": "answer_3_list", - "value": [ - "name: name_1 | text: @global.example_global_constant_text", - "name: name_2 | text: @global.example_global_constant_title" - ], - "type": "set_variable", - "_nested_name": "answer_3_list", - "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "name: name_1 | text: @global.example_global_constant_text", - "matchedExpression": "@global.example_global_constant_text", - "type": "global", - "fieldName": "example_global_constant_text" - } + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" ], - "1": [ - { - "fullExpression": "name: name_2 | text: @global.example_global_constant_title", - "matchedExpression": "@global.example_global_constant_title", - "type": "global", - "fieldName": "example_global_constant_title" - } - ] + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } - }, - "_dynamicDependencies": { - "@global.example_global_constant_text": [ - "value.0" - ], - "@global.example_global_constant_title": [ - "value.1" - ] - } - }, - { - "type": "text", - "name": "text_1", - "value": "This is the combo box variables debug template", - "_nested_name": "text_1" - }, - { - "type": "text", - "name": "text_2", - "value": "Direct answer list (set through local variable)", - "_nested_name": "text_2" - }, - { - "type": "combo_box", - "name": "combo_box_1", - "parameter_list": { - "answer_list": "@local.answer_1_list" - }, - "_nested_name": "combo_box_1", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ + ], + "rows": [ + { + "type": "nested_properties", + "name": "workshop_activity", + "rows": [ { - "fullExpression": "@local.answer_1_list", - "matchedExpression": "@local.answer_1_list", - "type": "local", - "fieldName": "answer_1_list" - } - ] - } - }, - "_dynamicDependencies": { - "@local.answer_1_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "text_3", - "value": "Answer list contains local variables", - "_nested_name": "text_3" - }, - { - "type": "combo_box", - "name": "combo_box_2", - "parameter_list": { - "answer_list": "@local.answer_2_list" - }, - "_nested_name": "combo_box_2", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "watch.workshop_activity.activity_banner" + }, { - "fullExpression": "@local.answer_2_list", - "matchedExpression": "@local.answer_2_list", - "type": "local", - "fieldName": "answer_2_list" - } - ] - } - }, - "_dynamicDependencies": { - "@local.answer_2_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "text_4", - "value": "Answer list contains global variables", - "_nested_name": "text_4" - }, - { - "type": "combo_box", - "name": "combo_box_3", - "parameter_list": { - "answer_list": "@local.answer_3_list" - }, - "_nested_name": "combo_box_3", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ + "name": "activity_title", + "value": "Welcome @fields.group_name", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.activity_title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Welcome @fields.group_name", + "matchedExpression": "@fields.group_name", + "type": "fields", + "fieldName": "group_name" + } + ] + }, + "_dynamicDependencies": { + "@fields.group_name": [ + "value" + ] + } + }, { - "fullExpression": "@local.answer_3_list", - "matchedExpression": "@local.answer_3_list", - "type": "local", - "fieldName": "answer_3_list" + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.activity_image" + }, + { + "name": "intro_text", + "value": "It's great to see you again! Let’s start with a song for families everywhere.", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.intro_text" + }, + { + "type": "nested_properties", + "name": "content_box", + "rows": [ + { + "name": "video_title", + "value": "Let's Slow Down", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.content_box.video_title" + }, + { + "name": "video_src", + "value": "plh_video/lets_slow_down.mp4", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.content_box.video_src" + } + ], + "_nested_name": "watch.workshop_activity.content_box" } - ] + ], + "_nested_name": "watch.workshop_activity" } - }, - "_dynamicDependencies": { - "@local.answer_3_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "name": "spend_time_idea_1", - "value": "Walking to the shops", - "type": "set_variable", - "_nested_name": "spend_time_idea_1" - }, - { - "name": "spend_time_idea_2", - "value": "Get water together ", - "type": "set_variable", - "_nested_name": "spend_time_idea_2" - }, - { - "name": "spend_time_idea_3", - "value": "Doing a chore together", - "type": "set_variable", - "_nested_name": "spend_time_idea_3" - }, - { - "name": "spend_time_idea_4", - "value": "Prepare dinner", - "type": "set_variable", - "_nested_name": "spend_time_idea_4" - }, - { - "name": "spend_time_idea_5", - "value": "Eat breakfast/lunch/dinner", - "type": "set_variable", - "_nested_name": "spend_time_idea_5" - }, - { - "name": "spend_time_idea_6", - "value": "Have tea after school", - "type": "set_variable", - "_nested_name": "spend_time_idea_6" - }, - { - "name": "spend_time_idea_7", - "value": "Watch a T.V. show", - "type": "set_variable", - "_nested_name": "spend_time_idea_7" - }, - { - "name": "spend_time_idea_8", - "value": "Review homework", - "type": "set_variable", - "_nested_name": "spend_time_idea_8" - }, - { - "name": "spend_time_idea_9", - "value": "Chat before bedtime", - "type": "set_variable", - "_nested_name": "spend_time_idea_9" - }, - { - "name": "spend_time_idea_10", - "value": "Play a game/sport", - "type": "set_variable", - "_nested_name": "spend_time_idea_10" - }, - { - "name": "answer_list", - "value": [ - "name:name_1 | text:@local.spend_time_idea_1", - "name:name_2 | text:@local.spend_time_idea_2", - "name:name_3 | text:@local.spend_time_idea_3", - "name:name_4 | text:@local.spend_time_idea_4", - "name:name_5 | text:@local.spend_time_idea_5", - "name:name_6 | text:@local.spend_time_idea_6", - "name:name_7 | text:@local.spend_time_idea_7", - "name:name_8 | text:@local.spend_time_idea_8", - "name:name_9 | text:@local.spend_time_idea_9", - "name:name_10 | text:@local.spend_time_idea_10" ], - "type": "set_variable", - "_nested_name": "answer_list", - "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "name:name_1 | text:@local.spend_time_idea_1", - "matchedExpression": "@local.spend_time_idea_1", - "type": "local", - "fieldName": "spend_time_idea_1" - } + "_nested_name": "watch" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" + }, + { + "flow_type": "template", + "flow_name": "ending", + "status": "released", + "rows": [ + { + "type": "template", + "name": "watch", + "value": "watch", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "1": [ - { - "fullExpression": "name:name_2 | text:@local.spend_time_idea_2", - "matchedExpression": "@local.spend_time_idea_2", - "type": "local", - "fieldName": "spend_time_idea_2" - } + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" ], - "2": [ + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" + } + ], + "rows": [ + { + "type": "nested_properties", + "name": "workshop_activity", + "rows": [ { - "fullExpression": "name:name_3 | text:@local.spend_time_idea_3", - "matchedExpression": "@local.spend_time_idea_3", - "type": "local", - "fieldName": "spend_time_idea_3" - } - ], - "3": [ + "name": "activity_title", + "value": "Let's Slow Down", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.activity_title" + }, { - "fullExpression": "name:name_4 | text:@local.spend_time_idea_4", - "matchedExpression": "@local.spend_time_idea_4", - "type": "local", - "fieldName": "spend_time_idea_4" - } - ], - "4": [ + "name": "activity_image", + "value": "plh_images/workshop_modes/group/cup.svg", + "condition": "@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } + }, { - "fullExpression": "name:name_5 | text:@local.spend_time_idea_5", - "matchedExpression": "@local.spend_time_idea_5", - "type": "local", - "fieldName": "spend_time_idea_5" - } - ], - "5": [ + "name": "activity_image", + "value": "plh_images/workshop_modes/guide_2/cup.svg", + "condition": "!@fields.do_workshops_together", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.activity_image", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@fields.do_workshops_together", + "matchedExpression": "@fields.do_workshops_together", + "type": "fields", + "fieldName": "do_workshops_together" + } + ] + }, + "_dynamicDependencies": { + "@fields.do_workshops_together": [ + "condition" + ] + } + }, { - "fullExpression": "name:name_6 | text:@local.spend_time_idea_6", - "matchedExpression": "@local.spend_time_idea_6", - "type": "local", - "fieldName": "spend_time_idea_6" - } - ], - "6": [ + "name": "intro_title", + "value": "Well done!", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.intro_title" + }, { - "fullExpression": "name:name_7 | text:@local.spend_time_idea_7", - "matchedExpression": "@local.spend_time_idea_7", - "type": "local", - "fieldName": "spend_time_idea_7" - } - ], - "7": [ + "name": "intro_text", + "value": "You’ve completed this week’s workshop. ", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.intro_text" + }, { - "fullExpression": "name:name_8 | text:@local.spend_time_idea_8", - "matchedExpression": "@local.spend_time_idea_8", - "type": "local", - "fieldName": "spend_time_idea_8" - } - ], - "8": [ + "name": "activity_banner", + "hidden": false, + "type": "set_variable", + "_nested_name": "watch.workshop_activity.activity_banner" + }, { - "fullExpression": "name:name_9 | text:@local.spend_time_idea_9", - "matchedExpression": "@local.spend_time_idea_9", - "type": "local", - "fieldName": "spend_time_idea_9" - } - ], - "9": [ + "type": "nested_properties", + "name": "intro_nav_buttons", + "rows": [ + { + "name": "button_completed", + "value": "Finish with a song", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.intro_nav_buttons.button_completed" + } + ], + "_nested_name": "watch.workshop_activity.intro_nav_buttons" + }, { - "fullExpression": "name:name_10 | text:@local.spend_time_idea_10", - "matchedExpression": "@local.spend_time_idea_10", - "type": "local", - "fieldName": "spend_time_idea_10" + "type": "nested_properties", + "name": "content_box", + "rows": [ + { + "name": "video_src", + "value": "plh_video/lets_slow_down.mp4", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.content_box.video_src" + }, + { + "name": "bottom_text", + "value": "See you soon.", + "hidden": false, + "type": "set_variable", + "_nested_name": "watch.workshop_activity.content_box.bottom_text" + }, + { + "type": "nested_properties", + "name": "nav_buttons", + "rows": [ + { + "name": "button_completed", + "value": "Goodbye!", + "type": "set_variable", + "_nested_name": "watch.workshop_activity.content_box.nav_buttons.button_completed" + } + ], + "_nested_name": "watch.workshop_activity.content_box.nav_buttons" + } + ], + "_nested_name": "watch.workshop_activity.content_box" } - ] + ], + "_nested_name": "watch.workshop_activity" } - }, - "_dynamicDependencies": { - "@local.spend_time_idea_1": [ - "value.0" - ], - "@local.spend_time_idea_2": [ - "value.1" - ], - "@local.spend_time_idea_3": [ - "value.2" - ], - "@local.spend_time_idea_4": [ - "value.3" - ], - "@local.spend_time_idea_5": [ - "value.4" - ], - "@local.spend_time_idea_6": [ - "value.5" - ], - "@local.spend_time_idea_7": [ - "value.6" - ], - "@local.spend_time_idea_8": [ - "value.7" - ], - "@local.spend_time_idea_9": [ - "value.8" - ], - "@local.spend_time_idea_10": [ - "value.9" - ] - } + ], + "_nested_name": "watch" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/mode_templates/welcome.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_advanced_dashed_box_1", + "status": "released", + "rows": [ + { + "type": "advanced_dashed_box", + "name": "dashed_box_test", + "rows": [ + { + "type": "subtitle", + "value": "s simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has", + "parameter_list": { + "style": "emphasised center" + }, + "exclude_from_translation": true, + "name": "subtitle", + "_nested_name": "dashed_box_test.subtitle" + }, + { + "type": "display_group", + "name": "display_group", + "rows": [ + { + "type": "button", + "value": "test", + "name": "button", + "_nested_name": "dashed_box_test.display_group.button" + } + ], + "_nested_name": "dashed_box_test.display_group" + } + ], + "_nested_name": "dashed_box_test" }, { - "type": "combo_box", - "name": "combo_box_4", + "type": "display_group", + "name": "display_group", "parameter_list": { - "answer_list": "@local.answer_list" + "type": "dashed_box" }, - "_nested_name": "combo_box_4", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] + "rows": [ + { + "type": "subtitle", + "value": "Every time you do a relax, tap the ParentPoint and celebrate your success!", + "parameter_list": { + "style": "emphasised center", + "text_align": "center" + }, + "exclude_from_translation": true, + "name": "subtitle", + "_nested_name": "display_group.subtitle" + }, + { + "type": "parent_point_box", + "name": "points_example_1", + "value": 3, + "parameter_list": { + "lottie_src": "lottie_animations/parent_centre.json", + "text": "text two" + }, + "_nested_name": "display_group.points_example_1" } + ], + "_nested_name": "display_group" + }, + { + "type": "display_group", + "name": "display_group", + "parameter_list": { + "type": "dashed_box" }, - "_dynamicDependencies": { - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } + "rows": [ + { + "type": "subtitle", + "value": "small text here", + "parameter_list": { + "style": "emphasised center" + }, + "name": "subtitle", + "_nested_name": "display_group.subtitle" + }, + { + "type": "parent_point_box", + "name": "points_example_1", + "value": 3, + "parameter_list": { + "lottie_src": "lottie_animations/parent_centre.json", + "text": "text two" + }, + "_nested_name": "display_group.points_example_1" + } + ], + "_nested_name": "display_group" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_component_variables.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_advanced_dashed_box.xlsx" }, { "flow_type": "template", - "flow_name": "debug_radio_group_variables", + "flow_name": "debug_advanced_dashed_box_2", "status": "released", "rows": [ { - "name": "option_1", - "value": "Option 1", - "type": "set_variable", - "_nested_name": "option_1" - }, - { - "name": "option_2", - "value": "Option 2", - "type": "set_variable", - "_nested_name": "option_2" - }, - { - "name": "option_3", - "value": "Option 3", - "type": "set_variable", - "_nested_name": "option_3" - }, - { - "name": "answer_1_list", - "value": [ - "name:name_1 | text:Text 1", - "name:name_2 | text: Text 2" - ], - "type": "set_variable", - "_nested_name": "answer_1_list" - }, + "type": "advanced_dashed_box", + "name": "dashed_box", + "rows": [], + "_nested_name": "dashed_box" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_advanced_dashed_box.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_campaign", + "status": "released", + "rows": [ { - "name": "answer_2_list", - "value": [ - "name:name_1 | text:@local.option_1", - "name:name_2 | text:@local.option_2" - ], + "name": "active_campaign", + "value": "@campaign.debug_campaign", "type": "set_variable", - "_nested_name": "answer_2_list", + "_nested_name": "active_campaign", "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "name:name_1 | text:@local.option_1", - "matchedExpression": "@local.option_1", - "type": "local", - "fieldName": "option_1" - } - ], - "1": [ - { - "fullExpression": "name:name_2 | text:@local.option_2", - "matchedExpression": "@local.option_2", - "type": "local", - "fieldName": "option_2" - } - ] - } + "value": [ + { + "fullExpression": "@campaign.debug_campaign", + "matchedExpression": "@campaign.debug_campaign", + "type": "campaign", + "fieldName": "debug_campaign" + } + ] }, "_dynamicDependencies": { - "@local.option_1": [ - "value.0" - ], - "@local.option_2": [ - "value.1" + "@campaign.debug_campaign": [ + "value" ] } }, { - "name": "answer_3_list", - "value": [ - "name:name_1 | text:@global.example_global_constant_text", - "name:name_2 | text:@global.example_global_constant_title" - ], - "type": "set_variable", - "_nested_name": "answer_3_list", - "_dynamicFields": { - "value": { - "0": [ + "type": "display_group", + "condition": "@local.active_campaign.id", + "parameter_list": { + "style": "column" + }, + "rows": [ + { + "type": "text", + "name": "campaign_id", + "value": "Campaign id: @local.active_campaign.id", + "_nested_name": "display_group.campaign_id", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Campaign id: @local.active_campaign.id", + "matchedExpression": "@local.active_campaign.id", + "type": "local", + "fieldName": "active_campaign" + } + ] + }, + "_dynamicDependencies": { + "@local.active_campaign.id": [ + "value" + ] + } + }, + { + "type": "round_button", + "name": "campaign_quickstart", + "action_list": [ { - "fullExpression": "name:name_1 | text:@global.example_global_constant_text", - "matchedExpression": "@global.example_global_constant_text", - "type": "global", - "fieldName": "example_global_constant_text" + "trigger": "click", + "action_id": "trigger_actions", + "args": [ + "@local.active_campaign.click_action_list" + ], + "_raw": "click | trigger_actions: @local.active_campaign.click_action_list", + "_cleaned": "click | trigger_actions: @local.active_campaign.click_action_list" + }, + { + "trigger": "click", + "action_id": "set_local", + "args": [ + "active_campaign", + false + ], + "_raw": "click | set_local: active_campaign : false", + "_cleaned": "click | set_local: active_campaign : false" } ], - "1": [ - { - "fullExpression": "name:name_2 | text:@global.example_global_constant_title", - "matchedExpression": "@global.example_global_constant_title", - "type": "global", - "fieldName": "example_global_constant_title" + "parameter_list": { + "icon_src": "@local.active_campaign.icon", + "text": "@local.active_campaign.text", + "style": "home_screen yellow" + }, + "style_list": [ + "padding: 0" + ], + "_nested_name": "display_group.campaign_quickstart", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.active_campaign.click_action_list", + "matchedExpression": "@local.active_campaign.click_action_list", + "type": "local", + "fieldName": "active_campaign" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | trigger_actions: @local.active_campaign.click_action_list", + "matchedExpression": "@local.active_campaign.click_action_list", + "type": "local", + "fieldName": "active_campaign" + } + ], + "_cleaned": [ + { + "fullExpression": "click | trigger_actions: @local.active_campaign.click_action_list", + "matchedExpression": "@local.active_campaign.click_action_list", + "type": "local", + "fieldName": "active_campaign" + } + ] + } + }, + "parameter_list": { + "icon_src": [ + { + "fullExpression": "@local.active_campaign.icon", + "matchedExpression": "@local.active_campaign.icon", + "type": "local", + "fieldName": "active_campaign" + } + ], + "text": [ + { + "fullExpression": "@local.active_campaign.text", + "matchedExpression": "@local.active_campaign.text", + "type": "local", + "fieldName": "active_campaign" + } + ] } - ] + }, + "_dynamicDependencies": { + "@local.active_campaign.click_action_list": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.active_campaign.icon": [ + "parameter_list.icon_src" + ], + "@local.active_campaign.text": [ + "parameter_list.text" + ] + } } + ], + "name": "display_group", + "_nested_name": "display_group", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@local.active_campaign.id", + "matchedExpression": "@local.active_campaign.id", + "type": "local", + "fieldName": "active_campaign" + } + ] }, "_dynamicDependencies": { - "@global.example_global_constant_text": [ - "value.0" - ], - "@global.example_global_constant_title": [ - "value.1" + "@local.active_campaign.id": [ + "condition" ] } }, { - "type": "text", - "name": "text_1", - "value": "This is the radio group variables debug template", - "_nested_name": "text_1" - }, - { - "type": "text", - "name": "text_2", - "value": "Direct answer list (set through local variable)", - "_nested_name": "text_2" - }, + "type": "button", + "name": "clear_reminders", + "value": "Reset Reminders", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_default.sent", + false + ], + "_raw": "click | set_field : debug_reminder_default.sent : false", + "_cleaned": "click | set_field : debug_reminder_default.sent : false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_1.sent", + false + ], + "_raw": "click | set_field : debug_reminder_1.sent : false", + "_cleaned": "click | set_field : debug_reminder_1.sent : false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_2.sent", + false + ], + "_raw": "click | set_field : debug_reminder_2.sent : false", + "_cleaned": "click | set_field : debug_reminder_2.sent : false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_3.sent", + false + ], + "_raw": "click | set_field : debug_reminder_3.sent : false", + "_cleaned": "click | set_field : debug_reminder_3.sent : false" + } + ], + "_nested_name": "clear_reminders" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_campaigns.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_campaign_2", + "status": "released", + "rows": [ { - "type": "radio_group", - "name": "radio_group_1", - "parameter_list": { - "answer_list": "@local.answer_1_list" - }, - "_nested_name": "radio_group_1", + "name": "active_campaign_2", + "value": "@campaign.debug_campaign_2", + "type": "set_variable", + "_nested_name": "active_campaign_2", "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_1_list", - "matchedExpression": "@local.answer_1_list", - "type": "local", - "fieldName": "answer_1_list" - } - ] - } + "value": [ + { + "fullExpression": "@campaign.debug_campaign_2", + "matchedExpression": "@campaign.debug_campaign_2", + "type": "campaign", + "fieldName": "debug_campaign_2" + } + ] }, "_dynamicDependencies": { - "@local.answer_1_list": [ - "parameter_list.answer_list" + "@campaign.debug_campaign_2": [ + "value" ] } }, { - "type": "text", - "name": "text_3", - "value": "Answer list contains local variables", - "_nested_name": "text_3" - }, - { - "type": "radio_group", - "name": "radio_group_2", + "type": "display_group", "parameter_list": { - "answer_list": "@local.answer_2_list" + "style": "column" }, - "_nested_name": "radio_group_2", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ + "rows": [ + { + "type": "text", + "name": "campaign_id", + "value": "Campaign id: @local.active_campaign_2.id", + "_nested_name": "display_group.campaign_id", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Campaign id: @local.active_campaign_2.id", + "matchedExpression": "@local.active_campaign_2.id", + "type": "local", + "fieldName": "active_campaign_2" + } + ] + }, + "_dynamicDependencies": { + "@local.active_campaign_2.id": [ + "value" + ] + } + }, + { + "type": "round_button", + "name": "campaign_2_quickstart", + "action_list": [ { - "fullExpression": "@local.answer_2_list", - "matchedExpression": "@local.answer_2_list", - "type": "local", - "fieldName": "answer_2_list" + "trigger": "click", + "action_id": "trigger_actions", + "args": [ + "@local.active_campaign_2.click_action_list" + ], + "_raw": "click | trigger_actions: @local.active_campaign_2.click_action_list", + "_cleaned": "click | trigger_actions: @local.active_campaign_2.click_action_list" } - ] + ], + "parameter_list": { + "icon_src": "@local.active_campaign_2.icon", + "text": "@local.active_campaign_2.text", + "style": "home_screen orange" + }, + "style_list": [ + "padding: 0" + ], + "_nested_name": "display_group.campaign_2_quickstart", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.active_campaign_2.click_action_list", + "matchedExpression": "@local.active_campaign_2.click_action_list", + "type": "local", + "fieldName": "active_campaign_2" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | trigger_actions: @local.active_campaign_2.click_action_list", + "matchedExpression": "@local.active_campaign_2.click_action_list", + "type": "local", + "fieldName": "active_campaign_2" + } + ], + "_cleaned": [ + { + "fullExpression": "click | trigger_actions: @local.active_campaign_2.click_action_list", + "matchedExpression": "@local.active_campaign_2.click_action_list", + "type": "local", + "fieldName": "active_campaign_2" + } + ] + } + }, + "parameter_list": { + "icon_src": [ + { + "fullExpression": "@local.active_campaign_2.icon", + "matchedExpression": "@local.active_campaign_2.icon", + "type": "local", + "fieldName": "active_campaign_2" + } + ], + "text": [ + { + "fullExpression": "@local.active_campaign_2.text", + "matchedExpression": "@local.active_campaign_2.text", + "type": "local", + "fieldName": "active_campaign_2" + } + ] + } + }, + "_dynamicDependencies": { + "@local.active_campaign_2.click_action_list": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.active_campaign_2.icon": [ + "parameter_list.icon_src" + ], + "@local.active_campaign_2.text": [ + "parameter_list.text" + ] + } } - }, - "_dynamicDependencies": { - "@local.answer_2_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "text_4", - "value": "Answer list contains global variables", - "_nested_name": "text_4" + ], + "name": "display_group", + "_nested_name": "display_group" }, { - "type": "radio_group", - "name": "radio_group_3", - "parameter_list": { - "answer_list": "@local.answer_3_list" - }, - "_nested_name": "radio_group_3", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_3_list", - "matchedExpression": "@local.answer_3_list", - "type": "local", - "fieldName": "answer_3_list" - } - ] + "type": "button", + "name": "clear_reminders", + "value": "Reset Reminders", + "action_list": [ + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_default.sent", + false + ], + "_raw": "click | set_field : debug_reminder_default.sent : false", + "_cleaned": "click | set_field : debug_reminder_default.sent : false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_5.sent", + false + ], + "_raw": "click | set_field : debug_reminder_5.sent : false", + "_cleaned": "click | set_field : debug_reminder_5.sent : false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_6.sent", + false + ], + "_raw": "click | set_field : debug_reminder_6.sent : false", + "_cleaned": "click | set_field : debug_reminder_6.sent : false" + }, + { + "trigger": "click", + "action_id": "set_field", + "args": [ + "debug_reminder_7.sent", + false + ], + "_raw": "click | set_field : debug_reminder_7.sent : false", + "_cleaned": "click | set_field : debug_reminder_7.sent : false" } - }, - "_dynamicDependencies": { - "@local.answer_3_list": [ - "parameter_list.answer_list" - ] - } + ], + "_nested_name": "clear_reminders" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_component_variables.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_campaigns.xlsx" }, { "flow_type": "template", - "flow_name": "debug_conditional_messages_q1", + "flow_name": "debug_changed_radio_group_1", "status": "released", "rows": [ { "type": "set_field", - "name": "answer_q1", - "value": "NA", - "_nested_name": "answer_q1" + "name": "demo_changed_field_1", + "value": false, + "_nested_name": "demo_changed_field_1" }, { - "type": "slider", - "name": "slider_q1", + "name": "demo_changed_local", + "value": "demo_changed_field_2", + "type": "set_variable", + "_nested_name": "demo_changed_local" + }, + { + "name": "answer_list_2", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second" + ], + "type": "set_variable", + "_nested_name": "answer_list_2" + }, + { + "type": "radio_group", + "name": "radio_group", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "answer_q1", - "@local.slider_q1" + "@local.demo_changed_local", + "@local.radio_group" ], - "_raw": "changed | set_field:answer_q1:@local.slider_q1", - "_cleaned": "changed | set_field:answer_q1:@local.slider_q1" + "_raw": "changed | set_field: @local.demo_changed_local: @local.radio_group", + "_cleaned": "changed | set_field: @local.demo_changed_local: @local.radio_group" } ], "parameter_list": { - "title": "Question 1" + "answer_list": "@local.answer_list_2" }, - "_nested_name": "slider_q1", + "_nested_name": "radio_group", "_dynamicFields": { "action_list": { "0": { "args": { + "0": [ + { + "fullExpression": "@local.demo_changed_local", + "matchedExpression": "@local.demo_changed_local", + "type": "local", + "fieldName": "demo_changed_local" + } + ], "1": [ { - "fullExpression": "@local.slider_q1", - "matchedExpression": "@local.slider_q1", + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_q1" + "fieldName": "radio_group" } ] }, "_raw": [ { - "fullExpression": "changed | set_field:answer_q1:@local.slider_q1", - "matchedExpression": "@local.slider_q1", + "fullExpression": "changed | set_field: @local.demo_changed_local: @local.radio_group", + "matchedExpression": "@local.demo_changed_local", "type": "local", - "fieldName": "slider_q1" + "fieldName": "demo_changed_local" + }, + { + "fullExpression": "changed | set_field: @local.demo_changed_local: @local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:answer_q1:@local.slider_q1", - "matchedExpression": "@local.slider_q1", + "fullExpression": "changed | set_field: @local.demo_changed_local: @local.radio_group", + "matchedExpression": "@local.demo_changed_local", "type": "local", - "fieldName": "slider_q1" + "fieldName": "demo_changed_local" + }, + { + "fullExpression": "changed | set_field: @local.demo_changed_local: @local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" } ] } + }, + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" + } + ] } }, "_dynamicDependencies": { - "@local.slider_q1": [ + "@local.demo_changed_local": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.radio_group": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" + ], + "@local.answer_list_2": [ + "parameter_list.answer_list" ] } }, { "type": "text", - "name": "text_q1", - "value": "answer to q1 saved in field answer_q1: @field.answer_q1", - "_nested_name": "text_q1", + "name": "text_1", + "value": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", + "hidden": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", + "_nested_name": "text_1", "_dynamicFields": { "value": [ { - "fullExpression": "answer to q1 saved in field answer_q1: @field.answer_q1", - "matchedExpression": "@field.answer_q1", + "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_1", "type": "field", - "fieldName": "answer_q1" + "fieldName": "demo_changed_field_1" + }, + { + "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_2", + "type": "field", + "fieldName": "demo_changed_field_2" + } + ], + "hidden": [ + { + "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_1", + "type": "field", + "fieldName": "demo_changed_field_1" + }, + { + "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_2", + "type": "field", + "fieldName": "demo_changed_field_2" } ] }, "_dynamicDependencies": { - "@field.answer_q1": [ - "value" + "@field.demo_changed_field_1": [ + "value", + "hidden" + ], + "@field.demo_changed_field_2": [ + "value", + "hidden" ] } }, { - "type": "button", - "name": "go_to_q2", - "value": "Go to Q2", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "debug_conditional_messages_q2" - ], - "_raw": "click | go_to:debug_conditional_messages_q2", - "_cleaned": "click | go_to:debug_conditional_messages_q2" - } - ], - "_nested_name": "go_to_q2" + "type": "text", + "name": "text_2", + "value": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", + "hidden": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", + "_nested_name": "text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_1", + "type": "field", + "fieldName": "demo_changed_field_1" + }, + { + "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_2", + "type": "field", + "fieldName": "demo_changed_field_2" + } + ], + "hidden": [ + { + "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_1", + "type": "field", + "fieldName": "demo_changed_field_1" + }, + { + "fullExpression": "@field.demo_changed_field_1 || \"@field.demo_changed_field_2\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_2", + "type": "field", + "fieldName": "demo_changed_field_2" + } + ] + }, + "_dynamicDependencies": { + "@field.demo_changed_field_1": [ + "value", + "hidden" + ], + "@field.demo_changed_field_2": [ + "value", + "hidden" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_conditional_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_changed_radio_group.xlsx" }, { "flow_type": "template", - "flow_name": "debug_conditional_messages_q2", + "flow_name": "debug_changed_radio_group_2", "status": "released", "rows": [ { "type": "set_field", - "name": "answer_q2", - "value": "NA", - "_nested_name": "answer_q2" + "name": "demo_changed_field_3", + "value": false, + "_nested_name": "demo_changed_field_3" }, { - "type": "slider", - "name": "slider_q2", + "name": "answer_list_2", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second" + ], + "type": "set_variable", + "_nested_name": "answer_list_2" + }, + { + "type": "radio_group", + "name": "radio_group", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "answer_q2", - "@local.slider_q2" + "demo_changed_field_4", + "@local.radio_group" ], - "_raw": "changed | set_field:answer_q2:@local.slider_q2", - "_cleaned": "changed | set_field:answer_q2:@local.slider_q2" + "_raw": "changed | set_field: demo_changed_field_4: @local.radio_group", + "_cleaned": "changed | set_field: demo_changed_field_4: @local.radio_group" } ], "parameter_list": { - "title": "Question 2" + "answer_list": "@local.answer_list_2" }, - "_nested_name": "slider_q2", + "_nested_name": "radio_group", "_dynamicFields": { "action_list": { "0": { "args": { "1": [ { - "fullExpression": "@local.slider_q2", - "matchedExpression": "@local.slider_q2", + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_q2" + "fieldName": "radio_group" } ] }, "_raw": [ { - "fullExpression": "changed | set_field:answer_q2:@local.slider_q2", - "matchedExpression": "@local.slider_q2", + "fullExpression": "changed | set_field: demo_changed_field_4: @local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_q2" + "fieldName": "radio_group" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:answer_q2:@local.slider_q2", - "matchedExpression": "@local.slider_q2", + "fullExpression": "changed | set_field: demo_changed_field_4: @local.radio_group", + "matchedExpression": "@local.radio_group", "type": "local", - "fieldName": "slider_q2" + "fieldName": "radio_group" } ] } + }, + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" + } + ] } }, "_dynamicDependencies": { - "@local.slider_q2": [ + "@local.radio_group": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" + ], + "@local.answer_list_2": [ + "parameter_list.answer_list" ] } }, { "type": "text", - "name": "text_q2", - "value": "answer to q2 saved in field answer_q2: @field.answer_q2", - "_nested_name": "text_q2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "answer to q2 saved in field answer_q2: @field.answer_q2", - "matchedExpression": "@field.answer_q2", - "type": "field", - "fieldName": "answer_q2" - } - ] - }, - "_dynamicDependencies": { - "@field.answer_q2": [ - "value" - ] - } - }, - { - "type": "button", - "name": "back_to_q1", - "value": "Back to Q1", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "debug_conditional_messages_q1" - ], - "_raw": "click | go_to:debug_conditional_messages_q1", - "_cleaned": "click | go_to:debug_conditional_messages_q1" - } - ], - "_nested_name": "back_to_q1" - }, - { - "type": "button", - "name": "conditional_texts", - "value": "Go to conditional texts", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "debug_conditional_texts" - ], - "_raw": "click | go_to:debug_conditional_texts", - "_cleaned": "click | go_to:debug_conditional_texts" - } - ], - "_nested_name": "conditional_texts" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_conditional_messages.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_conditional_texts", - "status": "released", - "rows": [ - { - "type": "text", - "name": "text_q1", - "value": "answer to q1 saved in field answer_q1: @field.answer_q1", - "_nested_name": "text_q1", + "name": "text_1", + "value": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", + "hidden": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", + "_nested_name": "text_1", "_dynamicFields": { "value": [ { - "fullExpression": "answer to q1 saved in field answer_q1: @field.answer_q1", - "matchedExpression": "@field.answer_q1", + "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_3", "type": "field", - "fieldName": "answer_q1" - } - ] - }, - "_dynamicDependencies": { - "@field.answer_q1": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_q2", - "value": "answer to q2 saved in field answer_q2: @field.answer_q2", - "_nested_name": "text_q2", - "_dynamicFields": { - "value": [ + "fieldName": "demo_changed_field_3" + }, { - "fullExpression": "answer to q2 saved in field answer_q2: @field.answer_q2", - "matchedExpression": "@field.answer_q2", + "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_4", "type": "field", - "fieldName": "answer_q2" + "fieldName": "demo_changed_field_4" } - ] - }, - "_dynamicDependencies": { - "@field.answer_q2": [ - "value" - ] - } - }, - { - "type": "title", - "name": "title_1", - "value": "Hidden column", - "_nested_name": "title_1" - }, - { - "type": "text", - "name": "conditional_text_1", - "value": "This text shows if the answer to Q1 is less than 4", - "hidden": "@field.answer_q1>=4", - "_nested_name": "conditional_text_1", - "_dynamicFields": { + ], "hidden": [ { - "fullExpression": "@field.answer_q1>=4", - "matchedExpression": "@field.answer_q1", + "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_3", "type": "field", - "fieldName": "answer_q1" - } - ] - }, - "_dynamicDependencies": { - "@field.answer_q1": [ - "hidden" - ] - } - }, - { - "type": "text", - "name": "conditional_text_2", - "value": "This text shows if the answer to Q2 is less than 4", - "hidden": "@field.answer_q2>=4", - "_nested_name": "conditional_text_2", - "_dynamicFields": { - "hidden": [ + "fieldName": "demo_changed_field_3" + }, { - "fullExpression": "@field.answer_q2>=4", - "matchedExpression": "@field.answer_q2", + "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_4", "type": "field", - "fieldName": "answer_q2" + "fieldName": "demo_changed_field_4" } ] }, "_dynamicDependencies": { - "@field.answer_q2": [ + "@field.demo_changed_field_3": [ + "value", + "hidden" + ], + "@field.demo_changed_field_4": [ + "value", "hidden" ] } }, { "type": "text", - "name": "conditional_text_3", - "value": "This text shows if the answer to Q1 is greater than or equal to 4 and the answer to Q2 is greater than or equal to 4", - "hidden": "@field.answer_q1<4 || @field.answer_q2<4", - "_nested_name": "conditional_text_3", + "name": "text_2", + "value": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", + "hidden": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", + "_nested_name": "text_2", "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_3", + "type": "field", + "fieldName": "demo_changed_field_3" + }, + { + "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_4", + "type": "field", + "fieldName": "demo_changed_field_4" + } + ], "hidden": [ { - "fullExpression": "@field.answer_q1<4 || @field.answer_q2<4", - "matchedExpression": "@field.answer_q1", + "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_3", "type": "field", - "fieldName": "answer_q1" + "fieldName": "demo_changed_field_3" }, { - "fullExpression": "@field.answer_q1<4 || @field.answer_q2<4", - "matchedExpression": "@field.answer_q2", + "fullExpression": "@field.demo_changed_field_3 || \"@field.demo_changed_field_4\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_4", "type": "field", - "fieldName": "answer_q2" + "fieldName": "demo_changed_field_4" } ] }, "_dynamicDependencies": { - "@field.answer_q1": [ + "@field.demo_changed_field_3": [ + "value", "hidden" ], - "@field.answer_q2": [ + "@field.demo_changed_field_4": [ + "value", "hidden" ] } - }, + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_changed_radio_group.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_changed_radio_group_3", + "status": "released", + "rows": [ { - "type": "title", - "name": "title_2", - "value": "Condition column ", - "_nested_name": "title_2" + "type": "set_field", + "name": "demo_changed_field_5", + "value": false, + "_nested_name": "demo_changed_field_5" }, { - "type": "text", - "name": "conditional_text", - "value": "This text is created if the answer to Q1 is greater than or equal to 4", - "condition": "@field.answer_q1>=4", - "_nested_name": "conditional_text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.answer_q1>=4", - "matchedExpression": "@field.answer_q1", - "type": "field", - "fieldName": "answer_q1" - } - ] - }, - "_dynamicDependencies": { - "@field.answer_q1": [ - "condition" - ] - } + "name": "answer_list_2", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second" + ], + "type": "set_variable", + "_nested_name": "answer_list_2" }, { - "type": "text", - "name": "conditional_text", - "value": "This text is created if the answer to Q1 is less than 4", - "condition": "!(@field.answer_q1>=4)", - "_nested_name": "conditional_text", + "type": "radio_group", + "name": "radio_group", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_field_6", + "@local.radio_group" + ], + "_raw": "changed | set_field: demo_changed_field_6: @local.radio_group", + "_cleaned": "changed | set_field: demo_changed_field_6: @local.radio_group" + } + ], + "parameter_list": { + "answer_list": "@local.answer_list_2" + }, + "_nested_name": "radio_group", "_dynamicFields": { - "condition": [ - { - "fullExpression": "!(@field.answer_q1>=4)", - "matchedExpression": "@field.answer_q1", - "type": "field", - "fieldName": "answer_q1" + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: demo_changed_field_6: @local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: demo_changed_field_6: @local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] } - ] + }, + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" + } + ] + } }, "_dynamicDependencies": { - "@field.answer_q1": [ - "condition" + "@local.radio_group": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.answer_list_2": [ + "parameter_list.answer_list" ] } }, - { - "type": "title", - "name": "title_2", - "value": "Condition column through a nested template", - "_nested_name": "title_2" - }, { "type": "template", "name": "example_text_1", "value": "example_text", + "hidden": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", "rows": [ { "name": "text", - "value": "This text is created if the answer to Q1 is greater than or equal to 4", - "condition": "@field.answer_q1>=4", + "value": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", "type": "set_variable", "_nested_name": "example_text_1.text", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "@field.answer_q1>=4", - "matchedExpression": "@field.answer_q1", + "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_5", "type": "field", - "fieldName": "answer_q1" + "fieldName": "demo_changed_field_5" + }, + { + "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_6", + "type": "field", + "fieldName": "demo_changed_field_6" } ] }, "_dynamicDependencies": { - "@field.answer_q1": [ - "condition" + "@field.demo_changed_field_5": [ + "value" + ], + "@field.demo_changed_field_6": [ + "value" ] } - }, + } + ], + "_nested_name": "example_text_1", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_5", + "type": "field", + "fieldName": "demo_changed_field_5" + }, + { + "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_6", + "type": "field", + "fieldName": "demo_changed_field_6" + } + ] + }, + "_dynamicDependencies": { + "@field.demo_changed_field_5": [ + "hidden" + ], + "@field.demo_changed_field_6": [ + "hidden" + ] + } + }, + { + "type": "template", + "name": "example_text_2", + "value": "example_text", + "hidden": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", + "rows": [ { "name": "text", - "value": "This text is created if the answer to Q1 is less than 4", - "condition": "!(@field.answer_q1>=4)", + "value": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", "type": "set_variable", - "_nested_name": "example_text_1.text", + "_nested_name": "example_text_2.text", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "!(@field.answer_q1>=4)", - "matchedExpression": "@field.answer_q1", + "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_5", "type": "field", - "fieldName": "answer_q1" + "fieldName": "demo_changed_field_5" + }, + { + "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_6", + "type": "field", + "fieldName": "demo_changed_field_6" } ] }, "_dynamicDependencies": { - "@field.answer_q1": [ - "condition" + "@field.demo_changed_field_5": [ + "value" + ], + "@field.demo_changed_field_6": [ + "value" ] } } ], - "_nested_name": "example_text_1" + "_nested_name": "example_text_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_5", + "type": "field", + "fieldName": "demo_changed_field_5" + }, + { + "fullExpression": "@field.demo_changed_field_5 || \"@field.demo_changed_field_6\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_6", + "type": "field", + "fieldName": "demo_changed_field_6" + } + ] + }, + "_dynamicDependencies": { + "@field.demo_changed_field_5": [ + "hidden" + ], + "@field.demo_changed_field_6": [ + "hidden" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_changed_radio_group.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_changed_radio_group_4", + "status": "released", + "rows": [ + { + "type": "set_field", + "name": "demo_changed_field_7", + "value": false, + "_nested_name": "demo_changed_field_7" }, { - "type": "button", - "name": "back_to_q1", - "value": "Back to Q2", + "name": "answer_list_2", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second" + ], + "type": "set_variable", + "_nested_name": "answer_list_2" + }, + { + "type": "radio_group", + "name": "radio_group", "action_list": [ { - "trigger": "click", - "action_id": "go_to", + "trigger": "changed", + "action_id": "set_field", "args": [ - "debug_conditional_messages_q2" + "demo_changed_field_8", + "@local.radio_group" ], - "_raw": "click | go_to:debug_conditional_messages_q2", - "_cleaned": "click | go_to:debug_conditional_messages_q2" + "_raw": "changed | set_field: demo_changed_field_8: @local.radio_group", + "_cleaned": "changed | set_field: demo_changed_field_8: @local.radio_group" } ], - "_nested_name": "back_to_q1" - }, - { - "type": "template", - "name": "example_text_2", - "value": "example_text", - "rows": [ - { - "name": "text", - "value": "not printed", - "condition": "1>2", - "type": "set_variable", - "_nested_name": "example_text_2.text" + "parameter_list": { + "answer_list": "@local.answer_list_2" + }, + "_nested_name": "radio_group", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: demo_changed_field_8: @local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: demo_changed_field_8: @local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + } }, - { - "name": "text", - "value": "printed", - "condition": "2>1", - "type": "set_variable", - "_nested_name": "example_text_2.text" + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" + } + ] } - ], - "_nested_name": "example_text_2" + }, + "_dynamicDependencies": { + "@local.radio_group": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.answer_list_2": [ + "parameter_list.answer_list" + ] + } }, { "type": "template", - "name": "example_text_3", - "value": "example_text", + "name": "box_duo", + "value": "box_duo", "rows": [ { - "name": "text", - "value": "printed", - "condition": "2>1", - "type": "set_variable", - "_nested_name": "example_text_3.text" + "type": "nested_properties", + "name": "box_1", + "value": "example_text", + "hidden": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", + "rows": [ + { + "name": "text", + "value": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", + "type": "set_variable", + "_nested_name": "box_duo.box_1.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_7", + "type": "field", + "fieldName": "demo_changed_field_7" + }, + { + "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_8", + "type": "field", + "fieldName": "demo_changed_field_8" + } + ] + }, + "_dynamicDependencies": { + "@field.demo_changed_field_7": [ + "value" + ], + "@field.demo_changed_field_8": [ + "value" + ] + } + } + ], + "_nested_name": "box_duo.box_1", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_7", + "type": "field", + "fieldName": "demo_changed_field_7" + }, + { + "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_1\"", + "matchedExpression": "@field.demo_changed_field_8", + "type": "field", + "fieldName": "demo_changed_field_8" + } + ] + }, + "_dynamicDependencies": { + "@field.demo_changed_field_7": [ + "hidden" + ], + "@field.demo_changed_field_8": [ + "hidden" + ] + } }, { - "name": "text", - "value": "not printed", - "condition": "1>2", - "type": "set_variable", - "_nested_name": "example_text_3.text" + "type": "nested_properties", + "name": "box_2", + "value": "example_text", + "hidden": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", + "rows": [ + { + "name": "text", + "value": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", + "type": "set_variable", + "_nested_name": "box_duo.box_2.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_7", + "type": "field", + "fieldName": "demo_changed_field_7" + }, + { + "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_8", + "type": "field", + "fieldName": "demo_changed_field_8" + } + ] + }, + "_dynamicDependencies": { + "@field.demo_changed_field_7": [ + "value" + ], + "@field.demo_changed_field_8": [ + "value" + ] + } + } + ], + "_nested_name": "box_duo.box_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_7", + "type": "field", + "fieldName": "demo_changed_field_7" + }, + { + "fullExpression": "@field.demo_changed_field_7 || \"@field.demo_changed_field_8\"==\"name_var_2\"", + "matchedExpression": "@field.demo_changed_field_8", + "type": "field", + "fieldName": "demo_changed_field_8" + } + ] + }, + "_dynamicDependencies": { + "@field.demo_changed_field_7": [ + "hidden" + ], + "@field.demo_changed_field_8": [ + "hidden" + ] + } } ], - "_nested_name": "example_text_3" + "_nested_name": "box_duo" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_conditional_messages.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_changed_radio_group.xlsx" }, { "flow_type": "template", - "flow_name": "debug_data_image", + "flow_name": "debug_combo_box_value", "status": "released", "rows": [ { - "type": "text", - "name": "text_1", - "value": "Print text and image of item 1:\n\n@data.debug.item_1.text", - "_nested_name": "text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Print text and image of item 1:\n\n@data.debug.item_1.text", - "matchedExpression": "@data.debug.item_1.text", - "type": "data", - "fieldName": "debug" - } - ] - }, - "_dynamicDependencies": { - "@data.debug.item_1.text": [ - "value" - ] - } - }, - { - "type": "image", - "name": "image_1", - "value": "@data.debug.item_1.image_asset", - "_nested_name": "image_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug.item_1.image_asset", - "matchedExpression": "@data.debug.item_1.image_asset", - "type": "data", - "fieldName": "debug" - } - ] - }, - "_dynamicDependencies": { - "@data.debug.item_1.image_asset": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_2", - "value": "The parent point box below shows that the icon_src is NOT found when called through a data field", - "_nested_name": "text_2" - }, - { - "type": "parent_point_box", - "name": "parent_point_box_1", - "parameter_list": { - "text": "@data.debug.item_1.text", - "icon_src": "@data.debug.item_1.image_asset" - }, - "_nested_name": "parent_point_box_1", - "_dynamicFields": { - "parameter_list": { - "text": [ - { - "fullExpression": "@data.debug.item_1.text", - "matchedExpression": "@data.debug.item_1.text", - "type": "data", - "fieldName": "debug" - } - ], - "icon_src": [ - { - "fullExpression": "@data.debug.item_1.image_asset", - "matchedExpression": "@data.debug.item_1.image_asset", - "type": "data", - "fieldName": "debug" - } - ] - } - }, - "_dynamicDependencies": { - "@data.debug.item_1.text": [ - "parameter_list.text" - ], - "@data.debug.item_1.image_asset": [ - "parameter_list.icon_src" - ] - } - }, - { - "type": "text", - "name": "text_3", - "value": "The parent point box below shows that the icon_src IS found when called directly", - "_nested_name": "text_3" + "name": "answer_list", + "value": [ + "name: name_1 | text: This is text 1", + "name: name_2 | text: This is text 2", + "name: name_3 | text: This is text 3" + ], + "type": "set_variable", + "_nested_name": "answer_list" }, { - "type": "parent_point_box", - "name": "parent_point_box_2", + "type": "combo_box", + "name": "combo_box", + "value": "name_2", "parameter_list": { - "text": "@data.debug.item_1.text", - "icon_src": "plh_images/habits/habit_relax.svg" + "answer_list": "@local.answer_list" }, - "_nested_name": "parent_point_box_2", + "_nested_name": "combo_box", "_dynamicFields": { "parameter_list": { - "text": [ + "answer_list": [ { - "fullExpression": "@data.debug.item_1.text", - "matchedExpression": "@data.debug.item_1.text", - "type": "data", - "fieldName": "debug" + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" } ] } }, "_dynamicDependencies": { - "@data.debug.item_1.text": [ - "parameter_list.text" + "@local.answer_list": [ + "parameter_list.answer_list" ] } - }, + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_combo_box.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_combo_box_input", + "status": "released", + "rows": [ { - "value": "The tile below shows that the icon_src is NOT found when called through a data field", + "name": "answer_list", + "value": [ + "name: name_1 | text: This is text 1", + "name: name_2 | text: This is text 2", + "name: name_3 | text: This is text 3" + ], "type": "set_variable", - "name": "set_variable", - "_nested_name": "set_variable" + "_nested_name": "answer_list" }, { - "type": "tile_component", - "name": "quick_start_tile_1", + "type": "combo_box", + "name": "combo_box", "parameter_list": { - "style": "quick_start_dark", - "first_line_text": "@data.debug.item_2.text", - "second_line_text": "image through data", - "icon_src": "@data.debug.item_2.image_asset" + "answer_list": "@local.answer_list", + "placeholder": "Click here to answer", + "input_allowed": "true", + "answer_placeholder": "Type your own" }, - "_nested_name": "quick_start_tile_1", + "_nested_name": "combo_box", "_dynamicFields": { "parameter_list": { - "first_line_text": [ - { - "fullExpression": "@data.debug.item_2.text", - "matchedExpression": "@data.debug.item_2.text", - "type": "data", - "fieldName": "debug" - } - ], - "icon_src": [ + "answer_list": [ { - "fullExpression": "@data.debug.item_2.image_asset", - "matchedExpression": "@data.debug.item_2.image_asset", - "type": "data", - "fieldName": "debug" + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" } ] } }, "_dynamicDependencies": { - "@data.debug.item_2.text": [ - "parameter_list.first_line_text" - ], - "@data.debug.item_2.image_asset": [ - "parameter_list.icon_src" + "@local.answer_list": [ + "parameter_list.answer_list" ] } }, { - "value": "The tile below shows that the icon_src IS found when called directly", - "type": "set_variable", - "name": "set_variable", - "_nested_name": "set_variable" - }, - { - "type": "tile_component", - "name": "quick_start_tile_2", - "parameter_list": { - "style": "quick_start_dark", - "first_line_text": "@data.debug.item_2.text", - "second_line_text": "image loaded directly", - "icon_src": "plh_images/icons/play_white.svg" - }, - "_nested_name": "quick_start_tile_2", + "type": "text", + "name": "text_result", + "value": "Local combo box variable: @local.combo_box", + "_nested_name": "text_result", "_dynamicFields": { - "parameter_list": { - "first_line_text": [ - { - "fullExpression": "@data.debug.item_2.text", - "matchedExpression": "@data.debug.item_2.text", - "type": "data", - "fieldName": "debug" - } - ] - } + "value": [ + { + "fullExpression": "Local combo box variable: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] }, "_dynamicDependencies": { - "@data.debug.item_2.text": [ - "parameter_list.first_line_text" + "@local.combo_box": [ + "value" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_data_lists.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_combo_box.xlsx" }, { "flow_type": "template", - "flow_name": "debug_data_bottom", + "flow_name": "debug_combo_box_variables", "status": "released", "rows": [ { - "type": "text", - "name": "text_1", - "value": "@data.debug.item_1.text", - "_nested_name": "text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug.item_1.text", - "matchedExpression": "@data.debug.item_1.text", - "type": "data", - "fieldName": "debug" - } - ] - }, - "_dynamicDependencies": { - "@data.debug.item_1.text": [ - "value" - ] - } + "name": "answer_1_list", + "value": [ + "name: name_1 | text: This is text 1", + "name: name_2 | text: This is text 2", + "name: name_3 | text: This is text 3" + ], + "type": "set_variable", + "_nested_name": "answer_1_list" }, { - "type": "text", - "name": "text_2", - "value": "This text is directly authored in the value", - "_nested_name": "text_2" + "name": "option_1", + "value": "Option 1", + "type": "set_variable", + "_nested_name": "option_1" }, { - "type": "text", - "name": "text_3", - "value": "This text is directly authored in the value", - "_nested_name": "text_3" + "name": "option_2", + "value": "Option 2", + "type": "set_variable", + "_nested_name": "option_2" }, { - "type": "text", - "name": "text_4", - "value": "@data.debug.item_1.text", - "_nested_name": "text_4", + "name": "option_3", + "value": "Option 3", + "type": "set_variable", + "_nested_name": "option_3" + }, + { + "name": "answer_2_list", + "value": [ + "name: name_1 | text: @local.option_1", + "name: name_2 | text: @local.option_2", + "name: name_3 | text: @local.option_3" + ], + "type": "set_variable", + "_nested_name": "answer_2_list", "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug.item_1.text", - "matchedExpression": "@data.debug.item_1.text", - "type": "data", - "fieldName": "debug" - } - ] + "value": { + "0": [ + { + "fullExpression": "name: name_1 | text: @local.option_1", + "matchedExpression": "@local.option_1", + "type": "local", + "fieldName": "option_1" + } + ], + "1": [ + { + "fullExpression": "name: name_2 | text: @local.option_2", + "matchedExpression": "@local.option_2", + "type": "local", + "fieldName": "option_2" + } + ], + "2": [ + { + "fullExpression": "name: name_3 | text: @local.option_3", + "matchedExpression": "@local.option_3", + "type": "local", + "fieldName": "option_3" + } + ] + } }, "_dynamicDependencies": { - "@data.debug.item_1.text": [ - "value" + "@local.option_1": [ + "value.0" + ], + "@local.option_2": [ + "value.1" + ], + "@local.option_3": [ + "value.2" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_data_lists.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_data_middle", - "status": "released", - "rows": [ + }, { - "type": "template", - "name": "debug_data_bottom", - "value": "debug_data_bottom", - "rows": [ - { - "name": "text_1", - "value": "@data.debug.item_2.text", - "type": "set_variable", - "_nested_name": "debug_data_bottom.text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug.item_2.text", - "matchedExpression": "@data.debug.item_2.text", - "type": "data", - "fieldName": "debug" - } - ] - }, - "_dynamicDependencies": { - "@data.debug.item_2.text": [ - "value" - ] - } - }, - { - "name": "text_2", - "value": "@data.debug.item_2.text", - "type": "set_variable", - "_nested_name": "debug_data_bottom.text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug.item_2.text", - "matchedExpression": "@data.debug.item_2.text", - "type": "data", - "fieldName": "debug" - } - ] - }, - "_dynamicDependencies": { - "@data.debug.item_2.text": [ - "value" - ] - } - }, - { - "name": "text_3", - "value": "This text is overridden directly in the value", - "type": "set_variable", - "_nested_name": "debug_data_bottom.text_3" - } + "name": "answer_3_list", + "value": [ + "name: name_1 | text: @global.example_global_constant_text", + "name: name_2 | text: @global.example_global_constant_title" ], - "_nested_name": "debug_data_bottom" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_data_lists.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_data_top", - "status": "released", - "rows": [ - { - "type": "template", - "name": "debug_data_middle", - "value": "debug_data_middle", - "rows": [ - { - "type": "nested_properties", - "name": "debug_data_bottom", - "rows": [ - { - "name": "text_2", - "value": "@data.debug.item_3.text", - "type": "set_variable", - "_nested_name": "debug_data_middle.debug_data_bottom.text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug.item_3.text", - "matchedExpression": "@data.debug.item_3.text", - "type": "data", - "fieldName": "debug" - } - ] - }, - "_dynamicDependencies": { - "@data.debug.item_3.text": [ - "value" - ] - } - }, - { - "name": "text_3", - "value": "@data.debug.item_3.text", - "type": "set_variable", - "_nested_name": "debug_data_middle.debug_data_bottom.text_3", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug.item_3.text", - "matchedExpression": "@data.debug.item_3.text", - "type": "data", - "fieldName": "debug" - } - ] - }, - "_dynamicDependencies": { - "@data.debug.item_3.text": [ - "value" - ] - } - }, + "type": "set_variable", + "_nested_name": "answer_3_list", + "_dynamicFields": { + "value": { + "0": [ { - "name": "text_4", - "value": "@data.debug.item_3.text", - "type": "set_variable", - "_nested_name": "debug_data_middle.debug_data_bottom.text_4", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug.item_3.text", - "matchedExpression": "@data.debug.item_3.text", - "type": "data", - "fieldName": "debug" - } - ] - }, - "_dynamicDependencies": { - "@data.debug.item_3.text": [ - "value" - ] - } + "fullExpression": "name: name_1 | text: @global.example_global_constant_text", + "matchedExpression": "@global.example_global_constant_text", + "type": "global", + "fieldName": "example_global_constant_text" } ], - "_nested_name": "debug_data_middle.debug_data_bottom" + "1": [ + { + "fullExpression": "name: name_2 | text: @global.example_global_constant_title", + "matchedExpression": "@global.example_global_constant_title", + "type": "global", + "fieldName": "example_global_constant_title" + } + ] } - ], - "_nested_name": "debug_data_middle" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_data_lists.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_go_to_1", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@global.example_global_constant_text": [ + "value.0" + ], + "@global.example_global_constant_title": [ + "value.1" + ] + } + }, { "type": "text", - "name": "text", - "value": "This is the first template", - "_nested_name": "text" + "name": "text_1", + "value": "This is the combo box variables debug template", + "_nested_name": "text_1" }, - { - "type": "button", - "name": "button_go_to_1", - "value": "Go to the second template", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "debug_go_to_2" - ], - "_raw": "click | go_to:debug_go_to_2", - "_cleaned": "click | go_to:debug_go_to_2" - } - ], - "_nested_name": "button_go_to_1" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_go_to.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_go_to_2", - "status": "released", - "rows": [ { "type": "text", - "name": "text", - "value": "This is the second template", - "_nested_name": "text" + "name": "text_2", + "value": "Direct answer list (set through local variable)", + "_nested_name": "text_2" }, { - "type": "button", - "name": "button_go_to_1", - "value": "Go to the third template", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "debug_go_to_3" - ], - "_raw": "click | go_to:debug_go_to_3", - "_cleaned": "click | go_to:debug_go_to_3" + "type": "combo_box", + "name": "combo_box_1", + "parameter_list": { + "answer_list": "@local.answer_1_list" + }, + "_nested_name": "combo_box_1", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_1_list", + "matchedExpression": "@local.answer_1_list", + "type": "local", + "fieldName": "answer_1_list" + } + ] } - ], - "_nested_name": "button_go_to_1" + }, + "_dynamicDependencies": { + "@local.answer_1_list": [ + "parameter_list.answer_list" + ] + } }, - { - "type": "button", - "name": "button_completed", - "value": "Complete the current template", - "action_list": [ - { - "trigger": "click", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" - } - ], - "_nested_name": "button_completed" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_go_to.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_go_to_3", - "status": "released", - "rows": [ { "type": "text", - "name": "text", - "value": "This is the third template", - "_nested_name": "text" + "name": "text_3", + "value": "Answer list contains local variables", + "_nested_name": "text_3" }, { - "type": "button", - "name": "button_completed", - "value": "Complete the current template", - "action_list": [ - { - "trigger": "click", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" + "type": "combo_box", + "name": "combo_box_2", + "parameter_list": { + "answer_list": "@local.answer_2_list" + }, + "_nested_name": "combo_box_2", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_2_list", + "matchedExpression": "@local.answer_2_list", + "type": "local", + "fieldName": "answer_2_list" + } + ] } - ], - "_nested_name": "button_completed" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_go_to.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_radio_group", - "status": "released", - "rows": [ - { - "name": "answer_list", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second", - "name:name_var_3 | text:Third" - ], - "type": "set_variable", - "_nested_name": "answer_list" + }, + "_dynamicDependencies": { + "@local.answer_2_list": [ + "parameter_list.answer_list" + ] + } }, { "type": "text", - "name": "text", - "value": "This is the radio group debug template", - "_nested_name": "text" + "name": "text_4", + "value": "Answer list contains global variables", + "_nested_name": "text_4" }, { - "type": "radio_group", - "name": "radio_group", + "type": "combo_box", + "name": "combo_box_3", "parameter_list": { - "answer_list": "@local.answer_list" + "answer_list": "@local.answer_3_list" }, - "_nested_name": "radio_group", + "_nested_name": "combo_box_3", "_dynamicFields": { "parameter_list": { "answer_list": [ { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", + "fullExpression": "@local.answer_3_list", + "matchedExpression": "@local.answer_3_list", "type": "local", - "fieldName": "answer_list" + "fieldName": "answer_3_list" } ] } }, "_dynamicDependencies": { - "@local.answer_list": [ + "@local.answer_3_list": [ "parameter_list.answer_list" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_radio_group.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_double_radio_group_1", - "status": "released", - "rows": [ + }, { - "name": "template_name", - "value": "debug_radio_group", + "name": "spend_time_idea_1", + "value": "Walking to the shops", "type": "set_variable", - "_nested_name": "template_name" + "_nested_name": "spend_time_idea_1" }, { - "type": "template", - "name": "debug_radio_group_1", - "value": "debug_radio_group", - "rows": [ - { - "name": "text", - "value": "This is the first instance of @local.template_name", - "type": "set_variable", - "_nested_name": "debug_radio_group_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "This is the first instance of @local.template_name", - "matchedExpression": "@local.template_name", - "type": "local", - "fieldName": "template_name" - } - ] - }, - "_dynamicDependencies": { - "@local.template_name": [ - "value" - ] - } - }, - { - "name": "answer_list", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second", - "name:name_var_3 | text:Third" - ], - "type": "set_variable", - "_nested_name": "debug_radio_group_1.answer_list" - } - ], - "_nested_name": "debug_radio_group_1" + "name": "spend_time_idea_2", + "value": "Get water together ", + "type": "set_variable", + "_nested_name": "spend_time_idea_2" }, { - "type": "template", - "name": "debug_radio_group_2", - "value": "debug_radio_group", - "rows": [ - { - "name": "text", - "value": "This is the second instance of debug_radio_group", - "type": "set_variable", - "_nested_name": "debug_radio_group_2.text" - }, - { - "name": "answer_list", - "value": [ - "name:name_var_4 | text:1", - "name:name_var_5 | text:2", - "name:name_var_6 | text:3" - ], - "type": "set_variable", - "_nested_name": "debug_radio_group_2.answer_list" - } - ], - "_nested_name": "debug_radio_group_2" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_radio_group.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_double_radio_group_2", - "status": "released", - "rows": [ + "name": "spend_time_idea_3", + "value": "Doing a chore together", + "type": "set_variable", + "_nested_name": "spend_time_idea_3" + }, { - "name": "template_name", - "value": "debug_radio_group", + "name": "spend_time_idea_4", + "value": "Prepare dinner", "type": "set_variable", - "_nested_name": "template_name" + "_nested_name": "spend_time_idea_4" }, { - "name": "answer_list_1_list", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second", - "name:name_var_3 | text:Third" - ], + "name": "spend_time_idea_5", + "value": "Eat breakfast/lunch/dinner", "type": "set_variable", - "_nested_name": "answer_list_1_list" + "_nested_name": "spend_time_idea_5" }, { - "name": "answer_list_2_list", - "value": [ - "name:name_var_1 | text:1", - "name:name_var_2 | text:2", - "name:name_var_3 | text:3" - ], + "name": "spend_time_idea_6", + "value": "Have tea after school", "type": "set_variable", - "_nested_name": "answer_list_2_list" + "_nested_name": "spend_time_idea_6" }, { - "type": "template", - "name": "debug_radio_group_1", - "value": "debug_radio_group", - "rows": [ - { - "name": "text", - "value": "This is the first instance of @local.template_name", - "type": "set_variable", - "_nested_name": "debug_radio_group_1.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "This is the first instance of @local.template_name", - "matchedExpression": "@local.template_name", - "type": "local", - "fieldName": "template_name" - } - ] - }, - "_dynamicDependencies": { - "@local.template_name": [ - "value" - ] - } - }, - { - "name": "answer_list", - "value": [ - "@local.answer_list_1_list" + "name": "spend_time_idea_7", + "value": "Watch a T.V. show", + "type": "set_variable", + "_nested_name": "spend_time_idea_7" + }, + { + "name": "spend_time_idea_8", + "value": "Review homework", + "type": "set_variable", + "_nested_name": "spend_time_idea_8" + }, + { + "name": "spend_time_idea_9", + "value": "Chat before bedtime", + "type": "set_variable", + "_nested_name": "spend_time_idea_9" + }, + { + "name": "spend_time_idea_10", + "value": "Play a game/sport", + "type": "set_variable", + "_nested_name": "spend_time_idea_10" + }, + { + "name": "answer_list", + "value": [ + "name:name_1 | text:@local.spend_time_idea_1", + "name:name_2 | text:@local.spend_time_idea_2", + "name:name_3 | text:@local.spend_time_idea_3", + "name:name_4 | text:@local.spend_time_idea_4", + "name:name_5 | text:@local.spend_time_idea_5", + "name:name_6 | text:@local.spend_time_idea_6", + "name:name_7 | text:@local.spend_time_idea_7", + "name:name_8 | text:@local.spend_time_idea_8", + "name:name_9 | text:@local.spend_time_idea_9", + "name:name_10 | text:@local.spend_time_idea_10" + ], + "type": "set_variable", + "_nested_name": "answer_list", + "_dynamicFields": { + "value": { + "0": [ + { + "fullExpression": "name:name_1 | text:@local.spend_time_idea_1", + "matchedExpression": "@local.spend_time_idea_1", + "type": "local", + "fieldName": "spend_time_idea_1" + } ], - "type": "set_variable", - "_nested_name": "debug_radio_group_1.answer_list", - "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "@local.answer_list_1_list", - "matchedExpression": "@local.answer_list_1_list", - "type": "local", - "fieldName": "answer_list_1_list" - } - ] + "1": [ + { + "fullExpression": "name:name_2 | text:@local.spend_time_idea_2", + "matchedExpression": "@local.spend_time_idea_2", + "type": "local", + "fieldName": "spend_time_idea_2" } - }, - "_dynamicDependencies": { - "@local.answer_list_1_list": [ - "value.0" - ] - } + ], + "2": [ + { + "fullExpression": "name:name_3 | text:@local.spend_time_idea_3", + "matchedExpression": "@local.spend_time_idea_3", + "type": "local", + "fieldName": "spend_time_idea_3" + } + ], + "3": [ + { + "fullExpression": "name:name_4 | text:@local.spend_time_idea_4", + "matchedExpression": "@local.spend_time_idea_4", + "type": "local", + "fieldName": "spend_time_idea_4" + } + ], + "4": [ + { + "fullExpression": "name:name_5 | text:@local.spend_time_idea_5", + "matchedExpression": "@local.spend_time_idea_5", + "type": "local", + "fieldName": "spend_time_idea_5" + } + ], + "5": [ + { + "fullExpression": "name:name_6 | text:@local.spend_time_idea_6", + "matchedExpression": "@local.spend_time_idea_6", + "type": "local", + "fieldName": "spend_time_idea_6" + } + ], + "6": [ + { + "fullExpression": "name:name_7 | text:@local.spend_time_idea_7", + "matchedExpression": "@local.spend_time_idea_7", + "type": "local", + "fieldName": "spend_time_idea_7" + } + ], + "7": [ + { + "fullExpression": "name:name_8 | text:@local.spend_time_idea_8", + "matchedExpression": "@local.spend_time_idea_8", + "type": "local", + "fieldName": "spend_time_idea_8" + } + ], + "8": [ + { + "fullExpression": "name:name_9 | text:@local.spend_time_idea_9", + "matchedExpression": "@local.spend_time_idea_9", + "type": "local", + "fieldName": "spend_time_idea_9" + } + ], + "9": [ + { + "fullExpression": "name:name_10 | text:@local.spend_time_idea_10", + "matchedExpression": "@local.spend_time_idea_10", + "type": "local", + "fieldName": "spend_time_idea_10" + } + ] } - ], - "_nested_name": "debug_radio_group_1" + }, + "_dynamicDependencies": { + "@local.spend_time_idea_1": [ + "value.0" + ], + "@local.spend_time_idea_2": [ + "value.1" + ], + "@local.spend_time_idea_3": [ + "value.2" + ], + "@local.spend_time_idea_4": [ + "value.3" + ], + "@local.spend_time_idea_5": [ + "value.4" + ], + "@local.spend_time_idea_6": [ + "value.5" + ], + "@local.spend_time_idea_7": [ + "value.6" + ], + "@local.spend_time_idea_8": [ + "value.7" + ], + "@local.spend_time_idea_9": [ + "value.8" + ], + "@local.spend_time_idea_10": [ + "value.9" + ] + } }, { - "type": "template", - "name": "debug_radio_group_2", - "value": "debug_radio_group", - "rows": [ - { - "name": "text", - "value": "This is the second instance of debug_radio_group", - "type": "set_variable", - "_nested_name": "debug_radio_group_2.text" - }, - { - "name": "answer_list", - "value": [ - "@local.answer_list_2_list" - ], - "type": "set_variable", - "_nested_name": "debug_radio_group_2.answer_list", - "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "@local.answer_list_2_list", - "matchedExpression": "@local.answer_list_2_list", - "type": "local", - "fieldName": "answer_list_2_list" - } - ] + "type": "combo_box", + "name": "combo_box_4", + "parameter_list": { + "answer_list": "@local.answer_list" + }, + "_nested_name": "combo_box_4", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" } - }, - "_dynamicDependencies": { - "@local.answer_list_2_list": [ - "value.0" - ] - } + ] } - ], - "_nested_name": "debug_radio_group_2" + }, + "_dynamicDependencies": { + "@local.answer_list": [ + "parameter_list.answer_list" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_radio_group.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_component_variables.xlsx" }, { "flow_type": "template", - "flow_name": "debug_slider_dynamic", + "flow_name": "debug_radio_group_variables", "status": "released", "rows": [ { - "type": "slider", - "name": "slider_1", - "parameter_list": { - "title": "Slider 1" - }, - "_nested_name": "slider_1" + "name": "option_1", + "value": "Option 1", + "type": "set_variable", + "_nested_name": "option_1" }, { - "type": "text", - "name": "text_1", - "value": "local variable for slider 1: @local.slider_1", - "_nested_name": "text_1", + "name": "option_2", + "value": "Option 2", + "type": "set_variable", + "_nested_name": "option_2" + }, + { + "name": "option_3", + "value": "Option 3", + "type": "set_variable", + "_nested_name": "option_3" + }, + { + "name": "answer_1_list", + "value": [ + "name:name_1 | text:Text 1", + "name:name_2 | text: Text 2" + ], + "type": "set_variable", + "_nested_name": "answer_1_list" + }, + { + "name": "answer_2_list", + "value": [ + "name:name_1 | text:@local.option_1", + "name:name_2 | text:@local.option_2" + ], + "type": "set_variable", + "_nested_name": "answer_2_list", "_dynamicFields": { - "value": [ - { - "fullExpression": "local variable for slider 1: @local.slider_1", - "matchedExpression": "@local.slider_1", - "type": "local", - "fieldName": "slider_1" - } - ] + "value": { + "0": [ + { + "fullExpression": "name:name_1 | text:@local.option_1", + "matchedExpression": "@local.option_1", + "type": "local", + "fieldName": "option_1" + } + ], + "1": [ + { + "fullExpression": "name:name_2 | text:@local.option_2", + "matchedExpression": "@local.option_2", + "type": "local", + "fieldName": "option_2" + } + ] + } }, "_dynamicDependencies": { - "@local.slider_1": [ - "value" + "@local.option_1": [ + "value.0" + ], + "@local.option_2": [ + "value.1" ] } }, { - "type": "slider", - "name": "slider_2", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "slider_2_field", - "@local.slider_2" - ], - "_raw": "changed | set_field:slider_2_field:@local.slider_2", - "_cleaned": "changed | set_field:slider_2_field:@local.slider_2" - } + "name": "answer_3_list", + "value": [ + "name:name_1 | text:@global.example_global_constant_text", + "name:name_2 | text:@global.example_global_constant_title" ], - "parameter_list": { - "title": "Slider 2" - }, - "_nested_name": "slider_2", + "type": "set_variable", + "_nested_name": "answer_3_list", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:slider_2_field:@local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:slider_2_field:@local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ] - } + "value": { + "0": [ + { + "fullExpression": "name:name_1 | text:@global.example_global_constant_text", + "matchedExpression": "@global.example_global_constant_text", + "type": "global", + "fieldName": "example_global_constant_text" + } + ], + "1": [ + { + "fullExpression": "name:name_2 | text:@global.example_global_constant_title", + "matchedExpression": "@global.example_global_constant_title", + "type": "global", + "fieldName": "example_global_constant_title" + } + ] } }, "_dynamicDependencies": { - "@local.slider_2": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@global.example_global_constant_text": [ + "value.0" + ], + "@global.example_global_constant_title": [ + "value.1" ] } }, + { + "type": "text", + "name": "text_1", + "value": "This is the radio group variables debug template", + "_nested_name": "text_1" + }, { "type": "text", "name": "text_2", - "value": "local variable for slider 2: @local.slider_2", - "_nested_name": "text_2", + "value": "Direct answer list (set through local variable)", + "_nested_name": "text_2" + }, + { + "type": "radio_group", + "name": "radio_group_1", + "parameter_list": { + "answer_list": "@local.answer_1_list" + }, + "_nested_name": "radio_group_1", "_dynamicFields": { - "value": [ - { - "fullExpression": "local variable for slider 2: @local.slider_2", - "matchedExpression": "@local.slider_2", - "type": "local", - "fieldName": "slider_2" - } - ] + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_1_list", + "matchedExpression": "@local.answer_1_list", + "type": "local", + "fieldName": "answer_1_list" + } + ] + } }, "_dynamicDependencies": { - "@local.slider_2": [ - "value" + "@local.answer_1_list": [ + "parameter_list.answer_list" ] } }, { "type": "text", "name": "text_3", - "value": "field for slider 2: @field.slider_2_field", - "_nested_name": "text_3", - "_dynamicFields": { - "value": [ - { - "fullExpression": "field for slider 2: @field.slider_2_field", - "matchedExpression": "@field.slider_2_field", - "type": "field", - "fieldName": "slider_2_field" - } - ] - }, - "_dynamicDependencies": { - "@field.slider_2_field": [ - "value" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_dynamic.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_radio_group_dynamic", - "status": "released", - "rows": [ - { - "name": "answer_list", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second" - ], - "type": "set_variable", - "_nested_name": "answer_list" + "value": "Answer list contains local variables", + "_nested_name": "text_3" }, { "type": "radio_group", - "name": "radio_group_1", + "name": "radio_group_2", "parameter_list": { - "answer_list": "@local.answer_list" + "answer_list": "@local.answer_2_list" }, - "_nested_name": "radio_group_1", + "_nested_name": "radio_group_2", "_dynamicFields": { "parameter_list": { "answer_list": [ { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", + "fullExpression": "@local.answer_2_list", + "matchedExpression": "@local.answer_2_list", "type": "local", - "fieldName": "answer_list" + "fieldName": "answer_2_list" } ] } }, "_dynamicDependencies": { - "@local.answer_list": [ + "@local.answer_2_list": [ "parameter_list.answer_list" ] } }, { "type": "text", - "name": "text_1", - "value": "local variable for radio group 1: @local.radio_group_1", - "_nested_name": "text_1", + "name": "text_4", + "value": "Answer list contains global variables", + "_nested_name": "text_4" + }, + { + "type": "radio_group", + "name": "radio_group_3", + "parameter_list": { + "answer_list": "@local.answer_3_list" + }, + "_nested_name": "radio_group_3", "_dynamicFields": { - "value": [ - { - "fullExpression": "local variable for radio group 1: @local.radio_group_1", - "matchedExpression": "@local.radio_group_1", - "type": "local", - "fieldName": "radio_group_1" - } - ] + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_3_list", + "matchedExpression": "@local.answer_3_list", + "type": "local", + "fieldName": "answer_3_list" + } + ] + } }, "_dynamicDependencies": { - "@local.radio_group_1": [ - "value" + "@local.answer_3_list": [ + "parameter_list.answer_list" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_component_variables.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_conditional_messages_q1", + "status": "released", + "rows": [ + { + "type": "set_field", + "name": "answer_q1", + "value": "NA", + "_nested_name": "answer_q1" }, { - "type": "radio_group", - "name": "radio_group_2", + "type": "slider", + "name": "slider_q1", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "radio_group_2_field", - "@local.radio_group_2" + "answer_q1", + "@local.slider_q1" ], - "_raw": "changed | set_field:radio_group_2_field:@local.radio_group_2", - "_cleaned": "changed | set_field:radio_group_2_field:@local.radio_group_2" + "_raw": "changed | set_field:answer_q1:@local.slider_q1", + "_cleaned": "changed | set_field:answer_q1:@local.slider_q1" } ], "parameter_list": { - "answer_list": "@local.answer_list" + "title": "Question 1" }, - "_nested_name": "radio_group_2", + "_nested_name": "slider_q1", "_dynamicFields": { "action_list": { "0": { "args": { "1": [ { - "fullExpression": "@local.radio_group_2", - "matchedExpression": "@local.radio_group_2", + "fullExpression": "@local.slider_q1", + "matchedExpression": "@local.slider_q1", "type": "local", - "fieldName": "radio_group_2" + "fieldName": "slider_q1" } ] }, "_raw": [ { - "fullExpression": "changed | set_field:radio_group_2_field:@local.radio_group_2", - "matchedExpression": "@local.radio_group_2", + "fullExpression": "changed | set_field:answer_q1:@local.slider_q1", + "matchedExpression": "@local.slider_q1", "type": "local", - "fieldName": "radio_group_2" + "fieldName": "slider_q1" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:radio_group_2_field:@local.radio_group_2", - "matchedExpression": "@local.radio_group_2", + "fullExpression": "changed | set_field:answer_q1:@local.slider_q1", + "matchedExpression": "@local.slider_q1", "type": "local", - "fieldName": "radio_group_2" + "fieldName": "slider_q1" } ] } - }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] } }, "_dynamicDependencies": { - "@local.radio_group_2": [ + "@local.slider_q1": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "text_2", - "value": "local variable for radio group 2: @local.radio_group_2", - "_nested_name": "text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "local variable for radio group 2: @local.radio_group_2", - "matchedExpression": "@local.radio_group_2", - "type": "local", - "fieldName": "radio_group_2" - } - ] - }, - "_dynamicDependencies": { - "@local.radio_group_2": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_3", - "value": "field for radio group 2: @field.radio_group_2_field", - "_nested_name": "text_3", - "_dynamicFields": { - "value": [ - { - "fullExpression": "field for radio group 2: @field.radio_group_2_field", - "matchedExpression": "@field.radio_group_2_field", - "type": "field", - "fieldName": "radio_group_2_field" - } - ] - }, - "_dynamicDependencies": { - "@field.radio_group_2_field": [ - "value" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_dynamic.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_combo_box_dynamic", - "status": "released", - "rows": [ - { - "name": "answer_list", - "value": [ - "name: name_1 | text: This is text 1", - "name: name_2 | text: This is text 2", - "name: name_3 | text: This is text 3" - ], - "type": "set_variable", - "_nested_name": "answer_list" - }, - { - "name": "combo_box_2_var", - "value": "combo_box_2_field", - "type": "set_variable", - "_nested_name": "combo_box_2_var" - }, - { - "type": "combo_box", - "name": "combo_box_1", - "parameter_list": { - "answer_list": "@local.answer_list" - }, - "_nested_name": "combo_box_1", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] - } - }, - "_dynamicDependencies": { - "@local.answer_list": [ - "parameter_list.answer_list" ] } }, { "type": "text", - "name": "text_1", - "value": "local variable for combo box 1: @local.combo_box_1", - "_nested_name": "text_1", + "name": "text_q1", + "value": "answer to q1 saved in field answer_q1: @field.answer_q1", + "_nested_name": "text_q1", "_dynamicFields": { "value": [ { - "fullExpression": "local variable for combo box 1: @local.combo_box_1", - "matchedExpression": "@local.combo_box_1", - "type": "local", - "fieldName": "combo_box_1" + "fullExpression": "answer to q1 saved in field answer_q1: @field.answer_q1", + "matchedExpression": "@field.answer_q1", + "type": "field", + "fieldName": "answer_q1" } ] }, "_dynamicDependencies": { - "@local.combo_box_1": [ + "@field.answer_q1": [ "value" ] } }, { - "type": "combo_box", - "name": "combo_box_2", + "type": "button", + "name": "go_to_q2", + "value": "Go to Q2", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "debug_conditional_messages_q2" + ], + "_raw": "click | go_to:debug_conditional_messages_q2", + "_cleaned": "click | go_to:debug_conditional_messages_q2" + } + ], + "_nested_name": "go_to_q2" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_conditional_messages.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_conditional_messages_q2", + "status": "released", + "rows": [ + { + "type": "set_field", + "name": "answer_q2", + "value": "NA", + "_nested_name": "answer_q2" + }, + { + "type": "slider", + "name": "slider_q2", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "@local.combo_box_2_var", - "@local.combo_box_2" + "answer_q2", + "@local.slider_q2" ], - "_raw": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", - "_cleaned": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2" + "_raw": "changed | set_field:answer_q2:@local.slider_q2", + "_cleaned": "changed | set_field:answer_q2:@local.slider_q2" } ], "parameter_list": { - "answer_list": "@local.answer_list" + "title": "Question 2" }, - "_nested_name": "combo_box_2", + "_nested_name": "slider_q2", "_dynamicFields": { "action_list": { "0": { "args": { - "0": [ - { - "fullExpression": "@local.combo_box_2_var", - "matchedExpression": "@local.combo_box_2_var", - "type": "local", - "fieldName": "combo_box_2_var" - } - ], "1": [ { - "fullExpression": "@local.combo_box_2", - "matchedExpression": "@local.combo_box_2", + "fullExpression": "@local.slider_q2", + "matchedExpression": "@local.slider_q2", "type": "local", - "fieldName": "combo_box_2" + "fieldName": "slider_q2" } ] }, "_raw": [ { - "fullExpression": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", - "matchedExpression": "@local.combo_box_2_var", - "type": "local", - "fieldName": "combo_box_2_var" - }, - { - "fullExpression": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", - "matchedExpression": "@local.combo_box_2", + "fullExpression": "changed | set_field:answer_q2:@local.slider_q2", + "matchedExpression": "@local.slider_q2", "type": "local", - "fieldName": "combo_box_2" + "fieldName": "slider_q2" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", - "matchedExpression": "@local.combo_box_2_var", - "type": "local", - "fieldName": "combo_box_2_var" - }, - { - "fullExpression": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", - "matchedExpression": "@local.combo_box_2", + "fullExpression": "changed | set_field:answer_q2:@local.slider_q2", + "matchedExpression": "@local.slider_q2", "type": "local", - "fieldName": "combo_box_2" + "fieldName": "slider_q2" } ] } - }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] } }, "_dynamicDependencies": { - "@local.combo_box_2_var": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.combo_box_2": [ + "@local.slider_q2": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "text_2", - "value": "Local variable for combo box 2: @local.combo_box_2", - "_nested_name": "text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Local variable for combo box 2: @local.combo_box_2", - "matchedExpression": "@local.combo_box_2", - "type": "local", - "fieldName": "combo_box_2" - } - ] - }, - "_dynamicDependencies": { - "@local.combo_box_2": [ - "value" ] } }, { "type": "text", - "name": "text_3", - "value": "field for combo box 2: @field.combo_box_2_field", - "_nested_name": "text_3", + "name": "text_q2", + "value": "answer to q2 saved in field answer_q2: @field.answer_q2", + "_nested_name": "text_q2", "_dynamicFields": { "value": [ { - "fullExpression": "field for combo box 2: @field.combo_box_2_field", - "matchedExpression": "@field.combo_box_2_field", + "fullExpression": "answer to q2 saved in field answer_q2: @field.answer_q2", + "matchedExpression": "@field.answer_q2", "type": "field", - "fieldName": "combo_box_2_field" + "fieldName": "answer_q2" } ] }, "_dynamicDependencies": { - "@field.combo_box_2_field": [ + "@field.answer_q2": [ "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_dynamic.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_go_to_nest_top", - "status": "released", - "rows": [ - { - "type": "text", - "name": "text", - "value": "This text is followed by the template debug_go_to_nest_bottom", - "_nested_name": "text" }, { - "type": "template", - "name": "name_debug_go_to_nest_bottom", - "value": "debug_go_to_nest_bottom", - "rows": [], - "_nested_name": "name_debug_go_to_nest_bottom" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_go_to_nested.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_go_to_nest_bottom", - "status": "released", - "rows": [ + "type": "button", + "name": "back_to_q1", + "value": "Back to Q1", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "debug_conditional_messages_q1" + ], + "_raw": "click | go_to:debug_conditional_messages_q1", + "_cleaned": "click | go_to:debug_conditional_messages_q1" + } + ], + "_nested_name": "back_to_q1" + }, { "type": "button", - "name": "button", - "value": "Go to example_emit and come back", + "name": "conditional_texts", + "value": "Go to conditional texts", "action_list": [ { "trigger": "click", "action_id": "go_to", "args": [ - "example_emit" + "debug_conditional_texts" ], - "_raw": "click | go_to:example_emit", - "_cleaned": "click | go_to:example_emit" + "_raw": "click | go_to:debug_conditional_texts", + "_cleaned": "click | go_to:debug_conditional_texts" } ], - "_nested_name": "button" + "_nested_name": "conditional_texts" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_go_to_nested.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_conditional_messages.xlsx" }, { "flow_type": "template", - "flow_name": "debug_nesting_sheet_1", + "flow_name": "debug_conditional_texts", "status": "released", "rows": [ + { + "type": "text", + "name": "text_q1", + "value": "answer to q1 saved in field answer_q1: @field.answer_q1", + "_nested_name": "text_q1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "answer to q1 saved in field answer_q1: @field.answer_q1", + "matchedExpression": "@field.answer_q1", + "type": "field", + "fieldName": "answer_q1" + } + ] + }, + "_dynamicDependencies": { + "@field.answer_q1": [ + "value" + ] + } + }, + { + "type": "text", + "name": "text_q2", + "value": "answer to q2 saved in field answer_q2: @field.answer_q2", + "_nested_name": "text_q2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "answer to q2 saved in field answer_q2: @field.answer_q2", + "matchedExpression": "@field.answer_q2", + "type": "field", + "fieldName": "answer_q2" + } + ] + }, + "_dynamicDependencies": { + "@field.answer_q2": [ + "value" + ] + } + }, { "type": "title", - "name": "title", - "value": "Title of debug_nesting_sheet_1", - "_nested_name": "title" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_nesting_test_1", - "status": "released", - "rows": [ + "name": "title_1", + "value": "Hidden column", + "_nested_name": "title_1" + }, { - "type": "template", - "name": "name_1", - "value": "debug_nesting_sheet_1", - "rows": [ - { - "name": "title", - "value": "This title was overwritten", - "type": "set_variable", - "_nested_name": "name_1.title" - } - ], - "_nested_name": "name_1" + "type": "text", + "name": "conditional_text_1", + "value": "This text shows if the answer to Q1 is less than 4", + "hidden": "@field.answer_q1>=4", + "_nested_name": "conditional_text_1", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.answer_q1>=4", + "matchedExpression": "@field.answer_q1", + "type": "field", + "fieldName": "answer_q1" + } + ] + }, + "_dynamicDependencies": { + "@field.answer_q1": [ + "hidden" + ] + } }, { - "type": "template", - "name": "name_2", - "value": "debug_nesting_sheet_1", - "rows": [ - { - "name": "title", - "value": "This title was overwritten as well", - "type": "set_variable", - "_nested_name": "name_2.title" - } - ], - "_nested_name": "name_2" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_nesting_sheet_2", - "status": "released", - "rows": [ + "type": "text", + "name": "conditional_text_2", + "value": "This text shows if the answer to Q2 is less than 4", + "hidden": "@field.answer_q2>=4", + "_nested_name": "conditional_text_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.answer_q2>=4", + "matchedExpression": "@field.answer_q2", + "type": "field", + "fieldName": "answer_q2" + } + ] + }, + "_dynamicDependencies": { + "@field.answer_q2": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "conditional_text_3", + "value": "This text shows if the answer to Q1 is greater than or equal to 4 and the answer to Q2 is greater than or equal to 4", + "hidden": "@field.answer_q1<4 || @field.answer_q2<4", + "_nested_name": "conditional_text_3", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.answer_q1<4 || @field.answer_q2<4", + "matchedExpression": "@field.answer_q1", + "type": "field", + "fieldName": "answer_q1" + }, + { + "fullExpression": "@field.answer_q1<4 || @field.answer_q2<4", + "matchedExpression": "@field.answer_q2", + "type": "field", + "fieldName": "answer_q2" + } + ] + }, + "_dynamicDependencies": { + "@field.answer_q1": [ + "hidden" + ], + "@field.answer_q2": [ + "hidden" + ] + } + }, { "type": "title", - "name": "title", - "value": "fail: title debug_nesting_sheet_2", - "_nested_name": "title" + "name": "title_2", + "value": "Condition column ", + "_nested_name": "title_2" }, { "type": "text", - "name": "text", - "value": "fail: text debug_nesting_sheet_2", - "_nested_name": "text" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_nesting_test_2", - "status": "released", - "rows": [ + "name": "conditional_text", + "value": "This text is created if the answer to Q1 is greater than or equal to 4", + "condition": "@field.answer_q1>=4", + "_nested_name": "conditional_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.answer_q1>=4", + "matchedExpression": "@field.answer_q1", + "type": "field", + "fieldName": "answer_q1" + } + ] + }, + "_dynamicDependencies": { + "@field.answer_q1": [ + "condition" + ] + } + }, + { + "type": "text", + "name": "conditional_text", + "value": "This text is created if the answer to Q1 is less than 4", + "condition": "!(@field.answer_q1>=4)", + "_nested_name": "conditional_text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!(@field.answer_q1>=4)", + "matchedExpression": "@field.answer_q1", + "type": "field", + "fieldName": "answer_q1" + } + ] + }, + "_dynamicDependencies": { + "@field.answer_q1": [ + "condition" + ] + } + }, + { + "type": "title", + "name": "title_2", + "value": "Condition column through a nested template", + "_nested_name": "title_2" + }, { "type": "template", - "name": "other_name", - "value": "debug_test_1", + "name": "example_text_1", + "value": "example_text", "rows": [ { - "type": "nested_properties", - "name": "name_1", - "rows": [ - { - "name": "title", - "value": "title for sheet 1 was overwritten twice", - "type": "set_variable", - "_nested_name": "other_name.name_1.title" - } - ], - "_nested_name": "other_name.name_1" + "name": "text", + "value": "This text is created if the answer to Q1 is greater than or equal to 4", + "condition": "@field.answer_q1>=4", + "type": "set_variable", + "_nested_name": "example_text_1.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.answer_q1>=4", + "matchedExpression": "@field.answer_q1", + "type": "field", + "fieldName": "answer_q1" + } + ] + }, + "_dynamicDependencies": { + "@field.answer_q1": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "This text is created if the answer to Q1 is less than 4", + "condition": "!(@field.answer_q1>=4)", + "type": "set_variable", + "_nested_name": "example_text_1.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!(@field.answer_q1>=4)", + "matchedExpression": "@field.answer_q1", + "type": "field", + "fieldName": "answer_q1" + } + ] + }, + "_dynamicDependencies": { + "@field.answer_q1": [ + "condition" + ] + } } ], - "_nested_name": "other_name" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_nesting_test_1_1", - "status": "released", - "rows": [ + "_nested_name": "example_text_1" + }, { - "type": "template", - "name": "debug_sheet_1a", - "value": "debug_nesting_sheet_1", - "rows": [ + "type": "button", + "name": "back_to_q1", + "value": "Back to Q2", + "action_list": [ { - "name": "title", - "value": "title for sheet 1a was overwritten", - "type": "set_variable", - "_nested_name": "debug_sheet_1a.title" + "trigger": "click", + "action_id": "go_to", + "args": [ + "debug_conditional_messages_q2" + ], + "_raw": "click | go_to:debug_conditional_messages_q2", + "_cleaned": "click | go_to:debug_conditional_messages_q2" } ], - "_nested_name": "debug_sheet_1a" + "_nested_name": "back_to_q1" }, { "type": "template", - "name": "debug_sheet_2a", - "value": "debug_nesting_sheet_2", + "name": "example_text_2", + "value": "example_text", "rows": [ { - "name": "title", - "value": "title for sheet 2 was overwritten", + "name": "text", + "value": "not printed", + "condition": "1>2", "type": "set_variable", - "_nested_name": "debug_sheet_2a.title" + "_nested_name": "example_text_2.text" + }, + { + "name": "text", + "value": "printed", + "condition": "2>1", + "type": "set_variable", + "_nested_name": "example_text_2.text" } ], - "_nested_name": "debug_sheet_2a" + "_nested_name": "example_text_2" }, { "type": "template", - "name": "debug_sheet_2b", - "value": "debug_nesting_sheet_2", + "name": "example_text_3", + "value": "example_text", "rows": [ { "name": "text", - "value": "text for sheet 2 was overwritten", + "value": "printed", + "condition": "2>1", "type": "set_variable", - "_nested_name": "debug_sheet_2b.text" + "_nested_name": "example_text_3.text" + }, + { + "name": "text", + "value": "not printed", + "condition": "1>2", + "type": "set_variable", + "_nested_name": "example_text_3.text" } ], - "_nested_name": "debug_sheet_2b" + "_nested_name": "example_text_3" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_conditional_messages.xlsx" }, { "flow_type": "template", - "flow_name": "debug_nesting_test_1_2", + "flow_name": "debug_data_image", "status": "released", "rows": [ { "type": "text", - "value": "Test 1", - "name": "text", - "_nested_name": "text" + "name": "text_1", + "value": "Print text and image of item 1:\n\n@data.debug.item_1.text", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Print text and image of item 1:\n\n@data.debug.item_1.text", + "matchedExpression": "@data.debug.item_1.text", + "type": "data", + "fieldName": "debug" + } + ] + }, + "_dynamicDependencies": { + "@data.debug.item_1.text": [ + "value" + ] + } }, { - "type": "set_variable", - "name": "test_1_text", - "value": "success: test1 text", - "_nested_name": "test_1_text" + "type": "image", + "name": "image_1", + "value": "@data.debug.item_1.image_asset", + "_nested_name": "image_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.debug.item_1.image_asset", + "matchedExpression": "@data.debug.item_1.image_asset", + "type": "data", + "fieldName": "debug" + } + ] + }, + "_dynamicDependencies": { + "@data.debug.item_1.image_asset": [ + "value" + ] + } }, { - "type": "template", - "name": "debug_override_1", - "value": "debug_nesting_override_1", - "rows": [ - { - "type": "nested_properties", - "name": "template_wrapper", - "value": "debug_nesting_sheet_2", - "rows": [ - { - "name": "title", - "value": "success: test1 title", - "type": "set_variable", - "_nested_name": "debug_override_1.template_wrapper.title" - }, + "type": "text", + "name": "text_2", + "value": "The parent point box below shows that the icon_src is NOT found when called through a data field", + "_nested_name": "text_2" + }, + { + "type": "parent_point_box", + "name": "parent_point_box_1", + "parameter_list": { + "text": "@data.debug.item_1.text", + "icon_src": "@data.debug.item_1.image_asset" + }, + "_nested_name": "parent_point_box_1", + "_dynamicFields": { + "parameter_list": { + "text": [ { - "name": "text", - "value": "@local.test_1_text", - "type": "set_variable", - "_nested_name": "debug_override_1.template_wrapper.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.test_1_text", - "matchedExpression": "@local.test_1_text", - "type": "local", - "fieldName": "test_1_text" - } - ] - }, - "_dynamicDependencies": { - "@local.test_1_text": [ - "value" - ] - } + "fullExpression": "@data.debug.item_1.text", + "matchedExpression": "@data.debug.item_1.text", + "type": "data", + "fieldName": "debug" } ], - "_nested_name": "debug_override_1.template_wrapper" + "icon_src": [ + { + "fullExpression": "@data.debug.item_1.image_asset", + "matchedExpression": "@data.debug.item_1.image_asset", + "type": "data", + "fieldName": "debug" + } + ] } - ], - "_nested_name": "debug_override_1" + }, + "_dynamicDependencies": { + "@data.debug.item_1.text": [ + "parameter_list.text" + ], + "@data.debug.item_1.image_asset": [ + "parameter_list.icon_src" + ] + } }, { "type": "text", - "value": "Test 2", - "name": "text", - "_nested_name": "text" - }, - { - "type": "set_variable", - "name": "test_2_text", - "value": "success: test2 text", - "_nested_name": "test_2_text" + "name": "text_3", + "value": "The parent point box below shows that the icon_src IS found when called directly", + "_nested_name": "text_3" }, { - "type": "template", - "name": "debug_sheet_2", - "value": "debug_nesting_sheet_2", - "rows": [ - { - "name": "title", - "value": "sucess: test2 title", - "type": "set_variable", - "_nested_name": "debug_sheet_2.title" - }, - { - "name": "text", - "value": "@local.test_2_text", - "type": "set_variable", - "_nested_name": "debug_sheet_2.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.test_2_text", - "matchedExpression": "@local.test_2_text", - "type": "local", - "fieldName": "test_2_text" - } - ] - }, - "_dynamicDependencies": { - "@local.test_2_text": [ - "value" - ] - } + "type": "parent_point_box", + "name": "parent_point_box_2", + "parameter_list": { + "text": "@data.debug.item_1.text", + "icon_src": "plh_images/habits/habit_relax.svg" + }, + "_nested_name": "parent_point_box_2", + "_dynamicFields": { + "parameter_list": { + "text": [ + { + "fullExpression": "@data.debug.item_1.text", + "matchedExpression": "@data.debug.item_1.text", + "type": "data", + "fieldName": "debug" + } + ] } - ], - "_nested_name": "debug_sheet_2" + }, + "_dynamicDependencies": { + "@data.debug.item_1.text": [ + "parameter_list.text" + ] + } }, { + "value": "The tile below shows that the icon_src is NOT found when called through a data field", "type": "set_variable", - "name": "test_3_text", - "value": "success: text3_text", - "_nested_name": "test_3_text" - }, - { - "type": "text", - "value": "Test 3", - "name": "text", - "_nested_name": "text" + "name": "set_variable", + "_nested_name": "set_variable" }, { - "type": "template", - "name": "wrapper", - "value": "debug_nesting_override_1", - "rows": [ - { - "type": "nested_properties", - "name": "template_wrapper", - "value": "debug_nesting_override_1", - "rows": [ + "type": "tile_component", + "name": "quick_start_tile_1", + "parameter_list": { + "style": "quick_start_dark", + "first_line_text": "@data.debug.item_2.text", + "second_line_text": "image through data", + "icon_src": "@data.debug.item_2.image_asset" + }, + "_nested_name": "quick_start_tile_1", + "_dynamicFields": { + "parameter_list": { + "first_line_text": [ { - "type": "nested_properties", - "name": "template_wrapper", - "value": "debug_nesting_sheet_2", - "rows": [ - { - "name": "title", - "value": "success: text3_title", - "type": "set_variable", - "_nested_name": "wrapper.template_wrapper.template_wrapper.title" - }, - { - "name": "text", - "value": "@local.test_3_text", - "type": "set_variable", - "_nested_name": "wrapper.template_wrapper.template_wrapper.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.test_3_text", - "matchedExpression": "@local.test_3_text", - "type": "local", - "fieldName": "test_3_text" - } - ] - }, - "_dynamicDependencies": { - "@local.test_3_text": [ - "value" - ] - } - } - ], - "_nested_name": "wrapper.template_wrapper.template_wrapper" + "fullExpression": "@data.debug.item_2.text", + "matchedExpression": "@data.debug.item_2.text", + "type": "data", + "fieldName": "debug" } ], - "_nested_name": "wrapper.template_wrapper" + "icon_src": [ + { + "fullExpression": "@data.debug.item_2.image_asset", + "matchedExpression": "@data.debug.item_2.image_asset", + "type": "data", + "fieldName": "debug" + } + ] } - ], - "_nested_name": "wrapper" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_nesting_override_1", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@data.debug.item_2.text": [ + "parameter_list.first_line_text" + ], + "@data.debug.item_2.image_asset": [ + "parameter_list.icon_src" + ] + } + }, { - "type": "template", - "name": "template_wrapper", - "rows": [], - "_nested_name": "template_wrapper" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_pop_ups_override", - "status": "released", - "rows": [ + "value": "The tile below shows that the icon_src IS found when called directly", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + }, { - "type": "template", - "name": "example_pop_ups", - "value": "example_pop_ups", - "rows": [ - { - "name": "text_1", - "value": "This is template shows how buttons can be overwritten.", - "type": "set_variable", - "_nested_name": "example_pop_ups.text_1" - }, - { - "name": "text_2", - "value": "Button 1 has a new button text, but the action_list is unaltered.", - "type": "set_variable", - "_nested_name": "example_pop_ups.text_2" - }, - { - "name": "button_pop_up_1", - "value": "New Button 1 ", - "type": "set_variable", - "_nested_name": "example_pop_ups.button_pop_up_1" - }, - { - "name": "text_3", - "value": "Button 2 has an altered action_list. It now launches a simple text pop-up.", - "type": "set_variable", - "_nested_name": "example_pop_ups.text_3" - }, - { - "name": "button_pop_up_2", - "action_list": [ + "type": "tile_component", + "name": "quick_start_tile_2", + "parameter_list": { + "style": "quick_start_dark", + "first_line_text": "@data.debug.item_2.text", + "second_line_text": "image loaded directly", + "icon_src": "plh_images/icons/play_white.svg" + }, + "_nested_name": "quick_start_tile_2", + "_dynamicFields": { + "parameter_list": { + "first_line_text": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "example_text" - ], - "_raw": "click | pop_up:example_text", - "_cleaned": "click | pop_up:example_text" + "fullExpression": "@data.debug.item_2.text", + "matchedExpression": "@data.debug.item_2.text", + "type": "data", + "fieldName": "debug" } - ], - "type": "set_variable", - "_nested_name": "example_pop_ups.button_pop_up_2" - }, - { - "name": "text_4", - "value": "Button 3 is unaltered. ", - "type": "set_variable", - "_nested_name": "example_pop_ups.text_4" + ] } - ], - "_nested_name": "example_pop_ups" + }, + "_dynamicDependencies": { + "@data.debug.item_2.text": [ + "parameter_list.first_line_text" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_data_lists.xlsx" }, { "flow_type": "template", - "flow_name": "debug_nesting_variables", + "flow_name": "debug_data_bottom", "status": "released", "rows": [ { "type": "text", - "name": "heading_1", - "value": "TEST 1: Override template variables", - "_nested_name": "heading_1" + "name": "text_1", + "value": "@data.debug.item_1.text", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.debug.item_1.text", + "matchedExpression": "@data.debug.item_1.text", + "type": "data", + "fieldName": "debug" + } + ] + }, + "_dynamicDependencies": { + "@data.debug.item_1.text": [ + "value" + ] + } }, { - "type": "template", - "name": "two_texts_a", - "value": "debug_two_texts", - "rows": [ - { - "type": "set_variable", - "name": "child_local_variable", - "value": "Success: nesting local variable", - "_nested_name": "two_texts_a.child_local_variable" - }, - { - "type": "set_variable", - "name": "child_text_1", - "value": "Success: text_1", - "_nested_name": "two_texts_a.child_text_1" - } - ], - "_nested_name": "two_texts_a" + "type": "text", + "name": "text_2", + "value": "This text is directly authored in the value", + "_nested_name": "text_2" }, { "type": "text", - "name": "heading_2", - "value": "TEST 2: Override template variables dynamic", - "_nested_name": "heading_2" + "name": "text_3", + "value": "This text is directly authored in the value", + "_nested_name": "text_3" }, { - "type": "set_variable", - "name": "var_text_1", - "value": "Success: text_1", - "_nested_name": "var_text_1" - }, + "type": "text", + "name": "text_4", + "value": "@data.debug.item_1.text", + "_nested_name": "text_4", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.debug.item_1.text", + "matchedExpression": "@data.debug.item_1.text", + "type": "data", + "fieldName": "debug" + } + ] + }, + "_dynamicDependencies": { + "@data.debug.item_1.text": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_data_lists.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_data_middle", + "status": "released", + "rows": [ { "type": "template", - "name": "two_texts_b", - "value": "debug_two_texts", + "name": "debug_data_bottom", + "value": "debug_data_bottom", "rows": [ { + "name": "text_1", + "value": "@data.debug.item_2.text", "type": "set_variable", - "name": "child_local_variable", - "value": "Success: nesting local variable", - "_nested_name": "two_texts_b.child_local_variable" + "_nested_name": "debug_data_bottom.text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.debug.item_2.text", + "matchedExpression": "@data.debug.item_2.text", + "type": "data", + "fieldName": "debug" + } + ] + }, + "_dynamicDependencies": { + "@data.debug.item_2.text": [ + "value" + ] + } }, { + "name": "text_2", + "value": "@data.debug.item_2.text", "type": "set_variable", - "name": "child_text_1", - "value": "@local.var_text_1", - "_nested_name": "two_texts_b.child_text_1", + "_nested_name": "debug_data_bottom.text_2", "_dynamicFields": { "value": [ { - "fullExpression": "@local.var_text_1", - "matchedExpression": "@local.var_text_1", - "type": "local", - "fieldName": "var_text_1" + "fullExpression": "@data.debug.item_2.text", + "matchedExpression": "@data.debug.item_2.text", + "type": "data", + "fieldName": "debug" } ] }, "_dynamicDependencies": { - "@local.var_text_1": [ + "@data.debug.item_2.text": [ "value" ] } + }, + { + "name": "text_3", + "value": "This text is overridden directly in the value", + "type": "set_variable", + "_nested_name": "debug_data_bottom.text_3" } ], - "_nested_name": "two_texts_b" + "_nested_name": "debug_data_bottom" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_data_lists.xlsx" }, { "flow_type": "template", - "flow_name": "debug_nesting_variables_2", + "flow_name": "debug_data_top", "status": "released", "rows": [ - { - "type": "set_variable", - "name": "var_text_1", - "value": "Success: text_1", - "_nested_name": "var_text_1" - }, - { - "type": "text", - "name": "heading_1", - "value": "TEST 1 - Overwrite a general wrapper to display a named template", - "_nested_name": "heading_1" - }, { "type": "template", - "name": "debug_wrapper_1", - "value": "debug_wrapper", + "name": "debug_data_middle", + "value": "debug_data_middle", "rows": [ { "type": "nested_properties", - "name": "wrapper_template", - "value": "debug_two_texts", + "name": "debug_data_bottom", "rows": [ { + "name": "text_2", + "value": "@data.debug.item_3.text", "type": "set_variable", - "name": "child_local_variable", - "value": "Success: nesting local variable", - "_nested_name": "debug_wrapper_1.wrapper_template.child_local_variable" + "_nested_name": "debug_data_middle.debug_data_bottom.text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.debug.item_3.text", + "matchedExpression": "@data.debug.item_3.text", + "type": "data", + "fieldName": "debug" + } + ] + }, + "_dynamicDependencies": { + "@data.debug.item_3.text": [ + "value" + ] + } }, { + "name": "text_3", + "value": "@data.debug.item_3.text", "type": "set_variable", - "name": "child_text_1", - "value": "@local.var_text_1", - "_nested_name": "debug_wrapper_1.wrapper_template.child_text_1", + "_nested_name": "debug_data_middle.debug_data_bottom.text_3", "_dynamicFields": { "value": [ { - "fullExpression": "@local.var_text_1", - "matchedExpression": "@local.var_text_1", - "type": "local", - "fieldName": "var_text_1" + "fullExpression": "@data.debug.item_3.text", + "matchedExpression": "@data.debug.item_3.text", + "type": "data", + "fieldName": "debug" } ] }, "_dynamicDependencies": { - "@local.var_text_1": [ + "@data.debug.item_3.text": [ "value" ] } - } - ], - "_nested_name": "debug_wrapper_1.wrapper_template" - } - ], - "_nested_name": "debug_wrapper_1" - }, - { - "type": "text", - "name": "heading_2", - "value": "The template below should match the template above, and has been set by 2 levels of nested_properties", - "condition": false, - "_nested_name": "heading_2" - }, - { - "type": "template", - "name": "debug_wrapper_2", - "value": "debug_wrapper", - "condition": false, - "rows": [ - { - "type": "nested_properties", - "name": "wrapper_template", - "value": "debug_wrapper", - "rows": [ - { - "type": "nested_properties", - "name": "wrapper_template", - "value": "debug_two_texts", - "rows": [ - { - "type": "set_variable", - "name": "child_local_variable", - "value": "Success: nesting local variable", - "_nested_name": "debug_wrapper_2.wrapper_template.wrapper_template.child_local_variable" - }, - { - "type": "set_variable", - "name": "child_text_1", - "value": "@local.var_text_1", - "_nested_name": "debug_wrapper_2.wrapper_template.wrapper_template.child_text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.var_text_1", - "matchedExpression": "@local.var_text_1", - "type": "local", - "fieldName": "var_text_1" - } - ] - }, - "_dynamicDependencies": { - "@local.var_text_1": [ - "value" - ] - } - } - ], - "_nested_name": "debug_wrapper_2.wrapper_template.wrapper_template" - } - ], - "_nested_name": "debug_wrapper_2.wrapper_template" - } - ], - "_nested_name": "debug_wrapper_2" - }, - { - "type": "text", - "name": "heading_3", - "value": "The content below adds additional content to the template", - "_nested_name": "heading_3" - }, - { - "type": "template", - "name": "debug_wrapper_1", - "value": "debug_wrapper", - "rows": [ - { - "type": "nested_properties", - "name": "wrapper_template", - "value": "debug_two_texts", - "rows": [ - { - "type": "set_variable", - "name": "child_local_variable", - "value": "Success: nesting local variable", - "_nested_name": "debug_wrapper_1.wrapper_template.child_local_variable" }, { + "name": "text_4", + "value": "@data.debug.item_3.text", "type": "set_variable", - "name": "child_text_1", - "value": "@local.var_text_1", - "_nested_name": "debug_wrapper_1.wrapper_template.child_text_1", + "_nested_name": "debug_data_middle.debug_data_bottom.text_4", "_dynamicFields": { "value": [ { - "fullExpression": "@local.var_text_1", - "matchedExpression": "@local.var_text_1", - "type": "local", - "fieldName": "var_text_1" + "fullExpression": "@data.debug.item_3.text", + "matchedExpression": "@data.debug.item_3.text", + "type": "data", + "fieldName": "debug" } ] }, "_dynamicDependencies": { - "@local.var_text_1": [ + "@data.debug.item_3.text": [ "value" ] } } ], - "_nested_name": "debug_wrapper_1.wrapper_template" + "_nested_name": "debug_data_middle.debug_data_bottom" } ], - "_nested_name": "debug_wrapper_1" + "_nested_name": "debug_data_middle" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_data_lists.xlsx" }, { "flow_type": "template", - "flow_name": "debug_nesting_variables_3", + "flow_name": "debug_go_to_1", "status": "released", "rows": [ { "type": "text", - "name": "heading_1", - "value": "TEST 1: Conditional properties", - "_nested_name": "heading_1" - }, - { - "type": "set_variable", - "name": "toggle_value", - "value": true, - "_nested_name": "toggle_value" + "name": "text", + "value": "This is the first template", + "_nested_name": "text" }, { "type": "button", - "name": "toggle_button", - "value": "Value: @local.toggle_value", + "name": "button_go_to_1", + "value": "Go to the second template", "action_list": [ { "trigger": "click", - "action_id": "set_local", + "action_id": "go_to", "args": [ - "toggle_value", - "!@local.toggle_value" + "debug_go_to_2" ], - "_raw": "click | set_local : toggle_value:!@local.toggle_value", - "_cleaned": "click | set_local : toggle_value:!@local.toggle_value" - } - ], - "_nested_name": "toggle_button", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Value: @local.toggle_value", - "matchedExpression": "@local.toggle_value", - "type": "local", - "fieldName": "toggle_value" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "!@local.toggle_value", - "matchedExpression": "@local.toggle_value", - "type": "local", - "fieldName": "toggle_value" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_local : toggle_value:!@local.toggle_value", - "matchedExpression": "@local.toggle_value", - "type": "local", - "fieldName": "toggle_value" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_local : toggle_value:!@local.toggle_value", - "matchedExpression": "@local.toggle_value", - "type": "local", - "fieldName": "toggle_value" - } - ] - } - } - }, - "_dynamicDependencies": { - "@local.toggle_value": [ - "value", - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } - }, - { - "type": "template", - "name": "two_texts_a", - "value": "debug_two_texts", - "rows": [ - { - "type": "set_variable", - "name": "child_local_variable", - "value": "Text variant 1 (toggle to change)", - "condition": "@local.toggle_value", - "_nested_name": "two_texts_a.child_local_variable", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.toggle_value", - "matchedExpression": "@local.toggle_value", - "type": "local", - "fieldName": "toggle_value" - } - ] - }, - "_dynamicDependencies": { - "@local.toggle_value": [ - "condition" - ] - } - }, - { - "type": "set_variable", - "name": "child_local_variable", - "value": "Text variant 2 (toggle to change)", - "condition": "!@local.toggle_value", - "_nested_name": "two_texts_a.child_local_variable", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@local.toggle_value", - "matchedExpression": "@local.toggle_value", - "type": "local", - "fieldName": "toggle_value" - } - ] - }, - "_dynamicDependencies": { - "@local.toggle_value": [ - "condition" - ] - } - }, - { - "type": "set_variable", - "name": "child_text_1", - "value": "Success: text_1", - "_nested_name": "two_texts_a.child_text_1" + "_raw": "click | go_to:debug_go_to_2", + "_cleaned": "click | go_to:debug_go_to_2" } ], - "_nested_name": "two_texts_a" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_nesting_conditional", - "status": "released", - "rows": [ - { - "name": "text_2", - "value": "Success: text_2", - "type": "set_variable", - "_nested_name": "text_2" - }, - { - "name": "text_1_toggle", - "value": true, - "type": "set_variable", - "_nested_name": "text_1_toggle" + "_nested_name": "button_go_to_1" }, { "type": "text", - "name": "var_toggle_text", - "value": "The value of the toggle is: @local.text_1_toggle", - "_nested_name": "var_toggle_text", + "name": "go_to_field", + "value": "Value of debug_go_to_field: @fields.debug_go_to_field", + "_nested_name": "go_to_field", "_dynamicFields": { "value": [ { - "fullExpression": "The value of the toggle is: @local.text_1_toggle", - "matchedExpression": "@local.text_1_toggle", - "type": "local", - "fieldName": "text_1_toggle" + "fullExpression": "Value of debug_go_to_field: @fields.debug_go_to_field", + "matchedExpression": "@fields.debug_go_to_field", + "type": "fields", + "fieldName": "debug_go_to_field" } ] }, "_dynamicDependencies": { - "@local.text_1_toggle": [ - "value" - ] - } - }, - { - "type": "text", - "name": "intro_1", - "value": "The following template should change text_1 value depending on the value of a variable", - "_nested_name": "intro_1" - }, - { - "type": "template", - "name": "direct_template_2", - "value": "debug_two_texts", - "rows": [ - { - "type": "set_variable", - "name": "child_text_1", - "value": "Success: text_1 - toggle TRUE", - "condition": "@local.text_1_toggle", - "_nested_name": "direct_template_2.child_text_1", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.text_1_toggle", - "matchedExpression": "@local.text_1_toggle", - "type": "local", - "fieldName": "text_1_toggle" - } - ] - }, - "_dynamicDependencies": { - "@local.text_1_toggle": [ - "condition" - ] - } - }, - { - "type": "set_variable", - "name": "child_text_1", - "value": "Success: text_1 - toggle FALSE", - "condition": "!@local.text_1_toggle", - "_nested_name": "direct_template_2.child_text_1", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@local.text_1_toggle", - "matchedExpression": "@local.text_1_toggle", - "type": "local", - "fieldName": "text_1_toggle" - } - ] - }, - "_dynamicDependencies": { - "@local.text_1_toggle": [ - "condition" - ] - } - }, - { - "type": "set_variable", - "name": "child_text_2", - "value": "Expected: \"Success: text_2\"\nResult: @local.text_2", - "_nested_name": "direct_template_2.child_text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Expected: \"Success: text_2\"\nResult: @local.text_2", - "matchedExpression": "@local.text_2", - "type": "local", - "fieldName": "text_2" - } - ] - }, - "_dynamicDependencies": { - "@local.text_2": [ - "value" - ] - } - }, - { - "type": "set_variable", - "name": "child_local_variable", - "value": "Success: nesting local variable", - "_nested_name": "direct_template_2.child_local_variable" - } - ], - "_nested_name": "direct_template_2" - }, - { - "type": "button", - "name": "toggle text", - "value": "Toggle value of text_1", - "action_list": [ - { - "trigger": "click", - "action_id": "set_local", - "args": [], - "_raw": "click | set_local | var_toggle: !@local.var_toggle", - "_cleaned": "click | set_local | var_toggle: !@local.var_toggle" - } - ], - "_nested_name": "toggle text", - "_dynamicFields": { - "action_list": { - "0": { - "_raw": [ - { - "fullExpression": "click | set_local | var_toggle: !@local.var_toggle", - "matchedExpression": "@local.var_toggle", - "type": "local", - "fieldName": "var_toggle" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_local | var_toggle: !@local.var_toggle", - "matchedExpression": "@local.var_toggle", - "type": "local", - "fieldName": "var_toggle" - } - ] - } - } - }, - "_dynamicDependencies": { - "@local.var_toggle": [ - "action_list.0._raw", - "action_list.0._cleaned" + "@fields.debug_go_to_field": [ + "value" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_go_to.xlsx" }, { "flow_type": "template", - "flow_name": "debug_two_texts", + "flow_name": "debug_go_to_2", "status": "released", "rows": [ - { - "name": "child_local_variable", - "type": "set_variable", - "_nested_name": "child_local_variable" - }, { "type": "text", - "name": "child_text_1", - "value": "Failed: \"text_1\" has not been overwritten", - "_nested_name": "child_text_1" + "name": "text", + "value": "This is the second template", + "_nested_name": "text" }, { - "type": "text", - "name": "child_text_from_local_variable", - "value": "@local.child_local_variable", + "type": "text_box", + "name": "debug_text_box", + "value": "@fields.debug_go_to_field", "action_list": [ { - "trigger": "click", - "action_id": "emit", + "trigger": "changed", + "action_id": "set_field", "args": [ - "@local.child_local_variable" + "debug_go_to_field", + "@local.debug_text_box" ], - "_raw": "click | emit:@local.child_local_variable", - "_cleaned": "click | emit:@local.child_local_variable" + "_raw": "changed | set_field:debug_go_to_field:@local.debug_text_box", + "_cleaned": "changed | set_field:debug_go_to_field:@local.debug_text_box" } ], - "parameter_list": { - "key_1": "@local.child_local_variable" - }, - "_nested_name": "child_text_from_local_variable", + "_nested_name": "debug_text_box", "_dynamicFields": { "value": [ { - "fullExpression": "@local.child_local_variable", - "matchedExpression": "@local.child_local_variable", - "type": "local", - "fieldName": "child_local_variable" + "fullExpression": "@fields.debug_go_to_field", + "matchedExpression": "@fields.debug_go_to_field", + "type": "fields", + "fieldName": "debug_go_to_field" } ], "action_list": { "0": { "args": { - "0": [ + "1": [ { - "fullExpression": "@local.child_local_variable", - "matchedExpression": "@local.child_local_variable", + "fullExpression": "@local.debug_text_box", + "matchedExpression": "@local.debug_text_box", "type": "local", - "fieldName": "child_local_variable" + "fieldName": "debug_text_box" } ] }, "_raw": [ { - "fullExpression": "click | emit:@local.child_local_variable", - "matchedExpression": "@local.child_local_variable", + "fullExpression": "changed | set_field:debug_go_to_field:@local.debug_text_box", + "matchedExpression": "@local.debug_text_box", "type": "local", - "fieldName": "child_local_variable" + "fieldName": "debug_text_box" } ], "_cleaned": [ { - "fullExpression": "click | emit:@local.child_local_variable", - "matchedExpression": "@local.child_local_variable", + "fullExpression": "changed | set_field:debug_go_to_field:@local.debug_text_box", + "matchedExpression": "@local.debug_text_box", "type": "local", - "fieldName": "child_local_variable" + "fieldName": "debug_text_box" } ] } - }, + } + }, + "_dynamicDependencies": { + "@fields.debug_go_to_field": [ + "value" + ], + "@local.debug_text_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } + }, + { + "type": "text", + "name": "go_to_field", + "value": "Value of debug_go_to_field: \nlocal: @local.debug_text_box;\nfield: @fields.debug_go_to_field", + "_nested_name": "go_to_field", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Value of debug_go_to_field: \nlocal: @local.debug_text_box;\nfield: @fields.debug_go_to_field", + "matchedExpression": "@local.debug_text_box", + "type": "local", + "fieldName": "debug_text_box" + }, + { + "fullExpression": "Value of debug_go_to_field: \nlocal: @local.debug_text_box;\nfield: @fields.debug_go_to_field", + "matchedExpression": "@fields.debug_go_to_field", + "type": "fields", + "fieldName": "debug_go_to_field" + } + ] + }, + "_dynamicDependencies": { + "@local.debug_text_box": [ + "value" + ], + "@fields.debug_go_to_field": [ + "value" + ] + } + }, + { + "type": "button", + "name": "button_go_to_1", + "value": "Go to the third template", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "debug_go_to_3" + ], + "_raw": "click | go_to:debug_go_to_3", + "_cleaned": "click | go_to:debug_go_to_3" + } + ], + "_nested_name": "button_go_to_1" + }, + { + "type": "button", + "name": "button_completed", + "value": "Complete the current template", + "action_list": [ + { + "trigger": "click", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" + } + ], + "_nested_name": "button_completed" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_go_to.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_go_to_3", + "status": "released", + "rows": [ + { + "type": "text", + "name": "text", + "value": "This is the third template", + "_nested_name": "text" + }, + { + "type": "button", + "name": "button_completed", + "value": "Complete the current template", + "action_list": [ + { + "trigger": "click", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" + } + ], + "_nested_name": "button_completed" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_go_to.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_radio_group", + "status": "released", + "rows": [ + { + "name": "answer_list", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second", + "name:name_var_3 | text:Third" + ], + "type": "set_variable", + "_nested_name": "answer_list" + }, + { + "type": "text", + "name": "text", + "value": "This is the radio group debug template", + "_nested_name": "text" + }, + { + "type": "radio_group", + "name": "radio_group", + "parameter_list": { + "answer_list": "@local.answer_list" + }, + "_nested_name": "radio_group", + "_dynamicFields": { "parameter_list": { - "key_1": [ + "answer_list": [ { - "fullExpression": "@local.child_local_variable", - "matchedExpression": "@local.child_local_variable", + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", "type": "local", - "fieldName": "child_local_variable" + "fieldName": "answer_list" } ] } }, "_dynamicDependencies": { - "@local.child_local_variable": [ - "value", - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned", - "parameter_list.key_1" + "@local.answer_list": [ + "parameter_list.answer_list" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_radio_group.xlsx" }, { "flow_type": "template", - "flow_name": "debug_nesting_variables_global", + "flow_name": "debug_double_radio_group_1", "status": "released", "rows": [ { - "name": "var_text_2", - "value": "This is text_2", - "type": "set_variable", - "_nested_name": "var_text_2" - }, - { - "name": "var_text_4", - "value": "This is text_4", + "name": "template_name", + "value": "debug_radio_group", "type": "set_variable", - "_nested_name": "var_text_4" + "_nested_name": "template_name" }, { "type": "template", - "name": "debug_two_texts", - "value": "debug_two_texts", + "name": "debug_radio_group_1", + "value": "debug_radio_group", "rows": [ { - "name": "child_text_1", - "value": "This is text_1 overridden directly in the value", - "type": "set_variable", - "_nested_name": "debug_two_texts.child_text_1" - }, - { - "name": "child_text_2", - "value": "@global.teen_girl_1 overridden by calling a variable", + "name": "text", + "value": "This is the first instance of @local.template_name", "type": "set_variable", - "_nested_name": "debug_two_texts.child_text_2", + "_nested_name": "debug_radio_group_1.text", "_dynamicFields": { "value": [ { - "fullExpression": "@global.teen_girl_1 overridden by calling a variable", - "matchedExpression": "@global.teen_girl_1", - "type": "global", - "fieldName": "teen_girl_1" + "fullExpression": "This is the first instance of @local.template_name", + "matchedExpression": "@local.template_name", + "type": "local", + "fieldName": "template_name" } ] }, "_dynamicDependencies": { - "@global.teen_girl_1": [ + "@local.template_name": [ "value" ] } + }, + { + "name": "answer_list", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second", + "name:name_var_3 | text:Third" + ], + "type": "set_variable", + "_nested_name": "debug_radio_group_1.answer_list" } ], - "_nested_name": "debug_two_texts" - }, - { - "type": "text", - "name": "text_3", - "value": "This is text_3 written directly in the value", - "_nested_name": "text_3" + "_nested_name": "debug_radio_group_1" }, { - "type": "text", - "name": "text_4", - "value": "@local.var_text_4 calling a variable", - "_nested_name": "text_4", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.var_text_4 calling a variable", - "matchedExpression": "@local.var_text_4", - "type": "local", - "fieldName": "var_text_4" - } - ] - }, - "_dynamicDependencies": { - "@local.var_text_4": [ - "value" - ] - } + "type": "template", + "name": "debug_radio_group_2", + "value": "debug_radio_group", + "rows": [ + { + "name": "text", + "value": "This is the second instance of debug_radio_group", + "type": "set_variable", + "_nested_name": "debug_radio_group_2.text" + }, + { + "name": "answer_list", + "value": [ + "name:name_var_4 | text:1", + "name:name_var_5 | text:2", + "name:name_var_6 | text:3" + ], + "type": "set_variable", + "_nested_name": "debug_radio_group_2.answer_list" + } + ], + "_nested_name": "debug_radio_group_2" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_radio_group.xlsx" }, { "flow_type": "template", - "flow_name": "debug_variable_type", + "flow_name": "debug_double_radio_group_2", "status": "released", "rows": [ { + "name": "template_name", + "value": "debug_radio_group", "type": "set_variable", - "name": "var_counter", - "value": 1, - "_nested_name": "var_counter" - }, - { - "type": "set_variable", - "name": "var_counter_calc", - "value": "10*@local.var_counter", - "_nested_name": "var_counter_calc", - "_dynamicFields": { - "value": [ - { - "fullExpression": "10*@local.var_counter", - "matchedExpression": "@local.var_counter", - "type": "local", - "fieldName": "var_counter" - } - ] - }, - "_dynamicDependencies": { - "@local.var_counter": [ - "value" - ] - } - }, - { - "type": "set_variable", - "name": "var_counter_addition", - "value": "@local.var_counter + @local.var_counter", - "_nested_name": "var_counter_addition", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.var_counter + @local.var_counter", - "matchedExpression": "@local.var_counter", - "type": "local", - "fieldName": "var_counter" - }, - { - "fullExpression": "@local.var_counter + @local.var_counter", - "matchedExpression": "@local.var_counter", - "type": "local", - "fieldName": "var_counter" - } - ] - }, - "_dynamicDependencies": { - "@local.var_counter": [ - "value", - "value" - ] - } - }, - { - "type": "set_variable", - "name": "var_bool_true", - "value": "@data.debug_vars.bool_true.value", - "_nested_name": "var_bool_true", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug_vars.bool_true.value", - "matchedExpression": "@data.debug_vars.bool_true.value", - "type": "data", - "fieldName": "debug_vars" - } - ] - }, - "_dynamicDependencies": { - "@data.debug_vars.bool_true.value": [ - "value" - ] - } + "_nested_name": "template_name" }, { + "name": "answer_list_1_list", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second", + "name:name_var_3 | text:Third" + ], "type": "set_variable", - "name": "var_recursive_lookup", - "value": "@local.var_bool_true", - "_nested_name": "var_recursive_lookup", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.var_bool_true", - "matchedExpression": "@local.var_bool_true", - "type": "local", - "fieldName": "var_bool_true" - } - ] - }, - "_dynamicDependencies": { - "@local.var_bool_true": [ - "value" - ] - } + "_nested_name": "answer_list_1_list" }, { + "name": "answer_list_2_list", + "value": [ + "name:name_var_1 | text:1", + "name:name_var_2 | text:2", + "name:name_var_3 | text:3" + ], "type": "set_variable", - "name": "var_bool_false", - "value": "@data.debug_vars.bool_false.value", - "_nested_name": "var_bool_false", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug_vars.bool_false.value", - "matchedExpression": "@data.debug_vars.bool_false.value", - "type": "data", - "fieldName": "debug_vars" - } - ] - }, - "_dynamicDependencies": { - "@data.debug_vars.bool_false.value": [ - "value" - ] - } + "_nested_name": "answer_list_2_list" }, { - "type": "set_variable", - "name": "var_number_0", - "value": "@data.debug_vars.number_0.value", - "_nested_name": "var_number_0", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.debug_vars.number_0.value", - "matchedExpression": "@data.debug_vars.number_0.value", - "type": "data", - "fieldName": "debug_vars" + "type": "template", + "name": "debug_radio_group_1", + "value": "debug_radio_group", + "rows": [ + { + "name": "text", + "value": "This is the first instance of @local.template_name", + "type": "set_variable", + "_nested_name": "debug_radio_group_1.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "This is the first instance of @local.template_name", + "matchedExpression": "@local.template_name", + "type": "local", + "fieldName": "template_name" + } + ] + }, + "_dynamicDependencies": { + "@local.template_name": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@data.debug_vars.number_0.value": [ - "value" - ] - } - }, - { - "type": "set_variable", - "name": "var_list_1", - "value": [ - "@data.debug_vars.list_1.value_list" - ], - "_nested_name": "var_list_1", - "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "@data.debug_vars.list_1.value_list", - "matchedExpression": "@data.debug_vars.list_1.value_list", - "type": "data", - "fieldName": "debug_vars" + }, + { + "name": "answer_list", + "value": [ + "@local.answer_list_1_list" + ], + "type": "set_variable", + "_nested_name": "debug_radio_group_1.answer_list", + "_dynamicFields": { + "value": { + "0": [ + { + "fullExpression": "@local.answer_list_1_list", + "matchedExpression": "@local.answer_list_1_list", + "type": "local", + "fieldName": "answer_list_1_list" + } + ] } - ] - } - }, - "_dynamicDependencies": { - "@data.debug_vars.list_1.value_list": [ - "value.0" - ] - } + }, + "_dynamicDependencies": { + "@local.answer_list_1_list": [ + "value.0" + ] + } + } + ], + "_nested_name": "debug_radio_group_1" }, { - "type": "set_variable", - "name": "var_list_1_length", - "value": [ - "@local.var_list_1.length" - ], - "_nested_name": "var_list_1_length", - "_dynamicFields": { - "value": { - "0": [ - { - "fullExpression": "@local.var_list_1.length", - "matchedExpression": "@local.var_list_1.length", - "type": "local", - "fieldName": "var_list_1" + "type": "template", + "name": "debug_radio_group_2", + "value": "debug_radio_group", + "rows": [ + { + "name": "text", + "value": "This is the second instance of debug_radio_group", + "type": "set_variable", + "_nested_name": "debug_radio_group_2.text" + }, + { + "name": "answer_list", + "value": [ + "@local.answer_list_2_list" + ], + "type": "set_variable", + "_nested_name": "debug_radio_group_2.answer_list", + "_dynamicFields": { + "value": { + "0": [ + { + "fullExpression": "@local.answer_list_2_list", + "matchedExpression": "@local.answer_list_2_list", + "type": "local", + "fieldName": "answer_list_2_list" + } + ] } - ] + }, + "_dynamicDependencies": { + "@local.answer_list_2_list": [ + "value.0" + ] + } } + ], + "_nested_name": "debug_radio_group_2" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_double_radio_group.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_slider_dynamic", + "status": "released", + "rows": [ + { + "type": "slider", + "name": "slider_1", + "parameter_list": { + "title": "Slider 1" }, - "_dynamicDependencies": { - "@local.var_list_1.length": [ - "value.0" - ] - } + "_nested_name": "slider_1" }, { - "type": "set_variable", - "name": "var_text_1", - "value": "@data.debug_vars.text_1.value", - "_nested_name": "var_text_1", + "type": "text", + "name": "text_1", + "value": "local variable for slider 1: @local.slider_1", + "_nested_name": "text_1", "_dynamicFields": { "value": [ { - "fullExpression": "@data.debug_vars.text_1.value", - "matchedExpression": "@data.debug_vars.text_1.value", - "type": "data", - "fieldName": "debug_vars" + "fullExpression": "local variable for slider 1: @local.slider_1", + "matchedExpression": "@local.slider_1", + "type": "local", + "fieldName": "slider_1" } ] }, "_dynamicDependencies": { - "@data.debug_vars.text_1.value": [ + "@local.slider_1": [ "value" ] } }, { - "type": "set_variable", - "name": "var_collection_1", - "value": { - "@data": { - "debug_vars": { - "collection_1": {} - } + "type": "slider", + "name": "slider_2", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "slider_2_field", + "@local.slider_2" + ], + "_raw": "changed | set_field:slider_2_field:@local.slider_2", + "_cleaned": "changed | set_field:slider_2_field:@local.slider_2" } + ], + "parameter_list": { + "title": "Slider 2" }, - "_nested_name": "var_collection_1" - }, - { - "type": "set_variable", - "name": "global_text", - "value": "@global.debug_variable_1", - "_nested_name": "global_text", + "_nested_name": "slider_2", "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_variable_1", - "matchedExpression": "@global.debug_variable_1", - "type": "global", - "fieldName": "debug_variable_1" + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:slider_2_field:@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:slider_2_field:@local.slider_2", + "matchedExpression": "@local.slider_2", + "type": "local", + "fieldName": "slider_2" + } + ] } - ] + } }, "_dynamicDependencies": { - "@global.debug_variable_1": [ - "value" + "@local.slider_2": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } }, { "type": "text", "name": "text_2", - "value": "List length Test: @local.var_list_1_length", + "value": "local variable for slider 2: @local.slider_2", "_nested_name": "text_2", "_dynamicFields": { "value": [ { - "fullExpression": "List length Test: @local.var_list_1_length", - "matchedExpression": "@local.var_list_1_length", - "type": "local", - "fieldName": "var_list_1_length" - } - ] - }, - "_dynamicDependencies": { - "@local.var_list_1_length": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_4wrong", - "value": "Expected fail calculation: 10*@local.var_counter", - "_nested_name": "text_4wrong", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Expected fail calculation: 10*@local.var_counter", - "matchedExpression": "@local.var_counter", + "fullExpression": "local variable for slider 2: @local.slider_2", + "matchedExpression": "@local.slider_2", "type": "local", - "fieldName": "var_counter" + "fieldName": "slider_2" } ] }, "_dynamicDependencies": { - "@local.var_counter": [ + "@local.slider_2": [ "value" ] } }, { "type": "text", - "name": "text_4right", - "value": "Expected pass calculation: @local.var_counter_calc", - "_nested_name": "text_4right", + "name": "text_3", + "value": "field for slider 2: @field.slider_2_field", + "_nested_name": "text_3", "_dynamicFields": { "value": [ { - "fullExpression": "Expected pass calculation: @local.var_counter_calc", - "matchedExpression": "@local.var_counter_calc", - "type": "local", - "fieldName": "var_counter_calc" + "fullExpression": "field for slider 2: @field.slider_2_field", + "matchedExpression": "@field.slider_2_field", + "type": "field", + "fieldName": "slider_2_field" } ] }, "_dynamicDependencies": { - "@local.var_counter_calc": [ + "@field.slider_2_field": [ "value" ] } - }, + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_dynamic.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_radio_group_dynamic", + "status": "released", + "rows": [ { - "type": "text", - "name": "text_5", - "value": "Basic Text", - "_nested_name": "text_5" + "name": "answer_list", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second" + ], + "type": "set_variable", + "_nested_name": "answer_list" }, { - "type": "text", - "name": "text_6", - "value": "Multiple values: @local.var_bool_true and @local.var_bool_false", - "_nested_name": "text_6", + "type": "radio_group", + "name": "radio_group_1", + "parameter_list": { + "answer_list": "@local.answer_list" + }, + "_nested_name": "radio_group_1", "_dynamicFields": { - "value": [ - { - "fullExpression": "Multiple values: @local.var_bool_true and @local.var_bool_false", - "matchedExpression": "@local.var_bool_true", - "type": "local", - "fieldName": "var_bool_true" - }, - { - "fullExpression": "Multiple values: @local.var_bool_true and @local.var_bool_false", - "matchedExpression": "@local.var_bool_false", - "type": "local", - "fieldName": "var_bool_false" - } - ] + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" + } + ] + } }, "_dynamicDependencies": { - "@local.var_bool_true": [ - "value" - ], - "@local.var_bool_false": [ - "value" + "@local.answer_list": [ + "parameter_list.answer_list" ] } }, { "type": "text", - "name": "text_7", - "value": "Recursive lookup: @local.var_recursive_lookup", - "_nested_name": "text_7", + "name": "text_1", + "value": "local variable for radio group 1: @local.radio_group_1", + "_nested_name": "text_1", "_dynamicFields": { "value": [ { - "fullExpression": "Recursive lookup: @local.var_recursive_lookup", - "matchedExpression": "@local.var_recursive_lookup", + "fullExpression": "local variable for radio group 1: @local.radio_group_1", + "matchedExpression": "@local.radio_group_1", "type": "local", - "fieldName": "var_recursive_lookup" + "fieldName": "radio_group_1" } ] }, "_dynamicDependencies": { - "@local.var_recursive_lookup": [ + "@local.radio_group_1": [ "value" ] } }, { - "type": "button", - "name": "button_number_1_increment", - "value": "Counter value: @local.var_counter", + "type": "radio_group", + "name": "radio_group_2", "action_list": [ { - "trigger": "click", - "action_id": "set_local", + "trigger": "changed", + "action_id": "set_field", "args": [ - "var_counter", - "@local.var_counter+ 1" + "radio_group_2_field", + "@local.radio_group_2" ], - "_raw": "click | set_local:var_counter:@local.var_counter+ 1", - "_cleaned": "click | set_local:var_counter:@local.var_counter+ 1" + "_raw": "changed | set_field:radio_group_2_field:@local.radio_group_2", + "_cleaned": "changed | set_field:radio_group_2_field:@local.radio_group_2" } ], - "_nested_name": "button_number_1_increment", + "parameter_list": { + "answer_list": "@local.answer_list" + }, + "_nested_name": "radio_group_2", "_dynamicFields": { - "value": [ - { - "fullExpression": "Counter value: @local.var_counter", - "matchedExpression": "@local.var_counter", - "type": "local", - "fieldName": "var_counter" - } - ], "action_list": { "0": { "args": { "1": [ { - "fullExpression": "@local.var_counter+ 1", - "matchedExpression": "@local.var_counter", + "fullExpression": "@local.radio_group_2", + "matchedExpression": "@local.radio_group_2", "type": "local", - "fieldName": "var_counter" + "fieldName": "radio_group_2" } ] }, "_raw": [ { - "fullExpression": "click | set_local:var_counter:@local.var_counter+ 1", - "matchedExpression": "@local.var_counter", + "fullExpression": "changed | set_field:radio_group_2_field:@local.radio_group_2", + "matchedExpression": "@local.radio_group_2", "type": "local", - "fieldName": "var_counter" + "fieldName": "radio_group_2" } ], "_cleaned": [ { - "fullExpression": "click | set_local:var_counter:@local.var_counter+ 1", - "matchedExpression": "@local.var_counter", + "fullExpression": "changed | set_field:radio_group_2_field:@local.radio_group_2", + "matchedExpression": "@local.radio_group_2", "type": "local", - "fieldName": "var_counter" + "fieldName": "radio_group_2" } ] } + }, + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" + } + ] } }, "_dynamicDependencies": { - "@local.var_counter": [ - "value", + "@local.radio_group_2": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" + ], + "@local.answer_list": [ + "parameter_list.answer_list" ] } }, { "type": "text", - "name": "text_7", - "value": "TODO - nested rows", - "_nested_name": "text_7" - }, - { - "type": "text", - "name": "text_8", - "value": "Expected: global.debug_variable_1 lookup\nResult: @local.global_text", - "_nested_name": "text_8", + "name": "text_2", + "value": "local variable for radio group 2: @local.radio_group_2", + "_nested_name": "text_2", "_dynamicFields": { "value": [ { - "fullExpression": "Expected: global.debug_variable_1 lookup\nResult: @local.global_text", - "matchedExpression": "@local.global_text", + "fullExpression": "local variable for radio group 2: @local.radio_group_2", + "matchedExpression": "@local.radio_group_2", "type": "local", - "fieldName": "global_text" + "fieldName": "radio_group_2" } ] }, "_dynamicDependencies": { - "@local.global_text": [ + "@local.radio_group_2": [ "value" ] } }, { "type": "text", - "name": "text_9", - "value": "Global text test: @global.debug_variable_1", - "_nested_name": "text_9", + "name": "text_3", + "value": "field for radio group 2: @field.radio_group_2_field", + "_nested_name": "text_3", "_dynamicFields": { "value": [ { - "fullExpression": "Global text test: @global.debug_variable_1", - "matchedExpression": "@global.debug_variable_1", - "type": "global", - "fieldName": "debug_variable_1" + "fullExpression": "field for radio group 2: @field.radio_group_2_field", + "matchedExpression": "@field.radio_group_2_field", + "type": "field", + "fieldName": "radio_group_2_field" } ] }, "_dynamicDependencies": { - "@global.debug_variable_1": [ + "@field.radio_group_2_field": [ "value" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_dynamic.xlsx" }, { "flow_type": "template", - "flow_name": "debug_wrapper", + "flow_name": "debug_combo_box_dynamic", "status": "released", "rows": [ { - "type": "template", - "name": "wrapper_template", - "rows": [ - { - "name": "text_1", - "value": "No text to display in wrapper_template", - "type": "set_variable", - "_nested_name": "wrapper_template.text_1" - } + "name": "answer_list", + "value": [ + "name: name_1 | text: This is text 1", + "name: name_2 | text: This is text 2", + "name: name_3 | text: This is text 3" ], - "_nested_name": "wrapper_template" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_ordered_list", - "status": "released", - "rows": [ - { - "type": "title", - "name": "title_unordered", - "value": "This is a bulleted list", - "_nested_name": "title_unordered" - }, - { - "type": "text", - "name": "text_unordered", - "value": "These are some ideas you can try:\n\n- first idea\n- second idea\n- third idea", - "parameter_list": { - "type": "marked" - }, - "_nested_name": "text_unordered" - }, - { - "type": "title", - "name": "title_ordered", - "value": "This should be a numbered list", - "_nested_name": "title_ordered" - }, - { - "type": "text", - "name": "text_ordered", - "value": "These are some ideas you can try:\n\n- first idea\n- second idea\n- third idea", - "parameter_list": { - "type": "numbered" - }, - "_nested_name": "text_ordered" + "type": "set_variable", + "_nested_name": "answer_list" }, { - "type": "title", - "name": "title_ordered", - "value": "This should be a numbered list", - "_nested_name": "title_ordered" + "name": "combo_box_2_var", + "value": "combo_box_2_field", + "type": "set_variable", + "_nested_name": "combo_box_2_var" }, { - "type": "text", - "name": "text_ordered2", - "value": "- first idea\n- second idea\n- third idea", + "type": "combo_box", + "name": "combo_box_1", "parameter_list": { - "type": "numbered" + "answer_list": "@local.answer_list" }, - "_nested_name": "text_ordered2" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_ordered_list.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_actions_bottom", - "status": "released", - "rows": [ - { - "type": "button", - "name": "button", - "value": "Button", - "action_list": [ - { - "trigger": "click", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" - } - ], - "_nested_name": "button" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_action_list.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_actions_middle", - "status": "released", - "rows": [ - { - "name": "field_1", - "value": "debug_actions_middle_1", - "type": "set_variable", - "_nested_name": "field_1" - }, - { - "name": "value_1", - "value": "Value 1", - "type": "set_variable", - "_nested_name": "value_1" + "_nested_name": "combo_box_1", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer_list": [ + "parameter_list.answer_list" + ] + } }, { "type": "text", "name": "text_1", - "value": "Set the field debug_actions_middle_1 through a local variable", - "_nested_name": "text_1" + "value": "local variable for combo box 1: @local.combo_box_1", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "local variable for combo box 1: @local.combo_box_1", + "matchedExpression": "@local.combo_box_1", + "type": "local", + "fieldName": "combo_box_1" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box_1": [ + "value" + ] + } }, { - "type": "template", - "name": "debug_actions_bottom_1", - "value": "debug_actions_bottom", + "type": "combo_box", + "name": "combo_box_2", "action_list": [ { - "trigger": "completed", + "trigger": "changed", "action_id": "set_field", "args": [ - "@local.field_1", - "@local.value_1" - ], - "_raw": "completed | set_field: @local.field_1 : @local.value_1", - "_cleaned": "completed | set_field: @local.field_1 : @local.value_1" - }, - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" + "@local.combo_box_2_var", + "@local.combo_box_2" ], - "_raw": "completed | emit: completed", - "_cleaned": "completed | emit: completed" + "_raw": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", + "_cleaned": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2" } ], - "rows": [], - "_nested_name": "debug_actions_bottom_1", + "parameter_list": { + "answer_list": "@local.answer_list" + }, + "_nested_name": "combo_box_2", "_dynamicFields": { "action_list": { "0": { "args": { "0": [ { - "fullExpression": "@local.field_1", - "matchedExpression": "@local.field_1", + "fullExpression": "@local.combo_box_2_var", + "matchedExpression": "@local.combo_box_2_var", "type": "local", - "fieldName": "field_1" + "fieldName": "combo_box_2_var" } ], "1": [ { - "fullExpression": "@local.value_1", - "matchedExpression": "@local.value_1", + "fullExpression": "@local.combo_box_2", + "matchedExpression": "@local.combo_box_2", "type": "local", - "fieldName": "value_1" + "fieldName": "combo_box_2" } ] }, "_raw": [ { - "fullExpression": "completed | set_field: @local.field_1 : @local.value_1", - "matchedExpression": "@local.field_1", + "fullExpression": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", + "matchedExpression": "@local.combo_box_2_var", "type": "local", - "fieldName": "field_1" + "fieldName": "combo_box_2_var" }, { - "fullExpression": "completed | set_field: @local.field_1 : @local.value_1", - "matchedExpression": "@local.value_1", + "fullExpression": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", + "matchedExpression": "@local.combo_box_2", "type": "local", - "fieldName": "value_1" + "fieldName": "combo_box_2" } ], "_cleaned": [ { - "fullExpression": "completed | set_field: @local.field_1 : @local.value_1", - "matchedExpression": "@local.field_1", + "fullExpression": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", + "matchedExpression": "@local.combo_box_2_var", "type": "local", - "fieldName": "field_1" + "fieldName": "combo_box_2_var" }, { - "fullExpression": "completed | set_field: @local.field_1 : @local.value_1", - "matchedExpression": "@local.value_1", + "fullExpression": "changed | set_field:@local.combo_box_2_var:@local.combo_box_2", + "matchedExpression": "@local.combo_box_2", "type": "local", - "fieldName": "value_1" + "fieldName": "combo_box_2" } ] } + }, + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" + } + ] } }, "_dynamicDependencies": { - "@local.field_1": [ + "@local.combo_box_2_var": [ "action_list.0.args.0", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.value_1": [ + "@local.combo_box_2": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" + ], + "@local.answer_list": [ + "parameter_list.answer_list" ] } }, { "type": "text", "name": "text_2", - "value": "Set the field debug_actions_middle_2 directly", - "_nested_name": "text_2" + "value": "Local variable for combo box 2: @local.combo_box_2", + "_nested_name": "text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Local variable for combo box 2: @local.combo_box_2", + "matchedExpression": "@local.combo_box_2", + "type": "local", + "fieldName": "combo_box_2" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box_2": [ + "value" + ] + } + }, + { + "type": "text", + "name": "text_3", + "value": "field for combo box 2: @field.combo_box_2_field", + "_nested_name": "text_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "field for combo box 2: @field.combo_box_2_field", + "matchedExpression": "@field.combo_box_2_field", + "type": "field", + "fieldName": "combo_box_2_field" + } + ] + }, + "_dynamicDependencies": { + "@field.combo_box_2_field": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_dynamic.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_go_to_nest_top", + "status": "released", + "rows": [ + { + "type": "text", + "name": "text", + "value": "This text is followed by the template debug_go_to_nest_bottom", + "_nested_name": "text" }, { "type": "template", - "name": "debug_actions_bottom_2", - "value": "debug_actions_bottom", + "name": "name_debug_go_to_nest_bottom", + "value": "debug_go_to_nest_bottom", + "rows": [], + "_nested_name": "name_debug_go_to_nest_bottom" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_go_to_nested.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_go_to_nest_bottom", + "status": "released", + "rows": [ + { + "type": "button", + "name": "button", + "value": "Go to example_emit and come back", "action_list": [ { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "debug_actions_middle_2", - "Value 2" - ], - "_raw": "completed | set_field: debug_actions_middle_2 : Value 2", - "_cleaned": "completed | set_field: debug_actions_middle_2 : Value 2" - }, - { - "trigger": "completed", - "action_id": "emit", + "trigger": "click", + "action_id": "go_to", "args": [ - "completed" + "example_emit" ], - "_raw": "completed | emit: completed", - "_cleaned": "completed | emit: completed" + "_raw": "click | go_to:example_emit", + "_cleaned": "click | go_to:example_emit" } ], - "rows": [], - "_nested_name": "debug_actions_bottom_2" + "_nested_name": "button" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_action_list.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_go_to_nested.xlsx" }, { "flow_type": "template", - "flow_name": "debug_actions_top", + "flow_name": "debug_nesting_sheet_1", "status": "released", "rows": [ { "type": "title", - "name": "title_0", - "value": "Example 0", - "_nested_name": "title_0" - }, + "name": "title", + "value": "Title of debug_nesting_sheet_1", + "_nested_name": "title" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_nesting_test_1", + "status": "released", + "rows": [ { "type": "template", - "name": "debug_actions_middle_0", - "value": "debug_actions_middle", + "name": "name_1", + "value": "debug_nesting_sheet_1", "rows": [ { - "name": "text_1", - "value": "Do not override the action list", + "name": "title", + "value": "This title was overwritten", "type": "set_variable", - "_nested_name": "debug_actions_middle_0.text_1" - }, + "_nested_name": "name_1.title" + } + ], + "_nested_name": "name_1" + }, + { + "type": "template", + "name": "name_2", + "value": "debug_nesting_sheet_1", + "rows": [ { - "name": "text_2", - "value": "Do not override the action list", + "name": "title", + "value": "This title was overwritten as well", "type": "set_variable", - "_nested_name": "debug_actions_middle_0.text_2" + "_nested_name": "name_2.title" } ], - "_nested_name": "debug_actions_middle_0" - }, + "_nested_name": "name_2" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_nesting_sheet_2", + "status": "released", + "rows": [ { "type": "title", - "name": "title_1", - "value": "Example 1", - "_nested_name": "title_1" + "name": "title", + "value": "fail: title debug_nesting_sheet_2", + "_nested_name": "title" }, + { + "type": "text", + "name": "text", + "value": "fail: text debug_nesting_sheet_2", + "_nested_name": "text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_nesting_test_2", + "status": "released", + "rows": [ { "type": "template", - "name": "debug_actions_middle_1", - "value": "debug_actions_middle", + "name": "other_name", + "value": "debug_test_1", "rows": [ - { - "name": "text_1", - "value": "Set the field debug_actions_top_1 ", - "type": "set_variable", - "_nested_name": "debug_actions_middle_1.text_1" - }, { "type": "nested_properties", - "name": "debug_actions_bottom_1", - "action_list": [ + "name": "name_1", + "rows": [ { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "debug_actions_top_1", - "Value 1" - ], - "_raw": "completed | set_field: debug_actions_top_1 : Value 1", - "_cleaned": "completed | set_field: debug_actions_top_1 : Value 1" + "name": "title", + "value": "title for sheet 1 was overwritten twice", + "type": "set_variable", + "_nested_name": "other_name.name_1.title" } ], - "rows": [], - "_nested_name": "debug_actions_middle_1.debug_actions_bottom_1" - }, + "_nested_name": "other_name.name_1" + } + ], + "_nested_name": "other_name" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_nesting_test_1_1", + "status": "released", + "rows": [ + { + "type": "template", + "name": "debug_sheet_1a", + "value": "debug_nesting_sheet_1", + "rows": [ { - "name": "text_2", - "value": "Set the field debug_actions_top_2", + "name": "title", + "value": "title for sheet 1a was overwritten", "type": "set_variable", - "_nested_name": "debug_actions_middle_1.text_2" - }, - { - "type": "nested_properties", - "name": "debug_actions_bottom_2", - "action_list": [ - { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "debug_actions_top_2", - "Value 2" - ], - "_raw": "completed | set_field: debug_actions_top_2 : Value 2", - "_cleaned": "completed | set_field: debug_actions_top_2 : Value 2" - } - ], - "rows": [], - "_nested_name": "debug_actions_middle_1.debug_actions_bottom_2" + "_nested_name": "debug_sheet_1a.title" } ], - "_nested_name": "debug_actions_middle_1" + "_nested_name": "debug_sheet_1a" }, { - "type": "title", - "name": "title_2", - "value": "Example 2", - "_nested_name": "title_2" + "type": "template", + "name": "debug_sheet_2a", + "value": "debug_nesting_sheet_2", + "rows": [ + { + "name": "title", + "value": "title for sheet 2 was overwritten", + "type": "set_variable", + "_nested_name": "debug_sheet_2a.title" + } + ], + "_nested_name": "debug_sheet_2a" }, { "type": "template", - "name": "debug_actions_middle_2", - "value": "debug_actions_middle", + "name": "debug_sheet_2b", + "value": "debug_nesting_sheet_2", "rows": [ { - "name": "text_1", - "value": "Set the field debug_actions_top_3 and emit completed", + "name": "text", + "value": "text for sheet 2 was overwritten", "type": "set_variable", - "_nested_name": "debug_actions_middle_2.text_1" - }, + "_nested_name": "debug_sheet_2b.text" + } + ], + "_nested_name": "debug_sheet_2b" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_nesting_test_1_2", + "status": "released", + "rows": [ + { + "type": "text", + "value": "Test 1", + "name": "text", + "_nested_name": "text" + }, + { + "type": "set_variable", + "name": "test_1_text", + "value": "success: test1 text", + "_nested_name": "test_1_text" + }, + { + "type": "template", + "name": "debug_override_1", + "value": "debug_nesting_override_1", + "rows": [ { "type": "nested_properties", - "name": "debug_actions_bottom", - "action_list": [ + "name": "template_wrapper", + "value": "debug_nesting_sheet_2", + "rows": [ { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "debug_actions_top_3", - "Value 3" - ], - "_raw": "completed | set_field: debug_actions_top_3: Value 3", - "_cleaned": "completed | set_field: debug_actions_top_3: Value 3" + "name": "title", + "value": "success: test1 title", + "type": "set_variable", + "_nested_name": "debug_override_1.template_wrapper.title" }, { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit: completed", - "_cleaned": "completed | emit: completed" + "name": "text", + "value": "@local.test_1_text", + "type": "set_variable", + "_nested_name": "debug_override_1.template_wrapper.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.test_1_text", + "matchedExpression": "@local.test_1_text", + "type": "local", + "fieldName": "test_1_text" + } + ] + }, + "_dynamicDependencies": { + "@local.test_1_text": [ + "value" + ] + } } ], - "rows": [], - "_nested_name": "debug_actions_middle_2.debug_actions_bottom" - }, + "_nested_name": "debug_override_1.template_wrapper" + } + ], + "_nested_name": "debug_override_1" + }, + { + "type": "text", + "value": "Test 2", + "name": "text", + "_nested_name": "text" + }, + { + "type": "set_variable", + "name": "test_2_text", + "value": "success: test2 text", + "_nested_name": "test_2_text" + }, + { + "type": "template", + "name": "debug_sheet_2", + "value": "debug_nesting_sheet_2", + "rows": [ { - "name": "text_2", - "value": "Set the field debug_actions_top_4 and emit completed", + "name": "title", + "value": "sucess: test2 title", "type": "set_variable", - "_nested_name": "debug_actions_middle_2.text_2" + "_nested_name": "debug_sheet_2.title" }, - { - "type": "nested_properties", - "name": "debug_actions_bottom", - "action_list": [ - { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "debug_actions_top_4", - "Value 4" - ], - "_raw": "completed | set_field: debug_actions_top_4: Value 4", - "_cleaned": "completed | set_field: debug_actions_top_4: Value 4" - }, - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit: completed", - "_cleaned": "completed | emit: completed" - } - ], - "rows": [], - "_nested_name": "debug_actions_middle_2.debug_actions_bottom" + { + "name": "text", + "value": "@local.test_2_text", + "type": "set_variable", + "_nested_name": "debug_sheet_2.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.test_2_text", + "matchedExpression": "@local.test_2_text", + "type": "local", + "fieldName": "test_2_text" + } + ] + }, + "_dynamicDependencies": { + "@local.test_2_text": [ + "value" + ] + } } ], - "_nested_name": "debug_actions_middle_2" + "_nested_name": "debug_sheet_2" }, { - "type": "title", - "name": "title_3", - "value": "Example 3", - "_nested_name": "title_3" + "type": "set_variable", + "name": "test_3_text", + "value": "success: text3_text", + "_nested_name": "test_3_text" + }, + { + "type": "text", + "value": "Test 3", + "name": "text", + "_nested_name": "text" }, { "type": "template", - "name": "debug_actions_middle_3", - "value": "debug_actions_middle", + "name": "wrapper", + "value": "debug_nesting_override_1", "rows": [ - { - "name": "text_1", - "value": "Emit completed", - "type": "set_variable", - "_nested_name": "debug_actions_middle_3.text_1" - }, - { - "type": "nested_properties", - "name": "debug_actions_bottom", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit: completed", - "_cleaned": "completed | emit: completed" - } - ], - "rows": [], - "_nested_name": "debug_actions_middle_3.debug_actions_bottom" - }, - { - "name": "text_2", - "value": "Emit completed", - "type": "set_variable", - "_nested_name": "debug_actions_middle_3.text_2" - }, { "type": "nested_properties", - "name": "debug_actions_bottom", - "action_list": [ + "name": "template_wrapper", + "value": "debug_nesting_override_1", + "rows": [ { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" + "type": "nested_properties", + "name": "template_wrapper", + "value": "debug_nesting_sheet_2", + "rows": [ + { + "name": "title", + "value": "success: text3_title", + "type": "set_variable", + "_nested_name": "wrapper.template_wrapper.template_wrapper.title" + }, + { + "name": "text", + "value": "@local.test_3_text", + "type": "set_variable", + "_nested_name": "wrapper.template_wrapper.template_wrapper.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.test_3_text", + "matchedExpression": "@local.test_3_text", + "type": "local", + "fieldName": "test_3_text" + } + ] + }, + "_dynamicDependencies": { + "@local.test_3_text": [ + "value" + ] + } + } ], - "_raw": "completed | emit: completed", - "_cleaned": "completed | emit: completed" + "_nested_name": "wrapper.template_wrapper.template_wrapper" } ], - "rows": [], - "_nested_name": "debug_actions_middle_3.debug_actions_bottom" + "_nested_name": "wrapper.template_wrapper" } ], - "_nested_name": "debug_actions_middle_3" + "_nested_name": "wrapper" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_action_list.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" }, { "flow_type": "template", - "flow_name": "debug_global_bottom", + "flow_name": "debug_nesting_override_1", "status": "released", "rows": [ { - "type": "text", - "name": "text_1", - "value": "@global.debug_item_1", - "_nested_name": "text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_1", - "matchedExpression": "@global.debug_item_1", - "type": "global", - "fieldName": "debug_item_1" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_1": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_2", - "value": "@global.debug_item_1", - "_nested_name": "text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_1", - "matchedExpression": "@global.debug_item_1", - "type": "global", - "fieldName": "debug_item_1" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_1": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_3", - "value": "@global.debug_item_1", - "_nested_name": "text_3", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_1", - "matchedExpression": "@global.debug_item_1", - "type": "global", - "fieldName": "debug_item_1" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_1": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_4", - "value": "@global.debug_item_1", - "_nested_name": "text_4", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_1", - "matchedExpression": "@global.debug_item_1", - "type": "global", - "fieldName": "debug_item_1" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_1": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_5", - "value": "This text is directly authored in the value", - "_nested_name": "text_5" - }, - { - "type": "text", - "name": "text_6", - "value": "This text is directly authored in the value", - "_nested_name": "text_6" - }, - { - "type": "text", - "name": "text_7", - "value": "This text is directly authored in the value", - "_nested_name": "text_7" - }, - { - "type": "text", - "name": "text_8", - "value": "This text is directly authored in the value", - "_nested_name": "text_8" + "type": "template", + "name": "template_wrapper", + "rows": [], + "_nested_name": "template_wrapper" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_global.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" }, { "flow_type": "template", - "flow_name": "debug_global_middle", + "flow_name": "debug_pop_ups_override", "status": "released", "rows": [ { "type": "template", - "name": "debug_global_bottom", - "value": "debug_global_bottom", + "name": "example_pop_ups", + "value": "example_pop_ups", "rows": [ { - "name": "text_2", - "value": "@global.debug_item_2", + "name": "text_1", + "value": "This is template shows how buttons can be overwritten.", "type": "set_variable", - "_nested_name": "debug_global_bottom.text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_2", - "matchedExpression": "@global.debug_item_2", - "type": "global", - "fieldName": "debug_item_2" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_2": [ - "value" - ] - } + "_nested_name": "example_pop_ups.text_1" }, { - "name": "text_3", - "value": "@global.debug_item_2", + "name": "text_2", + "value": "Button 1 has a new button text, but the action_list is unaltered.", "type": "set_variable", - "_nested_name": "debug_global_bottom.text_3", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_2", - "matchedExpression": "@global.debug_item_2", - "type": "global", - "fieldName": "debug_item_2" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_2": [ - "value" - ] - } + "_nested_name": "example_pop_ups.text_2" }, { - "name": "text_4", - "value": "This text is overridden directly in the value", + "name": "button_pop_up_1", + "value": "New Button 1 ", "type": "set_variable", - "_nested_name": "debug_global_bottom.text_4" + "_nested_name": "example_pop_ups.button_pop_up_1" }, { - "name": "text_6", - "value": "@global.debug_item_2", + "name": "text_3", + "value": "Button 2 has an altered action_list. It now launches a simple text pop-up.", "type": "set_variable", - "_nested_name": "debug_global_bottom.text_6", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_2", - "matchedExpression": "@global.debug_item_2", - "type": "global", - "fieldName": "debug_item_2" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_2": [ - "value" - ] - } + "_nested_name": "example_pop_ups.text_3" }, { - "name": "text_7", - "value": "@global.debug_item_2", + "name": "button_pop_up_2", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "example_text" + ], + "_raw": "click | pop_up:example_text", + "_cleaned": "click | pop_up:example_text" + } + ], "type": "set_variable", - "_nested_name": "debug_global_bottom.text_7", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_2", - "matchedExpression": "@global.debug_item_2", - "type": "global", - "fieldName": "debug_item_2" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_2": [ - "value" - ] - } + "_nested_name": "example_pop_ups.button_pop_up_2" }, { - "name": "text_8", - "value": "This text is overridden directly in the value", + "name": "text_4", + "value": "Button 3 is unaltered. ", "type": "set_variable", - "_nested_name": "debug_global_bottom.text_8" + "_nested_name": "example_pop_ups.text_4" } ], - "_nested_name": "debug_global_bottom" + "_nested_name": "example_pop_ups" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_global.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting.xlsx" }, { "flow_type": "template", - "flow_name": "debug_global_top", + "flow_name": "debug_nesting_variables", "status": "released", "rows": [ + { + "type": "text", + "name": "heading_1", + "value": "TEST 1: Override template variables", + "_nested_name": "heading_1" + }, { "type": "template", - "name": "debug_global_middle", - "value": "debug_global_middle", + "name": "two_texts_a", + "value": "debug_two_texts", "rows": [ { - "type": "nested_properties", - "name": "debug_global_bottom", - "rows": [ - { - "name": "text_1", - "value": "@global.debug_item_3", - "type": "set_variable", - "_nested_name": "debug_global_middle.debug_global_bottom.text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_3", - "matchedExpression": "@global.debug_item_3", - "type": "global", - "fieldName": "debug_item_3" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_3": [ - "value" - ] - } - }, - { - "name": "text_2", - "value": "@global.debug_item_3", - "type": "set_variable", - "_nested_name": "debug_global_middle.debug_global_bottom.text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_3", - "matchedExpression": "@global.debug_item_3", - "type": "global", - "fieldName": "debug_item_3" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_3": [ - "value" - ] - } - }, - { - "name": "text_3", - "value": "This text is overridden directly in the value", - "type": "set_variable", - "_nested_name": "debug_global_middle.debug_global_bottom.text_3" - }, - { - "name": "text_4", - "value": "@global.debug_item_3", - "type": "set_variable", - "_nested_name": "debug_global_middle.debug_global_bottom.text_4", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_3", - "matchedExpression": "@global.debug_item_3", - "type": "global", - "fieldName": "debug_item_3" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_3": [ - "value" - ] - } - }, - { - "name": "text_5", - "value": "@global.debug_item_3", - "type": "set_variable", - "_nested_name": "debug_global_middle.debug_global_bottom.text_5", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_3", - "matchedExpression": "@global.debug_item_3", - "type": "global", - "fieldName": "debug_item_3" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_3": [ - "value" - ] - } - }, - { - "name": "text_6", - "value": "@global.debug_item_3", - "type": "set_variable", - "_nested_name": "debug_global_middle.debug_global_bottom.text_6", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.debug_item_3", - "matchedExpression": "@global.debug_item_3", - "type": "global", - "fieldName": "debug_item_3" - } - ] - }, - "_dynamicDependencies": { - "@global.debug_item_3": [ - "value" - ] + "type": "set_variable", + "name": "child_local_variable", + "value": "Success: nesting local variable", + "_nested_name": "two_texts_a.child_local_variable" + }, + { + "type": "set_variable", + "name": "child_text_1", + "value": "Success: text_1", + "_nested_name": "two_texts_a.child_text_1" + } + ], + "_nested_name": "two_texts_a" + }, + { + "type": "text", + "name": "heading_2", + "value": "TEST 2: Override template variables dynamic", + "_nested_name": "heading_2" + }, + { + "type": "set_variable", + "name": "var_text_1", + "value": "Success: text_1", + "_nested_name": "var_text_1" + }, + { + "type": "template", + "name": "two_texts_b", + "value": "debug_two_texts", + "rows": [ + { + "type": "set_variable", + "name": "child_local_variable", + "value": "Success: nesting local variable", + "_nested_name": "two_texts_b.child_local_variable" + }, + { + "type": "set_variable", + "name": "child_text_1", + "value": "@local.var_text_1", + "_nested_name": "two_texts_b.child_text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.var_text_1", + "matchedExpression": "@local.var_text_1", + "type": "local", + "fieldName": "var_text_1" } - }, + ] + }, + "_dynamicDependencies": { + "@local.var_text_1": [ + "value" + ] + } + } + ], + "_nested_name": "two_texts_b" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_nesting_variables_2", + "status": "released", + "rows": [ + { + "type": "set_variable", + "name": "var_text_1", + "value": "Success: text_1", + "_nested_name": "var_text_1" + }, + { + "type": "text", + "name": "heading_1", + "value": "TEST 1 - Overwrite a general wrapper to display a named template", + "_nested_name": "heading_1" + }, + { + "type": "template", + "name": "debug_wrapper_1", + "value": "debug_wrapper", + "rows": [ + { + "type": "nested_properties", + "name": "wrapper_template", + "value": "debug_two_texts", + "rows": [ { - "name": "text_7", - "value": "This text is overridden directly in the value", "type": "set_variable", - "_nested_name": "debug_global_middle.debug_global_bottom.text_7" + "name": "child_local_variable", + "value": "Success: nesting local variable", + "_nested_name": "debug_wrapper_1.wrapper_template.child_local_variable" }, { - "name": "text_8", - "value": "@global.debug_item_3", "type": "set_variable", - "_nested_name": "debug_global_middle.debug_global_bottom.text_8", + "name": "child_text_1", + "value": "@local.var_text_1", + "_nested_name": "debug_wrapper_1.wrapper_template.child_text_1", "_dynamicFields": { "value": [ { - "fullExpression": "@global.debug_item_3", - "matchedExpression": "@global.debug_item_3", - "type": "global", - "fieldName": "debug_item_3" + "fullExpression": "@local.var_text_1", + "matchedExpression": "@local.var_text_1", + "type": "local", + "fieldName": "var_text_1" } ] }, "_dynamicDependencies": { - "@global.debug_item_3": [ + "@local.var_text_1": [ "value" ] } } ], - "_nested_name": "debug_global_middle.debug_global_bottom" + "_nested_name": "debug_wrapper_1.wrapper_template" } ], - "_nested_name": "debug_global_middle" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_global.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_pop_ups_variable", - "status": "released", - "rows": [ - { - "name": "template_name", - "value": "example_text", - "type": "set_variable", - "_nested_name": "template_name" + "_nested_name": "debug_wrapper_1" }, { "type": "text", - "name": "text_1", - "value": "Button 1 pops up the template example_text directly", - "_nested_name": "text_1" + "name": "heading_2", + "value": "The template below should match the template above, and has been set by 2 levels of nested_properties", + "condition": false, + "_nested_name": "heading_2" }, { - "type": "button", - "name": "button_pop_up_1", - "value": "Button_1", - "action_list": [ + "type": "template", + "name": "debug_wrapper_2", + "value": "debug_wrapper", + "condition": false, + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "example_text" + "type": "nested_properties", + "name": "wrapper_template", + "value": "debug_wrapper", + "rows": [ + { + "type": "nested_properties", + "name": "wrapper_template", + "value": "debug_two_texts", + "rows": [ + { + "type": "set_variable", + "name": "child_local_variable", + "value": "Success: nesting local variable", + "_nested_name": "debug_wrapper_2.wrapper_template.wrapper_template.child_local_variable" + }, + { + "type": "set_variable", + "name": "child_text_1", + "value": "@local.var_text_1", + "_nested_name": "debug_wrapper_2.wrapper_template.wrapper_template.child_text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.var_text_1", + "matchedExpression": "@local.var_text_1", + "type": "local", + "fieldName": "var_text_1" + } + ] + }, + "_dynamicDependencies": { + "@local.var_text_1": [ + "value" + ] + } + } + ], + "_nested_name": "debug_wrapper_2.wrapper_template.wrapper_template" + } ], - "_raw": "click | pop_up:example_text", - "_cleaned": "click | pop_up:example_text" + "_nested_name": "debug_wrapper_2.wrapper_template" } ], - "_nested_name": "button_pop_up_1" + "_nested_name": "debug_wrapper_2" }, { "type": "text", - "name": "text_2", - "value": "Button 2 pops up the template example_text using a local variable \"template_name\"", - "_nested_name": "text_2" + "name": "heading_3", + "value": "The content below adds additional content to the template", + "_nested_name": "heading_3" }, { - "type": "button", - "name": "button_pop_up_2", - "value": "Button 2", - "action_list": [ + "type": "template", + "name": "debug_wrapper_1", + "value": "debug_wrapper", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "@local.template_name" - ], - "_raw": "click | pop_up:@local.template_name", - "_cleaned": "click | pop_up:@local.template_name" - } - ], - "_nested_name": "button_pop_up_2", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.template_name", - "matchedExpression": "@local.template_name", - "type": "local", - "fieldName": "template_name" - } - ] + "type": "nested_properties", + "name": "wrapper_template", + "value": "debug_two_texts", + "rows": [ + { + "type": "set_variable", + "name": "child_local_variable", + "value": "Success: nesting local variable", + "_nested_name": "debug_wrapper_1.wrapper_template.child_local_variable" }, - "_raw": [ - { - "fullExpression": "click | pop_up:@local.template_name", - "matchedExpression": "@local.template_name", - "type": "local", - "fieldName": "template_name" - } - ], - "_cleaned": [ - { - "fullExpression": "click | pop_up:@local.template_name", - "matchedExpression": "@local.template_name", - "type": "local", - "fieldName": "template_name" + { + "type": "set_variable", + "name": "child_text_1", + "value": "@local.var_text_1", + "_nested_name": "debug_wrapper_1.wrapper_template.child_text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.var_text_1", + "matchedExpression": "@local.var_text_1", + "type": "local", + "fieldName": "var_text_1" + } + ] + }, + "_dynamicDependencies": { + "@local.var_text_1": [ + "value" + ] } - ] - } + } + ], + "_nested_name": "debug_wrapper_1.wrapper_template" } - }, - "_dynamicDependencies": { - "@local.template_name": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } + ], + "_nested_name": "debug_wrapper_1" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_pop_ups_variable.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" }, { "flow_type": "template", - "flow_name": "debug_relax_checkbox", + "flow_name": "debug_nesting_variables_3", "status": "released", "rows": [ - { - "type": "set_field", - "name": "relax_3_favourite", - "value": false, - "_nested_name": "relax_3_favourite" - }, - { - "type": "set_field", - "name": "which_relax", - "value": "relax_3", - "_nested_name": "which_relax" - }, - { - "name": "favourite", - "value": "_favourite", - "type": "set_variable", - "_nested_name": "favourite" - }, - { - "name": "relax", - "value": "@field.which_relax", - "type": "set_variable", - "_nested_name": "relax", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.which_relax", - "matchedExpression": "@field.which_relax", - "type": "field", - "fieldName": "which_relax" - } - ] - }, - "_dynamicDependencies": { - "@field.which_relax": [ - "value" - ] - } - }, - { - "name": "relax_favourite", - "value": "@local.relax@local.favourite", - "type": "set_variable", - "_nested_name": "relax_favourite", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.relax@local.favourite", - "matchedExpression": "@local.relax", - "type": "local", - "fieldName": "relax" - }, - { - "fullExpression": "@local.relax@local.favourite", - "matchedExpression": "@local.favourite", - "type": "local", - "fieldName": "favourite" - } - ] - }, - "_dynamicDependencies": { - "@local.relax": [ - "value" - ], - "@local.favourite": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_1", - "value": "@local.relax_favourite", - "_nested_name": "text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.relax_favourite", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - } - ] - }, - "_dynamicDependencies": { - "@local.relax_favourite": [ - "value" - ] - } - }, - { - "type": "text", - "name": "text_2", - "value": "This is @field.@local.relax_favourite", - "_nested_name": "text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "This is @field.@local.relax_favourite", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - } - ] - }, - "_dynamicDependencies": { - "@local.relax_favourite": [ - "value" - ] - } - }, { "type": "text", - "name": "text_3", - "value": "@field.@local.relax@local.favourite", - "_nested_name": "text_3", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.@local.relax@local.favourite", - "matchedExpression": "@local.relax", - "type": "local", - "fieldName": "relax" - }, - { - "fullExpression": "@field.@local.relax@local.favourite", - "matchedExpression": "@local.favourite", - "type": "local", - "fieldName": "favourite" - } - ] - }, - "_dynamicDependencies": { - "@local.relax": [ - "value" - ], - "@local.favourite": [ - "value" - ] - } - }, - { - "type": "simple_checkbox", - "name": "checkbox_1", - "value": "@field.@local.relax_favourite", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "@local.relax_favourite", - "@local.checkbox_1" - ], - "_raw": "changed | set_field:@local.relax_favourite:@local.checkbox_1", - "_cleaned": "changed | set_field:@local.relax_favourite:@local.checkbox_1" - } - ], - "parameter_list": { - "label_text": "checkbox 1" - }, - "_nested_name": "checkbox_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.@local.relax_favourite", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - } - ], - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.relax_favourite", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - } - ], - "1": [ - { - "fullExpression": "@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_1", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - }, - { - "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_1", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - }, - { - "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ] - } - } - }, - "_dynamicDependencies": { - "@local.relax_favourite": [ - "value", - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.checkbox_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } + "name": "heading_1", + "value": "TEST 1: Conditional properties", + "_nested_name": "heading_1" }, { - "type": "text", - "name": "local_text_1", - "value": "checkbox local: @local.checkbox_1", - "_nested_name": "local_text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "checkbox local: @local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ] - }, - "_dynamicDependencies": { - "@local.checkbox_1": [ - "value" - ] - } + "type": "set_variable", + "name": "toggle_value", + "value": true, + "_nested_name": "toggle_value" }, { - "type": "simple_checkbox", - "name": "checkbox_2", - "value": "@field.relax_3_favourite", + "type": "button", + "name": "toggle_button", + "value": "Value: @local.toggle_value", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "click", + "action_id": "set_local", "args": [ - "relax_3_favourite", - "@local.checkbox_2" + "toggle_value", + "!@local.toggle_value" ], - "_raw": "changed | set_field:relax_3_favourite:@local.checkbox_2", - "_cleaned": "changed | set_field:relax_3_favourite:@local.checkbox_2" + "_raw": "click | set_local : toggle_value:!@local.toggle_value", + "_cleaned": "click | set_local : toggle_value:!@local.toggle_value" } ], - "parameter_list": { - "label_text": "checkbox 2" - }, - "_nested_name": "checkbox_2", + "_nested_name": "toggle_button", "_dynamicFields": { "value": [ { - "fullExpression": "@field.relax_3_favourite", - "matchedExpression": "@field.relax_3_favourite", - "type": "field", - "fieldName": "relax_3_favourite" + "fullExpression": "Value: @local.toggle_value", + "matchedExpression": "@local.toggle_value", + "type": "local", + "fieldName": "toggle_value" } ], "action_list": { @@ -44006,37 +46825,35 @@ "args": { "1": [ { - "fullExpression": "@local.checkbox_2", - "matchedExpression": "@local.checkbox_2", + "fullExpression": "!@local.toggle_value", + "matchedExpression": "@local.toggle_value", "type": "local", - "fieldName": "checkbox_2" + "fieldName": "toggle_value" } ] }, "_raw": [ { - "fullExpression": "changed | set_field:relax_3_favourite:@local.checkbox_2", - "matchedExpression": "@local.checkbox_2", + "fullExpression": "click | set_local : toggle_value:!@local.toggle_value", + "matchedExpression": "@local.toggle_value", "type": "local", - "fieldName": "checkbox_2" + "fieldName": "toggle_value" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:relax_3_favourite:@local.checkbox_2", - "matchedExpression": "@local.checkbox_2", + "fullExpression": "click | set_local : toggle_value:!@local.toggle_value", + "matchedExpression": "@local.toggle_value", "type": "local", - "fieldName": "checkbox_2" + "fieldName": "toggle_value" } ] } } }, "_dynamicDependencies": { - "@field.relax_3_favourite": [ - "value" - ], - "@local.checkbox_2": [ + "@local.toggle_value": [ + "value", "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" @@ -44044,861 +46861,647 @@ } }, { - "type": "text", - "name": "local_text_2", - "value": "checkbox local: @local.checkbox_2", - "_nested_name": "local_text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "checkbox local: @local.checkbox_2", - "matchedExpression": "@local.checkbox_2", - "type": "local", - "fieldName": "checkbox_2" - } - ] - }, - "_dynamicDependencies": { - "@local.checkbox_2": [ - "value" - ] - } - }, - { - "type": "simple_checkbox", - "name": "checkbox_3", - "action_list": [ + "type": "template", + "name": "two_texts_a", + "value": "debug_two_texts", + "rows": [ { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "relax_3_favourite", - "@local.checkbox_3" - ], - "_raw": "changed | set_field:relax_3_favourite:@local.checkbox_3", - "_cleaned": "changed | set_field:relax_3_favourite:@local.checkbox_3" - } - ], - "parameter_list": { - "label_text": "checkbox 3" - }, - "_nested_name": "checkbox_3", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.checkbox_3", - "matchedExpression": "@local.checkbox_3", - "type": "local", - "fieldName": "checkbox_3" - } - ] - }, - "_raw": [ + "type": "set_variable", + "name": "child_local_variable", + "value": "Text variant 1 (toggle to change)", + "condition": "@local.toggle_value", + "_nested_name": "two_texts_a.child_local_variable", + "_dynamicFields": { + "condition": [ { - "fullExpression": "changed | set_field:relax_3_favourite:@local.checkbox_3", - "matchedExpression": "@local.checkbox_3", + "fullExpression": "@local.toggle_value", + "matchedExpression": "@local.toggle_value", "type": "local", - "fieldName": "checkbox_3" + "fieldName": "toggle_value" } - ], - "_cleaned": [ + ] + }, + "_dynamicDependencies": { + "@local.toggle_value": [ + "condition" + ] + } + }, + { + "type": "set_variable", + "name": "child_local_variable", + "value": "Text variant 2 (toggle to change)", + "condition": "!@local.toggle_value", + "_nested_name": "two_texts_a.child_local_variable", + "_dynamicFields": { + "condition": [ { - "fullExpression": "changed | set_field:relax_3_favourite:@local.checkbox_3", - "matchedExpression": "@local.checkbox_3", + "fullExpression": "!@local.toggle_value", + "matchedExpression": "@local.toggle_value", "type": "local", - "fieldName": "checkbox_3" + "fieldName": "toggle_value" } ] + }, + "_dynamicDependencies": { + "@local.toggle_value": [ + "condition" + ] } + }, + { + "type": "set_variable", + "name": "child_text_1", + "value": "Success: text_1", + "_nested_name": "two_texts_a.child_text_1" } - }, - "_dynamicDependencies": { - "@local.checkbox_3": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } + ], + "_nested_name": "two_texts_a" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_nesting_conditional", + "status": "released", + "rows": [ + { + "name": "text_2", + "value": "Success: text_2", + "type": "set_variable", + "_nested_name": "text_2" + }, + { + "name": "text_1_toggle", + "value": true, + "type": "set_variable", + "_nested_name": "text_1_toggle" }, { "type": "text", - "name": "local_text_3", - "value": "checkbox local: @local.checkbox_3", - "_nested_name": "local_text_3", + "name": "var_toggle_text", + "value": "The value of the toggle is: @local.text_1_toggle", + "_nested_name": "var_toggle_text", "_dynamicFields": { "value": [ { - "fullExpression": "checkbox local: @local.checkbox_3", - "matchedExpression": "@local.checkbox_3", + "fullExpression": "The value of the toggle is: @local.text_1_toggle", + "matchedExpression": "@local.text_1_toggle", "type": "local", - "fieldName": "checkbox_3" + "fieldName": "text_1_toggle" } ] }, "_dynamicDependencies": { - "@local.checkbox_3": [ + "@local.text_1_toggle": [ "value" ] } }, { - "type": "simple_checkbox", - "name": "checkbox_4", - "action_list": [ + "type": "text", + "name": "intro_1", + "value": "The following template should change text_1 value depending on the value of a variable", + "_nested_name": "intro_1" + }, + { + "type": "template", + "name": "direct_template_2", + "value": "debug_two_texts", + "rows": [ { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "@local.relax_favourite", - "@local.checkbox_4" - ], - "_raw": "changed | set_field:@local.relax_favourite:@local.checkbox_4", - "_cleaned": "changed | set_field:@local.relax_favourite:@local.checkbox_4" - } - ], - "parameter_list": { - "label_text": "checkbox 4" - }, - "_nested_name": "checkbox_4", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.relax_favourite", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - } - ], - "1": [ - { - "fullExpression": "@local.checkbox_4", - "matchedExpression": "@local.checkbox_4", - "type": "local", - "fieldName": "checkbox_4" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_4", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - }, + "type": "set_variable", + "name": "child_text_1", + "value": "Success: text_1 - toggle TRUE", + "condition": "@local.text_1_toggle", + "_nested_name": "direct_template_2.child_text_1", + "_dynamicFields": { + "condition": [ { - "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_4", - "matchedExpression": "@local.checkbox_4", + "fullExpression": "@local.text_1_toggle", + "matchedExpression": "@local.text_1_toggle", "type": "local", - "fieldName": "checkbox_4" + "fieldName": "text_1_toggle" } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_4", - "matchedExpression": "@local.relax_favourite", - "type": "local", - "fieldName": "relax_favourite" - }, + ] + }, + "_dynamicDependencies": { + "@local.text_1_toggle": [ + "condition" + ] + } + }, + { + "type": "set_variable", + "name": "child_text_1", + "value": "Success: text_1 - toggle FALSE", + "condition": "!@local.text_1_toggle", + "_nested_name": "direct_template_2.child_text_1", + "_dynamicFields": { + "condition": [ { - "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_4", - "matchedExpression": "@local.checkbox_4", + "fullExpression": "!@local.text_1_toggle", + "matchedExpression": "@local.text_1_toggle", "type": "local", - "fieldName": "checkbox_4" + "fieldName": "text_1_toggle" } ] + }, + "_dynamicDependencies": { + "@local.text_1_toggle": [ + "condition" + ] } - } - }, - "_dynamicDependencies": { - "@local.relax_favourite": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.checkbox_4": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } - }, - { - "type": "text", - "name": "local_text_4", - "value": "checkbox local: @local.checkbox_4", - "_nested_name": "local_text_4", - "_dynamicFields": { - "value": [ - { - "fullExpression": "checkbox local: @local.checkbox_4", - "matchedExpression": "@local.checkbox_4", - "type": "local", - "fieldName": "checkbox_4" - } - ] - }, - "_dynamicDependencies": { - "@local.checkbox_4": [ - "value" - ] - } - }, - { - "type": "animated_section", - "name": "dave", - "rows": [ + }, { - "type": "simple_checkbox", - "name": "checkbox_5", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "checkbox_a_s_test", - "@local.checkbox_5" - ], - "_raw": "changed | set_field:checkbox_a_s_test:@local.checkbox_5", - "_cleaned": "changed | set_field:checkbox_a_s_test:@local.checkbox_5" - } - ], - "parameter_list": { - "label_text": "checkbox 5" - }, - "_nested_name": "dave.checkbox_5", + "type": "set_variable", + "name": "child_text_2", + "value": "Expected: \"Success: text_2\"\nResult: @local.text_2", + "_nested_name": "direct_template_2.child_text_2", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.checkbox_5", - "matchedExpression": "@local.checkbox_5", - "type": "local", - "fieldName": "checkbox_5" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:checkbox_a_s_test:@local.checkbox_5", - "matchedExpression": "@local.checkbox_5", - "type": "local", - "fieldName": "checkbox_5" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:checkbox_a_s_test:@local.checkbox_5", - "matchedExpression": "@local.checkbox_5", - "type": "local", - "fieldName": "checkbox_5" - } - ] + "value": [ + { + "fullExpression": "Expected: \"Success: text_2\"\nResult: @local.text_2", + "matchedExpression": "@local.text_2", + "type": "local", + "fieldName": "text_2" } - } + ] }, "_dynamicDependencies": { - "@local.checkbox_5": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@local.text_2": [ + "value" ] } + }, + { + "type": "set_variable", + "name": "child_local_variable", + "value": "Success: nesting local variable", + "_nested_name": "direct_template_2.child_local_variable" } ], - "_nested_name": "dave" + "_nested_name": "direct_template_2" }, { - "type": "text", - "name": "text_5", - "value": "the local for checkbox 5 in animates section is @local.checkbox_5 and the field is @fields.checkbox_a_s_test", - "_nested_name": "text_5", - "_dynamicFields": { - "value": [ - { - "fullExpression": "the local for checkbox 5 in animates section is @local.checkbox_5 and the field is @fields.checkbox_a_s_test", - "matchedExpression": "@local.checkbox_5", - "type": "local", - "fieldName": "checkbox_5" - }, - { - "fullExpression": "the local for checkbox 5 in animates section is @local.checkbox_5 and the field is @fields.checkbox_a_s_test", - "matchedExpression": "@fields.checkbox_a_s_test", - "type": "fields", - "fieldName": "checkbox_a_s_test" - } - ] - }, - "_dynamicDependencies": { - "@local.checkbox_5": [ - "value" - ], - "@fields.checkbox_a_s_test": [ - "value" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_relax_checkbox.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_rounded_corners", - "status": "released", - "rows": [ - { - "type": "image", - "name": "image", - "value": "plh_images/workshops/solve/read_1/slide_1.svg", - "parameter_list": { - "style": "rounded_corners" - }, - "_nested_name": "image" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_rounded_corners.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_set_field_triggered", - "status": "released", - "rows": [ - { - "type": "text_box", - "name": "text_box", - "value": "@fields.debug_tracker_text_box", + "type": "button", + "name": "toggle text", + "value": "Toggle value of text_1", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "debug_tracker_text_box", - "@local.text_box" - ], - "_raw": "changed | set_field:debug_tracker_text_box:@local.text_box", - "_cleaned": "changed | set_field:debug_tracker_text_box:@local.text_box" + "trigger": "click", + "action_id": "set_local", + "args": [], + "_raw": "click | set_local | var_toggle: !@local.var_toggle", + "_cleaned": "click | set_local | var_toggle: !@local.var_toggle" } ], - "_nested_name": "text_box", + "_nested_name": "toggle text", "_dynamicFields": { - "value": [ - { - "fullExpression": "@fields.debug_tracker_text_box", - "matchedExpression": "@fields.debug_tracker_text_box", - "type": "fields", - "fieldName": "debug_tracker_text_box" - } - ], "action_list": { "0": { - "args": { - "1": [ - { - "fullExpression": "@local.text_box", - "matchedExpression": "@local.text_box", - "type": "local", - "fieldName": "text_box" - } - ] - }, "_raw": [ { - "fullExpression": "changed | set_field:debug_tracker_text_box:@local.text_box", - "matchedExpression": "@local.text_box", + "fullExpression": "click | set_local | var_toggle: !@local.var_toggle", + "matchedExpression": "@local.var_toggle", "type": "local", - "fieldName": "text_box" + "fieldName": "var_toggle" } ], "_cleaned": [ { - "fullExpression": "changed | set_field:debug_tracker_text_box:@local.text_box", - "matchedExpression": "@local.text_box", + "fullExpression": "click | set_local | var_toggle: !@local.var_toggle", + "matchedExpression": "@local.var_toggle", "type": "local", - "fieldName": "text_box" + "fieldName": "var_toggle" } ] } } }, "_dynamicDependencies": { - "@fields.debug_tracker_text_box": [ - "value" - ], - "@local.text_box": [ - "action_list.0.args.1", + "@local.var_toggle": [ "action_list.0._raw", "action_list.0._cleaned" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_two_texts", + "status": "released", + "rows": [ + { + "name": "child_local_variable", + "type": "set_variable", + "_nested_name": "child_local_variable" }, { "type": "text", - "value": "text_box\n---------------------------------------------------\nlocal: @local.text_box \nfield: @fields.debug_tracker_text_box \ntriggered: @fields.debug_triggered_text_box", - "name": "text", - "_nested_name": "text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "text_box\n---------------------------------------------------\nlocal: @local.text_box \nfield: @fields.debug_tracker_text_box \ntriggered: @fields.debug_triggered_text_box", - "matchedExpression": "@local.text_box", - "type": "local", - "fieldName": "text_box" - }, - { - "fullExpression": "text_box\n---------------------------------------------------\nlocal: @local.text_box \nfield: @fields.debug_tracker_text_box \ntriggered: @fields.debug_triggered_text_box", - "matchedExpression": "@fields.debug_tracker_text_box", - "type": "fields", - "fieldName": "debug_tracker_text_box" - }, - { - "fullExpression": "text_box\n---------------------------------------------------\nlocal: @local.text_box \nfield: @fields.debug_tracker_text_box \ntriggered: @fields.debug_triggered_text_box", - "matchedExpression": "@fields.debug_triggered_text_box", - "type": "fields", - "fieldName": "debug_triggered_text_box" - } - ] - }, - "_dynamicDependencies": { - "@local.text_box": [ - "value" - ], - "@fields.debug_tracker_text_box": [ - "value" - ], - "@fields.debug_triggered_text_box": [ - "value" - ] - } + "name": "child_text_1", + "value": "Failed: \"text_1\" has not been overwritten", + "_nested_name": "child_text_1" }, { - "type": "template", - "name": "nav_buttons", - "value": "nav_buttons", + "type": "text", + "name": "child_text_from_local_variable", + "value": "@local.child_local_variable", "action_list": [ { - "trigger": "completed", - "action_id": "set_field", - "args": [ - "debug_triggered_text_box", - "@local.text_box" - ], - "_raw": "completed | set_field:debug_triggered_text_box:@local.text_box", - "_cleaned": "completed | set_field:debug_triggered_text_box:@local.text_box" - }, - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - }, - { - "trigger": "uncompleted", + "trigger": "click", "action_id": "emit", "args": [ - "uncompleted" + "@local.child_local_variable" ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" - } - ], - "rows": [ - { - "name": "use_completed_chevron", - "value": true, - "type": "set_variable", - "_nested_name": "nav_buttons.use_completed_chevron" + "_raw": "click | emit:@local.child_local_variable", + "_cleaned": "click | emit:@local.child_local_variable" } ], - "_nested_name": "nav_buttons", + "parameter_list": { + "key_1": "@local.child_local_variable" + }, + "_nested_name": "child_text_from_local_variable", "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.child_local_variable", + "matchedExpression": "@local.child_local_variable", + "type": "local", + "fieldName": "child_local_variable" + } + ], "action_list": { "0": { "args": { - "1": [ + "0": [ { - "fullExpression": "@local.text_box", - "matchedExpression": "@local.text_box", + "fullExpression": "@local.child_local_variable", + "matchedExpression": "@local.child_local_variable", "type": "local", - "fieldName": "text_box" + "fieldName": "child_local_variable" } ] }, "_raw": [ { - "fullExpression": "completed | set_field:debug_triggered_text_box:@local.text_box", - "matchedExpression": "@local.text_box", + "fullExpression": "click | emit:@local.child_local_variable", + "matchedExpression": "@local.child_local_variable", "type": "local", - "fieldName": "text_box" + "fieldName": "child_local_variable" } ], "_cleaned": [ { - "fullExpression": "completed | set_field:debug_triggered_text_box:@local.text_box", - "matchedExpression": "@local.text_box", + "fullExpression": "click | emit:@local.child_local_variable", + "matchedExpression": "@local.child_local_variable", "type": "local", - "fieldName": "text_box" + "fieldName": "child_local_variable" } ] } + }, + "parameter_list": { + "key_1": [ + { + "fullExpression": "@local.child_local_variable", + "matchedExpression": "@local.child_local_variable", + "type": "local", + "fieldName": "child_local_variable" + } + ] } }, "_dynamicDependencies": { - "@local.text_box": [ - "action_list.0.args.1", + "@local.child_local_variable": [ + "value", + "action_list.0.args.0", "action_list.0._raw", - "action_list.0._cleaned" + "action_list.0._cleaned", + "parameter_list.key_1" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_set_field_triggered.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" }, { "flow_type": "template", - "flow_name": "debug_video_1", + "flow_name": "debug_nesting_variables_global", "status": "released", "rows": [ { - "type": "video", - "name": "video_src", - "value": "plh_video/lets_slow_down.mp4", - "_nested_name": "video_src" + "name": "var_text_2", + "value": "This is text_2", + "type": "set_variable", + "_nested_name": "var_text_2" }, { - "type": "video", - "name": "video_src", - "value": "https://www.w3schools.com/html/mov_bbb.mp4", - "_nested_name": "video_src" + "name": "var_text_4", + "value": "This is text_4", + "type": "set_variable", + "_nested_name": "var_text_4" + }, + { + "type": "template", + "name": "debug_two_texts", + "value": "debug_two_texts", + "rows": [ + { + "name": "child_text_1", + "value": "This is text_1 overridden directly in the value", + "type": "set_variable", + "_nested_name": "debug_two_texts.child_text_1" + }, + { + "name": "child_text_2", + "value": "@global.teen_girl_1 overridden by calling a variable", + "type": "set_variable", + "_nested_name": "debug_two_texts.child_text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.teen_girl_1 overridden by calling a variable", + "matchedExpression": "@global.teen_girl_1", + "type": "global", + "fieldName": "teen_girl_1" + } + ] + }, + "_dynamicDependencies": { + "@global.teen_girl_1": [ + "value" + ] + } + } + ], + "_nested_name": "debug_two_texts" }, { "type": "text", - "name": "my_text", - "value": "This is My Text", - "_nested_name": "my_text" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_timer_icons_1", - "status": "released", - "rows": [ + "name": "text_3", + "value": "This is text_3 written directly in the value", + "_nested_name": "text_3" + }, { - "type": "timer", - "name": "timer", - "parameter_list": { - "duration_extension": "1", - "duration": "10" + "type": "text", + "name": "text_4", + "value": "@local.var_text_4 calling a variable", + "_nested_name": "text_4", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.var_text_4 calling a variable", + "matchedExpression": "@local.var_text_4", + "type": "local", + "fieldName": "var_text_4" + } + ] }, - "_nested_name": "timer" + "_dynamicDependencies": { + "@local.var_text_4": [ + "value" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" }, { "flow_type": "template", - "flow_name": "debug_negation", + "flow_name": "debug_variable_type", "status": "released", "rows": [ { - "name": "var_true", - "value": true, "type": "set_variable", - "_nested_name": "var_true" + "name": "var_counter", + "value": 1, + "_nested_name": "var_counter" }, { - "name": "var_false", - "value": false, "type": "set_variable", - "_nested_name": "var_false" - }, - { - "type": "text", - "name": "true_true", - "value": "Variable true (this text is hidden)", - "hidden": "@local.var_true", - "_nested_name": "true_true", + "name": "var_counter_calc", + "value": "10*@local.var_counter", + "_nested_name": "var_counter_calc", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "@local.var_true", - "matchedExpression": "@local.var_true", + "fullExpression": "10*@local.var_counter", + "matchedExpression": "@local.var_counter", "type": "local", - "fieldName": "var_true" + "fieldName": "var_counter" } ] }, "_dynamicDependencies": { - "@local.var_true": [ - "hidden" + "@local.var_counter": [ + "value" ] } }, { - "type": "text", - "name": "true_false", - "value": "Variable true Hidden negated (this text is visible)", - "hidden": "!@local.var_true", - "_nested_name": "true_false", + "type": "set_variable", + "name": "var_counter_addition", + "value": "@local.var_counter + @local.var_counter", + "_nested_name": "var_counter_addition", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "!@local.var_true", - "matchedExpression": "@local.var_true", + "fullExpression": "@local.var_counter + @local.var_counter", + "matchedExpression": "@local.var_counter", "type": "local", - "fieldName": "var_true" + "fieldName": "var_counter" + }, + { + "fullExpression": "@local.var_counter + @local.var_counter", + "matchedExpression": "@local.var_counter", + "type": "local", + "fieldName": "var_counter" } ] }, "_dynamicDependencies": { - "@local.var_true": [ - "hidden" + "@local.var_counter": [ + "value", + "value" ] } }, { - "type": "text", - "name": "false_true", - "value": "Variable false (this text is visible)", - "hidden": "@local.var_false", - "_nested_name": "false_true", + "type": "set_variable", + "name": "var_bool_true", + "value": "@data.debug_vars.bool_true.value", + "_nested_name": "var_bool_true", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "@local.var_false", - "matchedExpression": "@local.var_false", - "type": "local", - "fieldName": "var_false" + "fullExpression": "@data.debug_vars.bool_true.value", + "matchedExpression": "@data.debug_vars.bool_true.value", + "type": "data", + "fieldName": "debug_vars" } ] }, "_dynamicDependencies": { - "@local.var_false": [ - "hidden" + "@data.debug_vars.bool_true.value": [ + "value" ] } }, { - "type": "text", - "name": "false_false", - "value": "Variable false Hidden negated (this text is hidden)", - "hidden": "!@local.var_false", - "_nested_name": "false_false", + "type": "set_variable", + "name": "var_recursive_lookup", + "value": "@local.var_bool_true", + "_nested_name": "var_recursive_lookup", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "!@local.var_false", - "matchedExpression": "@local.var_false", + "fullExpression": "@local.var_bool_true", + "matchedExpression": "@local.var_bool_true", "type": "local", - "fieldName": "var_false" + "fieldName": "var_bool_true" } ] }, "_dynamicDependencies": { - "@local.var_false": [ - "hidden" + "@local.var_bool_true": [ + "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_set_local", - "status": "released", - "rows": [ - { - "name": "debug_variable_one", - "value": "Value of the first debug variable.", - "type": "set_variable", - "_nested_name": "debug_variable_one" - }, - { - "name": "debug_variable_two", - "value": "Value of the second debug variable", - "type": "set_variable", - "_nested_name": "debug_variable_two" - }, - { - "name": "debug_variable_3", - "value": "Value of the third debug variable", - "type": "set_variable", - "_nested_name": "debug_variable_3" - }, - { - "name": "debug_variable_four", - "value": "Value of the fourth debug variable", - "type": "set_variable", - "_nested_name": "debug_variable_four" }, { - "name": "debug_variable_five", - "value": "Value of the fifth debug variable", "type": "set_variable", - "_nested_name": "debug_variable_five" - }, - { - "type": "text", - "name": "debug_text_1", - "value": "Text that includes @local.debug_variable_one", - "_nested_name": "debug_text_1", + "name": "var_bool_false", + "value": "@data.debug_vars.bool_false.value", + "_nested_name": "var_bool_false", "_dynamicFields": { "value": [ { - "fullExpression": "Text that includes @local.debug_variable_one", - "matchedExpression": "@local.debug_variable_one", - "type": "local", - "fieldName": "debug_variable_one" + "fullExpression": "@data.debug_vars.bool_false.value", + "matchedExpression": "@data.debug_vars.bool_false.value", + "type": "data", + "fieldName": "debug_vars" } ] }, "_dynamicDependencies": { - "@local.debug_variable_one": [ + "@data.debug_vars.bool_false.value": [ "value" ] } }, { - "type": "text", - "name": "debug_text_2", - "value": "Text that includes @local.debug_variable_two", - "_nested_name": "debug_text_2", + "type": "set_variable", + "name": "var_number_0", + "value": "@data.debug_vars.number_0.value", + "_nested_name": "var_number_0", "_dynamicFields": { "value": [ { - "fullExpression": "Text that includes @local.debug_variable_two", - "matchedExpression": "@local.debug_variable_two", - "type": "local", - "fieldName": "debug_variable_two" + "fullExpression": "@data.debug_vars.number_0.value", + "matchedExpression": "@data.debug_vars.number_0.value", + "type": "data", + "fieldName": "debug_vars" } ] }, "_dynamicDependencies": { - "@local.debug_variable_two": [ + "@data.debug_vars.number_0.value": [ "value" ] } }, { - "type": "text", - "name": "debug_text_3", - "value": "Text that includes @local.debug_variable_3", - "_nested_name": "debug_text_3", + "type": "set_variable", + "name": "var_list_1", + "value": [ + "@data.debug_vars.list_1.value_list" + ], + "_nested_name": "var_list_1", "_dynamicFields": { - "value": [ - { - "fullExpression": "Text that includes @local.debug_variable_3", - "matchedExpression": "@local.debug_variable_3", - "type": "local", - "fieldName": "debug_variable_3" - } - ] + "value": { + "0": [ + { + "fullExpression": "@data.debug_vars.list_1.value_list", + "matchedExpression": "@data.debug_vars.list_1.value_list", + "type": "data", + "fieldName": "debug_vars" + } + ] + } }, "_dynamicDependencies": { - "@local.debug_variable_3": [ - "value" + "@data.debug_vars.list_1.value_list": [ + "value.0" ] } }, { - "type": "text", - "name": "debug_text_4", - "value": "Text that includes @local.debug_variable_four", - "_nested_name": "debug_text_4", + "type": "set_variable", + "name": "var_list_1_length", + "value": [ + "@local.var_list_1.length" + ], + "_nested_name": "var_list_1_length", "_dynamicFields": { - "value": [ - { - "fullExpression": "Text that includes @local.debug_variable_four", - "matchedExpression": "@local.debug_variable_four", - "type": "local", - "fieldName": "debug_variable_four" - } - ] + "value": { + "0": [ + { + "fullExpression": "@local.var_list_1.length", + "matchedExpression": "@local.var_list_1.length", + "type": "local", + "fieldName": "var_list_1" + } + ] + } }, "_dynamicDependencies": { - "@local.debug_variable_four": [ - "value" + "@local.var_list_1.length": [ + "value.0" ] } }, { - "type": "text", - "name": "debug_text_5", - "value": "Text that includes @local.debug_variable-five", - "_nested_name": "debug_text_5", + "type": "set_variable", + "name": "var_text_1", + "value": "@data.debug_vars.text_1.value", + "_nested_name": "var_text_1", "_dynamicFields": { "value": [ { - "fullExpression": "Text that includes @local.debug_variable-five", - "matchedExpression": "@local.debug_variable", - "type": "local", - "fieldName": "debug_variable" + "fullExpression": "@data.debug_vars.text_1.value", + "matchedExpression": "@data.debug_vars.text_1.value", + "type": "data", + "fieldName": "debug_vars" } ] }, "_dynamicDependencies": { - "@local.debug_variable": [ + "@data.debug_vars.text_1.value": [ "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_set_local_image", - "status": "released", - "rows": [ - { - "name": "debug_variable", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "type": "set_variable", - "_nested_name": "debug_variable" }, { - "type": "image", - "name": "direct_image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "_nested_name": "direct_image" - }, - { - "type": "text", - "name": "text", - "value": "Text below the direct image and above the variable image.", - "_nested_name": "text" + "type": "set_variable", + "name": "var_collection_1", + "value": { + "@data": { + "debug_vars": { + "collection_1": {} + } + } + }, + "_nested_name": "var_collection_1" }, { - "type": "image", - "name": "variable_image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "_nested_name": "variable_image" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_set_global_2", - "status": "released", - "rows": [ - { - "type": "title", - "name": "title", + "type": "set_variable", + "name": "global_text", "value": "@global.debug_variable_1", - "_nested_name": "title", + "_nested_name": "global_text", "_dynamicFields": { "value": [ { @@ -44917,1296 +47520,1622 @@ }, { "type": "text", - "name": "text", - "value": "Text that includes @global.debug_variable_1", - "_nested_name": "text", + "name": "text_2", + "value": "List length Test: @local.var_list_1_length", + "_nested_name": "text_2", "_dynamicFields": { "value": [ { - "fullExpression": "Text that includes @global.debug_variable_1", - "matchedExpression": "@global.debug_variable_1", - "type": "global", - "fieldName": "debug_variable_1" + "fullExpression": "List length Test: @local.var_list_1_length", + "matchedExpression": "@local.var_list_1_length", + "type": "local", + "fieldName": "var_list_1_length" } ] }, "_dynamicDependencies": { - "@global.debug_variable_1": [ + "@local.var_list_1_length": [ "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_set_field_1", - "status": "released", - "rows": [ - { - "type": "set_field", - "name": "variable", - "value": "Value of the field", - "_nested_name": "variable" }, { "type": "text", - "name": "text_1", - "value": "Field value is @field.variable", - "_nested_name": "text_1", + "name": "text_4wrong", + "value": "Expected fail calculation: 10*@local.var_counter", + "_nested_name": "text_4wrong", "_dynamicFields": { "value": [ { - "fullExpression": "Field value is @field.variable", - "matchedExpression": "@field.variable", - "type": "field", - "fieldName": "variable" + "fullExpression": "Expected fail calculation: 10*@local.var_counter", + "matchedExpression": "@local.var_counter", + "type": "local", + "fieldName": "var_counter" } ] }, "_dynamicDependencies": { - "@field.variable": [ + "@local.var_counter": [ "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_set_field_2", - "status": "released", - "rows": [ + }, { "type": "text", - "name": "text_1", - "value": "Field value is @field.variable", - "_nested_name": "text_1", + "name": "text_4right", + "value": "Expected pass calculation: @local.var_counter_calc", + "_nested_name": "text_4right", "_dynamicFields": { "value": [ { - "fullExpression": "Field value is @field.variable", - "matchedExpression": "@field.variable", - "type": "field", - "fieldName": "variable" + "fullExpression": "Expected pass calculation: @local.var_counter_calc", + "matchedExpression": "@local.var_counter_calc", + "type": "local", + "fieldName": "var_counter_calc" } ] }, "_dynamicDependencies": { - "@field.variable": [ + "@local.var_counter_calc": [ "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_text", - "status": "released", - "rows": [ - { - "type": "text", - "name": "text_1", - "value": "Some text", - "_nested_name": "text_1" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_hidden", - "status": "released", - "rows": [ - { - "type": "template", - "name": "box_1", - "value": "debug_text", - "rows": [ - { - "name": "text_1", - "value": "First row: This text is hidden", - "hidden": true, - "type": "set_variable", - "_nested_name": "box_1.text_1" - }, - { - "name": "text_1", - "value": "Second row: This text is visible", - "hidden": false, - "type": "set_variable", - "_nested_name": "box_1.text_1" - } - ], - "_nested_name": "box_1" - }, - { - "type": "template", - "name": "box_2", - "value": "debug_text", - "rows": [ - { - "name": "text_1", - "value": "First row: This text is visible", - "hidden": false, - "type": "set_variable", - "_nested_name": "box_2.text_1" - }, - { - "name": "text_1", - "value": "Second row: This text is hidden", - "hidden": true, - "type": "set_variable", - "_nested_name": "box_2.text_1" - } - ], - "_nested_name": "box_2" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_hidden_text", - "status": "released", - "rows": [ - { - "type": "text", - "name": "text_1", - "value": "Placeholder Text to create separation", - "_nested_name": "text_1" - }, - { - "type": "text", - "name": "text_2", - "_nested_name": "text_2" - }, - { - "type": "text", - "name": "text_3", - "value": "Placeholder Text to create separation", - "_nested_name": "text_3" - }, - { - "type": "text", - "name": "text_4", - "value": "This is text_4 which should be hidden as we set hidden to true", - "hidden": true, - "_nested_name": "text_4" }, { "type": "text", "name": "text_5", - "value": "Placeholder Text to create separation", + "value": "Basic Text", "_nested_name": "text_5" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_hidden_buttons", - "status": "released", - "rows": [ - { - "type": "text", - "name": "text_1", - "value": "Placeholder Text to create separation", - "_nested_name": "text_1" - }, - { - "type": "button", - "name": "button_1", - "_nested_name": "button_1" - }, - { - "type": "text", - "name": "text_2", - "value": "Placeholder Text to create separation..", - "_nested_name": "text_2" - }, - { - "type": "text", - "name": "button_2", - "value": "Hidden Button", - "hidden": true, - "_nested_name": "button_2" - }, - { - "type": "text", - "name": "text_3", - "value": "Placeholder Text to create separation", - "_nested_name": "text_3" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_audio_1", - "status": "released", - "rows": [ - { - "type": "audio", - "name": "audio_src", - "value": "plh_audio/sample.mp3", - "parameter_list": { - "title": "Test title" - }, - "_nested_name": "audio_src" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" - }, - { - "flow_type": "template", - "flow_name": "debug_evaluate_hidden", - "status": "released", - "rows": [ - { - "name": "var_true", - "value": true, - "type": "set_variable", - "_nested_name": "var_true" - }, - { - "name": "var_number_1", - "value": 1, - "type": "set_variable", - "_nested_name": "var_number_1" }, { "type": "text", - "name": "true_true", - "value": "This text is hidden if var_true is true.", - "hidden": "@local.var_true", - "_nested_name": "true_true", + "name": "text_6", + "value": "Multiple values: @local.var_bool_true and @local.var_bool_false", + "_nested_name": "text_6", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "@local.var_true", - "matchedExpression": "@local.var_true", + "fullExpression": "Multiple values: @local.var_bool_true and @local.var_bool_false", + "matchedExpression": "@local.var_bool_true", "type": "local", - "fieldName": "var_true" + "fieldName": "var_bool_true" + }, + { + "fullExpression": "Multiple values: @local.var_bool_true and @local.var_bool_false", + "matchedExpression": "@local.var_bool_false", + "type": "local", + "fieldName": "var_bool_false" } ] }, "_dynamicDependencies": { - "@local.var_true": [ - "hidden" + "@local.var_bool_true": [ + "value" + ], + "@local.var_bool_false": [ + "value" ] } }, { "type": "text", - "name": "true_false", - "value": "This text is hidden if var_true is false.", - "hidden": "!@local.var_true", - "_nested_name": "true_false", + "name": "text_7", + "value": "Recursive lookup: @local.var_recursive_lookup", + "_nested_name": "text_7", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "!@local.var_true", - "matchedExpression": "@local.var_true", + "fullExpression": "Recursive lookup: @local.var_recursive_lookup", + "matchedExpression": "@local.var_recursive_lookup", "type": "local", - "fieldName": "var_true" + "fieldName": "var_recursive_lookup" } ] }, "_dynamicDependencies": { - "@local.var_true": [ - "hidden" + "@local.var_recursive_lookup": [ + "value" ] } }, { - "type": "text", - "name": "number_1", - "value": "This text is hidden if var_number_1 is 1.", - "hidden": "@local.var_number_1 == 1", - "_nested_name": "number_1", + "type": "button", + "name": "button_number_1_increment", + "value": "Counter value: @local.var_counter", + "action_list": [ + { + "trigger": "click", + "action_id": "set_local", + "args": [ + "var_counter", + "@local.var_counter+ 1" + ], + "_raw": "click | set_local:var_counter:@local.var_counter+ 1", + "_cleaned": "click | set_local:var_counter:@local.var_counter+ 1" + } + ], + "_nested_name": "button_number_1_increment", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "@local.var_number_1 == 1", - "matchedExpression": "@local.var_number_1", + "fullExpression": "Counter value: @local.var_counter", + "matchedExpression": "@local.var_counter", "type": "local", - "fieldName": "var_number_1" + "fieldName": "var_counter" } - ] + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.var_counter+ 1", + "matchedExpression": "@local.var_counter", + "type": "local", + "fieldName": "var_counter" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | set_local:var_counter:@local.var_counter+ 1", + "matchedExpression": "@local.var_counter", + "type": "local", + "fieldName": "var_counter" + } + ], + "_cleaned": [ + { + "fullExpression": "click | set_local:var_counter:@local.var_counter+ 1", + "matchedExpression": "@local.var_counter", + "type": "local", + "fieldName": "var_counter" + } + ] + } + } }, "_dynamicDependencies": { - "@local.var_number_1": [ - "hidden" + "@local.var_counter": [ + "value", + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } }, { "type": "text", - "name": "number_not_1", - "value": "This text is hidden if var_number_1 not 1.", - "hidden": "@local.var_number_1 != 1", - "_nested_name": "number_not_1", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@local.var_number_1 != 1", - "matchedExpression": "@local.var_number_1", - "type": "local", - "fieldName": "var_number_1" - } - ] - }, - "_dynamicDependencies": { - "@local.var_number_1": [ - "hidden" - ] - } + "name": "text_7", + "value": "TODO - nested rows", + "_nested_name": "text_7" }, { "type": "text", - "name": "number_greater_1", - "value": "This text is hidden if var_number_1 is greater than 1.", - "hidden": "@local.var_number_1 > 1", - "_nested_name": "number_greater_1", + "name": "text_8", + "value": "Expected: global.debug_variable_1 lookup\nResult: @local.global_text", + "_nested_name": "text_8", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "@local.var_number_1 > 1", - "matchedExpression": "@local.var_number_1", + "fullExpression": "Expected: global.debug_variable_1 lookup\nResult: @local.global_text", + "matchedExpression": "@local.global_text", "type": "local", - "fieldName": "var_number_1" + "fieldName": "global_text" } ] }, "_dynamicDependencies": { - "@local.var_number_1": [ - "hidden" + "@local.global_text": [ + "value" ] } }, { "type": "text", - "name": "number_not_1", - "value": "This text is hidden if var_number_1 is not greater than 1.", - "hidden": "!(@local.var_number_1 > 1)", - "_nested_name": "number_not_1", + "name": "text_9", + "value": "Global text test: @global.debug_variable_1", + "_nested_name": "text_9", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "!(@local.var_number_1 > 1)", - "matchedExpression": "@local.var_number_1", - "type": "local", - "fieldName": "var_number_1" + "fullExpression": "Global text test: @global.debug_variable_1", + "matchedExpression": "@global.debug_variable_1", + "type": "global", + "fieldName": "debug_variable_1" } ] }, "_dynamicDependencies": { - "@local.var_number_1": [ - "hidden" + "@global.debug_variable_1": [ + "value" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" }, { "flow_type": "template", - "flow_name": "debug_text_paragraphs", + "flow_name": "debug_wrapper", + "status": "released", + "rows": [ + { + "type": "template", + "name": "wrapper_template", + "rows": [ + { + "name": "text_1", + "value": "No text to display in wrapper_template", + "type": "set_variable", + "_nested_name": "wrapper_template.text_1" + } + ], + "_nested_name": "wrapper_template" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_nesting_variables.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_ordered_list", "status": "released", "rows": [ { "type": "title", - "name": "title", - "value": "Two paragraphs of text", - "_nested_name": "title" + "name": "title_unordered", + "value": "This is a bulleted list", + "_nested_name": "title_unordered" + }, + { + "type": "text", + "name": "text_unordered", + "value": "These are some ideas you can try:\n\n- first idea\n- second idea\n- third idea", + "parameter_list": { + "style": "marked" + }, + "_nested_name": "text_unordered" + }, + { + "type": "title", + "name": "title_ordered", + "value": "This should be a numbered list", + "_nested_name": "title_ordered" }, { "type": "text", - "name": "text", - "value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ", + "name": "text_ordered", + "value": "These are some ideas you can try:\n\n- first idea\n- second idea\n- third idea", "parameter_list": { - "style": "standart primary", - "text_align": "center" + "style": "numbered" }, - "_nested_name": "text" + "_nested_name": "text_ordered" + }, + { + "type": "title", + "name": "title_ordered", + "value": "This should be a numbered list", + "_nested_name": "title_ordered" }, { "type": "text", - "name": "text_2", - "value": "This is the first line in first 'paragraph'.\nThis is the second line in first 'paragraph'.\n", + "name": "text_ordered2", + "value": "- first idea\n- second idea\n- third idea", "parameter_list": { - "style": "small", - "text_align": "left" + "style": "numbered" }, - "_nested_name": "text_2" + "_nested_name": "text_ordered2" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_ordered_list.xlsx" }, { "flow_type": "template", - "flow_name": "debug_print_global", + "flow_name": "debug_actions_bottom", "status": "released", "rows": [ { - "type": "template", - "name": "read", - "value": "read_temp", + "type": "button", + "name": "button", + "value": "Button", "action_list": [ { - "trigger": "completed", + "trigger": "click", "action_id": "emit", "args": [ "completed" ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "rows": [ - { - "type": "nested_properties", - "name": "workshop_activity", - "rows": [ - { - "name": "intro_text", - "value": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "type": "set_variable", - "_nested_name": "read.workshop_activity.intro_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.w_instruct_female_caregiver", - "type": "global", - "fieldName": "w_instruct_female_caregiver" - }, - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.w_instruct_teen_girl", - "type": "global", - "fieldName": "w_instruct_teen_girl" - }, - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.parent_point", - "type": "global", - "fieldName": "parent_point" - }, - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.w_instruct", - "type": "global", - "fieldName": "w_instruct" - }, - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.guide_teen_name", - "type": "global", - "fieldName": "guide_teen_name" - } - ] - }, - "_dynamicDependencies": { - "@global.w_instruct_female_caregiver": [ - "value" - ], - "@global.w_instruct_teen_girl": [ - "value" - ], - "@global.parent_point": [ - "value" - ], - "@global.w_instruct": [ - "value" - ], - "@global.guide_teen_name": [ - "value" - ] - } - }, - { - "type": "nested_properties", - "name": "content_box", - "value": "box_image", - "rows": [ - { - "name": "image_src", - "value": "plh_images/workshops/instruct/read_1/slide_1.svg", - "type": "set_variable", - "_nested_name": "read.workshop_activity.content_box.image_src" - }, - { - "name": "text", - "value": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "type": "set_variable", - "_nested_name": "read.workshop_activity.content_box.text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.w_instruct_female_caregiver", - "type": "global", - "fieldName": "w_instruct_female_caregiver" - }, - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.w_instruct_teen_girl", - "type": "global", - "fieldName": "w_instruct_teen_girl" - }, - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.parent_point", - "type": "global", - "fieldName": "parent_point" - }, - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.w_instruct", - "type": "global", - "fieldName": "w_instruct" - }, - { - "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", - "matchedExpression": "@global.guide_teen_name", - "type": "global", - "fieldName": "guide_teen_name" - } - ] - }, - "_dynamicDependencies": { - "@global.w_instruct_female_caregiver": [ - "value" - ], - "@global.w_instruct_teen_girl": [ - "value" - ], - "@global.parent_point": [ - "value" - ], - "@global.w_instruct": [ - "value" - ], - "@global.guide_teen_name": [ - "value" - ] - } - } - ], - "_nested_name": "read.workshop_activity.content_box" - } - ], - "_nested_name": "read.workshop_activity" + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" } ], - "_nested_name": "read" + "_nested_name": "button" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_action_list.xlsx" }, { "flow_type": "template", - "flow_name": "example_go_to_1", + "flow_name": "debug_actions_middle", "status": "released", "rows": [ + { + "name": "field_1", + "value": "debug_actions_middle_1", + "type": "set_variable", + "_nested_name": "field_1" + }, + { + "name": "value_1", + "value": "Value 1", + "type": "set_variable", + "_nested_name": "value_1" + }, { "type": "text", - "name": "text", - "value": "This template demonstates 4 types of go-to buttons. \n\nWrite x for the template example_emit.", - "_nested_name": "text" + "name": "text_1", + "value": "Set the field debug_actions_middle_1 through a local variable", + "_nested_name": "text_1" }, { - "type": "button", - "name": "button_go_to_1", - "value": "Go to x", + "type": "template", + "name": "debug_actions_bottom_1", + "value": "debug_actions_bottom", "action_list": [ { - "trigger": "click", - "action_id": "go_to", + "trigger": "completed", + "action_id": "set_field", "args": [ - "example_emit" + "@local.field_1", + "@local.value_1" ], - "_raw": "click | go_to:example_emit", - "_cleaned": "click | go_to:example_emit" + "_raw": "completed | set_field: @local.field_1 : @local.value_1", + "_cleaned": "completed | set_field: @local.field_1 : @local.value_1" + }, + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit: completed", + "_cleaned": "completed | emit: completed" } ], - "_nested_name": "button_go_to_1" + "rows": [], + "_nested_name": "debug_actions_bottom_1", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.field_1", + "matchedExpression": "@local.field_1", + "type": "local", + "fieldName": "field_1" + } + ], + "1": [ + { + "fullExpression": "@local.value_1", + "matchedExpression": "@local.value_1", + "type": "local", + "fieldName": "value_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "completed | set_field: @local.field_1 : @local.value_1", + "matchedExpression": "@local.field_1", + "type": "local", + "fieldName": "field_1" + }, + { + "fullExpression": "completed | set_field: @local.field_1 : @local.value_1", + "matchedExpression": "@local.value_1", + "type": "local", + "fieldName": "value_1" + } + ], + "_cleaned": [ + { + "fullExpression": "completed | set_field: @local.field_1 : @local.value_1", + "matchedExpression": "@local.field_1", + "type": "local", + "fieldName": "field_1" + }, + { + "fullExpression": "completed | set_field: @local.field_1 : @local.value_1", + "matchedExpression": "@local.value_1", + "type": "local", + "fieldName": "value_1" + } + ] + } + } + }, + "_dynamicDependencies": { + "@local.field_1": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.value_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } }, { - "type": "button", - "name": "button_go_to_2", - "value": "Go to x and don't come back", + "type": "text", + "name": "text_2", + "value": "Set the field debug_actions_middle_2 directly", + "_nested_name": "text_2" + }, + { + "type": "template", + "name": "debug_actions_bottom_2", + "value": "debug_actions_bottom", "action_list": [ { - "trigger": "click", - "action_id": "go_to", + "trigger": "completed", + "action_id": "set_field", "args": [ - "example_emit" + "debug_actions_middle_2", + "Value 2" ], - "_raw": "click | go_to:example_emit", - "_cleaned": "click | go_to:example_emit" + "_raw": "completed | set_field: debug_actions_middle_2 : Value 2", + "_cleaned": "completed | set_field: debug_actions_middle_2 : Value 2" }, { - "trigger": "click", + "trigger": "completed", "action_id": "emit", "args": [ "completed" ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" + "_raw": "completed | emit: completed", + "_cleaned": "completed | emit: completed" } ], - "_nested_name": "button_go_to_2" + "rows": [], + "_nested_name": "debug_actions_bottom_2" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_action_list.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_actions_top", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title_0", + "value": "Example 0", + "_nested_name": "title_0" }, { - "type": "button", - "name": "button_go_to_3", - "value": "Go to x and come back if x uncompleted", - "action_list": [ + "type": "template", + "name": "debug_actions_middle_0", + "value": "debug_actions_middle", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "example_emit" + "name": "text_1", + "value": "Do not override the action list", + "type": "set_variable", + "_nested_name": "debug_actions_middle_0.text_1" + }, + { + "name": "text_2", + "value": "Do not override the action list", + "type": "set_variable", + "_nested_name": "debug_actions_middle_0.text_2" + } + ], + "_nested_name": "debug_actions_middle_0" + }, + { + "type": "title", + "name": "title_1", + "value": "Example 1", + "_nested_name": "title_1" + }, + { + "type": "template", + "name": "debug_actions_middle_1", + "value": "debug_actions_middle", + "rows": [ + { + "name": "text_1", + "value": "Set the field debug_actions_top_1 ", + "type": "set_variable", + "_nested_name": "debug_actions_middle_1.text_1" + }, + { + "type": "nested_properties", + "name": "debug_actions_bottom_1", + "action_list": [ + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "debug_actions_top_1", + "Value 1" + ], + "_raw": "completed | set_field: debug_actions_top_1 : Value 1", + "_cleaned": "completed | set_field: debug_actions_top_1 : Value 1" + } ], - "_raw": "click | go_to:example_emit", - "_cleaned": "click | go_to:example_emit" + "rows": [], + "_nested_name": "debug_actions_middle_1.debug_actions_bottom_1" }, { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" + "name": "text_2", + "value": "Set the field debug_actions_top_2", + "type": "set_variable", + "_nested_name": "debug_actions_middle_1.text_2" + }, + { + "type": "nested_properties", + "name": "debug_actions_bottom_2", + "action_list": [ + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "debug_actions_top_2", + "Value 2" + ], + "_raw": "completed | set_field: debug_actions_top_2 : Value 2", + "_cleaned": "completed | set_field: debug_actions_top_2 : Value 2" + } + ], + "rows": [], + "_nested_name": "debug_actions_middle_1.debug_actions_bottom_2" + } + ], + "_nested_name": "debug_actions_middle_1" + }, + { + "type": "title", + "name": "title_2", + "value": "Example 2", + "_nested_name": "title_2" + }, + { + "type": "template", + "name": "debug_actions_middle_2", + "value": "debug_actions_middle", + "rows": [ + { + "name": "text_1", + "value": "Set the field debug_actions_top_3 and emit completed", + "type": "set_variable", + "_nested_name": "debug_actions_middle_2.text_1" + }, + { + "type": "nested_properties", + "name": "debug_actions_bottom_1", + "action_list": [ + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "debug_actions_top_3", + "Value 3" + ], + "_raw": "completed | set_field: debug_actions_top_3: Value 3", + "_cleaned": "completed | set_field: debug_actions_top_3: Value 3" + }, + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit: completed", + "_cleaned": "completed | emit: completed" + } + ], + "rows": [], + "_nested_name": "debug_actions_middle_2.debug_actions_bottom_1" + }, + { + "name": "text_2", + "value": "Set the field debug_actions_top_4 and emit completed", + "type": "set_variable", + "_nested_name": "debug_actions_middle_2.text_2" + }, + { + "type": "nested_properties", + "name": "debug_actions_bottom_2", + "action_list": [ + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "debug_actions_top_4", + "Value 4" + ], + "_raw": "completed | set_field: debug_actions_top_4: Value 4", + "_cleaned": "completed | set_field: debug_actions_top_4: Value 4" + }, + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit: completed", + "_cleaned": "completed | emit: completed" + } ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" + "rows": [], + "_nested_name": "debug_actions_middle_2.debug_actions_bottom_2" } ], - "_nested_name": "button_go_to_3" + "_nested_name": "debug_actions_middle_2" }, { - "type": "button", - "name": "button_go_to_4", - "value": "Go to x and come back if x completed", - "action_list": [ + "type": "title", + "name": "title_3", + "value": "Example 3", + "_nested_name": "title_3" + }, + { + "type": "template", + "name": "debug_actions_middle_3", + "value": "debug_actions_middle", + "rows": [ { - "trigger": "click", - "action_id": "go_to", - "args": [ - "example_emit" - ], - "_raw": "click | go_to:example_emit", - "_cleaned": "click | go_to:example_emit" + "name": "text_1", + "value": "Emit completed", + "type": "set_variable", + "_nested_name": "debug_actions_middle_3.text_1" }, { - "trigger": "uncompleted", - "action_id": "emit", - "args": [ - "completed" + "type": "nested_properties", + "name": "debug_actions_bottom_1", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit: completed", + "_cleaned": "completed | emit: completed" + } ], - "_raw": "uncompleted | emit:completed", - "_cleaned": "uncompleted | emit:completed" - } - ], - "_nested_name": "button_go_to_4" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" - }, - { - "flow_type": "template", - "flow_name": "example_emit", - "status": "released", - "rows": [ - { - "type": "text", - "name": "text", - "value": "This is the example emit template.", - "_nested_name": "text" - }, - { - "type": "button", - "name": "button_completed", - "value": "Emit completed", - "action_list": [ + "rows": [], + "_nested_name": "debug_actions_middle_3.debug_actions_bottom_1" + }, { - "trigger": "click", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" - } - ], - "_nested_name": "button_completed" - }, - { - "type": "button", - "name": "button_uncompleted", - "value": "Emit uncompleted", - "action_list": [ + "name": "text_2", + "value": "Emit completed", + "type": "set_variable", + "_nested_name": "debug_actions_middle_3.text_2" + }, { - "trigger": "click", - "action_id": "emit", - "args": [ - "uncompleted" + "type": "nested_properties", + "name": "debug_actions_bottom_2", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit: completed", + "_cleaned": "completed | emit: completed" + } ], - "_raw": "click | emit:uncompleted", - "_cleaned": "click | emit:uncompleted" + "rows": [], + "_nested_name": "debug_actions_middle_3.debug_actions_bottom_2" } ], - "_nested_name": "button_uncompleted" + "_nested_name": "debug_actions_middle_3" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_action_list.xlsx" }, { "flow_type": "template", - "flow_name": "example_pop_ups", + "flow_name": "debug_global_bottom", "status": "released", "rows": [ { "type": "text", "name": "text_1", - "value": "This is the main template demonstrating three types of pop-ups.", - "_nested_name": "text_1" + "value": "@global.debug_item_1", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_1", + "matchedExpression": "@global.debug_item_1", + "type": "global", + "fieldName": "debug_item_1" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_1": [ + "value" + ] + } }, { "type": "text", "name": "text_2", - "value": "Button 1 is a simple text pop-up:", - "_nested_name": "text_2" + "value": "@global.debug_item_1", + "_nested_name": "text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_1", + "matchedExpression": "@global.debug_item_1", + "type": "global", + "fieldName": "debug_item_1" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_1": [ + "value" + ] + } }, { - "type": "button", - "name": "button_pop_up_1", - "value": "Button 1", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "example_text" - ], - "_raw": "click | pop_up:example_text", - "_cleaned": "click | pop_up:example_text" - } - ], - "_nested_name": "button_pop_up_1" + "type": "text", + "name": "text_3", + "value": "@global.debug_item_1", + "_nested_name": "text_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_1", + "matchedExpression": "@global.debug_item_1", + "type": "global", + "fieldName": "debug_item_1" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_1": [ + "value" + ] + } }, { "type": "text", - "name": "text_3", - "value": "Button 2 (example_go_to_2) dismisses on all:", - "_nested_name": "text_3" + "name": "text_4", + "value": "@global.debug_item_1", + "_nested_name": "text_4", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_1", + "matchedExpression": "@global.debug_item_1", + "type": "global", + "fieldName": "debug_item_1" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_1": [ + "value" + ] + } }, { - "type": "button", - "name": "button_pop_up_2", - "value": "Button 2", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "example_go_to_2" - ], - "_raw": "click | pop_up:example_go_to_2", - "_cleaned": "click | pop_up:example_go_to_2" - } - ], - "_nested_name": "button_pop_up_2" + "type": "text", + "name": "text_5", + "value": "This text is directly authored in the value", + "_nested_name": "text_5" }, { "type": "text", - "name": "text_4", - "value": "Button 3 (example_go_to_3) dismisses on completed:", - "_nested_name": "text_4" + "name": "text_6", + "value": "This text is directly authored in the value", + "_nested_name": "text_6" }, { - "type": "button", - "name": "button_pop_up_3", - "value": "Button 3", - "action_list": [ + "type": "text", + "name": "text_7", + "value": "This text is directly authored in the value", + "_nested_name": "text_7" + }, + { + "type": "text", + "name": "text_8", + "value": "This text is directly authored in the value", + "_nested_name": "text_8" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_global.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_global_middle", + "status": "released", + "rows": [ + { + "type": "template", + "name": "debug_global_bottom", + "value": "debug_global_bottom", + "rows": [ { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "example_go_to_3" - ], - "_raw": "click | pop_up:example_go_to_3", - "_cleaned": "click | pop_up:example_go_to_3" + "name": "text_2", + "value": "@global.debug_item_2", + "type": "set_variable", + "_nested_name": "debug_global_bottom.text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_2", + "matchedExpression": "@global.debug_item_2", + "type": "global", + "fieldName": "debug_item_2" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_2": [ + "value" + ] + } }, { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" + "name": "text_3", + "value": "@global.debug_item_2", + "type": "set_variable", + "_nested_name": "debug_global_bottom.text_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_2", + "matchedExpression": "@global.debug_item_2", + "type": "global", + "fieldName": "debug_item_2" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_2": [ + "value" + ] + } + }, + { + "name": "text_4", + "value": "This text is overridden directly in the value", + "type": "set_variable", + "_nested_name": "debug_global_bottom.text_4" + }, + { + "name": "text_6", + "value": "@global.debug_item_2", + "type": "set_variable", + "_nested_name": "debug_global_bottom.text_6", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_2", + "matchedExpression": "@global.debug_item_2", + "type": "global", + "fieldName": "debug_item_2" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_2": [ + "value" + ] + } + }, + { + "name": "text_7", + "value": "@global.debug_item_2", + "type": "set_variable", + "_nested_name": "debug_global_bottom.text_7", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_2", + "matchedExpression": "@global.debug_item_2", + "type": "global", + "fieldName": "debug_item_2" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_2": [ + "value" + ] + } + }, + { + "name": "text_8", + "value": "This text is overridden directly in the value", + "type": "set_variable", + "_nested_name": "debug_global_bottom.text_8" + } + ], + "_nested_name": "debug_global_bottom" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_global.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_global_top", + "status": "released", + "rows": [ + { + "type": "template", + "name": "debug_global_middle", + "value": "debug_global_middle", + "rows": [ + { + "type": "nested_properties", + "name": "debug_global_bottom", + "rows": [ + { + "name": "text_1", + "value": "@global.debug_item_3", + "type": "set_variable", + "_nested_name": "debug_global_middle.debug_global_bottom.text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_3", + "matchedExpression": "@global.debug_item_3", + "type": "global", + "fieldName": "debug_item_3" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_3": [ + "value" + ] + } + }, + { + "name": "text_2", + "value": "@global.debug_item_3", + "type": "set_variable", + "_nested_name": "debug_global_middle.debug_global_bottom.text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_3", + "matchedExpression": "@global.debug_item_3", + "type": "global", + "fieldName": "debug_item_3" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_3": [ + "value" + ] + } + }, + { + "name": "text_3", + "value": "This text is overridden directly in the value", + "type": "set_variable", + "_nested_name": "debug_global_middle.debug_global_bottom.text_3" + }, + { + "name": "text_4", + "value": "@global.debug_item_3", + "type": "set_variable", + "_nested_name": "debug_global_middle.debug_global_bottom.text_4", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_3", + "matchedExpression": "@global.debug_item_3", + "type": "global", + "fieldName": "debug_item_3" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_3": [ + "value" + ] + } + }, + { + "name": "text_5", + "value": "@global.debug_item_3", + "type": "set_variable", + "_nested_name": "debug_global_middle.debug_global_bottom.text_5", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_3", + "matchedExpression": "@global.debug_item_3", + "type": "global", + "fieldName": "debug_item_3" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_3": [ + "value" + ] + } + }, + { + "name": "text_6", + "value": "@global.debug_item_3", + "type": "set_variable", + "_nested_name": "debug_global_middle.debug_global_bottom.text_6", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_3", + "matchedExpression": "@global.debug_item_3", + "type": "global", + "fieldName": "debug_item_3" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_3": [ + "value" + ] + } + }, + { + "name": "text_7", + "value": "This text is overridden directly in the value", + "type": "set_variable", + "_nested_name": "debug_global_middle.debug_global_bottom.text_7" + }, + { + "name": "text_8", + "value": "@global.debug_item_3", + "type": "set_variable", + "_nested_name": "debug_global_middle.debug_global_bottom.text_8", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.debug_item_3", + "matchedExpression": "@global.debug_item_3", + "type": "global", + "fieldName": "debug_item_3" + } + ] + }, + "_dynamicDependencies": { + "@global.debug_item_3": [ + "value" + ] + } + } ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" + "_nested_name": "debug_global_middle.debug_global_bottom" } ], - "_nested_name": "button_pop_up_3" + "_nested_name": "debug_global_middle" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_overriding_global.xlsx" }, { "flow_type": "template", - "flow_name": "example_text", + "flow_name": "debug_pop_ups_variable", "status": "released", "rows": [ { - "type": "text", - "name": "text", - "value": "This is the example text template.", - "_nested_name": "text" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" - }, - { - "flow_type": "template", - "flow_name": "example_go_to_2", - "status": "released", - "rows": [ + "name": "template_name", + "value": "example_text", + "type": "set_variable", + "_nested_name": "template_name" + }, { "type": "text", "name": "text_1", - "value": "Button 1: Go to example emit", + "value": "Button 1 pops up the template example_text directly", "_nested_name": "text_1" }, { "type": "button", - "name": "button_go_to_1", - "value": "Button 1", + "name": "button_pop_up_1", + "value": "Button_1", "action_list": [ { "trigger": "click", - "action_id": "go_to", + "action_id": "pop_up", "args": [ - "example_emit" + "example_text" ], - "_raw": "click | go_to: example_emit", - "_cleaned": "click | go_to: example_emit" + "_raw": "click | pop_up:example_text", + "_cleaned": "click | pop_up:example_text" } ], - "_nested_name": "button_go_to_1" + "_nested_name": "button_pop_up_1" }, { "type": "text", "name": "text_2", - "value": "Button 2: Go to example_emit and mark as completed", + "value": "Button 2 pops up the template example_text using a local variable \"template_name\"", "_nested_name": "text_2" }, { "type": "button", - "name": "button_go_to_2", + "name": "button_pop_up_2", "value": "Button 2", "action_list": [ { "trigger": "click", - "action_id": "go_to", - "args": [ - "example_emit" - ], - "_raw": "click | go_to:example_emit", - "_cleaned": "click | go_to:example_emit" - }, - { - "trigger": "click", - "action_id": "emit", + "action_id": "pop_up", "args": [ - "completed" + "@local.template_name" ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" + "_raw": "click | pop_up:@local.template_name", + "_cleaned": "click | pop_up:@local.template_name" } ], - "_nested_name": "button_go_to_2" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" - }, - { - "flow_type": "template", - "flow_name": "example_go_to_3", - "status": "released", - "rows": [ - { - "type": "text", - "name": "text_1", - "value": "Button 1: Go to example_emit and emit completed", - "_nested_name": "text_1" - }, - { - "type": "button", - "name": "button_go_to", - "value": "Button 1", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "example_emit" - ], - "_raw": "click | go_to:example_emit", - "_cleaned": "click | go_to:example_emit" - }, - { - "trigger": "click", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "click | emit:completed", - "_cleaned": "click | emit:completed" + "_nested_name": "button_pop_up_2", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@local.template_name", + "matchedExpression": "@local.template_name", + "type": "local", + "fieldName": "template_name" + } + ] + }, + "_raw": [ + { + "fullExpression": "click | pop_up:@local.template_name", + "matchedExpression": "@local.template_name", + "type": "local", + "fieldName": "template_name" + } + ], + "_cleaned": [ + { + "fullExpression": "click | pop_up:@local.template_name", + "matchedExpression": "@local.template_name", + "type": "local", + "fieldName": "template_name" + } + ] + } } - ], - "_nested_name": "button_go_to" + }, + "_dynamicDependencies": { + "@local.template_name": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_pop_ups_variable.xlsx" }, { "flow_type": "template", - "flow_name": "example_changed_action", + "flow_name": "debug_relax_checkbox", "status": "released", "rows": [ { "type": "set_field", - "name": "demo_changed_combo_box", - "value": "na", - "_nested_name": "demo_changed_combo_box" + "name": "relax_3_favourite", + "value": false, + "_nested_name": "relax_3_favourite" }, { "type": "set_field", - "name": "demo_changed_slider", - "value": "na", - "_nested_name": "demo_changed_slider" + "name": "which_relax", + "value": "relax_3", + "_nested_name": "which_relax" }, { - "type": "set_field", - "name": "demo_changed_radio_group", - "value": "na", - "_nested_name": "demo_changed_radio_group" + "name": "favourite", + "value": "_favourite", + "type": "set_variable", + "_nested_name": "favourite" }, { - "type": "set_field", - "name": "demo_changed_text_box", - "value": "na", - "_nested_name": "demo_changed_text_box" + "name": "relax", + "value": "@field.which_relax", + "type": "set_variable", + "_nested_name": "relax", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.which_relax", + "matchedExpression": "@field.which_relax", + "type": "field", + "fieldName": "which_relax" + } + ] + }, + "_dynamicDependencies": { + "@field.which_relax": [ + "value" + ] + } }, { - "name": "answer_list_1", - "value": [ - "First", - "Second", - "Third" - ], + "name": "relax_favourite", + "value": "@local.relax@local.favourite", "type": "set_variable", - "_nested_name": "answer_list_1" + "_nested_name": "relax_favourite", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.relax@local.favourite", + "matchedExpression": "@local.relax", + "type": "local", + "fieldName": "relax" + }, + { + "fullExpression": "@local.relax@local.favourite", + "matchedExpression": "@local.favourite", + "type": "local", + "fieldName": "favourite" + } + ] + }, + "_dynamicDependencies": { + "@local.relax": [ + "value" + ], + "@local.favourite": [ + "value" + ] + } }, { - "name": "answer_list_2", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second", - "name:name_var_3 | text:Third", - "name:name_var_4 | text:Fourth" - ], - "type": "set_variable", - "_nested_name": "answer_list_2" + "type": "text", + "name": "text_1", + "value": "@local.relax_favourite", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.relax_favourite", + "matchedExpression": "@local.relax_favourite", + "type": "local", + "fieldName": "relax_favourite" + } + ] + }, + "_dynamicDependencies": { + "@local.relax_favourite": [ + "value" + ] + } }, { - "type": "combo_box", - "name": "combo_box", + "type": "text", + "name": "text_2", + "value": "This is @field.@local.relax_favourite", + "_nested_name": "text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "This is @field.@local.relax_favourite", + "matchedExpression": "@local.relax_favourite", + "type": "local", + "fieldName": "relax_favourite" + } + ] + }, + "_dynamicDependencies": { + "@local.relax_favourite": [ + "value" + ] + } + }, + { + "type": "text", + "name": "text_3", + "value": "@field.@local.relax@local.favourite", + "_nested_name": "text_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.@local.relax@local.favourite", + "matchedExpression": "@local.relax", + "type": "local", + "fieldName": "relax" + }, + { + "fullExpression": "@field.@local.relax@local.favourite", + "matchedExpression": "@local.favourite", + "type": "local", + "fieldName": "favourite" + } + ] + }, + "_dynamicDependencies": { + "@local.relax": [ + "value" + ], + "@local.favourite": [ + "value" + ] + } + }, + { + "type": "simple_checkbox", + "name": "checkbox_1", + "value": "@field.@local.relax_favourite", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "demo_changed_combo_box", - "@local.combo_box" + "@local.relax_favourite", + "@local.checkbox_1" ], - "_raw": "changed | set_field: demo_changed_combo_box: @local.combo_box", - "_cleaned": "changed | set_field: demo_changed_combo_box: @local.combo_box" + "_raw": "changed | set_field:@local.relax_favourite:@local.checkbox_1", + "_cleaned": "changed | set_field:@local.relax_favourite:@local.checkbox_1" } ], "parameter_list": { - "answer_list": "@local.answer_list_1", - "placeholder": "Click and choose!" + "label_text": "checkbox 1" }, - "_nested_name": "combo_box", + "_nested_name": "checkbox_1", "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.@local.relax_favourite", + "matchedExpression": "@local.relax_favourite", + "type": "local", + "fieldName": "relax_favourite" + } + ], "action_list": { "0": { "args": { + "0": [ + { + "fullExpression": "@local.relax_favourite", + "matchedExpression": "@local.relax_favourite", + "type": "local", + "fieldName": "relax_favourite" + } + ], "1": [ { - "fullExpression": "@local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", "type": "local", - "fieldName": "combo_box" + "fieldName": "checkbox_1" } ] }, "_raw": [ { - "fullExpression": "changed | set_field: demo_changed_combo_box: @local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_1", + "matchedExpression": "@local.relax_favourite", "type": "local", - "fieldName": "combo_box" + "fieldName": "relax_favourite" + }, + { + "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" } ], "_cleaned": [ { - "fullExpression": "changed | set_field: demo_changed_combo_box: @local.combo_box", - "matchedExpression": "@local.combo_box", + "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_1", + "matchedExpression": "@local.relax_favourite", "type": "local", - "fieldName": "combo_box" + "fieldName": "relax_favourite" + }, + { + "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" } ] } - }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_1", - "matchedExpression": "@local.answer_list_1", - "type": "local", - "fieldName": "answer_list_1" - } - ] } }, "_dynamicDependencies": { - "@local.combo_box": [ - "action_list.0.args.1", + "@local.relax_favourite": [ + "value", + "action_list.0.args.0", "action_list.0._raw", "action_list.0._cleaned" ], - "@local.answer_list_1": [ - "parameter_list.answer_list" + "@local.checkbox_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } }, { "type": "text", - "name": "comb_box_text", - "value": "the selected choice in combo box is @field.demo_changed_combo_box", - "hidden": "\"@field.demo_changed_combo_box\"==\"na\"", - "_nested_name": "comb_box_text", + "name": "local_text_1", + "value": "checkbox local: @local.checkbox_1", + "_nested_name": "local_text_1", "_dynamicFields": { "value": [ { - "fullExpression": "the selected choice in combo box is @field.demo_changed_combo_box", - "matchedExpression": "@field.demo_changed_combo_box", - "type": "field", - "fieldName": "demo_changed_combo_box" - } - ], - "hidden": [ - { - "fullExpression": "\"@field.demo_changed_combo_box\"==\"na\"", - "matchedExpression": "@field.demo_changed_combo_box", - "type": "field", - "fieldName": "demo_changed_combo_box" + "fullExpression": "checkbox local: @local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" } ] }, "_dynamicDependencies": { - "@field.demo_changed_combo_box": [ - "value", - "hidden" + "@local.checkbox_1": [ + "value" ] } }, { - "type": "radio_group", - "name": "radio_group", + "type": "simple_checkbox", + "name": "checkbox_2", + "value": "@field.relax_3_favourite", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "demo_changed_radio_group", - "@local.radio_group" + "relax_3_favourite", + "@local.checkbox_2" ], - "_raw": "changed | set_field: demo_changed_radio_group: @local.radio_group", - "_cleaned": "changed | set_field: demo_changed_radio_group: @local.radio_group" + "_raw": "changed | set_field:relax_3_favourite:@local.checkbox_2", + "_cleaned": "changed | set_field:relax_3_favourite:@local.checkbox_2" } ], "parameter_list": { - "answer_list": "@local.answer_list_2" + "label_text": "checkbox 2" }, - "_nested_name": "radio_group", + "_nested_name": "checkbox_2", "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.relax_3_favourite", + "matchedExpression": "@field.relax_3_favourite", + "type": "field", + "fieldName": "relax_3_favourite" + } + ], "action_list": { "0": { "args": { "1": [ { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", + "fullExpression": "@local.checkbox_2", + "matchedExpression": "@local.checkbox_2", "type": "local", - "fieldName": "radio_group" + "fieldName": "checkbox_2" } ] }, "_raw": [ { - "fullExpression": "changed | set_field: demo_changed_radio_group: @local.radio_group", - "matchedExpression": "@local.radio_group", + "fullExpression": "changed | set_field:relax_3_favourite:@local.checkbox_2", + "matchedExpression": "@local.checkbox_2", "type": "local", - "fieldName": "radio_group" + "fieldName": "checkbox_2" } ], "_cleaned": [ { - "fullExpression": "changed | set_field: demo_changed_radio_group: @local.radio_group", - "matchedExpression": "@local.radio_group", + "fullExpression": "changed | set_field:relax_3_favourite:@local.checkbox_2", + "matchedExpression": "@local.checkbox_2", "type": "local", - "fieldName": "radio_group" + "fieldName": "checkbox_2" } ] } - }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_2", - "matchedExpression": "@local.answer_list_2", - "type": "local", - "fieldName": "answer_list_2" - } - ] - } - }, - "_dynamicDependencies": { - "@local.radio_group": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list_2": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "radio_group_field_text", - "value": "The value of demo_changed_radio_group is @field.demo_changed_radio_group", - "_nested_name": "radio_group_field_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "The value of demo_changed_radio_group is @field.demo_changed_radio_group", - "matchedExpression": "@field.demo_changed_radio_group", - "type": "field", - "fieldName": "demo_changed_radio_group" - } - ] + } }, "_dynamicDependencies": { - "@field.demo_changed_radio_group": [ + "@field.relax_3_favourite": [ "value" + ], + "@local.checkbox_2": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } }, { "type": "text", - "name": "radio_group_text", - "value": "the selected choice in radio group is @field.demo_changed_radio_group", - "hidden": "\"@field.demo_changed_radio_group\"==\"na\"", - "_nested_name": "radio_group_text", + "name": "local_text_2", + "value": "checkbox local: @local.checkbox_2", + "_nested_name": "local_text_2", "_dynamicFields": { "value": [ { - "fullExpression": "the selected choice in radio group is @field.demo_changed_radio_group", - "matchedExpression": "@field.demo_changed_radio_group", - "type": "field", - "fieldName": "demo_changed_radio_group" - } - ], - "hidden": [ - { - "fullExpression": "\"@field.demo_changed_radio_group\"==\"na\"", - "matchedExpression": "@field.demo_changed_radio_group", - "type": "field", - "fieldName": "demo_changed_radio_group" + "fullExpression": "checkbox local: @local.checkbox_2", + "matchedExpression": "@local.checkbox_2", + "type": "local", + "fieldName": "checkbox_2" } ] }, "_dynamicDependencies": { - "@field.demo_changed_radio_group": [ - "value", - "hidden" + "@local.checkbox_2": [ + "value" ] } }, { - "type": "text_box", - "name": "text_box", + "type": "simple_checkbox", + "name": "checkbox_3", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "demo_changed_text_box", - "@local.text_box" + "relax_3_favourite", + "@local.checkbox_3" ], - "_raw": "changed | set_field: demo_changed_text_box: @local.text_box", - "_cleaned": "changed | set_field: demo_changed_text_box: @local.text_box" + "_raw": "changed | set_field:relax_3_favourite:@local.checkbox_3", + "_cleaned": "changed | set_field:relax_3_favourite:@local.checkbox_3" } ], "parameter_list": { - "placeholder": "Click and type!" + "label_text": "checkbox 3" }, - "_nested_name": "text_box", + "_nested_name": "checkbox_3", "_dynamicFields": { "action_list": { "0": { "args": { "1": [ { - "fullExpression": "@local.text_box", - "matchedExpression": "@local.text_box", + "fullExpression": "@local.checkbox_3", + "matchedExpression": "@local.checkbox_3", "type": "local", - "fieldName": "text_box" + "fieldName": "checkbox_3" } ] }, "_raw": [ { - "fullExpression": "changed | set_field: demo_changed_text_box: @local.text_box", - "matchedExpression": "@local.text_box", + "fullExpression": "changed | set_field:relax_3_favourite:@local.checkbox_3", + "matchedExpression": "@local.checkbox_3", "type": "local", - "fieldName": "text_box" + "fieldName": "checkbox_3" } ], "_cleaned": [ { - "fullExpression": "changed | set_field: demo_changed_text_box: @local.text_box", - "matchedExpression": "@local.text_box", + "fullExpression": "changed | set_field:relax_3_favourite:@local.checkbox_3", + "matchedExpression": "@local.checkbox_3", "type": "local", - "fieldName": "text_box" + "fieldName": "checkbox_3" } ] } } }, "_dynamicDependencies": { - "@local.text_box": [ + "@local.checkbox_3": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" @@ -46215,94 +49144,103 @@ }, { "type": "text", - "name": "text_box_text", - "value": "The value in the text box is @field.demo_changed_text_box", - "hidden": "\"@field.demo_changed_text_box\"==\"na\"", - "_nested_name": "text_box_text", + "name": "local_text_3", + "value": "checkbox local: @local.checkbox_3", + "_nested_name": "local_text_3", "_dynamicFields": { "value": [ { - "fullExpression": "The value in the text box is @field.demo_changed_text_box", - "matchedExpression": "@field.demo_changed_text_box", - "type": "field", - "fieldName": "demo_changed_text_box" - } - ], - "hidden": [ - { - "fullExpression": "\"@field.demo_changed_text_box\"==\"na\"", - "matchedExpression": "@field.demo_changed_text_box", - "type": "field", - "fieldName": "demo_changed_text_box" + "fullExpression": "checkbox local: @local.checkbox_3", + "matchedExpression": "@local.checkbox_3", + "type": "local", + "fieldName": "checkbox_3" } ] }, "_dynamicDependencies": { - "@field.demo_changed_text_box": [ - "value", - "hidden" + "@local.checkbox_3": [ + "value" ] } }, { - "type": "slider", - "name": "slider", - "value": 3, + "type": "simple_checkbox", + "name": "checkbox_4", "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "demo_changed_slider", - "@local.slider" + "@local.relax_favourite", + "@local.checkbox_4" ], - "_raw": "changed | set_field: demo_changed_slider: @local.slider", - "_cleaned": "changed | set_field: demo_changed_slider: @local.slider" + "_raw": "changed | set_field:@local.relax_favourite:@local.checkbox_4", + "_cleaned": "changed | set_field:@local.relax_favourite:@local.checkbox_4" } ], "parameter_list": { - "min": "0", - "max": "7", - "min_value_label": "least", - "max_value_label": "most", - "labels_count": "8", - "no_value": "false" + "label_text": "checkbox 4" }, - "_nested_name": "slider", + "_nested_name": "checkbox_4", "_dynamicFields": { "action_list": { "0": { "args": { + "0": [ + { + "fullExpression": "@local.relax_favourite", + "matchedExpression": "@local.relax_favourite", + "type": "local", + "fieldName": "relax_favourite" + } + ], "1": [ { - "fullExpression": "@local.slider", - "matchedExpression": "@local.slider", + "fullExpression": "@local.checkbox_4", + "matchedExpression": "@local.checkbox_4", "type": "local", - "fieldName": "slider" + "fieldName": "checkbox_4" } ] }, "_raw": [ { - "fullExpression": "changed | set_field: demo_changed_slider: @local.slider", - "matchedExpression": "@local.slider", + "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_4", + "matchedExpression": "@local.relax_favourite", "type": "local", - "fieldName": "slider" + "fieldName": "relax_favourite" + }, + { + "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_4", + "matchedExpression": "@local.checkbox_4", + "type": "local", + "fieldName": "checkbox_4" } ], "_cleaned": [ { - "fullExpression": "changed | set_field: demo_changed_slider: @local.slider", - "matchedExpression": "@local.slider", + "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_4", + "matchedExpression": "@local.relax_favourite", "type": "local", - "fieldName": "slider" + "fieldName": "relax_favourite" + }, + { + "fullExpression": "changed | set_field:@local.relax_favourite:@local.checkbox_4", + "matchedExpression": "@local.checkbox_4", + "type": "local", + "fieldName": "checkbox_4" } ] } } }, "_dynamicDependencies": { - "@local.slider": [ + "@local.relax_favourite": [ + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.checkbox_4": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" @@ -46311,1551 +49249,1964 @@ }, { "type": "text", - "name": "slider_text", - "value": "the selected choice in slider is @field.demo_changed_slider", - "hidden": "\"@field.demo_changed_slider\"==\"na\"", - "_nested_name": "slider_text", + "name": "local_text_4", + "value": "checkbox local: @local.checkbox_4", + "_nested_name": "local_text_4", "_dynamicFields": { "value": [ { - "fullExpression": "the selected choice in slider is @field.demo_changed_slider", - "matchedExpression": "@field.demo_changed_slider", - "type": "field", - "fieldName": "demo_changed_slider" - } - ], - "hidden": [ - { - "fullExpression": "\"@field.demo_changed_slider\"==\"na\"", - "matchedExpression": "@field.demo_changed_slider", - "type": "field", - "fieldName": "demo_changed_slider" + "fullExpression": "checkbox local: @local.checkbox_4", + "matchedExpression": "@local.checkbox_4", + "type": "local", + "fieldName": "checkbox_4" } ] }, "_dynamicDependencies": { - "@field.demo_changed_slider": [ - "value", - "hidden" + "@local.checkbox_4": [ + "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_changed_action.xlsx" - }, - { - "flow_type": "template", - "flow_name": "example_double_ref_comp_var", - "status": "released", - "rows": [ - { - "type": "template", - "name": "first_template", - "value": "example_component_variables", - "rows": [], - "_nested_name": "first_template" - }, - { - "type": "template", - "name": "second_template", - "value": "example_component_variables", - "rows": [], - "_nested_name": "second_template" }, { - "type": "text", - "name": "text_with_double_ref_options", - "value": "text should be what is in the comment", - "_nested_name": "text_with_double_ref_options" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_component_variables.xlsx" - }, - { - "flow_type": "template", - "flow_name": "example_nested_comp_var", - "status": "released", - "rows": [ - { - "type": "template", - "name": "nested_options_template", - "value": "example_double_ref_comp_var", + "type": "animated_section", + "name": "dave", "rows": [ { - "type": "nested_properties", - "name": "first_template", - "value": "example_component_variables", - "rows": [ + "type": "simple_checkbox", + "name": "checkbox_5", + "action_list": [ { - "name": "answer_list", - "value": [ - "name:name_var_1 | text:Option a", - "name:name_var_2 | text: Option b", - "name:name_var_3 | text: Option c" + "trigger": "changed", + "action_id": "set_field", + "args": [ + "checkbox_a_s_test", + "@local.checkbox_5" ], - "type": "set_variable", - "_nested_name": "nested_options_template.first_template.answer_list" + "_raw": "changed | set_field:checkbox_a_s_test:@local.checkbox_5", + "_cleaned": "changed | set_field:checkbox_a_s_test:@local.checkbox_5" } ], - "_nested_name": "nested_options_template.first_template" - } - ], - "_nested_name": "nested_options_template" - }, - { - "type": "text", - "name": "text_with_nested_options", - "value": "text should be what is in the comment", - "_nested_name": "text_with_nested_options" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_component_variables.xlsx" - }, - { - "flow_type": "template", - "flow_name": "example_condition_top_1", - "status": "released", - "rows": [ - { - "name": "var_1", - "value": "\"val_1\"", - "type": "set_variable", - "_nested_name": "var_1" - }, - { - "name": "var_2", - "value": true, - "type": "set_variable", - "_nested_name": "var_2" - }, - { - "name": "var_3", - "value": 5, - "type": "set_variable", - "_nested_name": "var_3" - }, - { - "type": "template", - "name": "example_text_1", - "value": "example_text", - "rows": [ - { - "name": "text", - "value": "The condition is not satisfied", - "condition": "@local.var_1==\"val_2\"", - "type": "set_variable", - "_nested_name": "example_text_1.text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.var_1==\"val_2\"", - "matchedExpression": "@local.var_1", - "type": "local", - "fieldName": "var_1" - } - ] - }, - "_dynamicDependencies": { - "@local.var_1": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "The condition is satisfied", - "condition": "@local.var_1==\"val_1\"", - "type": "set_variable", - "_nested_name": "example_text_1.text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.var_1==\"val_1\"", - "matchedExpression": "@local.var_1", - "type": "local", - "fieldName": "var_1" - } - ] - }, - "_dynamicDependencies": { - "@local.var_1": [ - "condition" - ] - } - } - ], - "_nested_name": "example_text_1" - }, - { - "type": "template", - "name": "example_text_2", - "value": "example_text", - "rows": [ - { - "name": "text", - "value": "The condition is satisfied", - "condition": "@local.var_3<9", - "type": "set_variable", - "_nested_name": "example_text_2.text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.var_3<9", - "matchedExpression": "@local.var_3", - "type": "local", - "fieldName": "var_3" - } - ] - }, - "_dynamicDependencies": { - "@local.var_3": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "The condition is not satisfied", - "condition": "@local.var_3>9", - "type": "set_variable", - "_nested_name": "example_text_2.text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.var_3>9", - "matchedExpression": "@local.var_3", - "type": "local", - "fieldName": "var_3" - } - ] - }, - "_dynamicDependencies": { - "@local.var_3": [ - "condition" - ] - } - } - ], - "_nested_name": "example_text_2" - }, - { - "type": "template", - "name": "example_text_3", - "value": "example_text", - "rows": [ - { - "name": "text", - "value": "The condition is satisfied", - "condition": "@local.var_2", - "type": "set_variable", - "_nested_name": "example_text_3.text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.var_2", - "matchedExpression": "@local.var_2", - "type": "local", - "fieldName": "var_2" - } - ] - }, - "_dynamicDependencies": { - "@local.var_2": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "The condition is not satisfied", - "condition": "!@local.var_2", - "type": "set_variable", - "_nested_name": "example_text_3.text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@local.var_2", - "matchedExpression": "@local.var_2", - "type": "local", - "fieldName": "var_2" - } - ] - }, - "_dynamicDependencies": { - "@local.var_2": [ - "condition" - ] - } - } - ], - "_nested_name": "example_text_3" - }, - { - "type": "template", - "name": "example_text_4", - "value": "example_text", - "rows": [ - { - "name": "text", - "value": "The condition is not satisfied", - "condition": "!@local.var_2", - "type": "set_variable", - "_nested_name": "example_text_4.text", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "!@local.var_2", - "matchedExpression": "@local.var_2", - "type": "local", - "fieldName": "var_2" - } - ] + "parameter_list": { + "label_text": "checkbox 5" }, - "_dynamicDependencies": { - "@local.var_2": [ - "condition" - ] - } - }, - { - "name": "text", - "value": "The condition is satisfied", - "condition": "@local.var_2", - "type": "set_variable", - "_nested_name": "example_text_4.text", + "_nested_name": "dave.checkbox_5", "_dynamicFields": { - "condition": [ - { - "fullExpression": "@local.var_2", - "matchedExpression": "@local.var_2", - "type": "local", - "fieldName": "var_2" + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.checkbox_5", + "matchedExpression": "@local.checkbox_5", + "type": "local", + "fieldName": "checkbox_5" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:checkbox_a_s_test:@local.checkbox_5", + "matchedExpression": "@local.checkbox_5", + "type": "local", + "fieldName": "checkbox_5" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:checkbox_a_s_test:@local.checkbox_5", + "matchedExpression": "@local.checkbox_5", + "type": "local", + "fieldName": "checkbox_5" + } + ] } - ] + } }, "_dynamicDependencies": { - "@local.var_2": [ - "condition" + "@local.checkbox_5": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } } ], - "_nested_name": "example_text_4" + "_nested_name": "dave" + }, + { + "type": "text", + "name": "text_5", + "value": "the local for checkbox 5 in animates section is @local.checkbox_5 and the field is @fields.checkbox_a_s_test", + "_nested_name": "text_5", + "_dynamicFields": { + "value": [ + { + "fullExpression": "the local for checkbox 5 in animates section is @local.checkbox_5 and the field is @fields.checkbox_a_s_test", + "matchedExpression": "@local.checkbox_5", + "type": "local", + "fieldName": "checkbox_5" + }, + { + "fullExpression": "the local for checkbox 5 in animates section is @local.checkbox_5 and the field is @fields.checkbox_a_s_test", + "matchedExpression": "@fields.checkbox_a_s_test", + "type": "fields", + "fieldName": "checkbox_a_s_test" + } + ] + }, + "_dynamicDependencies": { + "@local.checkbox_5": [ + "value" + ], + "@fields.checkbox_a_s_test": [ + "value" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_relax_checkbox.xlsx" }, { "flow_type": "template", - "flow_name": "example_text_button", + "flow_name": "debug_render_updates", "status": "released", "rows": [ + { + "type": "title", + "value": "Parent", + "name": "title", + "_nested_name": "title" + }, { "type": "text", + "value": "Changing either child input should update the other sibling", "name": "text", - "value": "Text", "_nested_name": "text" }, { - "type": "button", - "name": "button", - "value": "Button", - "_nested_name": "button" + "type": "text", + "value": "Value of debug_render_updates_field: \nfield: @fields.debug_render_updates_field", + "name": "text", + "_nested_name": "text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Value of debug_render_updates_field: \nfield: @fields.debug_render_updates_field", + "matchedExpression": "@fields.debug_render_updates_field", + "type": "fields", + "fieldName": "debug_render_updates_field" + } + ] + }, + "_dynamicDependencies": { + "@fields.debug_render_updates_field": [ + "value" + ] + } + }, + { + "type": "template", + "name": "debug_render_updates_child_1", + "value": "debug_render_updates_child_1", + "rows": [], + "_nested_name": "debug_render_updates_child_1" + }, + { + "type": "template", + "name": "debug_render_updates_child_2", + "value": "debug_render_updates_child_2", + "rows": [], + "_nested_name": "debug_render_updates_child_2" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_render_updates.xlsx" }, { "flow_type": "template", - "flow_name": "example_condition_top_2", + "flow_name": "debug_render_updates_child_1", "status": "released", "rows": [ { - "type": "template", - "name": "example_condition_bottom", - "value": "example_condition_bottom", - "rows": [ + "type": "title", + "value": "Child 1", + "name": "title", + "_nested_name": "title" + }, + { + "type": "text_box", + "name": "debug_render_updates_text", + "value": "@fields.debug_render_updates_field", + "action_list": [ { - "name": "text_result", - "value": "@local.radio_group_text", - "type": "set_variable", - "_nested_name": "example_condition_bottom.text_result", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.radio_group_text", - "matchedExpression": "@local.radio_group_text", - "type": "local", - "fieldName": "radio_group_text" - } - ] - }, - "_dynamicDependencies": { - "@local.radio_group_text": [ - "value" - ] - } + "trigger": "changed", + "action_id": "set_field", + "args": [ + "debug_render_updates_field", + "@local.debug_render_updates_text" + ], + "_raw": "changed | set_field:debug_render_updates_field:@local.debug_render_updates_text", + "_cleaned": "changed | set_field:debug_render_updates_field:@local.debug_render_updates_text" }, { - "name": "text_reply", - "value": "Reply for selecting first", - "condition": "@field.radio_button_field==\"name_var_1\"", - "type": "set_variable", - "_nested_name": "example_condition_bottom.text_reply", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@field.radio_button_field==\"name_var_1\"", - "matchedExpression": "@field.radio_button_field", - "type": "field", - "fieldName": "radio_button_field" - } - ] - }, - "_dynamicDependencies": { - "@field.radio_button_field": [ - "condition" - ] + "trigger": "changed", + "action_id": "emit", + "args": [ + "force_rerender" + ], + "_raw": "changed | emit:force_rerender", + "_cleaned": "changed | emit:force_rerender" + } + ], + "_nested_name": "debug_render_updates_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.debug_render_updates_field", + "matchedExpression": "@fields.debug_render_updates_field", + "type": "fields", + "fieldName": "debug_render_updates_field" } - }, - { - "name": "text_reply", - "value": "Reply for selecting second", - "condition": "@field.radio_button_field==\"name_var_2\"", - "type": "set_variable", - "_nested_name": "example_condition_bottom.text_reply", - "_dynamicFields": { - "condition": [ + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.debug_render_updates_text", + "matchedExpression": "@local.debug_render_updates_text", + "type": "local", + "fieldName": "debug_render_updates_text" + } + ] + }, + "_raw": [ { - "fullExpression": "@field.radio_button_field==\"name_var_2\"", - "matchedExpression": "@field.radio_button_field", - "type": "field", - "fieldName": "radio_button_field" + "fullExpression": "changed | set_field:debug_render_updates_field:@local.debug_render_updates_text", + "matchedExpression": "@local.debug_render_updates_text", + "type": "local", + "fieldName": "debug_render_updates_text" } - ] - }, - "_dynamicDependencies": { - "@field.radio_button_field": [ - "condition" - ] - } - }, - { - "name": "text_reply", - "value": "Reply for selecting third", - "condition": "@field.radio_button_field==\"name_var_3\"", - "type": "set_variable", - "_nested_name": "example_condition_bottom.text_reply", - "_dynamicFields": { - "condition": [ + ], + "_cleaned": [ { - "fullExpression": "@field.radio_button_field==\"name_var_3\"", - "matchedExpression": "@field.radio_button_field", - "type": "field", - "fieldName": "radio_button_field" + "fullExpression": "changed | set_field:debug_render_updates_field:@local.debug_render_updates_text", + "matchedExpression": "@local.debug_render_updates_text", + "type": "local", + "fieldName": "debug_render_updates_text" } ] - }, - "_dynamicDependencies": { - "@field.radio_button_field": [ - "condition" - ] } } - ], - "_nested_name": "example_condition_bottom" + }, + "_dynamicDependencies": { + "@fields.debug_render_updates_field": [ + "value" + ], + "@local.debug_render_updates_text": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } + }, + { + "type": "text", + "name": "go_to_field", + "value": "Value of debug_render_updates_field: \nlocal: @local.debug_render_updates_text;\nfield: @fields.debug_render_updates_field", + "_nested_name": "go_to_field", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Value of debug_render_updates_field: \nlocal: @local.debug_render_updates_text;\nfield: @fields.debug_render_updates_field", + "matchedExpression": "@local.debug_render_updates_text", + "type": "local", + "fieldName": "debug_render_updates_text" + }, + { + "fullExpression": "Value of debug_render_updates_field: \nlocal: @local.debug_render_updates_text;\nfield: @fields.debug_render_updates_field", + "matchedExpression": "@fields.debug_render_updates_field", + "type": "fields", + "fieldName": "debug_render_updates_field" + } + ] + }, + "_dynamicDependencies": { + "@local.debug_render_updates_text": [ + "value" + ], + "@fields.debug_render_updates_field": [ + "value" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_render_updates.xlsx" }, { "flow_type": "template", - "flow_name": "example_condition_top_3", + "flow_name": "debug_render_updates_child_2", "status": "released", "rows": [ { - "name": "variable", - "value": "initial_value", - "type": "set_variable", - "_nested_name": "variable" + "type": "title", + "value": "Child 2", + "name": "title", + "_nested_name": "title" }, { - "type": "template", - "name": "example_text_button", - "value": "example_text_button", - "rows": [ + "type": "text", + "value": "Value of debug_render_updates_field: \nfield: @fields.debug_render_updates_field", + "name": "text", + "_nested_name": "text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Value of debug_render_updates_field: \nfield: @fields.debug_render_updates_field", + "matchedExpression": "@fields.debug_render_updates_field", + "type": "fields", + "fieldName": "debug_render_updates_field" + } + ] + }, + "_dynamicDependencies": { + "@fields.debug_render_updates_field": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_render_updates.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_rounded_corners", + "status": "released", + "rows": [ + { + "type": "image", + "name": "image", + "value": "plh_images/workshops/solve/read_1/slide_1.svg", + "parameter_list": { + "style": "rounded_corners" + }, + "_nested_name": "image" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_rounded_corners.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_set_field_triggered", + "status": "released", + "rows": [ + { + "type": "text_box", + "name": "text_box", + "value": "@fields.debug_tracker_text_box", + "action_list": [ { - "name": "text", - "value": "@local.variable is the secondary value", - "condition": "@local.variable==secondary_value", - "type": "set_variable", - "_nested_name": "example_text_button.text", - "_dynamicFields": { - "value": [ + "trigger": "changed", + "action_id": "set_field", + "args": [ + "debug_tracker_text_box", + "@local.text_box" + ], + "_raw": "changed | set_field:debug_tracker_text_box:@local.text_box", + "_cleaned": "changed | set_field:debug_tracker_text_box:@local.text_box" + } + ], + "_nested_name": "text_box", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.debug_tracker_text_box", + "matchedExpression": "@fields.debug_tracker_text_box", + "type": "fields", + "fieldName": "debug_tracker_text_box" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ] + }, + "_raw": [ { - "fullExpression": "@local.variable is the secondary value", - "matchedExpression": "@local.variable", + "fullExpression": "changed | set_field:debug_tracker_text_box:@local.text_box", + "matchedExpression": "@local.text_box", "type": "local", - "fieldName": "variable" + "fieldName": "text_box" } ], - "condition": [ + "_cleaned": [ { - "fullExpression": "@local.variable==secondary_value", - "matchedExpression": "@local.variable", + "fullExpression": "changed | set_field:debug_tracker_text_box:@local.text_box", + "matchedExpression": "@local.text_box", "type": "local", - "fieldName": "variable" + "fieldName": "text_box" } ] + } + } + }, + "_dynamicDependencies": { + "@fields.debug_tracker_text_box": [ + "value" + ], + "@local.text_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } + }, + { + "type": "text", + "value": "text_box\n---------------------------------------------------\nlocal: @local.text_box \nfield: @fields.debug_tracker_text_box \ntriggered: @fields.debug_triggered_text_box", + "name": "text", + "_nested_name": "text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "text_box\n---------------------------------------------------\nlocal: @local.text_box \nfield: @fields.debug_tracker_text_box \ntriggered: @fields.debug_triggered_text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" }, - "_dynamicDependencies": { - "@local.variable": [ - "value", - "condition" - ] + { + "fullExpression": "text_box\n---------------------------------------------------\nlocal: @local.text_box \nfield: @fields.debug_tracker_text_box \ntriggered: @fields.debug_triggered_text_box", + "matchedExpression": "@fields.debug_tracker_text_box", + "type": "fields", + "fieldName": "debug_tracker_text_box" + }, + { + "fullExpression": "text_box\n---------------------------------------------------\nlocal: @local.text_box \nfield: @fields.debug_tracker_text_box \ntriggered: @fields.debug_triggered_text_box", + "matchedExpression": "@fields.debug_triggered_text_box", + "type": "fields", + "fieldName": "debug_triggered_text_box" } + ] + }, + "_dynamicDependencies": { + "@local.text_box": [ + "value" + ], + "@fields.debug_tracker_text_box": [ + "value" + ], + "@fields.debug_triggered_text_box": [ + "value" + ] + } + }, + { + "type": "template", + "name": "nav_buttons", + "value": "nav_buttons", + "action_list": [ + { + "trigger": "completed", + "action_id": "set_field", + "args": [ + "debug_triggered_text_box", + "@local.text_box" + ], + "_raw": "completed | set_field:debug_triggered_text_box:@local.text_box", + "_cleaned": "completed | set_field:debug_triggered_text_box:@local.text_box" }, { - "name": "text", - "value": "@local.variable is the initial value", - "condition": "@local.variable==initial_value", + "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": "use_completed_chevron", + "value": true, "type": "set_variable", - "_nested_name": "example_text_button.text", - "_dynamicFields": { - "value": [ + "_nested_name": "nav_buttons.use_completed_chevron" + } + ], + "_nested_name": "nav_buttons", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ] + }, + "_raw": [ { - "fullExpression": "@local.variable is the initial value", - "matchedExpression": "@local.variable", + "fullExpression": "completed | set_field:debug_triggered_text_box:@local.text_box", + "matchedExpression": "@local.text_box", "type": "local", - "fieldName": "variable" + "fieldName": "text_box" } ], - "condition": [ + "_cleaned": [ { - "fullExpression": "@local.variable==initial_value", - "matchedExpression": "@local.variable", + "fullExpression": "completed | set_field:debug_triggered_text_box:@local.text_box", + "matchedExpression": "@local.text_box", "type": "local", - "fieldName": "variable" + "fieldName": "text_box" } ] - }, - "_dynamicDependencies": { - "@local.variable": [ - "value", - "condition" - ] } - }, - { - "name": "button", - "value": "Set value to secondary", - "action_list": [ - { - "trigger": "click", - "action_id": "set_local", - "args": [ - "variable", - "secondary_value" - ], - "_raw": "click | set_local:variable:secondary_value", - "_cleaned": "click | set_local:variable:secondary_value" - } - ], - "type": "set_variable", - "_nested_name": "example_text_button.button" } - ], - "_nested_name": "example_text_button" + }, + "_dynamicDependencies": { + "@local.text_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_set_field_triggered.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_video_1", + "status": "released", + "rows": [ + { + "type": "video", + "name": "video_src", + "value": "plh_video/lets_slow_down.mp4", + "_nested_name": "video_src" + }, + { + "type": "video", + "name": "video_src", + "value": "https://www.w3schools.com/html/mov_bbb.mp4", + "_nested_name": "video_src" + }, + { + "type": "text", + "name": "my_text", + "value": "This is My Text", + "_nested_name": "my_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" }, { "flow_type": "template", - "flow_name": "example_condition_bottom", + "flow_name": "debug_timer_icons_1", "status": "released", "rows": [ { - "name": "answer_list", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second", - "name:name_var_3 | text:Third" - ], + "type": "timer", + "name": "timer", + "parameter_list": { + "duration_extension": "1", + "duration": "10" + }, + "_nested_name": "timer" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_negation", + "status": "released", + "rows": [ + { + "name": "var_true", + "value": true, "type": "set_variable", - "_nested_name": "answer_list" + "_nested_name": "var_true" }, { - "name": "field_name", - "value": "radio_button_field", + "name": "var_false", + "value": false, "type": "set_variable", - "_nested_name": "field_name" + "_nested_name": "var_false" }, { - "type": "radio_group", - "name": "radio_group_text", - "value": "nothing", - "parameter_list": { - "answer_list": "@local.answer_list" + "type": "text", + "name": "true_true", + "value": "Variable true (this text is hidden)", + "hidden": "@local.var_true", + "_nested_name": "true_true", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@local.var_true", + "matchedExpression": "@local.var_true", + "type": "local", + "fieldName": "var_true" + } + ] }, - "_nested_name": "radio_group_text", + "_dynamicDependencies": { + "@local.var_true": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "true_false", + "value": "Variable true Hidden negated (this text is visible)", + "hidden": "!@local.var_true", + "_nested_name": "true_false", "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] - } + "hidden": [ + { + "fullExpression": "!@local.var_true", + "matchedExpression": "@local.var_true", + "type": "local", + "fieldName": "var_true" + } + ] }, "_dynamicDependencies": { - "@local.answer_list": [ - "parameter_list.answer_list" + "@local.var_true": [ + "hidden" ] } }, { "type": "text", - "name": "text_result", - "value": "You selected @local.radio_group_text", - "_nested_name": "text_result", + "name": "false_true", + "value": "Variable false (this text is visible)", + "hidden": "@local.var_false", + "_nested_name": "false_true", "_dynamicFields": { - "value": [ + "hidden": [ { - "fullExpression": "You selected @local.radio_group_text", - "matchedExpression": "@local.radio_group_text", + "fullExpression": "@local.var_false", + "matchedExpression": "@local.var_false", "type": "local", - "fieldName": "radio_group_text" + "fieldName": "var_false" } ] }, "_dynamicDependencies": { - "@local.radio_group_text": [ - "value" + "@local.var_false": [ + "hidden" ] } }, { "type": "text", - "name": "text_reply", - "value": "Reply text", - "hidden": "\"@local.radio_group_text\" = \"nothing\"", - "_nested_name": "text_reply", + "name": "false_false", + "value": "Variable false Hidden negated (this text is hidden)", + "hidden": "!@local.var_false", + "_nested_name": "false_false", "_dynamicFields": { "hidden": [ { - "fullExpression": "\"@local.radio_group_text\" = \"nothing\"", - "matchedExpression": "@local.radio_group_text", + "fullExpression": "!@local.var_false", + "matchedExpression": "@local.var_false", "type": "local", - "fieldName": "radio_group_text" + "fieldName": "var_false" } ] }, "_dynamicDependencies": { - "@local.radio_group_text": [ + "@local.var_false": [ "hidden" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" }, { "flow_type": "template", - "flow_name": "example_data_template", + "flow_name": "debug_set_local", "status": "released", "rows": [ + { + "name": "debug_variable_one", + "value": "Value of the first debug variable.", + "type": "set_variable", + "_nested_name": "debug_variable_one" + }, + { + "name": "debug_variable_two", + "value": "Value of the second debug variable", + "type": "set_variable", + "_nested_name": "debug_variable_two" + }, + { + "name": "debug_variable_3", + "value": "Value of the third debug variable", + "type": "set_variable", + "_nested_name": "debug_variable_3" + }, + { + "name": "debug_variable_four", + "value": "Value of the fourth debug variable", + "type": "set_variable", + "_nested_name": "debug_variable_four" + }, + { + "name": "debug_variable_five", + "value": "Value of the fifth debug variable", + "type": "set_variable", + "_nested_name": "debug_variable_five" + }, { "type": "text", - "name": "text_1", - "value": "@data.example.example1.value", - "_nested_name": "text_1", + "name": "debug_text_1", + "value": "Text that includes @local.debug_variable_one", + "_nested_name": "debug_text_1", "_dynamicFields": { "value": [ { - "fullExpression": "@data.example.example1.value", - "matchedExpression": "@data.example.example1.value", - "type": "data", - "fieldName": "example" + "fullExpression": "Text that includes @local.debug_variable_one", + "matchedExpression": "@local.debug_variable_one", + "type": "local", + "fieldName": "debug_variable_one" } ] }, "_dynamicDependencies": { - "@data.example.example1.value": [ + "@local.debug_variable_one": [ "value" ] } }, { "type": "text", - "name": "broken_1", - "value": "@data.example.example1", - "_nested_name": "broken_1", + "name": "debug_text_2", + "value": "Text that includes @local.debug_variable_two", + "_nested_name": "debug_text_2", "_dynamicFields": { "value": [ { - "fullExpression": "@data.example.example1", - "matchedExpression": "@data.example.example1", - "type": "data", - "fieldName": "example" + "fullExpression": "Text that includes @local.debug_variable_two", + "matchedExpression": "@local.debug_variable_two", + "type": "local", + "fieldName": "debug_variable_two" } ] }, "_dynamicDependencies": { - "@data.example.example1": [ + "@local.debug_variable_two": [ "value" ] } }, { - "type": "radio_group", - "name": "radio_group_1", - "parameter_list": { - "answer_list": "@data.example.example3.value_list" + "type": "text", + "name": "debug_text_3", + "value": "Text that includes @local.debug_variable_3", + "_nested_name": "debug_text_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Text that includes @local.debug_variable_3", + "matchedExpression": "@local.debug_variable_3", + "type": "local", + "fieldName": "debug_variable_3" + } + ] }, - "_nested_name": "radio_group_1", + "_dynamicDependencies": { + "@local.debug_variable_3": [ + "value" + ] + } + }, + { + "type": "text", + "name": "debug_text_4", + "value": "Text that includes @local.debug_variable_four", + "_nested_name": "debug_text_4", "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@data.example.example3.value_list", - "matchedExpression": "@data.example.example3.value_list", - "type": "data", - "fieldName": "example" - } - ] - } + "value": [ + { + "fullExpression": "Text that includes @local.debug_variable_four", + "matchedExpression": "@local.debug_variable_four", + "type": "local", + "fieldName": "debug_variable_four" + } + ] }, "_dynamicDependencies": { - "@data.example.example3.value_list": [ - "parameter_list.answer_list" + "@local.debug_variable_four": [ + "value" + ] + } + }, + { + "type": "text", + "name": "debug_text_5", + "value": "Text that includes @local.debug_variable-five", + "_nested_name": "debug_text_5", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Text that includes @local.debug_variable-five", + "matchedExpression": "@local.debug_variable", + "type": "local", + "fieldName": "debug_variable" + } + ] + }, + "_dynamicDependencies": { + "@local.debug_variable": [ + "value" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_data_lists.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" }, { "flow_type": "template", - "flow_name": "example_call_global_constants", + "flow_name": "debug_set_local_image", + "status": "released", + "rows": [ + { + "name": "debug_variable", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "type": "set_variable", + "_nested_name": "debug_variable" + }, + { + "type": "image", + "name": "direct_image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "_nested_name": "direct_image" + }, + { + "type": "text", + "name": "text", + "value": "Text below the direct image and above the variable image.", + "_nested_name": "text" + }, + { + "type": "image", + "name": "variable_image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "_nested_name": "variable_image" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_set_global_2", "status": "released", "rows": [ { "type": "title", "name": "title", - "value": "@global.example_global_constant_title", + "value": "@global.debug_variable_1", "_nested_name": "title", "_dynamicFields": { "value": [ { - "fullExpression": "@global.example_global_constant_title", - "matchedExpression": "@global.example_global_constant_title", + "fullExpression": "@global.debug_variable_1", + "matchedExpression": "@global.debug_variable_1", "type": "global", - "fieldName": "example_global_constant_title" + "fieldName": "debug_variable_1" } ] }, "_dynamicDependencies": { - "@global.example_global_constant_title": [ + "@global.debug_variable_1": [ "value" ] } }, { "type": "text", - "name": "text_1", - "value": "Text that includes @global.example_global_constant_text", - "_nested_name": "text_1", + "name": "text", + "value": "Text that includes @global.debug_variable_1", + "_nested_name": "text", "_dynamicFields": { "value": [ { - "fullExpression": "Text that includes @global.example_global_constant_text", - "matchedExpression": "@global.example_global_constant_text", + "fullExpression": "Text that includes @global.debug_variable_1", + "matchedExpression": "@global.debug_variable_1", "type": "global", - "fieldName": "example_global_constant_text" + "fieldName": "debug_variable_1" } ] }, "_dynamicDependencies": { - "@global.example_global_constant_text": [ + "@global.debug_variable_1": [ "value" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_set_field_1", + "status": "released", + "rows": [ + { + "type": "set_field", + "name": "variable", + "value": "Value of the field", + "_nested_name": "variable" }, { - "type": "image", - "name": "image_src", - "value": "@global.example_global_constant_image", - "_nested_name": "image_src", + "type": "text", + "name": "text_1", + "value": "Field value is @field.variable", + "_nested_name": "text_1", "_dynamicFields": { "value": [ { - "fullExpression": "@global.example_global_constant_image", - "matchedExpression": "@global.example_global_constant_image", - "type": "global", - "fieldName": "example_global_constant_image" + "fullExpression": "Field value is @field.variable", + "matchedExpression": "@field.variable", + "type": "field", + "fieldName": "variable" } ] }, "_dynamicDependencies": { - "@global.example_global_constant_image": [ + "@field.variable": [ "value" ] } - }, - { - "type": "text", - "name": "text_2", - "value": "There should be an image above this text, whose source is example_global_image", - "_nested_name": "text_2" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_global_field.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" }, { "flow_type": "template", - "flow_name": "example_set_fields_in_action", + "flow_name": "debug_set_field_2", "status": "released", "rows": [ { "type": "text", - "name": "text_0", - "value": "The value of field_0 is @field.field_0", - "_nested_name": "text_0", + "name": "text_1", + "value": "Field value is @field.variable", + "_nested_name": "text_1", "_dynamicFields": { "value": [ { - "fullExpression": "The value of field_0 is @field.field_0", - "matchedExpression": "@field.field_0", + "fullExpression": "Field value is @field.variable", + "matchedExpression": "@field.variable", "type": "field", - "fieldName": "field_0" + "fieldName": "variable" } ] }, "_dynamicDependencies": { - "@field.field_0": [ + "@field.variable": [ "value" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_text", + "status": "released", + "rows": [ + { + "type": "text", + "name": "text_1", + "value": "Some text", + "_nested_name": "text_1" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_hidden", + "status": "released", + "rows": [ + { + "type": "template", + "name": "box_1", + "value": "debug_text", + "rows": [ + { + "name": "text_1", + "value": "First row: This text is hidden", + "hidden": true, + "type": "set_variable", + "_nested_name": "box_1.text_1" + }, + { + "name": "text_1", + "value": "Second row: This text is visible", + "hidden": false, + "type": "set_variable", + "_nested_name": "box_1.text_1" + } + ], + "_nested_name": "box_1" + }, + { + "type": "template", + "name": "box_2", + "value": "debug_text", + "rows": [ + { + "name": "text_1", + "value": "First row: This text is visible", + "hidden": false, + "type": "set_variable", + "_nested_name": "box_2.text_1" + }, + { + "name": "text_1", + "value": "Second row: This text is hidden", + "hidden": true, + "type": "set_variable", + "_nested_name": "box_2.text_1" + } + ], + "_nested_name": "box_2" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_hidden_text", + "status": "released", + "rows": [ + { + "type": "text", + "name": "text_1", + "value": "Placeholder Text to create separation", + "_nested_name": "text_1" + }, + { + "type": "text", + "name": "text_2", + "_nested_name": "text_2" + }, + { + "type": "text", + "name": "text_3", + "value": "Placeholder Text to create separation", + "_nested_name": "text_3" + }, + { + "type": "text", + "name": "text_4", + "value": "This is text_4 which should be hidden as we set hidden to true", + "hidden": true, + "_nested_name": "text_4" + }, + { + "type": "text", + "name": "text_5", + "value": "Placeholder Text to create separation", + "_nested_name": "text_5" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_hidden_buttons", + "status": "released", + "rows": [ + { + "type": "text", + "name": "text_1", + "value": "Placeholder Text to create separation", + "_nested_name": "text_1" }, { "type": "button", "name": "button_1", - "value": "Override field_1", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "field_1", - "\"New value of Field 1\"" - ], - "_raw": "click | set_field:field_1:\"New value of Field 1\"", - "_cleaned": "click | set_field:field_1:\"New value of Field 1\"" - } - ], "_nested_name": "button_1" }, { "type": "text", - "name": "text_1", - "value": "The value of field_1 is @field.field_1", - "_nested_name": "text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "The value of field_1 is @field.field_1", - "matchedExpression": "@field.field_1", - "type": "field", - "fieldName": "field_1" - } - ] - }, - "_dynamicDependencies": { - "@field.field_1": [ - "value" - ] - } + "name": "text_2", + "value": "Placeholder Text to create separation..", + "_nested_name": "text_2" }, { - "type": "button", + "type": "text", "name": "button_2", - "value": "Create field_2", - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "field_2", - "\"Value of Field 2\"" - ], - "_raw": "click | set_field:field_2:\"Value of Field 2\"", - "_cleaned": "click | set_field:field_2:\"Value of Field 2\"" - } - ], + "value": "Hidden Button", + "hidden": true, "_nested_name": "button_2" }, { "type": "text", - "name": "text_2", - "value": "The value of field_2 is @field.field_2", - "_nested_name": "text_2", + "name": "text_3", + "value": "Placeholder Text to create separation", + "_nested_name": "text_3" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_audio_1", + "status": "released", + "rows": [ + { + "type": "audio", + "name": "audio_src", + "value": "plh_audio/sample.mp3", + "parameter_list": { + "title": "Test title" + }, + "_nested_name": "audio_src" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_evaluate_hidden", + "status": "released", + "rows": [ + { + "name": "var_true", + "value": true, + "type": "set_variable", + "_nested_name": "var_true" + }, + { + "name": "var_number_1", + "value": 1, + "type": "set_variable", + "_nested_name": "var_number_1" + }, + { + "type": "text", + "name": "true_true", + "value": "This text is hidden if var_true is true.", + "hidden": "@local.var_true", + "_nested_name": "true_true", "_dynamicFields": { - "value": [ + "hidden": [ { - "fullExpression": "The value of field_2 is @field.field_2", - "matchedExpression": "@field.field_2", - "type": "field", - "fieldName": "field_2" + "fullExpression": "@local.var_true", + "matchedExpression": "@local.var_true", + "type": "local", + "fieldName": "var_true" } ] }, "_dynamicDependencies": { - "@field.field_2": [ - "value" + "@local.var_true": [ + "hidden" ] } }, { "type": "text", - "name": "text_hidden_4", - "value": "This should be hidden when field_4 is TRUE", - "hidden": "@field.field_4", - "_nested_name": "text_hidden_4", + "name": "true_false", + "value": "This text is hidden if var_true is false.", + "hidden": "!@local.var_true", + "_nested_name": "true_false", "_dynamicFields": { "hidden": [ { - "fullExpression": "@field.field_4", - "matchedExpression": "@field.field_4", - "type": "field", - "fieldName": "field_4" + "fullExpression": "!@local.var_true", + "matchedExpression": "@local.var_true", + "type": "local", + "fieldName": "var_true" } ] }, "_dynamicDependencies": { - "@field.field_4": [ + "@local.var_true": [ "hidden" ] } }, { "type": "text", - "name": "text_not_hidden_4", - "value": "This should be hidden when field_4 is FALSE", - "hidden": "!@field.field_4", - "_nested_name": "text_not_hidden_4", + "name": "number_1", + "value": "This text is hidden if var_number_1 is 1.", + "hidden": "@local.var_number_1 == 1", + "_nested_name": "number_1", "_dynamicFields": { "hidden": [ { - "fullExpression": "!@field.field_4", - "matchedExpression": "@field.field_4", - "type": "field", - "fieldName": "field_4" + "fullExpression": "@local.var_number_1 == 1", + "matchedExpression": "@local.var_number_1", + "type": "local", + "fieldName": "var_number_1" } ] }, "_dynamicDependencies": { - "@field.field_4": [ + "@local.var_number_1": [ "hidden" ] } }, { "type": "text", - "name": "text_hidden_5", - "value": "This should be hidden when field_5 is more than 2", - "hidden": "@field.field_5>2", - "_nested_name": "text_hidden_5", + "name": "number_not_1", + "value": "This text is hidden if var_number_1 not 1.", + "hidden": "@local.var_number_1 != 1", + "_nested_name": "number_not_1", "_dynamicFields": { "hidden": [ { - "fullExpression": "@field.field_5>2", - "matchedExpression": "@field.field_5", - "type": "field", - "fieldName": "field_5" + "fullExpression": "@local.var_number_1 != 1", + "matchedExpression": "@local.var_number_1", + "type": "local", + "fieldName": "var_number_1" } ] }, "_dynamicDependencies": { - "@field.field_5": [ + "@local.var_number_1": [ "hidden" ] } }, { "type": "text", - "name": "text_not_hidden_5_a", - "value": "This should be hidden when field_5 is less than or equal to 2", - "hidden": "@field.field_5<=2", - "_nested_name": "text_not_hidden_5_a", + "name": "number_greater_1", + "value": "This text is hidden if var_number_1 is greater than 1.", + "hidden": "@local.var_number_1 > 1", + "_nested_name": "number_greater_1", "_dynamicFields": { "hidden": [ { - "fullExpression": "@field.field_5<=2", - "matchedExpression": "@field.field_5", - "type": "field", - "fieldName": "field_5" + "fullExpression": "@local.var_number_1 > 1", + "matchedExpression": "@local.var_number_1", + "type": "local", + "fieldName": "var_number_1" } ] }, "_dynamicDependencies": { - "@field.field_5": [ + "@local.var_number_1": [ "hidden" ] } }, { "type": "text", - "name": "text_not_hidden_5_b", - "value": "This should be hidden when field_5 is less than or equal to 2", - "hidden": "!@field.field_5>2", - "_nested_name": "text_not_hidden_5_b", + "name": "number_not_1", + "value": "This text is hidden if var_number_1 is not greater than 1.", + "hidden": "!(@local.var_number_1 > 1)", + "_nested_name": "number_not_1", "_dynamicFields": { "hidden": [ { - "fullExpression": "!@field.field_5>2", - "matchedExpression": "@field.field_5", - "type": "field", - "fieldName": "field_5" + "fullExpression": "!(@local.var_number_1 > 1)", + "matchedExpression": "@local.var_number_1", + "type": "local", + "fieldName": "var_number_1" } ] }, "_dynamicDependencies": { - "@field.field_5": [ + "@local.var_number_1": [ "hidden" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_global_field.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" }, { "flow_type": "template", - "flow_name": "example_multiple_locals", + "flow_name": "debug_text_paragraphs", "status": "released", "rows": [ { - "name": "name_1", - "value": "This is text 1", - "type": "set_variable", - "_nested_name": "name_1" + "type": "title", + "name": "title", + "value": "Two paragraphs of text", + "_nested_name": "title" }, { - "name": "name_2", - "value": "This is text 2", - "type": "set_variable", - "_nested_name": "name_2" + "type": "text", + "name": "text", + "value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ", + "parameter_list": { + "style": "standart primary", + "text_align": "center" + }, + "_nested_name": "text" }, { - "name": "name_3", - "value": "This is text 3", - "type": "set_variable", - "_nested_name": "name_3" - }, + "type": "text", + "name": "text_2", + "value": "This is the first line in first 'paragraph'.\nThis is the second line in first 'paragraph'.\n", + "parameter_list": { + "style": "small", + "text_align": "left" + }, + "_nested_name": "text_2" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "debug_print_global", + "status": "released", + "rows": [ { - "name": "answer_list", - "value": [ - "name: name_1 | text: @local.name_1", - "name: name_2 | text: @local.name_2", - "name: name_3 | text: @local.name_3" + "type": "template", + "name": "read", + "value": "read_temp", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + } ], - "type": "set_variable", - "_nested_name": "answer_list", - "_dynamicFields": { - "value": { - "0": [ + "rows": [ + { + "type": "nested_properties", + "name": "workshop_activity", + "rows": [ { - "fullExpression": "name: name_1 | text: @local.name_1", - "matchedExpression": "@local.name_1", - "type": "local", - "fieldName": "name_1" - } - ], - "1": [ + "name": "intro_text", + "value": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "type": "set_variable", + "_nested_name": "read.workshop_activity.intro_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.w_instruct_female_caregiver", + "type": "global", + "fieldName": "w_instruct_female_caregiver" + }, + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.w_instruct_teen_girl", + "type": "global", + "fieldName": "w_instruct_teen_girl" + }, + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.parent_point", + "type": "global", + "fieldName": "parent_point" + }, + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.w_instruct", + "type": "global", + "fieldName": "w_instruct" + }, + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.guide_teen_name", + "type": "global", + "fieldName": "guide_teen_name" + } + ] + }, + "_dynamicDependencies": { + "@global.w_instruct_female_caregiver": [ + "value" + ], + "@global.w_instruct_teen_girl": [ + "value" + ], + "@global.parent_point": [ + "value" + ], + "@global.w_instruct": [ + "value" + ], + "@global.guide_teen_name": [ + "value" + ] + } + }, { - "fullExpression": "name: name_2 | text: @local.name_2", - "matchedExpression": "@local.name_2", - "type": "local", - "fieldName": "name_2" + "type": "nested_properties", + "name": "content_box", + "value": "box_image", + "rows": [ + { + "name": "image_src", + "value": "plh_images/workshops/instruct/read_1/slide_1.svg", + "type": "set_variable", + "_nested_name": "read.workshop_activity.content_box.image_src" + }, + { + "name": "text", + "value": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "type": "set_variable", + "_nested_name": "read.workshop_activity.content_box.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.w_instruct_female_caregiver", + "type": "global", + "fieldName": "w_instruct_female_caregiver" + }, + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.w_instruct_teen_girl", + "type": "global", + "fieldName": "w_instruct_teen_girl" + }, + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.parent_point", + "type": "global", + "fieldName": "parent_point" + }, + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.w_instruct", + "type": "global", + "fieldName": "w_instruct" + }, + { + "fullExpression": "@global.w_instruct_female_caregiver @global.w_instruct_teen_girl @global.parent_point @global.w_instruct @global.guide_teen_name", + "matchedExpression": "@global.guide_teen_name", + "type": "global", + "fieldName": "guide_teen_name" + } + ] + }, + "_dynamicDependencies": { + "@global.w_instruct_female_caregiver": [ + "value" + ], + "@global.w_instruct_teen_girl": [ + "value" + ], + "@global.parent_point": [ + "value" + ], + "@global.w_instruct": [ + "value" + ], + "@global.guide_teen_name": [ + "value" + ] + } + } + ], + "_nested_name": "read.workshop_activity.content_box" } ], - "2": [ - { - "fullExpression": "name: name_3 | text: @local.name_3", - "matchedExpression": "@local.name_3", - "type": "local", - "fieldName": "name_3" - } - ] + "_nested_name": "read.workshop_activity" } - }, - "_dynamicDependencies": { - "@local.name_1": [ - "value.0" - ], - "@local.name_2": [ - "value.1" - ], - "@local.name_3": [ - "value.2" - ] - } + ], + "_nested_name": "read" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/debug_templates/debug_small_issues.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_go_to_1", + "status": "released", + "rows": [ + { + "type": "text", + "name": "text", + "value": "This template demonstates 4 types of go-to buttons. \n\nWrite x for the template example_emit.", + "_nested_name": "text" }, { - "type": "combo_box", - "name": "combo_box_defaults", - "parameter_list": { - "answer_list": "@local.answer_list", - "style": "active" - }, - "_nested_name": "combo_box_defaults", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] + "type": "button", + "name": "button_go_to_1", + "value": "Go to x", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "example_emit" + ], + "_raw": "click | go_to:example_emit", + "_cleaned": "click | go_to:example_emit" + } + ], + "_nested_name": "button_go_to_1" + }, + { + "type": "button", + "name": "button_go_to_2", + "value": "Go to x and don't come back", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "example_emit" + ], + "_raw": "click | go_to:example_emit", + "_cleaned": "click | go_to:example_emit" + }, + { + "trigger": "click", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" } - }, - "_dynamicDependencies": { - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } + ], + "_nested_name": "button_go_to_2" }, { - "type": "text", - "name": "text", - "value": "@local.@local.combo_box_defaults", - "_nested_name": "text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.@local.combo_box_defaults", - "matchedExpression": "@local.combo_box_defaults", - "type": "local", - "fieldName": "combo_box_defaults" - } - ] - }, - "_dynamicDependencies": { - "@local.combo_box_defaults": [ - "value" - ] - } + "type": "button", + "name": "button_go_to_3", + "value": "Go to x and come back if x uncompleted", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "example_emit" + ], + "_raw": "click | go_to:example_emit", + "_cleaned": "click | go_to:example_emit" + }, + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + } + ], + "_nested_name": "button_go_to_3" + }, + { + "type": "button", + "name": "button_go_to_4", + "value": "Go to x and come back if x completed", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "example_emit" + ], + "_raw": "click | go_to:example_emit", + "_cleaned": "click | go_to:example_emit" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "uncompleted | emit:completed", + "_cleaned": "uncompleted | emit:completed" + } + ], + "_nested_name": "button_go_to_4" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_multiple_locals.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" }, { "flow_type": "template", - "flow_name": "example_dates", + "flow_name": "example_emit", "status": "released", "rows": [ { "type": "text", - "name": "first", - "value": "@field.first_app_open is the first time it opened", - "_nested_name": "first", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.first_app_open is the first time it opened", - "matchedExpression": "@field.first_app_open", - "type": "field", - "fieldName": "first_app_open" - } - ] - }, - "_dynamicDependencies": { - "@field.first_app_open": [ - "value" - ] - } - }, - { - "type": "text", - "name": "today", - "value": "@field.current_date is today", - "_nested_name": "today", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.current_date is today", - "matchedExpression": "@field.current_date", - "type": "field", - "fieldName": "current_date" - } - ] - }, - "_dynamicDependencies": { - "@field.current_date": [ - "value" - ] - } + "name": "text", + "value": "This is the example emit template.", + "_nested_name": "text" }, { - "type": "text", - "name": "week", - "value": "second_week is @field.second_week", - "_nested_name": "week", - "_dynamicFields": { - "value": [ - { - "fullExpression": "second_week is @field.second_week", - "matchedExpression": "@field.second_week", - "type": "field", - "fieldName": "second_week" - } - ] - }, - "_dynamicDependencies": { - "@field.second_week": [ - "value" - ] - } + "type": "button", + "name": "button_completed", + "value": "Emit completed", + "action_list": [ + { + "trigger": "click", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" + } + ], + "_nested_name": "button_completed" }, { - "type": "text", - "name": "time_difference", - "value": "the time difference is @field.time_difference", - "_nested_name": "time_difference", - "_dynamicFields": { - "value": [ - { - "fullExpression": "the time difference is @field.time_difference", - "matchedExpression": "@field.time_difference", - "type": "field", - "fieldName": "time_difference" - } - ] - }, - "_dynamicDependencies": { - "@field.time_difference": [ - "value" - ] - } + "type": "button", + "name": "button_uncompleted", + "value": "Emit uncompleted", + "action_list": [ + { + "trigger": "click", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "click | emit:uncompleted", + "_cleaned": "click | emit:uncompleted" + } + ], + "_nested_name": "button_uncompleted" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_multiple_locals.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" }, { "flow_type": "template", - "flow_name": "example_navigation_style", + "flow_name": "example_pop_ups", "status": "released", "rows": [ { - "name": "hide_page_1", - "value": false, - "type": "set_variable", - "_nested_name": "hide_page_1" + "type": "text", + "name": "text_1", + "value": "This is the main template demonstrating three types of pop-ups.", + "_nested_name": "text_1" }, { - "name": "hide_page_2", - "value": true, - "type": "set_variable", - "_nested_name": "hide_page_2" + "type": "text", + "name": "text_2", + "value": "Button 1 is a simple text pop-up:", + "_nested_name": "text_2" }, { - "type": "animated_section", - "name": "page_1", - "hidden": "@local.hide_page_1", - "rows": [ - { - "type": "title", - "name": "title_page_1", - "value": "Page 1", - "_nested_name": "page_1.title_page_1" - }, - { - "type": "text", - "name": "text_page_1", - "value": "This is page 1", - "_nested_name": "page_1.text_page_1" - }, - { - "parameter_list": { - "style": "navigation" - }, - "type": "set_variable", - "name": "set_variable", - "_nested_name": "page_1.set_variable" - }, + "type": "button", + "name": "button_pop_up_1", + "value": "Button 1", + "action_list": [ { - "type": "template", - "name": "page_1_nav_buttons", - "value": "nav_buttons", - "action_list": [ - { - "trigger": "completed", - "action_id": "set_local", - "args": [ - "hide_page_1", - true - ], - "_raw": "completed | set_local:hide_page_1:true", - "_cleaned": "completed | set_local:hide_page_1:true" - }, - { - "trigger": "completed", - "action_id": "set_local", - "args": [ - "hide_page_2", - false - ], - "_raw": "completed | set_local:hide_page_2:false", - "_cleaned": "completed | set_local:hide_page_2:false" - }, - { - "trigger": "uncompleted", - "action_id": "emit", - "args": [ - "uncompleted" - ], - "_raw": "uncompleted | emit:uncompleted", - "_cleaned": "uncompleted | emit:uncompleted" - } - ], - "rows": [ - { - "name": "button_completed", - "value": "Let's go!", - "type": "set_variable", - "_nested_name": "page_1.page_1_nav_buttons.button_completed" - } + "trigger": "click", + "action_id": "pop_up", + "args": [ + "example_text" ], - "_nested_name": "page_1.page_1_nav_buttons" + "_raw": "click | pop_up:example_text", + "_cleaned": "click | pop_up:example_text" } ], - "_nested_name": "page_1", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@local.hide_page_1", - "matchedExpression": "@local.hide_page_1", - "type": "local", - "fieldName": "hide_page_1" - } - ] - }, - "_dynamicDependencies": { - "@local.hide_page_1": [ - "hidden" - ] - } + "_nested_name": "button_pop_up_1" }, { - "type": "animated_section", - "name": "page_2", - "hidden": "@local.hide_page_2", - "rows": [ + "type": "text", + "name": "text_3", + "value": "Button 2 (example_go_to_2) dismisses on all:", + "_nested_name": "text_3" + }, + { + "type": "button", + "name": "button_pop_up_2", + "value": "Button 2", + "action_list": [ { - "type": "title", - "name": "title_page_2", - "value": "Page 2", - "_nested_name": "page_2.title_page_2" - }, + "trigger": "click", + "action_id": "pop_up", + "args": [ + "example_go_to_2" + ], + "_raw": "click | pop_up:example_go_to_2", + "_cleaned": "click | pop_up:example_go_to_2" + } + ], + "_nested_name": "button_pop_up_2" + }, + { + "type": "text", + "name": "text_4", + "value": "Button 3 (example_go_to_3) dismisses on completed:", + "_nested_name": "text_4" + }, + { + "type": "button", + "name": "button_pop_up_3", + "value": "Button 3", + "action_list": [ { - "type": "text", - "name": "text_page_2", - "value": "This is page 2", - "_nested_name": "page_2.text_page_2" + "trigger": "click", + "action_id": "pop_up", + "args": [ + "example_go_to_3" + ], + "_raw": "click | pop_up:example_go_to_3", + "_cleaned": "click | pop_up:example_go_to_3" }, { - "type": "template", - "name": "page_2_nav_buttons", - "value": "nav_buttons", - "parameter_list": { - "style": "navigation" - }, - "rows": [ - { - "name": "button_completed", - "value": "Finish", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "home_screen" - ], - "_raw": "click | go_to:home_screen", - "_cleaned": "click | go_to:home_screen" - } - ], - "type": "set_variable", - "_nested_name": "page_2.page_2_nav_buttons.button_completed" - } + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" ], - "_nested_name": "page_2.page_2_nav_buttons" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" } ], - "_nested_name": "page_2", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "@local.hide_page_2", - "matchedExpression": "@local.hide_page_2", - "type": "local", - "fieldName": "hide_page_2" - } - ] - }, - "_dynamicDependencies": { - "@local.hide_page_2": [ - "hidden" - ] - } + "_nested_name": "button_pop_up_3" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_navigation_style.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" }, { "flow_type": "template", - "flow_name": "example_navigation_style_2", + "flow_name": "example_text", "status": "released", "rows": [ { - "type": "title", - "name": "page_1_title", - "value": "This Page", - "_nested_name": "page_1_title" - }, + "type": "text", + "name": "text", + "value": "This is the example text template.", + "_nested_name": "text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_go_to_2", + "status": "released", + "rows": [ { "type": "text", - "name": "page_1_text", - "value": "This is the text for this page", - "_nested_name": "page_1_text" + "name": "text_1", + "value": "Button 1: Go to example emit", + "_nested_name": "text_1" }, { - "type": "display_group", - "parameter_list": { - "style": "navigation" - }, - "rows": [ - { - "type": "button", - "name": "button_1", - "value": "return", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "home_screen" - ], - "_raw": "click | go_to:home_screen", - "_cleaned": "click | go_to:home_screen" - } - ], - "_nested_name": "display_group.button_1" - }, + "type": "button", + "name": "button_go_to_1", + "value": "Button 1", + "action_list": [ { - "type": "button", - "name": "button_2", - "value": "go back", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "home_screen" - ], - "_raw": "click | go_to:home_screen", - "_cleaned": "click | go_to:home_screen" - } + "trigger": "click", + "action_id": "go_to", + "args": [ + "example_emit" ], - "_nested_name": "display_group.button_2" + "_raw": "click | go_to: example_emit", + "_cleaned": "click | go_to: example_emit" } ], - "name": "display_group", - "_nested_name": "display_group" + "_nested_name": "button_go_to_1" }, { "type": "text", - "name": "hidden", - "value": "hideme ", - "_nested_name": "hidden" + "name": "text_2", + "value": "Button 2: Go to example_emit and mark as completed", + "_nested_name": "text_2" + }, + { + "type": "button", + "name": "button_go_to_2", + "value": "Button 2", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "example_emit" + ], + "_raw": "click | go_to:example_emit", + "_cleaned": "click | go_to:example_emit" + }, + { + "trigger": "click", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" + } + ], + "_nested_name": "button_go_to_2" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_navigation_style.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" }, { "flow_type": "template", - "flow_name": "example_new_nav_buttons", + "flow_name": "example_go_to_3", "status": "released", "rows": [ { - "type": "display_group", - "parameter_list": { - "style": "banner" - }, - "rows": [ - { - "type": "text", - "name": "left", - "value": "left button", - "style_list": [ - "flex:1" - ], - "_nested_name": "display_group.left" - }, + "type": "text", + "name": "text_1", + "value": "Button 1: Go to example_emit and emit completed", + "_nested_name": "text_1" + }, + { + "type": "button", + "name": "button_go_to", + "value": "Button 1", + "action_list": [ { - "type": "text", - "name": "blank_text", - "value": "\"\"", - "style_list": [ - "flex:4" + "trigger": "click", + "action_id": "go_to", + "args": [ + "example_emit" ], - "_nested_name": "display_group.blank_text" + "_raw": "click | go_to:example_emit", + "_cleaned": "click | go_to:example_emit" }, { - "type": "text", - "name": "right", - "value": "right button", - "style_list": [ - "flex:1" + "trigger": "click", + "action_id": "emit", + "args": [ + "completed" ], - "_nested_name": "display_group.right" + "_raw": "click | emit:completed", + "_cleaned": "click | emit:completed" } ], - "name": "display_group", - "_nested_name": "display_group" + "_nested_name": "button_go_to" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_new_nav_buttons.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_actions.xlsx" }, { "flow_type": "template", - "flow_name": "example_radio_group_fb_hid", + "flow_name": "example_changed_action", "status": "released", "rows": [ + { + "type": "set_field", + "name": "demo_changed_combo_box", + "value": "na", + "_nested_name": "demo_changed_combo_box" + }, + { + "type": "set_field", + "name": "demo_changed_slider", + "value": "na", + "_nested_name": "demo_changed_slider" + }, + { + "type": "set_field", + "name": "demo_changed_radio_group", + "value": "na", + "_nested_name": "demo_changed_radio_group" + }, + { + "type": "set_field", + "name": "demo_changed_text_box", + "value": "na", + "_nested_name": "demo_changed_text_box" + }, { "name": "answer_list_1", "value": [ - "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", - "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", - "name:name_var_3 | text: Third | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg" + "First", + "Second", + "Third" ], "type": "set_variable", "_nested_name": "answer_list_1" }, { - "type": "radio_group", - "name": "radio_group_defaults", - "value": "na", + "name": "answer_list_2", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second", + "name:name_var_3 | text:Third", + "name:name_var_4 | text:Fourth" + ], + "type": "set_variable", + "_nested_name": "answer_list_2" + }, + { + "type": "combo_box", + "name": "combo_box", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_combo_box", + "@local.combo_box" + ], + "_raw": "changed | set_field: demo_changed_combo_box: @local.combo_box", + "_cleaned": "changed | set_field: demo_changed_combo_box: @local.combo_box" + } + ], "parameter_list": { - "answer_list": "@local.answer_list_1" + "answer_list": "@local.answer_list_1", + "placeholder": "Click and choose!" }, - "_nested_name": "radio_group_defaults", + "_nested_name": "combo_box", "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: demo_changed_combo_box: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: demo_changed_combo_box: @local.combo_box", + "matchedExpression": "@local.combo_box", + "type": "local", + "fieldName": "combo_box" + } + ] + } + }, "parameter_list": { "answer_list": [ { @@ -47868,6 +51219,11 @@ } }, "_dynamicDependencies": { + "@local.combo_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], "@local.answer_list_1": [ "parameter_list.answer_list" ] @@ -47875,3530 +51231,4223 @@ }, { "type": "text", - "name": "text_reply_1", - "value": "This is the feedback for option 1", - "hidden": "\"@local.radio_group_defaults\" != \"name_var_1\"", - "_nested_name": "text_reply_1", + "name": "comb_box_text", + "value": "the selected choice in combo box is @field.demo_changed_combo_box", + "hidden": "\"@field.demo_changed_combo_box\"==\"na\"", + "_nested_name": "comb_box_text", "_dynamicFields": { + "value": [ + { + "fullExpression": "the selected choice in combo box is @field.demo_changed_combo_box", + "matchedExpression": "@field.demo_changed_combo_box", + "type": "field", + "fieldName": "demo_changed_combo_box" + } + ], "hidden": [ { - "fullExpression": "\"@local.radio_group_defaults\" != \"name_var_1\"", - "matchedExpression": "@local.radio_group_defaults", - "type": "local", - "fieldName": "radio_group_defaults" + "fullExpression": "\"@field.demo_changed_combo_box\"==\"na\"", + "matchedExpression": "@field.demo_changed_combo_box", + "type": "field", + "fieldName": "demo_changed_combo_box" } ] }, "_dynamicDependencies": { - "@local.radio_group_defaults": [ + "@field.demo_changed_combo_box": [ + "value", "hidden" ] } }, { - "type": "text", - "name": "text_reply_2", - "value": "This is the feedback for option 2", - "hidden": "\"@local.radio_group_defaults\" != \"name_var_2\"", - "_nested_name": "text_reply_2", + "type": "radio_group", + "name": "radio_group", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_radio_group", + "@local.radio_group" + ], + "_raw": "changed | set_field: demo_changed_radio_group: @local.radio_group", + "_cleaned": "changed | set_field: demo_changed_radio_group: @local.radio_group" + } + ], + "parameter_list": { + "answer_list": "@local.answer_list_2" + }, + "_nested_name": "radio_group", "_dynamicFields": { - "hidden": [ - { - "fullExpression": "\"@local.radio_group_defaults\" != \"name_var_2\"", - "matchedExpression": "@local.radio_group_defaults", - "type": "local", - "fieldName": "radio_group_defaults" + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: demo_changed_radio_group: @local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: demo_changed_radio_group: @local.radio_group", + "matchedExpression": "@local.radio_group", + "type": "local", + "fieldName": "radio_group" + } + ] } - ] + }, + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" + } + ] + } }, "_dynamicDependencies": { - "@local.radio_group_defaults": [ - "hidden" + "@local.radio_group": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.answer_list_2": [ + "parameter_list.answer_list" ] } }, { "type": "text", - "name": "text_reply_3", - "value": "This is the feedback for option 3", - "hidden": "\"@local.radio_group_defaults\" != \"name_var_3\"", - "_nested_name": "text_reply_3", + "name": "radio_group_field_text", + "value": "The value of demo_changed_radio_group is @field.demo_changed_radio_group", + "_nested_name": "radio_group_field_text", "_dynamicFields": { - "hidden": [ + "value": [ { - "fullExpression": "\"@local.radio_group_defaults\" != \"name_var_3\"", - "matchedExpression": "@local.radio_group_defaults", - "type": "local", - "fieldName": "radio_group_defaults" + "fullExpression": "The value of demo_changed_radio_group is @field.demo_changed_radio_group", + "matchedExpression": "@field.demo_changed_radio_group", + "type": "field", + "fieldName": "demo_changed_radio_group" } ] }, "_dynamicDependencies": { - "@local.radio_group_defaults": [ - "hidden" + "@field.demo_changed_radio_group": [ + "value" ] } }, { "type": "text", - "name": "text_reply_universal", - "value": "This is the universal feedback", - "hidden": "\"@local.radio_group_defaults\" == \"na\"", - "_nested_name": "text_reply_universal", + "name": "radio_group_text", + "value": "the selected choice in radio group is @field.demo_changed_radio_group", + "hidden": "\"@field.demo_changed_radio_group\"==\"na\"", + "_nested_name": "radio_group_text", "_dynamicFields": { + "value": [ + { + "fullExpression": "the selected choice in radio group is @field.demo_changed_radio_group", + "matchedExpression": "@field.demo_changed_radio_group", + "type": "field", + "fieldName": "demo_changed_radio_group" + } + ], "hidden": [ { - "fullExpression": "\"@local.radio_group_defaults\" == \"na\"", - "matchedExpression": "@local.radio_group_defaults", - "type": "local", - "fieldName": "radio_group_defaults" + "fullExpression": "\"@field.demo_changed_radio_group\"==\"na\"", + "matchedExpression": "@field.demo_changed_radio_group", + "type": "field", + "fieldName": "demo_changed_radio_group" } ] }, "_dynamicDependencies": { - "@local.radio_group_defaults": [ + "@field.demo_changed_radio_group": [ + "value", "hidden" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_options_feedback.xlsx" - }, - { - "flow_type": "template", - "flow_name": "example_radio_group_fb_con", - "status": "released", - "rows": [ - { - "name": "answer_list_1", - "value": [ - "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", - "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", - "name:name_var_3 | text: Third | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg" - ], - "type": "set_variable", - "_nested_name": "answer_list_1" }, { - "type": "radio_group", - "name": "radio_group_defaults", - "value": "na", + "type": "text_box", + "name": "text_box", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_text_box", + "@local.text_box" + ], + "_raw": "changed | set_field: demo_changed_text_box: @local.text_box", + "_cleaned": "changed | set_field: demo_changed_text_box: @local.text_box" + } + ], "parameter_list": { - "answer_list": "@local.answer_list_1" + "placeholder": "Click and type!" }, - "_nested_name": "radio_group_defaults", + "_nested_name": "text_box", "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_1", - "matchedExpression": "@local.answer_list_1", - "type": "local", - "fieldName": "answer_list_1" - } - ] + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: demo_changed_text_box: @local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: demo_changed_text_box: @local.text_box", + "matchedExpression": "@local.text_box", + "type": "local", + "fieldName": "text_box" + } + ] + } } }, "_dynamicDependencies": { - "@local.answer_list_1": [ - "parameter_list.answer_list" + "@local.text_box": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } }, { "type": "text", - "name": "text_reply_1", - "value": "This is the feedback for option 1", - "condition": "\"@local.radio_group_defaults\" == \"name_var_1\"", - "_nested_name": "text_reply_1", + "name": "text_box_text", + "value": "The value in the text box is @field.demo_changed_text_box", + "hidden": "\"@field.demo_changed_text_box\"==\"na\"", + "_nested_name": "text_box_text", "_dynamicFields": { - "condition": [ + "value": [ { - "fullExpression": "\"@local.radio_group_defaults\" == \"name_var_1\"", - "matchedExpression": "@local.radio_group_defaults", - "type": "local", - "fieldName": "radio_group_defaults" + "fullExpression": "The value in the text box is @field.demo_changed_text_box", + "matchedExpression": "@field.demo_changed_text_box", + "type": "field", + "fieldName": "demo_changed_text_box" + } + ], + "hidden": [ + { + "fullExpression": "\"@field.demo_changed_text_box\"==\"na\"", + "matchedExpression": "@field.demo_changed_text_box", + "type": "field", + "fieldName": "demo_changed_text_box" } ] }, "_dynamicDependencies": { - "@local.radio_group_defaults": [ - "condition" + "@field.demo_changed_text_box": [ + "value", + "hidden" ] } }, { - "type": "text", - "name": "text_reply_2", - "value": "This is the feedback for option 2", - "condition": "\"@local.radio_group_defaults\" == \"name_var_2\"", - "_nested_name": "text_reply_2", + "type": "slider", + "name": "slider", + "value": 3, + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_slider", + "@local.slider" + ], + "_raw": "changed | set_field: demo_changed_slider: @local.slider", + "_cleaned": "changed | set_field: demo_changed_slider: @local.slider" + } + ], + "parameter_list": { + "min": "0", + "max": "7", + "min_value_label": "least", + "max_value_label": "most", + "labels_count": "8", + "no_value": "false" + }, + "_nested_name": "slider", "_dynamicFields": { - "condition": [ - { - "fullExpression": "\"@local.radio_group_defaults\" == \"name_var_2\"", - "matchedExpression": "@local.radio_group_defaults", - "type": "local", - "fieldName": "radio_group_defaults" + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.slider", + "matchedExpression": "@local.slider", + "type": "local", + "fieldName": "slider" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: demo_changed_slider: @local.slider", + "matchedExpression": "@local.slider", + "type": "local", + "fieldName": "slider" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: demo_changed_slider: @local.slider", + "matchedExpression": "@local.slider", + "type": "local", + "fieldName": "slider" + } + ] } - ] + } }, "_dynamicDependencies": { - "@local.radio_group_defaults": [ - "condition" + "@local.slider": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } }, { "type": "text", - "name": "text_reply_3", - "value": "This is the feedback for option 3", - "condition": "\"@local.radio_group_defaults\" == \"name_var_3\"", - "_nested_name": "text_reply_3", + "name": "slider_text", + "value": "the selected choice in slider is @field.demo_changed_slider", + "hidden": "\"@field.demo_changed_slider\"==\"na\"", + "_nested_name": "slider_text", "_dynamicFields": { - "condition": [ + "value": [ + { + "fullExpression": "the selected choice in slider is @field.demo_changed_slider", + "matchedExpression": "@field.demo_changed_slider", + "type": "field", + "fieldName": "demo_changed_slider" + } + ], + "hidden": [ { - "fullExpression": "\"@local.radio_group_defaults\" == \"name_var_3\"", - "matchedExpression": "@local.radio_group_defaults", - "type": "local", - "fieldName": "radio_group_defaults" + "fullExpression": "\"@field.demo_changed_slider\"==\"na\"", + "matchedExpression": "@field.demo_changed_slider", + "type": "field", + "fieldName": "demo_changed_slider" } ] }, "_dynamicDependencies": { - "@local.radio_group_defaults": [ - "condition" + "@field.demo_changed_slider": [ + "value", + "hidden" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_options_feedback.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_changed_action.xlsx" }, { "flow_type": "template", - "flow_name": "example_widget_audio_def", + "flow_name": "example_double_ref_comp_var", "status": "released", "rows": [ { - "type": "audio", - "name": "audio_1", - "value": "plh_audio/sample.mp3", - "_nested_name": "audio_1" + "type": "template", + "name": "first_template", + "value": "example_component_variables", + "rows": [], + "_nested_name": "first_template" }, { - "name": "help_text", - "value": "This is the text for the questionmark icon", - "type": "set_variable", - "_nested_name": "help_text" + "type": "template", + "name": "second_template", + "value": "example_component_variables", + "rows": [], + "_nested_name": "second_template" }, { - "type": "audio", - "name": "audio_2", - "parameter_list": { - "src": "plh_audio/sample.mp3", - "title": "New Title Test", - "help": "@local.help_text", - "rangeBarDisabled": "true", - "timeToRewind": "2" - }, - "_nested_name": "audio_2", - "_dynamicFields": { - "parameter_list": { - "help": [ + "type": "text", + "name": "text_with_double_ref_options", + "value": "text should be what is in the comment", + "_nested_name": "text_with_double_ref_options" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_component_variables.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_nested_comp_var", + "status": "released", + "rows": [ + { + "type": "template", + "name": "nested_options_template", + "value": "example_double_ref_comp_var", + "rows": [ + { + "type": "nested_properties", + "name": "first_template", + "value": "example_component_variables", + "rows": [ { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" + "name": "answer_list", + "value": [ + "name:name_var_1 | text:Option a", + "name:name_var_2 | text: Option b", + "name:name_var_3 | text: Option c" + ], + "type": "set_variable", + "_nested_name": "nested_options_template.first_template.answer_list" } - ] + ], + "_nested_name": "nested_options_template.first_template" } - }, - "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" - ] - } + ], + "_nested_name": "nested_options_template" }, { - "type": "audio", - "name": "audio_3", - "value": "plh_audio/sample.mp3", - "parameter_list": { - "title": "New Title Test", - "help": "@local.help_text", - "rangeBarDisabled": "true", - "timeToRewind": "2" - }, - "_nested_name": "audio_3", - "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] - } - }, - "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" - ] - } + "type": "text", + "name": "text_with_nested_options", + "value": "text should be what is in the comment", + "_nested_name": "text_with_nested_options" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_widgets.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_component_variables.xlsx" }, { "flow_type": "template", - "flow_name": "example_widget_nesting_audio", + "flow_name": "example_condition_top_1", "status": "released", "rows": [ { - "name": "source_file", - "value": "plh_audio/sample.mp3", + "name": "var_1", + "value": "\"val_1\"", "type": "set_variable", - "_nested_name": "source_file" + "_nested_name": "var_1" }, { - "name": "title_name", - "value": "This title has been overridden correctly", + "name": "var_2", + "value": true, "type": "set_variable", - "_nested_name": "title_name" + "_nested_name": "var_2" }, { - "name": "help_msg", - "value": "This help message has been overriden correctly", + "name": "var_3", + "value": 5, "type": "set_variable", - "_nested_name": "help_msg" + "_nested_name": "var_3" }, { - "name": "no_range_bar", - "value": true, - "type": "set_variable", - "_nested_name": "no_range_bar" + "type": "template", + "name": "example_text_1", + "value": "example_text", + "rows": [ + { + "name": "text", + "value": "The condition is not satisfied", + "condition": "@local.var_1==\"val_2\"", + "type": "set_variable", + "_nested_name": "example_text_1.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@local.var_1==\"val_2\"", + "matchedExpression": "@local.var_1", + "type": "local", + "fieldName": "var_1" + } + ] + }, + "_dynamicDependencies": { + "@local.var_1": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "The condition is satisfied", + "condition": "@local.var_1==\"val_1\"", + "type": "set_variable", + "_nested_name": "example_text_1.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@local.var_1==\"val_1\"", + "matchedExpression": "@local.var_1", + "type": "local", + "fieldName": "var_1" + } + ] + }, + "_dynamicDependencies": { + "@local.var_1": [ + "condition" + ] + } + } + ], + "_nested_name": "example_text_1" }, { - "name": "rew_time", - "value": 12, + "type": "template", + "name": "example_text_2", + "value": "example_text", + "rows": [ + { + "name": "text", + "value": "The condition is satisfied", + "condition": "@local.var_3<9", + "type": "set_variable", + "_nested_name": "example_text_2.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@local.var_3<9", + "matchedExpression": "@local.var_3", + "type": "local", + "fieldName": "var_3" + } + ] + }, + "_dynamicDependencies": { + "@local.var_3": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "The condition is not satisfied", + "condition": "@local.var_3>9", + "type": "set_variable", + "_nested_name": "example_text_2.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@local.var_3>9", + "matchedExpression": "@local.var_3", + "type": "local", + "fieldName": "var_3" + } + ] + }, + "_dynamicDependencies": { + "@local.var_3": [ + "condition" + ] + } + } + ], + "_nested_name": "example_text_2" + }, + { + "type": "template", + "name": "example_text_3", + "value": "example_text", + "rows": [ + { + "name": "text", + "value": "The condition is satisfied", + "condition": "@local.var_2", + "type": "set_variable", + "_nested_name": "example_text_3.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@local.var_2", + "matchedExpression": "@local.var_2", + "type": "local", + "fieldName": "var_2" + } + ] + }, + "_dynamicDependencies": { + "@local.var_2": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "The condition is not satisfied", + "condition": "!@local.var_2", + "type": "set_variable", + "_nested_name": "example_text_3.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@local.var_2", + "matchedExpression": "@local.var_2", + "type": "local", + "fieldName": "var_2" + } + ] + }, + "_dynamicDependencies": { + "@local.var_2": [ + "condition" + ] + } + } + ], + "_nested_name": "example_text_3" + }, + { + "type": "template", + "name": "example_text_4", + "value": "example_text", + "rows": [ + { + "name": "text", + "value": "The condition is not satisfied", + "condition": "!@local.var_2", + "type": "set_variable", + "_nested_name": "example_text_4.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "!@local.var_2", + "matchedExpression": "@local.var_2", + "type": "local", + "fieldName": "var_2" + } + ] + }, + "_dynamicDependencies": { + "@local.var_2": [ + "condition" + ] + } + }, + { + "name": "text", + "value": "The condition is satisfied", + "condition": "@local.var_2", + "type": "set_variable", + "_nested_name": "example_text_4.text", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@local.var_2", + "matchedExpression": "@local.var_2", + "type": "local", + "fieldName": "var_2" + } + ] + }, + "_dynamicDependencies": { + "@local.var_2": [ + "condition" + ] + } + } + ], + "_nested_name": "example_text_4" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_text_button", + "status": "released", + "rows": [ + { + "type": "text", + "name": "text", + "value": "Text", + "_nested_name": "text" + }, + { + "type": "button", + "name": "button", + "value": "Button", + "_nested_name": "button" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_condition_top_2", + "status": "released", + "rows": [ + { + "type": "template", + "name": "example_condition_bottom", + "value": "example_condition_bottom", + "rows": [ + { + "name": "text_result", + "value": "@local.radio_group_text", + "type": "set_variable", + "_nested_name": "example_condition_bottom.text_result", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.radio_group_text", + "matchedExpression": "@local.radio_group_text", + "type": "local", + "fieldName": "radio_group_text" + } + ] + }, + "_dynamicDependencies": { + "@local.radio_group_text": [ + "value" + ] + } + }, + { + "name": "text_reply", + "value": "Reply for selecting first", + "condition": "@field.radio_button_field==\"name_var_1\"", + "type": "set_variable", + "_nested_name": "example_condition_bottom.text_reply", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.radio_button_field==\"name_var_1\"", + "matchedExpression": "@field.radio_button_field", + "type": "field", + "fieldName": "radio_button_field" + } + ] + }, + "_dynamicDependencies": { + "@field.radio_button_field": [ + "condition" + ] + } + }, + { + "name": "text_reply", + "value": "Reply for selecting second", + "condition": "@field.radio_button_field==\"name_var_2\"", + "type": "set_variable", + "_nested_name": "example_condition_bottom.text_reply", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.radio_button_field==\"name_var_2\"", + "matchedExpression": "@field.radio_button_field", + "type": "field", + "fieldName": "radio_button_field" + } + ] + }, + "_dynamicDependencies": { + "@field.radio_button_field": [ + "condition" + ] + } + }, + { + "name": "text_reply", + "value": "Reply for selecting third", + "condition": "@field.radio_button_field==\"name_var_3\"", + "type": "set_variable", + "_nested_name": "example_condition_bottom.text_reply", + "_dynamicFields": { + "condition": [ + { + "fullExpression": "@field.radio_button_field==\"name_var_3\"", + "matchedExpression": "@field.radio_button_field", + "type": "field", + "fieldName": "radio_button_field" + } + ] + }, + "_dynamicDependencies": { + "@field.radio_button_field": [ + "condition" + ] + } + } + ], + "_nested_name": "example_condition_bottom" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_condition_top_3", + "status": "released", + "rows": [ + { + "name": "variable", + "value": "initial_value", "type": "set_variable", - "_nested_name": "rew_time" + "_nested_name": "variable" }, { "type": "template", - "name": "overridden_audio", - "value": "example_widget_audio_def", + "name": "example_text_button", + "value": "example_text_button", "rows": [ { - "name": "audio_1", - "value": "@local.source_file", - "parameter_list": { - "title": "@local.title_name" + "name": "text", + "value": "@local.variable is the secondary value", + "condition": "@local.variable==secondary_value", + "type": "set_variable", + "_nested_name": "example_text_button.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.variable is the secondary value", + "matchedExpression": "@local.variable", + "type": "local", + "fieldName": "variable" + } + ], + "condition": [ + { + "fullExpression": "@local.variable==secondary_value", + "matchedExpression": "@local.variable", + "type": "local", + "fieldName": "variable" + } + ] }, + "_dynamicDependencies": { + "@local.variable": [ + "value", + "condition" + ] + } + }, + { + "name": "text", + "value": "@local.variable is the initial value", + "condition": "@local.variable==initial_value", "type": "set_variable", - "_nested_name": "overridden_audio.audio_1", + "_nested_name": "example_text_button.text", "_dynamicFields": { "value": [ { - "fullExpression": "@local.source_file", - "matchedExpression": "@local.source_file", + "fullExpression": "@local.variable is the initial value", + "matchedExpression": "@local.variable", "type": "local", - "fieldName": "source_file" + "fieldName": "variable" } ], - "parameter_list": { - "title": [ - { - "fullExpression": "@local.title_name", - "matchedExpression": "@local.title_name", - "type": "local", - "fieldName": "title_name" - } - ] - } + "condition": [ + { + "fullExpression": "@local.variable==initial_value", + "matchedExpression": "@local.variable", + "type": "local", + "fieldName": "variable" + } + ] }, "_dynamicDependencies": { - "@local.source_file": [ - "value" - ], - "@local.title_name": [ - "parameter_list.title" + "@local.variable": [ + "value", + "condition" ] } }, { - "name": "audio_2", - "hidden": true, + "name": "button", + "value": "Set value to secondary", + "action_list": [ + { + "trigger": "click", + "action_id": "set_local", + "args": [ + "variable", + "secondary_value" + ], + "_raw": "click | set_local:variable:secondary_value", + "_cleaned": "click | set_local:variable:secondary_value" + } + ], "type": "set_variable", - "_nested_name": "overridden_audio.audio_2" + "_nested_name": "example_text_button.button" } ], - "_nested_name": "overridden_audio" + "_nested_name": "example_text_button" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_condition_bottom", + "status": "released", + "rows": [ + { + "name": "answer_list", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second", + "name:name_var_3 | text:Third" + ], + "type": "set_variable", + "_nested_name": "answer_list" }, { - "type": "audio", - "name": "audio_3", + "name": "field_name", + "value": "radio_button_field", + "type": "set_variable", + "_nested_name": "field_name" + }, + { + "type": "radio_group", + "name": "radio_group_text", + "value": "nothing", "parameter_list": { - "title": "@local.title_name", - "src": "@local.source_file", - "help": "@local.help_msg", - "rangeBarDisabled": "@local.no_range_bar", - "timeToRewind": "@local.rew_time" + "answer_list": "@local.answer_list" }, - "_nested_name": "audio_3", + "_nested_name": "radio_group_text", "_dynamicFields": { "parameter_list": { - "title": [ - { - "fullExpression": "@local.title_name", - "matchedExpression": "@local.title_name", - "type": "local", - "fieldName": "title_name" - } - ], - "src": [ - { - "fullExpression": "@local.source_file", - "matchedExpression": "@local.source_file", - "type": "local", - "fieldName": "source_file" - } - ], - "help": [ - { - "fullExpression": "@local.help_msg", - "matchedExpression": "@local.help_msg", - "type": "local", - "fieldName": "help_msg" - } - ], - "rangeBarDisabled": [ - { - "fullExpression": "@local.no_range_bar", - "matchedExpression": "@local.no_range_bar", - "type": "local", - "fieldName": "no_range_bar" - } - ], - "timeToRewind": [ + "answer_list": [ { - "fullExpression": "@local.rew_time", - "matchedExpression": "@local.rew_time", + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", "type": "local", - "fieldName": "rew_time" + "fieldName": "answer_list" } ] } }, "_dynamicDependencies": { - "@local.title_name": [ - "parameter_list.title" - ], - "@local.source_file": [ - "parameter_list.src" - ], - "@local.help_msg": [ - "parameter_list.help" - ], - "@local.no_range_bar": [ - "parameter_list.rangeBarDisabled" - ], - "@local.rew_time": [ - "parameter_list.timeToRewind" + "@local.answer_list": [ + "parameter_list.answer_list" ] } }, { "type": "text", - "name": "helping_text", - "value": "@local.title_name", - "_nested_name": "helping_text", + "name": "text_result", + "value": "You selected @local.radio_group_text", + "_nested_name": "text_result", "_dynamicFields": { "value": [ { - "fullExpression": "@local.title_name", - "matchedExpression": "@local.title_name", + "fullExpression": "You selected @local.radio_group_text", + "matchedExpression": "@local.radio_group_text", "type": "local", - "fieldName": "title_name" + "fieldName": "radio_group_text" } ] }, "_dynamicDependencies": { - "@local.title_name": [ + "@local.radio_group_text": [ "value" ] } + }, + { + "type": "text", + "name": "text_reply", + "value": "Reply text", + "hidden": "\"@local.radio_group_text\" = \"nothing\"", + "_nested_name": "text_reply", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.radio_group_text\" = \"nothing\"", + "matchedExpression": "@local.radio_group_text", + "type": "local", + "fieldName": "radio_group_text" + } + ] + }, + "_dynamicDependencies": { + "@local.radio_group_text": [ + "hidden" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_widgets.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_condition.xlsx" }, { "flow_type": "template", - "flow_name": "example_widget_combo_box", + "flow_name": "example_data_template", "status": "released", "rows": [ - { - "name": "question_text", - "value": "This is the question", - "type": "set_variable", - "_nested_name": "question_text" - }, - { - "name": "answers_list", - "value": [ - "[Option 1", - "Option 2", - "Option 3]" - ], - "type": "set_variable", - "_nested_name": "answers_list" - }, { "type": "text", - "name": "question", - "value": "@local.question_text", - "_nested_name": "question", + "name": "text_1", + "value": "@data.example.example1.value", + "_nested_name": "text_1", "_dynamicFields": { "value": [ { - "fullExpression": "@local.question_text", - "matchedExpression": "@local.question_text", - "type": "local", - "fieldName": "question_text" + "fullExpression": "@data.example.example1.value", + "matchedExpression": "@data.example.example1.value", + "type": "data", + "fieldName": "example" } ] }, "_dynamicDependencies": { - "@local.question_text": [ + "@data.example.example1.value": [ "value" ] } }, { - "type": "combo_box", - "name": "combo_box_1", - "parameter_list": { - "text": "@local.question_text", - "input_allowed": "true", - "input_position": "top", - "placeholder": "Answer Prompt", - "answer_placeholder": "Enter Your Own Answer", - "answers_list": "@local.answers_list" - }, - "_nested_name": "combo_box_1", + "type": "text", + "name": "broken_1", + "value": "@data.example.example1", + "_nested_name": "broken_1", "_dynamicFields": { - "parameter_list": { - "text": [ - { - "fullExpression": "@local.question_text", - "matchedExpression": "@local.question_text", - "type": "local", - "fieldName": "question_text" - } - ], - "answers_list": [ - { - "fullExpression": "@local.answers_list", - "matchedExpression": "@local.answers_list", - "type": "local", - "fieldName": "answers_list" - } - ] - } + "value": [ + { + "fullExpression": "@data.example.example1", + "matchedExpression": "@data.example.example1", + "type": "data", + "fieldName": "example" + } + ] }, "_dynamicDependencies": { - "@local.question_text": [ - "parameter_list.text" - ], - "@local.answers_list": [ - "parameter_list.answers_list" + "@data.example.example1": [ + "value" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_widgets.xlsx" - }, - { - "flow_type": "template", - "flow_name": "example_widget_radio_button_box", - "status": "released", - "rows": [ - { - "name": "answer_list", - "value": [ - "name:name_var_1 | text:happy", - "name:name_var_2 | text: ok", - "name:name_var_3 | text: sad" - ], - "type": "set_variable", - "_nested_name": "answer_list" }, { "type": "radio_group", - "name": "radio_group_square_ex_1", + "name": "radio_group_1", "parameter_list": { - "radio_button_type": "btn_triangle", - "answer_list": "@local.answer_list", - "style": "passive" + "answer_list": "@data.example.example3.value_list" }, - "_nested_name": "radio_group_square_ex_1", + "_nested_name": "radio_group_1", "_dynamicFields": { "parameter_list": { "answer_list": [ { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ] - } - }, - "_dynamicDependencies": { - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_widgets.xlsx" - }, - { - "flow_type": "template", - "flow_name": "w_example_stepper", - "status": "released", - "rows": [ - { - "type": "template", - "name": "workshop_stepper_together", - "value": "workshop_stepper", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "hidden": "!@field.do_workshops_together", - "parameter_list": { - "theme": "@global.theme" - }, - "rows": [ - { - "name": "nav_template_list", - "value": [ - "w_example_welcome_together", - "w_example_listen", - "w_example_read", - "w_example_talk_together", - "w_example_tools_activity", - "w_example_home_practice", - "w_example_ending" - ], - "type": "set_variable", - "_nested_name": "workshop_stepper_together.nav_template_list" - } - ], - "_nested_name": "workshop_stepper_together", - "_dynamicFields": { - "hidden": [ - { - "fullExpression": "!@field.do_workshops_together", - "matchedExpression": "@field.do_workshops_together", - "type": "field", - "fieldName": "do_workshops_together" - } - ], - "parameter_list": { - "theme": [ - { - "fullExpression": "@global.theme", - "matchedExpression": "@global.theme", - "type": "global", - "fieldName": "theme" + "fullExpression": "@data.example.example3.value_list", + "matchedExpression": "@data.example.example3.value_list", + "type": "data", + "fieldName": "example" } ] } }, "_dynamicDependencies": { - "@field.do_workshops_together": [ - "hidden" - ], - "@global.theme": [ - "parameter_list.theme" - ] - } - }, - { - "type": "template", - "name": "workshop_stepper_individual", - "value": "workshop_stepper", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "hidden": true, - "rows": [ - { - "name": "nav_template_list", - "value": [ - "w_example_listen" - ], - "type": "set_variable", - "_nested_name": "workshop_stepper_individual.nav_template_list" - } - ], - "_nested_name": "workshop_stepper_individual" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" - }, - { - "flow_type": "template", - "flow_name": "w_example_welcome_together", - "status": "released", - "rows": [ - { - "type": "template", - "name": "welcome_together", - "value": "welcome_together", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "rows": [ - { - "type": "nested_properties", - "name": "watch", - "rows": [ - { - "type": "nested_properties", - "name": "workshop_activity", - "rows": [ - { - "name": "intro_text", - "value": "This is the introduction text of the welcome together.", - "type": "set_variable", - "_nested_name": "welcome_together.watch.workshop_activity.intro_text" - } - ], - "_nested_name": "welcome_together.watch.workshop_activity" - } - ], - "_nested_name": "welcome_together.watch" - } - ], - "_nested_name": "welcome_together" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" - }, - { - "flow_type": "template", - "flow_name": "w_example_listen", - "status": "released", - "rows": [ - { - "type": "template", - "name": "listen", - "value": "listen", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/sample.mp3", - "type": "set_variable", - "_nested_name": "listen.audio_src" - } - ], - "_nested_name": "listen" + "@data.example.example3.value_list": [ + "parameter_list.answer_list" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_data_lists.xlsx" }, { "flow_type": "template", - "flow_name": "w_example_read", + "flow_name": "example_call_global_constants", "status": "released", "rows": [ { - "type": "template", - "name": "read", - "value": "read", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "rows": [ - { - "name": "number_of_slides", - "value": 3, - "type": "set_variable", - "_nested_name": "read.number_of_slides" - }, - { - "name": "slide_image_src_1", - "value": "plh_images/modules/mod_instruct/thought_experiment/te_1.svg", - "type": "set_variable", - "_nested_name": "read.slide_image_src_1" - }, - { - "name": "slide_text_1", - "value": "This is the text on the first slide.", - "type": "set_variable", - "_nested_name": "read.slide_text_1" - }, - { - "name": "slide_image_src_2", - "value": "plh_images/modules/mod_instruct/thought_experiment/te_2.svg", - "type": "set_variable", - "_nested_name": "read.slide_image_src_2" - }, - { - "name": "slide_text_2", - "value": "This is the text on the second slide.", - "type": "set_variable", - "_nested_name": "read.slide_text_2" - }, - { - "name": "slide_image_src_3", - "value": "plh_images/modules/mod_instruct/thought_experiment/te_3.svg", - "type": "set_variable", - "_nested_name": "read.slide_image_src_3" - }, - { - "name": "slide_text_3", - "value": "This is the text on the third slide.", - "type": "set_variable", - "_nested_name": "read.slide_text_3" - } - ], - "_nested_name": "read" + "type": "title", + "name": "title", + "value": "@global.example_global_constant_title", + "_nested_name": "title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.example_global_constant_title", + "matchedExpression": "@global.example_global_constant_title", + "type": "global", + "fieldName": "example_global_constant_title" + } + ] + }, + "_dynamicDependencies": { + "@global.example_global_constant_title": [ + "value" + ] + } + }, + { + "type": "text", + "name": "text_1", + "value": "Text that includes @global.example_global_constant_text", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Text that includes @global.example_global_constant_text", + "matchedExpression": "@global.example_global_constant_text", + "type": "global", + "fieldName": "example_global_constant_text" + } + ] + }, + "_dynamicDependencies": { + "@global.example_global_constant_text": [ + "value" + ] + } + }, + { + "type": "image", + "name": "image_src", + "value": "@global.example_global_constant_image", + "_nested_name": "image_src", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.example_global_constant_image", + "matchedExpression": "@global.example_global_constant_image", + "type": "global", + "fieldName": "example_global_constant_image" + } + ] + }, + "_dynamicDependencies": { + "@global.example_global_constant_image": [ + "value" + ] + } + }, + { + "type": "text", + "name": "text_2", + "value": "There should be an image above this text, whose source is example_global_image", + "_nested_name": "text_2" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_global_field.xlsx" }, { "flow_type": "template", - "flow_name": "w_example_talk_together", + "flow_name": "example_set_fields_in_action", "status": "released", "rows": [ { - "type": "template", - "name": "talk_together", - "value": "talk_together", + "type": "text", + "name": "text_0", + "value": "The value of field_0 is @field.field_0", + "_nested_name": "text_0", + "_dynamicFields": { + "value": [ + { + "fullExpression": "The value of field_0 is @field.field_0", + "matchedExpression": "@field.field_0", + "type": "field", + "fieldName": "field_0" + } + ] + }, + "_dynamicDependencies": { + "@field.field_0": [ + "value" + ] + } + }, + { + "type": "button", + "name": "button_1", + "value": "Override field_1", "action_list": [ { - "trigger": "completed", - "action_id": "emit", + "trigger": "click", + "action_id": "set_field", "args": [ - "completed" + "field_1", + "\"New value of Field 1\"" ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "rows": [ - { - "name": "discussion_text", - "value": "This text describes what should be discussed.", - "type": "set_variable", - "_nested_name": "talk_together.discussion_text" + "_raw": "click | set_field:field_1:\"New value of Field 1\"", + "_cleaned": "click | set_field:field_1:\"New value of Field 1\"" } ], - "_nested_name": "talk_together" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" - }, - { - "flow_type": "template", - "flow_name": "w_example_tools", - "status": "released", - "rows": [ + "_nested_name": "button_1" + }, { - "type": "template", - "name": "box_tools", - "value": "box_tools", + "type": "text", + "name": "text_1", + "value": "The value of field_1 is @field.field_1", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "The value of field_1 is @field.field_1", + "matchedExpression": "@field.field_1", + "type": "field", + "fieldName": "field_1" + } + ] + }, + "_dynamicDependencies": { + "@field.field_1": [ + "value" + ] + } + }, + { + "type": "button", + "name": "button_2", + "value": "Create field_2", "action_list": [ { - "trigger": "completed", - "action_id": "emit", + "trigger": "click", + "action_id": "set_field", "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "rows": [ - { - "type": "title", - "name": "tools_title", - "value": "Example Workshop", - "_nested_name": "box_tools.tools_title" - }, - { - "type": "nested_properties", - "name": "tool_1", - "rows": [ - { - "name": "title", - "value": "First tool", - "type": "set_variable", - "_nested_name": "box_tools.tool_1.title" - }, - { - "name": "text_1", - "value": "Text describing the first tool.", - "type": "set_variable", - "_nested_name": "box_tools.tool_1.text_1" - }, - { - "name": "button", - "value": "Button", - "hidden": false, - "type": "set_variable", - "_nested_name": "box_tools.tool_1.button" - } - ], - "_nested_name": "box_tools.tool_1" - }, - { - "type": "nested_properties", - "name": "tool_2", - "rows": [ - { - "name": "title", - "value": "Second tool", - "type": "set_variable", - "_nested_name": "box_tools.tool_2.title" - }, - { - "name": "subtitle_1", - "value": "Subtitle 1", - "hidden": false, - "type": "set_variable", - "_nested_name": "box_tools.tool_2.subtitle_1" - }, - { - "name": "text_1", - "value": "Some text.", - "type": "set_variable", - "_nested_name": "box_tools.tool_2.text_1" - }, - { - "name": "subtitle_2", - "value": "Subtitle 2", - "hidden": false, - "type": "set_variable", - "_nested_name": "box_tools.tool_2.subtitle_2" - }, - { - "name": "text_2", - "value": "More text.", - "hidden": false, - "type": "set_variable", - "_nested_name": "box_tools.tool_2.text_2" - } - ], - "_nested_name": "box_tools.tool_2" - }, - { - "type": "nested_properties", - "name": "tool_3", - "rows": [ - { - "name": "title", - "value": "Third tool", - "type": "set_variable", - "_nested_name": "box_tools.tool_3.title" - }, - { - "name": "text_1", - "value": "Text describing the third tool.", - "type": "set_variable", - "_nested_name": "box_tools.tool_3.text_1" - }, - { - "name": "image", - "value": "plh_images/modules/mod_instruct/thought_experiment/te_1.svg", - "hidden": false, - "type": "set_variable", - "_nested_name": "box_tools.tool_3.image" - } + "field_2", + "\"Value of Field 2\"" ], - "_nested_name": "box_tools.tool_3" + "_raw": "click | set_field:field_2:\"Value of Field 2\"", + "_cleaned": "click | set_field:field_2:\"Value of Field 2\"" } ], - "_nested_name": "box_tools" + "_nested_name": "button_2" + }, + { + "type": "text", + "name": "text_2", + "value": "The value of field_2 is @field.field_2", + "_nested_name": "text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "The value of field_2 is @field.field_2", + "matchedExpression": "@field.field_2", + "type": "field", + "fieldName": "field_2" + } + ] + }, + "_dynamicDependencies": { + "@field.field_2": [ + "value" + ] + } + }, + { + "type": "text", + "name": "text_hidden_4", + "value": "This should be hidden when field_4 is TRUE", + "hidden": "@field.field_4", + "_nested_name": "text_hidden_4", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.field_4", + "matchedExpression": "@field.field_4", + "type": "field", + "fieldName": "field_4" + } + ] + }, + "_dynamicDependencies": { + "@field.field_4": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "text_not_hidden_4", + "value": "This should be hidden when field_4 is FALSE", + "hidden": "!@field.field_4", + "_nested_name": "text_not_hidden_4", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "!@field.field_4", + "matchedExpression": "@field.field_4", + "type": "field", + "fieldName": "field_4" + } + ] + }, + "_dynamicDependencies": { + "@field.field_4": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "text_hidden_5", + "value": "This should be hidden when field_5 is more than 2", + "hidden": "@field.field_5>2", + "_nested_name": "text_hidden_5", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.field_5>2", + "matchedExpression": "@field.field_5", + "type": "field", + "fieldName": "field_5" + } + ] + }, + "_dynamicDependencies": { + "@field.field_5": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "text_not_hidden_5_a", + "value": "This should be hidden when field_5 is less than or equal to 2", + "hidden": "@field.field_5<=2", + "_nested_name": "text_not_hidden_5_a", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@field.field_5<=2", + "matchedExpression": "@field.field_5", + "type": "field", + "fieldName": "field_5" + } + ] + }, + "_dynamicDependencies": { + "@field.field_5": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "text_not_hidden_5_b", + "value": "This should be hidden when field_5 is less than or equal to 2", + "hidden": "!@field.field_5>2", + "_nested_name": "text_not_hidden_5_b", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "!@field.field_5>2", + "matchedExpression": "@field.field_5", + "type": "field", + "fieldName": "field_5" + } + ] + }, + "_dynamicDependencies": { + "@field.field_5": [ + "hidden" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_global_field.xlsx" }, { "flow_type": "template", - "flow_name": "w_example_tools_activity", + "flow_name": "example_multiple_locals", "status": "released", "rows": [ { - "type": "template", - "name": "tools_activity", - "value": "tools_activity", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" + "name": "name_1", + "value": "This is text 1", + "type": "set_variable", + "_nested_name": "name_1" + }, + { + "name": "name_2", + "value": "This is text 2", + "type": "set_variable", + "_nested_name": "name_2" + }, + { + "name": "name_3", + "value": "This is text 3", + "type": "set_variable", + "_nested_name": "name_3" + }, + { + "name": "answer_list", + "value": [ + "name: name_1 | text: @local.name_1", + "name: name_2 | text: @local.name_2", + "name: name_3 | text: @local.name_3" + ], + "type": "set_variable", + "_nested_name": "answer_list", + "_dynamicFields": { + "value": { + "0": [ + { + "fullExpression": "name: name_1 | text: @local.name_1", + "matchedExpression": "@local.name_1", + "type": "local", + "fieldName": "name_1" + } ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "rows": [ - { - "type": "nested_properties", - "name": "workshop_activity", - "rows": [ + "1": [ { - "type": "nested_properties", - "name": "content_box", - "value": "w_example_tools", - "rows": [], - "_nested_name": "tools_activity.workshop_activity.content_box" + "fullExpression": "name: name_2 | text: @local.name_2", + "matchedExpression": "@local.name_2", + "type": "local", + "fieldName": "name_2" } ], - "_nested_name": "tools_activity.workshop_activity" + "2": [ + { + "fullExpression": "name: name_3 | text: @local.name_3", + "matchedExpression": "@local.name_3", + "type": "local", + "fieldName": "name_3" + } + ] } - ], - "_nested_name": "tools_activity" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" - }, - { - "flow_type": "template", - "flow_name": "w_example_home_practice", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@local.name_1": [ + "value.0" + ], + "@local.name_2": [ + "value.1" + ], + "@local.name_3": [ + "value.2" + ] + } + }, { - "type": "template", - "name": "home_practice", - "value": "home_practice", - "action_list": [ - { - "trigger": "completed", - "action_id": "emit", - "args": [ - "completed" - ], - "_raw": "completed | emit:completed", - "_cleaned": "completed | emit:completed" - } - ], - "rows": [ - { - "type": "nested_properties", - "name": "workshop_activity", - "rows": [ + "type": "combo_box", + "name": "combo_box_defaults", + "parameter_list": { + "answer_list": "@local.answer_list", + "style": "active" + }, + "_nested_name": "combo_box_defaults", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ { - "type": "nested_properties", - "name": "content_box", - "rows": [ - { - "name": "text_1", - "value": "First bit of text. The next button takes you to the story.", - "type": "set_variable", - "_nested_name": "home_practice.workshop_activity.content_box.text_1" - }, - { - "name": "button_1", - "value": "Pop-up button", - "action_list": [ - { - "trigger": "click", - "action_id": "pop_up", - "args": [ - "w_example_pop-up" - ], - "_raw": "click | pop_up:w_example_pop-up", - "_cleaned": "click | pop_up:w_example_pop-up" - } - ], - "hidden": false, - "type": "set_variable", - "_nested_name": "home_practice.workshop_activity.content_box.button_1" - }, - { - "name": "text_2", - "value": "Second bit of text. The button below takes you to the audio activity.", - "hidden": false, - "type": "set_variable", - "_nested_name": "home_practice.workshop_activity.content_box.text_2" - }, - { - "name": "button_2", - "value": "Button 2", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "w_example_listen" - ], - "_raw": "click | go_to:w_example_listen", - "_cleaned": "click | go_to:w_example_listen" - } - ], - "hidden": false, - "type": "set_variable", - "_nested_name": "home_practice.workshop_activity.content_box.button_2" - } - ], - "_nested_name": "home_practice.workshop_activity.content_box" + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" } - ], - "_nested_name": "home_practice.workshop_activity" + ] } - ], - "_nested_name": "home_practice" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" - }, - { - "flow_type": "template", - "flow_name": "w_example_ending", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@local.answer_list": [ + "parameter_list.answer_list" + ] + } + }, { - "type": "template", - "name": "ending", - "value": "ending", - "rows": [], - "_nested_name": "ending" + "type": "text", + "name": "text", + "value": "@local.@local.combo_box_defaults", + "_nested_name": "text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.@local.combo_box_defaults", + "matchedExpression": "@local.combo_box_defaults", + "type": "local", + "fieldName": "combo_box_defaults" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box_defaults": [ + "value" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_multiple_locals.xlsx" }, { "flow_type": "template", - "flow_name": "feature_dg_dashed_box_type", + "flow_name": "example_dates", "status": "released", "rows": [ { - "type": "display_group", - "name": "dg_example_dashed_box", - "value": "dg_example_dashed_box", - "parameter_list": { - "type": "dashed_box" + "type": "text", + "name": "first", + "value": "@field.first_app_open is the first time it opened", + "_nested_name": "first", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.first_app_open is the first time it opened", + "matchedExpression": "@field.first_app_open", + "type": "field", + "fieldName": "first_app_open" + } + ] }, - "rows": [ - { - "type": "subtitle", - "value": "Subtitle", - "name": "subtitle", - "_nested_name": "dg_example_dashed_box.subtitle" - }, - { - "type": "parent_point_box", - "name": "points_example_1", - "value": 3, - "parameter_list": { - "lottie_src": "lottie_animations/parent_centre.json", - "text": "text two" - }, - "_nested_name": "dg_example_dashed_box.points_example_1" - }, - { - "type": "button", - "name": "btn_example", - "value": "Continue", - "_nested_name": "dg_example_dashed_box.btn_example" - } - ], - "_nested_name": "dg_example_dashed_box" + "_dynamicDependencies": { + "@field.first_app_open": [ + "value" + ] + } + }, + { + "type": "text", + "name": "today", + "value": "@field.current_date is today", + "_nested_name": "today", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.current_date is today", + "matchedExpression": "@field.current_date", + "type": "field", + "fieldName": "current_date" + } + ] + }, + "_dynamicDependencies": { + "@field.current_date": [ + "value" + ] + } + }, + { + "type": "text", + "name": "week", + "value": "second_week is @field.second_week", + "_nested_name": "week", + "_dynamicFields": { + "value": [ + { + "fullExpression": "second_week is @field.second_week", + "matchedExpression": "@field.second_week", + "type": "field", + "fieldName": "second_week" + } + ] + }, + "_dynamicDependencies": { + "@field.second_week": [ + "value" + ] + } + }, + { + "type": "text", + "name": "time_difference", + "value": "the time difference is @field.time_difference", + "_nested_name": "time_difference", + "_dynamicFields": { + "value": [ + { + "fullExpression": "the time difference is @field.time_difference", + "matchedExpression": "@field.time_difference", + "type": "field", + "fieldName": "time_difference" + } + ] + }, + "_dynamicDependencies": { + "@field.time_difference": [ + "value" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_dg_types.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_multiple_locals.xlsx" }, { "flow_type": "template", - "flow_name": "feature_dg_form_type", + "flow_name": "example_navigation_style", "status": "released", "rows": [ { - "type": "display_group", - "name": "dg_example_form", - "value": "dg_example_form", - "parameter_list": { - "type": "form", - "get_device_info": "true", - "button_text": "Send" - }, + "name": "hide_page_1", + "value": false, + "type": "set_variable", + "_nested_name": "hide_page_1" + }, + { + "name": "hide_page_2", + "value": true, + "type": "set_variable", + "_nested_name": "hide_page_2" + }, + { + "type": "animated_section", + "name": "page_1", + "hidden": "@local.hide_page_1", "rows": [ { - "type": "text_box", - "name": "user_name", - "parameter_list": { - "help": "some help text", - "placeholder": "Add your name" - }, - "_nested_name": "dg_example_form.user_name" + "type": "title", + "name": "title_page_1", + "value": "Page 1", + "_nested_name": "page_1.title_page_1" + }, + { + "type": "text", + "name": "text_page_1", + "value": "This is page 1", + "_nested_name": "page_1.text_page_1" }, { - "type": "text_box", - "name": "user_phone", "parameter_list": { - "help": "some help text", - "placeholder": "Add your phone number" + "style": "navigation" }, - "_nested_name": "dg_example_form.user_phone" + "type": "set_variable", + "name": "set_variable", + "_nested_name": "page_1.set_variable" }, { - "type": "simple_checkbox", - "name": "checkbox_1", - "value": false, + "type": "template", + "name": "page_1_nav_buttons", + "value": "nav_buttons", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "completed", + "action_id": "set_local", "args": [ - "demo_changed_field_checkbox", - "@local.checkbox_1" + "hide_page_1", + true ], - "_raw": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", - "_cleaned": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1" + "_raw": "completed | set_local:hide_page_1:true", + "_cleaned": "completed | set_local:hide_page_1:true" + }, + { + "trigger": "completed", + "action_id": "set_local", + "args": [ + "hide_page_2", + false + ], + "_raw": "completed | set_local:hide_page_2:false", + "_cleaned": "completed | set_local:hide_page_2:false" + }, + { + "trigger": "uncompleted", + "action_id": "emit", + "args": [ + "uncompleted" + ], + "_raw": "uncompleted | emit:uncompleted", + "_cleaned": "uncompleted | emit:uncompleted" } ], - "parameter_list": { - "label_text": "Example answer?" - }, - "_nested_name": "dg_example_form.checkbox_1", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ] - } + "rows": [ + { + "name": "button_completed", + "value": "Let's go!", + "type": "set_variable", + "_nested_name": "page_1.page_1_nav_buttons.button_completed" } - }, - "_dynamicDependencies": { - "@local.checkbox_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] + ], + "_nested_name": "page_1.page_1_nav_buttons" + } + ], + "_nested_name": "page_1", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@local.hide_page_1", + "matchedExpression": "@local.hide_page_1", + "type": "local", + "fieldName": "hide_page_1" } - }, + ] + }, + "_dynamicDependencies": { + "@local.hide_page_1": [ + "hidden" + ] + } + }, + { + "type": "animated_section", + "name": "page_2", + "hidden": "@local.hide_page_2", + "rows": [ { - "type": "simple_checkbox", - "name": "checkbox_2", - "value": true, - "parameter_list": { - "label_text": "Example answer?" - }, - "_nested_name": "dg_example_form.checkbox_2" + "type": "title", + "name": "title_page_2", + "value": "Page 2", + "_nested_name": "page_2.title_page_2" }, { - "type": "title", - "value": "Some text here", - "name": "title", - "_nested_name": "dg_example_form.title" + "type": "text", + "name": "text_page_2", + "value": "This is page 2", + "_nested_name": "page_2.text_page_2" }, { - "type": "text_area", - "name": "text_area", + "type": "template", + "name": "page_2_nav_buttons", + "value": "nav_buttons", "parameter_list": { - "placeholder": "example placeholder" + "style": "navigation" }, - "_nested_name": "dg_example_form.text_area" + "rows": [ + { + "name": "button_completed", + "value": "Finish", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "home_screen" + ], + "_raw": "click | go_to:home_screen", + "_cleaned": "click | go_to:home_screen" + } + ], + "type": "set_variable", + "_nested_name": "page_2.page_2_nav_buttons.button_completed" + } + ], + "_nested_name": "page_2.page_2_nav_buttons" } ], - "_nested_name": "dg_example_form" + "_nested_name": "page_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "@local.hide_page_2", + "matchedExpression": "@local.hide_page_2", + "type": "local", + "fieldName": "hide_page_2" + } + ] + }, + "_dynamicDependencies": { + "@local.hide_page_2": [ + "hidden" + ] + } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_dg_types.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_navigation_style.xlsx" }, { "flow_type": "template", - "flow_name": "feature_lottie_habits", + "flow_name": "example_navigation_style_2", "status": "released", "rows": [ { "type": "title", - "name": "title_breathe", - "value": "Breathe not yell", - "_nested_name": "title_breathe" - }, - { - "type": "lottie_animation", - "name": "animation_breathe", - "value": "lottie_animations/parent_points/habit-breathe.json", - "_nested_name": "animation_breathe" - }, - { - "type": "title", - "name": "title_consequence", - "value": "Calm consequence", - "_nested_name": "title_consequence" - }, - { - "type": "lottie_animation", - "name": "animation_consequence", - "value": "lottie_animations/parent_points/habit-consequence.json", - "_nested_name": "animation_consequence" - }, - { - "type": "title", - "name": "title_breathe", - "value": "Good money choice", - "_nested_name": "title_breathe" - }, - { - "type": "lottie_animation", - "name": "animation_money", - "value": "lottie_animations/parent_points/habit-money.json", - "_nested_name": "animation_money" - }, - { - "type": "title", - "name": "title_praise_teen", - "value": "Praise your teen", - "_nested_name": "title_praise_teen" - }, - { - "type": "lottie_animation", - "name": "animation_praise_teen", - "value": "lottie_animations/parent_points/habit-praise-teen.json", - "_nested_name": "animation_praise_teen" - }, - { - "type": "title", - "name": "title_praise_yourself", - "value": "Praise Yourself", - "_nested_name": "title_praise_yourself" - }, - { - "type": "lottie_animation", - "name": "animation_praise_yourself", - "value": "lottie_animations/parent_points/habit-praise-yourself.json", - "_nested_name": "animation_praise_yourself" - }, - { - "type": "title", - "name": "title_relax", - "value": "Relax", - "_nested_name": "title_relax" - }, - { - "type": "lottie_animation", - "name": "animation_relax", - "value": "lottie_animations/parent_points/habit-relax.json", - "_nested_name": "animation_relax" - }, - { - "type": "title", - "name": "title_safe", - "value": "Safe", - "_nested_name": "title_safe" + "name": "page_1_title", + "value": "This Page", + "_nested_name": "page_1_title" }, { - "type": "lottie_animation", - "name": "animation_safe", - "value": "lottie_animations/parent_points/habit-safe.json", - "_nested_name": "animation_safe" + "type": "text", + "name": "page_1_text", + "value": "This is the text for this page", + "_nested_name": "page_1_text" }, { - "type": "title", - "name": "title_spend_time", - "value": "One-on-one time", - "_nested_name": "title_spend_time" + "type": "display_group", + "parameter_list": { + "style": "navigation" + }, + "rows": [ + { + "type": "button", + "name": "button_1", + "value": "return", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "home_screen" + ], + "_raw": "click | go_to:home_screen", + "_cleaned": "click | go_to:home_screen" + } + ], + "_nested_name": "display_group.button_1" + }, + { + "type": "button", + "name": "button_2", + "value": "go back", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "home_screen" + ], + "_raw": "click | go_to:home_screen", + "_cleaned": "click | go_to:home_screen" + } + ], + "_nested_name": "display_group.button_2" + } + ], + "name": "display_group", + "_nested_name": "display_group" }, { - "type": "lottie_animation", - "name": "animation_spend_time", - "value": "lottie_animations/parent_points/habit-spend-time.json", - "_nested_name": "animation_spend_time" + "type": "text", + "name": "hidden", + "value": "hideme ", + "_nested_name": "hidden" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_lottie_habits.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_navigation_style.xlsx" }, { "flow_type": "template", - "flow_name": "feature_lottie_habits_2", + "flow_name": "example_new_nav_buttons", "status": "released", "rows": [ { "type": "display_group", - "name": "animations", - "value": "animations", "parameter_list": { - "style": "two_columns" + "style": "banner" }, "rows": [ { - "type": "lottie_animation", - "name": "animation_breathe", - "value": "lottie_animations/parent_points/habit-breathe.json", - "_nested_name": "animations.animation_breathe" - }, - { - "type": "lottie_animation", - "name": "animation_consequence", - "value": "lottie_animations/parent_points/habit-consequence.json", - "_nested_name": "animations.animation_consequence" - }, - { - "type": "lottie_animation", - "name": "animation_money", - "value": "lottie_animations/parent_points/habit-money.json", - "_nested_name": "animations.animation_money" - }, - { - "type": "lottie_animation", - "name": "animation_praise_teen", - "value": "lottie_animations/parent_points/habit-praise-teen.json", - "_nested_name": "animations.animation_praise_teen" - }, - { - "type": "lottie_animation", - "name": "animation_praise_yourself", - "value": "lottie_animations/parent_points/habit-praise-yourself.json", - "_nested_name": "animations.animation_praise_yourself" - }, - { - "type": "lottie_animation", - "name": "animation_relax", - "value": "lottie_animations/parent_points/habit-relax.json", - "_nested_name": "animations.animation_relax" - }, - { - "type": "lottie_animation", - "name": "animation_safe", - "value": "lottie_animations/parent_points/habit-safe.json", - "_nested_name": "animations.animation_safe" - }, - { - "type": "lottie_animation", - "name": "animation_spend_time", - "value": "lottie_animations/parent_points/habit-spend-time.json", - "_nested_name": "animations.animation_spend_time" - }, - { - "type": "lottie_animation", - "name": "animation_breathe", - "value": "lottie_animations/parent_points/habit-breathe.json", - "_nested_name": "animations.animation_breathe" - }, - { - "type": "lottie_animation", - "name": "animation_consequence", - "value": "lottie_animations/parent_points/habit-consequence.json", - "_nested_name": "animations.animation_consequence" - }, - { - "type": "lottie_animation", - "name": "animation_money", - "value": "lottie_animations/parent_points/habit-money.json", - "_nested_name": "animations.animation_money" - }, - { - "type": "lottie_animation", - "name": "animation_praise_teen", - "value": "lottie_animations/parent_points/habit-praise-teen.json", - "_nested_name": "animations.animation_praise_teen" - }, - { - "type": "lottie_animation", - "name": "animation_praise_yourself", - "value": "lottie_animations/parent_points/habit-praise-yourself.json", - "_nested_name": "animations.animation_praise_yourself" - }, - { - "type": "lottie_animation", - "name": "animation_relax", - "value": "lottie_animations/parent_points/habit-relax.json", - "_nested_name": "animations.animation_relax" - }, - { - "type": "lottie_animation", - "name": "animation_safe", - "value": "lottie_animations/parent_points/habit-safe.json", - "_nested_name": "animations.animation_safe" - }, - { - "type": "lottie_animation", - "name": "animation_spend_time", - "value": "lottie_animations/parent_points/habit-spend-time.json", - "_nested_name": "animations.animation_spend_time" - }, - { - "type": "lottie_animation", - "name": "animation_breathe", - "value": "lottie_animations/parent_points/habit-breathe.json", - "_nested_name": "animations.animation_breathe" - }, - { - "type": "lottie_animation", - "name": "animation_consequence", - "value": "lottie_animations/parent_points/habit-consequence.json", - "_nested_name": "animations.animation_consequence" - }, - { - "type": "lottie_animation", - "name": "animation_money", - "value": "lottie_animations/parent_points/habit-money.json", - "_nested_name": "animations.animation_money" - }, - { - "type": "lottie_animation", - "name": "animation_praise_teen", - "value": "lottie_animations/parent_points/habit-praise-teen.json", - "_nested_name": "animations.animation_praise_teen" - }, - { - "type": "lottie_animation", - "name": "animation_praise_yourself", - "value": "lottie_animations/parent_points/habit-praise-yourself.json", - "_nested_name": "animations.animation_praise_yourself" - }, - { - "type": "lottie_animation", - "name": "animation_relax", - "value": "lottie_animations/parent_points/habit-relax.json", - "_nested_name": "animations.animation_relax" - }, - { - "type": "lottie_animation", - "name": "animation_safe", - "value": "lottie_animations/parent_points/habit-safe.json", - "_nested_name": "animations.animation_safe" - }, - { - "type": "lottie_animation", - "name": "animation_spend_time", - "value": "lottie_animations/parent_points/habit-spend-time.json", - "_nested_name": "animations.animation_spend_time" - }, - { - "type": "lottie_animation", - "name": "animation_breathe", - "value": "lottie_animations/parent_points/habit-breathe.json", - "_nested_name": "animations.animation_breathe" - }, - { - "type": "lottie_animation", - "name": "animation_consequence", - "value": "lottie_animations/parent_points/habit-consequence.json", - "_nested_name": "animations.animation_consequence" - }, - { - "type": "lottie_animation", - "name": "animation_money", - "value": "lottie_animations/parent_points/habit-money.json", - "_nested_name": "animations.animation_money" - }, - { - "type": "lottie_animation", - "name": "animation_praise_teen", - "value": "lottie_animations/parent_points/habit-praise-teen.json", - "_nested_name": "animations.animation_praise_teen" - }, - { - "type": "lottie_animation", - "name": "animation_praise_yourself", - "value": "lottie_animations/parent_points/habit-praise-yourself.json", - "_nested_name": "animations.animation_praise_yourself" - }, - { - "type": "lottie_animation", - "name": "animation_relax", - "value": "lottie_animations/parent_points/habit-relax.json", - "_nested_name": "animations.animation_relax" + "type": "text", + "name": "left", + "value": "left button", + "style_list": [ + "flex:1" + ], + "_nested_name": "display_group.left" }, { - "type": "lottie_animation", - "name": "animation_safe", - "value": "lottie_animations/parent_points/habit-safe.json", - "_nested_name": "animations.animation_safe" + "type": "text", + "name": "blank_text", + "value": "\"\"", + "style_list": [ + "flex:4" + ], + "_nested_name": "display_group.blank_text" }, { - "type": "lottie_animation", - "name": "animation_spend_time", - "value": "lottie_animations/parent_points/habit-spend-time.json", - "_nested_name": "animations.animation_spend_time" + "type": "text", + "name": "right", + "value": "right button", + "style_list": [ + "flex:1" + ], + "_nested_name": "display_group.right" } ], - "_nested_name": "animations" + "name": "display_group", + "_nested_name": "display_group" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_lottie_habits.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_new_nav_buttons.xlsx" }, { "flow_type": "template", - "flow_name": "feature_text_box_placeholder", + "flow_name": "example_radio_group_fb_hid", "status": "released", "rows": [ { - "name": "placeholder", - "value": "placeholder", + "name": "answer_list_1", + "value": [ + "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", + "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", + "name:name_var_3 | text: Third | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg" + ], "type": "set_variable", - "_nested_name": "placeholder" + "_nested_name": "answer_list_1" }, { - "type": "set_field", - "name": "feature_default_input", - "value": "default input", - "_nested_name": "feature_default_input" + "type": "radio_group", + "name": "radio_group_defaults", + "value": "na", + "parameter_list": { + "answer_list": "@local.answer_list_1" + }, + "_nested_name": "radio_group_defaults", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_1", + "matchedExpression": "@local.answer_list_1", + "type": "local", + "fieldName": "answer_list_1" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer_list_1": [ + "parameter_list.answer_list" + ] + } }, { "type": "text", - "name": "text_1", - "value": "Text box 1: \nShows @local.placeholder before user input is given, and when user input is deleted", - "_nested_name": "text_1", + "name": "text_reply_1", + "value": "This is the feedback for option 1", + "hidden": "\"@local.radio_group_defaults\" != \"name_var_1\"", + "_nested_name": "text_reply_1", "_dynamicFields": { - "value": [ + "hidden": [ { - "fullExpression": "Text box 1: \nShows @local.placeholder before user input is given, and when user input is deleted", - "matchedExpression": "@local.placeholder", + "fullExpression": "\"@local.radio_group_defaults\" != \"name_var_1\"", + "matchedExpression": "@local.radio_group_defaults", "type": "local", - "fieldName": "placeholder" + "fieldName": "radio_group_defaults" } ] }, "_dynamicDependencies": { - "@local.placeholder": [ - "value" + "@local.radio_group_defaults": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "text_reply_2", + "value": "This is the feedback for option 2", + "hidden": "\"@local.radio_group_defaults\" != \"name_var_2\"", + "_nested_name": "text_reply_2", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.radio_group_defaults\" != \"name_var_2\"", + "matchedExpression": "@local.radio_group_defaults", + "type": "local", + "fieldName": "radio_group_defaults" + } + ] + }, + "_dynamicDependencies": { + "@local.radio_group_defaults": [ + "hidden" + ] + } + }, + { + "type": "text", + "name": "text_reply_3", + "value": "This is the feedback for option 3", + "hidden": "\"@local.radio_group_defaults\" != \"name_var_3\"", + "_nested_name": "text_reply_3", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.radio_group_defaults\" != \"name_var_3\"", + "matchedExpression": "@local.radio_group_defaults", + "type": "local", + "fieldName": "radio_group_defaults" + } + ] + }, + "_dynamicDependencies": { + "@local.radio_group_defaults": [ + "hidden" ] } }, { - "type": "text_box", - "name": "text_box_1", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "feature_input_tracker_1", - "@local.text_box_1" - ], - "_raw": "changed | set_field: feature_input_tracker_1:@local.text_box_1", - "_cleaned": "changed | set_field: feature_input_tracker_1:@local.text_box_1" - } + "type": "text", + "name": "text_reply_universal", + "value": "This is the universal feedback", + "hidden": "\"@local.radio_group_defaults\" == \"na\"", + "_nested_name": "text_reply_universal", + "_dynamicFields": { + "hidden": [ + { + "fullExpression": "\"@local.radio_group_defaults\" == \"na\"", + "matchedExpression": "@local.radio_group_defaults", + "type": "local", + "fieldName": "radio_group_defaults" + } + ] + }, + "_dynamicDependencies": { + "@local.radio_group_defaults": [ + "hidden" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_options_feedback.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_radio_group_fb_con", + "status": "released", + "rows": [ + { + "name": "answer_list_1", + "value": [ + "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", + "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", + "name:name_var_3 | text: Third | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg" ], + "type": "set_variable", + "_nested_name": "answer_list_1" + }, + { + "type": "radio_group", + "name": "radio_group_defaults", + "value": "na", "parameter_list": { - "placeholder": "@local.placeholder" + "answer_list": "@local.answer_list_1" }, - "_nested_name": "text_box_1", + "_nested_name": "radio_group_defaults", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.text_box_1", - "matchedExpression": "@local.text_box_1", - "type": "local", - "fieldName": "text_box_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_1:@local.text_box_1", - "matchedExpression": "@local.text_box_1", - "type": "local", - "fieldName": "text_box_1" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_1:@local.text_box_1", - "matchedExpression": "@local.text_box_1", - "type": "local", - "fieldName": "text_box_1" - } - ] - } - }, "parameter_list": { - "placeholder": [ + "answer_list": [ { - "fullExpression": "@local.placeholder", - "matchedExpression": "@local.placeholder", + "fullExpression": "@local.answer_list_1", + "matchedExpression": "@local.answer_list_1", "type": "local", - "fieldName": "placeholder" + "fieldName": "answer_list_1" } ] } }, "_dynamicDependencies": { - "@local.text_box_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.placeholder": [ - "parameter_list.placeholder" + "@local.answer_list_1": [ + "parameter_list.answer_list" ] } }, { "type": "text", - "name": "text_2", - "value": "Text box 2: \nShows @fields.feature_default_input before user input is given. Is blank when user input is deleted.", - "_nested_name": "text_2", + "name": "text_reply_1", + "value": "This is the feedback for option 1", + "condition": "\"@local.radio_group_defaults\" == \"name_var_1\"", + "_nested_name": "text_reply_1", "_dynamicFields": { - "value": [ + "condition": [ { - "fullExpression": "Text box 2: \nShows @fields.feature_default_input before user input is given. Is blank when user input is deleted.", - "matchedExpression": "@fields.feature_default_input", - "type": "fields", - "fieldName": "feature_default_input" + "fullExpression": "\"@local.radio_group_defaults\" == \"name_var_1\"", + "matchedExpression": "@local.radio_group_defaults", + "type": "local", + "fieldName": "radio_group_defaults" } ] }, "_dynamicDependencies": { - "@fields.feature_default_input": [ - "value" + "@local.radio_group_defaults": [ + "condition" ] } }, { - "type": "text_box", - "name": "text_box_2", - "value": "@fields.feature_default_input", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "feature_input_tracker_2", - "@local.text_box_2" - ], - "_raw": "changed | set_field: feature_input_tracker_2:@local.text_box_2", - "_cleaned": "changed | set_field: feature_input_tracker_2:@local.text_box_2" - } - ], - "_nested_name": "text_box_2", + "type": "text", + "name": "text_reply_2", + "value": "This is the feedback for option 2", + "condition": "\"@local.radio_group_defaults\" == \"name_var_2\"", + "_nested_name": "text_reply_2", "_dynamicFields": { - "value": [ + "condition": [ { - "fullExpression": "@fields.feature_default_input", - "matchedExpression": "@fields.feature_default_input", - "type": "fields", - "fieldName": "feature_default_input" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.text_box_2", - "matchedExpression": "@local.text_box_2", - "type": "local", - "fieldName": "text_box_2" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_2:@local.text_box_2", - "matchedExpression": "@local.text_box_2", - "type": "local", - "fieldName": "text_box_2" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_2:@local.text_box_2", - "matchedExpression": "@local.text_box_2", - "type": "local", - "fieldName": "text_box_2" - } - ] + "fullExpression": "\"@local.radio_group_defaults\" == \"name_var_2\"", + "matchedExpression": "@local.radio_group_defaults", + "type": "local", + "fieldName": "radio_group_defaults" } - } + ] }, "_dynamicDependencies": { - "@fields.feature_default_input": [ - "value" - ], - "@local.text_box_2": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@local.radio_group_defaults": [ + "condition" ] } }, { "type": "text", - "name": "text_3", - "value": "Text boxes 3 and 4: \nShows @fields.feature_default_input before user input is given. Shows @local.placeholder when user input is deleted.", - "_nested_name": "text_3", + "name": "text_reply_3", + "value": "This is the feedback for option 3", + "condition": "\"@local.radio_group_defaults\" == \"name_var_3\"", + "_nested_name": "text_reply_3", "_dynamicFields": { - "value": [ - { - "fullExpression": "Text boxes 3 and 4: \nShows @fields.feature_default_input before user input is given. Shows @local.placeholder when user input is deleted.", - "matchedExpression": "@fields.feature_default_input", - "type": "fields", - "fieldName": "feature_default_input" - }, + "condition": [ { - "fullExpression": "Text boxes 3 and 4: \nShows @fields.feature_default_input before user input is given. Shows @local.placeholder when user input is deleted.", - "matchedExpression": "@local.placeholder", + "fullExpression": "\"@local.radio_group_defaults\" == \"name_var_3\"", + "matchedExpression": "@local.radio_group_defaults", "type": "local", - "fieldName": "placeholder" + "fieldName": "radio_group_defaults" } ] }, "_dynamicDependencies": { - "@fields.feature_default_input": [ - "value" - ], - "@local.placeholder": [ - "value" + "@local.radio_group_defaults": [ + "condition" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_options_feedback.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_widget_audio_def", + "status": "released", + "rows": [ + { + "type": "audio", + "name": "audio_1", + "value": "plh_audio/sample.mp3", + "_nested_name": "audio_1" }, { - "type": "text_box", - "name": "text_box_3", - "value": "@fields.feature_default_input", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "feature_input_tracker_3", - "@local.text_box_3" - ], - "_raw": "changed | set_field: feature_input_tracker_3:@local.text_box_3", - "_cleaned": "changed | set_field: feature_input_tracker_3:@local.text_box_3" - } - ], + "name": "help_text", + "value": "This is the text for the questionmark icon", + "type": "set_variable", + "_nested_name": "help_text" + }, + { + "type": "audio", + "name": "audio_2", "parameter_list": { - "placeholder": "@local.placeholder" + "src": "plh_audio/sample.mp3", + "title": "New Title Test", + "help": "@local.help_text", + "rangeBarDisabled": "true", + "timeToRewind": "2" }, - "_nested_name": "text_box_3", + "_nested_name": "audio_2", "_dynamicFields": { - "value": [ - { - "fullExpression": "@fields.feature_default_input", - "matchedExpression": "@fields.feature_default_input", - "type": "fields", - "fieldName": "feature_default_input" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.text_box_3", - "matchedExpression": "@local.text_box_3", - "type": "local", - "fieldName": "text_box_3" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_3:@local.text_box_3", - "matchedExpression": "@local.text_box_3", - "type": "local", - "fieldName": "text_box_3" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_3:@local.text_box_3", - "matchedExpression": "@local.text_box_3", - "type": "local", - "fieldName": "text_box_3" - } - ] - } - }, "parameter_list": { - "placeholder": [ + "help": [ { - "fullExpression": "@local.placeholder", - "matchedExpression": "@local.placeholder", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "placeholder" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@fields.feature_default_input": [ - "value" - ], - "@local.text_box_3": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.placeholder": [ - "parameter_list.placeholder" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "text_box", - "name": "text_box_4", - "value": "@fields.feature_default_input", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "feature_input_tracker_4", - "@local.text_box_4" - ], - "_raw": "changed | set_field: feature_input_tracker_4:@local.text_box_4", - "_cleaned": "changed | set_field: feature_input_tracker_4:@local.text_box_4" - } - ], + "type": "audio", + "name": "audio_3", + "value": "plh_audio/sample.mp3", "parameter_list": { - "placeholder": "@local.placeholder", - "prioritise_placeholder": "false" + "title": "New Title Test", + "help": "@local.help_text", + "rangeBarDisabled": "true", + "timeToRewind": "2" }, - "_nested_name": "text_box_4", + "_nested_name": "audio_3", "_dynamicFields": { - "value": [ - { - "fullExpression": "@fields.feature_default_input", - "matchedExpression": "@fields.feature_default_input", - "type": "fields", - "fieldName": "feature_default_input" - } - ], - "action_list": { - "0": { - "args": { - "1": [ + "parameter_list": { + "help": [ + { + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", + "type": "local", + "fieldName": "help_text" + } + ] + } + }, + "_dynamicDependencies": { + "@local.help_text": [ + "parameter_list.help" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_widgets.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_widget_nesting_audio", + "status": "released", + "rows": [ + { + "name": "source_file", + "value": "plh_audio/sample.mp3", + "type": "set_variable", + "_nested_name": "source_file" + }, + { + "name": "title_name", + "value": "This title has been overridden correctly", + "type": "set_variable", + "_nested_name": "title_name" + }, + { + "name": "help_msg", + "value": "This help message has been overriden correctly", + "type": "set_variable", + "_nested_name": "help_msg" + }, + { + "name": "no_range_bar", + "value": true, + "type": "set_variable", + "_nested_name": "no_range_bar" + }, + { + "name": "rew_time", + "value": 12, + "type": "set_variable", + "_nested_name": "rew_time" + }, + { + "type": "template", + "name": "overridden_audio", + "value": "example_widget_audio_def", + "rows": [ + { + "name": "audio_1", + "value": "@local.source_file", + "parameter_list": { + "title": "@local.title_name" + }, + "type": "set_variable", + "_nested_name": "overridden_audio.audio_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.source_file", + "matchedExpression": "@local.source_file", + "type": "local", + "fieldName": "source_file" + } + ], + "parameter_list": { + "title": [ { - "fullExpression": "@local.text_box_4", - "matchedExpression": "@local.text_box_4", + "fullExpression": "@local.title_name", + "matchedExpression": "@local.title_name", "type": "local", - "fieldName": "text_box_4" + "fieldName": "title_name" } ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_4:@local.text_box_4", - "matchedExpression": "@local.text_box_4", - "type": "local", - "fieldName": "text_box_4" - } + } + }, + "_dynamicDependencies": { + "@local.source_file": [ + "value" ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_4:@local.text_box_4", - "matchedExpression": "@local.text_box_4", - "type": "local", - "fieldName": "text_box_4" - } + "@local.title_name": [ + "parameter_list.title" ] } }, + { + "name": "audio_2", + "hidden": true, + "type": "set_variable", + "_nested_name": "overridden_audio.audio_2" + } + ], + "_nested_name": "overridden_audio" + }, + { + "type": "audio", + "name": "audio_3", + "parameter_list": { + "title": "@local.title_name", + "src": "@local.source_file", + "help": "@local.help_msg", + "rangeBarDisabled": "@local.no_range_bar", + "timeToRewind": "@local.rew_time" + }, + "_nested_name": "audio_3", + "_dynamicFields": { "parameter_list": { - "placeholder": [ + "title": [ { - "fullExpression": "@local.placeholder", - "matchedExpression": "@local.placeholder", + "fullExpression": "@local.title_name", + "matchedExpression": "@local.title_name", "type": "local", - "fieldName": "placeholder" + "fieldName": "title_name" + } + ], + "src": [ + { + "fullExpression": "@local.source_file", + "matchedExpression": "@local.source_file", + "type": "local", + "fieldName": "source_file" + } + ], + "help": [ + { + "fullExpression": "@local.help_msg", + "matchedExpression": "@local.help_msg", + "type": "local", + "fieldName": "help_msg" + } + ], + "rangeBarDisabled": [ + { + "fullExpression": "@local.no_range_bar", + "matchedExpression": "@local.no_range_bar", + "type": "local", + "fieldName": "no_range_bar" + } + ], + "timeToRewind": [ + { + "fullExpression": "@local.rew_time", + "matchedExpression": "@local.rew_time", + "type": "local", + "fieldName": "rew_time" } ] } }, "_dynamicDependencies": { - "@fields.feature_default_input": [ - "value" + "@local.title_name": [ + "parameter_list.title" ], - "@local.text_box_4": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@local.source_file": [ + "parameter_list.src" ], - "@local.placeholder": [ - "parameter_list.placeholder" + "@local.help_msg": [ + "parameter_list.help" + ], + "@local.no_range_bar": [ + "parameter_list.rangeBarDisabled" + ], + "@local.rew_time": [ + "parameter_list.timeToRewind" ] } }, { "type": "text", - "name": "text_5", - "value": "Text box 5: \nShows @local.placeholder before user input is given, and when user input is deleted.", - "_nested_name": "text_5", + "name": "helping_text", + "value": "@local.title_name", + "_nested_name": "helping_text", "_dynamicFields": { "value": [ { - "fullExpression": "Text box 5: \nShows @local.placeholder before user input is given, and when user input is deleted.", - "matchedExpression": "@local.placeholder", + "fullExpression": "@local.title_name", + "matchedExpression": "@local.title_name", "type": "local", - "fieldName": "placeholder" + "fieldName": "title_name" } ] }, "_dynamicDependencies": { - "@local.placeholder": [ + "@local.title_name": [ "value" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_widgets.xlsx" + }, + { + "flow_type": "template", + "flow_name": "example_widget_combo_box", + "status": "released", + "rows": [ + { + "name": "question_text", + "value": "This is the question", + "type": "set_variable", + "_nested_name": "question_text" }, { - "type": "text_box", - "name": "text_box_5", - "value": "@fields.feature_default_input", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "feature_input_tracker_5", - "@local.text_box_5" - ], - "_raw": "changed | set_field: feature_input_tracker_5:@local.text_box_5", - "_cleaned": "changed | set_field: feature_input_tracker_5:@local.text_box_5" - } + "name": "answers_list", + "value": [ + "[Option 1", + "Option 2", + "Option 3]" ], - "parameter_list": { - "placeholder": "@local.placeholder", - "prioritise_placeholder": "true" - }, - "_nested_name": "text_box_5", + "type": "set_variable", + "_nested_name": "answers_list" + }, + { + "type": "text", + "name": "question", + "value": "@local.question_text", + "_nested_name": "question", "_dynamicFields": { "value": [ { - "fullExpression": "@fields.feature_default_input", - "matchedExpression": "@fields.feature_default_input", - "type": "fields", - "fieldName": "feature_default_input" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.text_box_5", - "matchedExpression": "@local.text_box_5", - "type": "local", - "fieldName": "text_box_5" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_5:@local.text_box_5", - "matchedExpression": "@local.text_box_5", - "type": "local", - "fieldName": "text_box_5" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: feature_input_tracker_5:@local.text_box_5", - "matchedExpression": "@local.text_box_5", - "type": "local", - "fieldName": "text_box_5" - } - ] + "fullExpression": "@local.question_text", + "matchedExpression": "@local.question_text", + "type": "local", + "fieldName": "question_text" } - }, + ] + }, + "_dynamicDependencies": { + "@local.question_text": [ + "value" + ] + } + }, + { + "type": "combo_box", + "name": "combo_box_1", + "parameter_list": { + "text": "@local.question_text", + "input_allowed": "true", + "input_position": "top", + "placeholder": "Answer Prompt", + "answer_placeholder": "Enter Your Own Answer", + "answers_list": "@local.answers_list" + }, + "_nested_name": "combo_box_1", + "_dynamicFields": { "parameter_list": { - "placeholder": [ + "text": [ { - "fullExpression": "@local.placeholder", - "matchedExpression": "@local.placeholder", + "fullExpression": "@local.question_text", + "matchedExpression": "@local.question_text", "type": "local", - "fieldName": "placeholder" + "fieldName": "question_text" + } + ], + "answers_list": [ + { + "fullExpression": "@local.answers_list", + "matchedExpression": "@local.answers_list", + "type": "local", + "fieldName": "answers_list" } ] } }, "_dynamicDependencies": { - "@fields.feature_default_input": [ - "value" - ], - "@local.text_box_5": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@local.question_text": [ + "parameter_list.text" ], - "@local.placeholder": [ - "parameter_list.placeholder" + "@local.answers_list": [ + "parameter_list.answers_list" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_prioritise_placeholder.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_widgets.xlsx" }, { "flow_type": "template", - "flow_name": "feature_combo_box_placeholder", + "flow_name": "example_widget_radio_button_box", "status": "released", "rows": [ { "name": "answer_list", "value": [ - "name: name_1 | text: This is text 1", - "name: name_2 | text: This is text 2", - "name: name_3 | text: This is text 3" + "name:name_var_1 | text:happy", + "name:name_var_2 | text: ok", + "name:name_var_3 | text: sad" ], "type": "set_variable", "_nested_name": "answer_list" }, { - "name": "placeholder", - "value": "placeholder", - "type": "set_variable", - "_nested_name": "placeholder" - }, - { - "type": "set_field", - "name": "feature_default_choice", - "value": "name_2", - "_nested_name": "feature_default_choice" - }, - { - "type": "text", - "name": "text_1", - "value": "Combo box 1: \nShows @local.placeholder when no user input is given and when user input is deleted.", - "_nested_name": "text_1", + "type": "radio_group", + "name": "radio_group_square_ex_1", + "parameter_list": { + "radio_button_type": "btn_triangle", + "answer_list": "@local.answer_list", + "style": "passive" + }, + "_nested_name": "radio_group_square_ex_1", "_dynamicFields": { - "value": [ - { - "fullExpression": "Combo box 1: \nShows @local.placeholder when no user input is given and when user input is deleted.", - "matchedExpression": "@local.placeholder", - "type": "local", - "fieldName": "placeholder" - } - ] + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" + } + ] + } }, "_dynamicDependencies": { - "@local.placeholder": [ - "value" + "@local.answer_list": [ + "parameter_list.answer_list" ] } - }, + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_widgets.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_example_stepper", + "status": "released", + "rows": [ { - "type": "combo_box", - "name": "combo_box_1", + "type": "template", + "name": "workshop_stepper_together", + "value": "workshop_stepper", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "completed", + "action_id": "emit", "args": [ - "feature_choice_tracker_1", - "@local.combo_box_1" + "completed" ], - "_raw": "changed | set_field:feature_choice_tracker_1:@local.combo_box_1", - "_cleaned": "changed | set_field:feature_choice_tracker_1:@local.combo_box_1" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" } ], + "hidden": "!@field.do_workshops_together", "parameter_list": { - "answer_list": "@local.answer_list", - "placeholder": "@local.placeholder" + "theme": "@global.theme" }, - "_nested_name": "combo_box_1", + "rows": [ + { + "name": "nav_template_list", + "value": [ + "w_example_welcome_together", + "w_example_listen", + "w_example_read", + "w_example_talk_together", + "w_example_tools_activity", + "w_example_home_practice", + "w_example_ending" + ], + "type": "set_variable", + "_nested_name": "workshop_stepper_together.nav_template_list" + } + ], + "_nested_name": "workshop_stepper_together", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.combo_box_1", - "matchedExpression": "@local.combo_box_1", - "type": "local", - "fieldName": "combo_box_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_1:@local.combo_box_1", - "matchedExpression": "@local.combo_box_1", - "type": "local", - "fieldName": "combo_box_1" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_1:@local.combo_box_1", - "matchedExpression": "@local.combo_box_1", - "type": "local", - "fieldName": "combo_box_1" - } - ] + "hidden": [ + { + "fullExpression": "!@field.do_workshops_together", + "matchedExpression": "@field.do_workshops_together", + "type": "field", + "fieldName": "do_workshops_together" } - }, + ], "parameter_list": { - "answer_list": [ + "theme": [ { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" + "fullExpression": "@global.theme", + "matchedExpression": "@global.theme", + "type": "global", + "fieldName": "theme" + } + ] + } + }, + "_dynamicDependencies": { + "@field.do_workshops_together": [ + "hidden" + ], + "@global.theme": [ + "parameter_list.theme" + ] + } + }, + { + "type": "template", + "name": "workshop_stepper_individual", + "value": "workshop_stepper", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + } + ], + "hidden": true, + "rows": [ + { + "name": "nav_template_list", + "value": [ + "w_example_listen" + ], + "type": "set_variable", + "_nested_name": "workshop_stepper_individual.nav_template_list" + } + ], + "_nested_name": "workshop_stepper_individual" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_example_welcome_together", + "status": "released", + "rows": [ + { + "type": "template", + "name": "welcome_together", + "value": "welcome_together", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + } + ], + "rows": [ + { + "type": "nested_properties", + "name": "watch", + "rows": [ + { + "type": "nested_properties", + "name": "workshop_activity", + "rows": [ + { + "name": "intro_text", + "value": "This is the introduction text of the welcome together.", + "type": "set_variable", + "_nested_name": "welcome_together.watch.workshop_activity.intro_text" + } + ], + "_nested_name": "welcome_together.watch.workshop_activity" } ], - "placeholder": [ - { - "fullExpression": "@local.placeholder", - "matchedExpression": "@local.placeholder", - "type": "local", - "fieldName": "placeholder" - } - ] + "_nested_name": "welcome_together.watch" + } + ], + "_nested_name": "welcome_together" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_example_listen", + "status": "released", + "rows": [ + { + "type": "template", + "name": "listen", + "value": "listen", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + } + ], + "rows": [ + { + "name": "audio_src", + "value": "plh_audio/sample.mp3", + "type": "set_variable", + "_nested_name": "listen.audio_src" + } + ], + "_nested_name": "listen" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_example_read", + "status": "released", + "rows": [ + { + "type": "template", + "name": "read", + "value": "read", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + } + ], + "rows": [ + { + "name": "number_of_slides", + "value": 3, + "type": "set_variable", + "_nested_name": "read.number_of_slides" + }, + { + "name": "slide_image_src_1", + "value": "plh_images/modules/mod_instruct/thought_experiment/te_1.svg", + "type": "set_variable", + "_nested_name": "read.slide_image_src_1" + }, + { + "name": "slide_text_1", + "value": "This is the text on the first slide.", + "type": "set_variable", + "_nested_name": "read.slide_text_1" + }, + { + "name": "slide_image_src_2", + "value": "plh_images/modules/mod_instruct/thought_experiment/te_2.svg", + "type": "set_variable", + "_nested_name": "read.slide_image_src_2" + }, + { + "name": "slide_text_2", + "value": "This is the text on the second slide.", + "type": "set_variable", + "_nested_name": "read.slide_text_2" + }, + { + "name": "slide_image_src_3", + "value": "plh_images/modules/mod_instruct/thought_experiment/te_3.svg", + "type": "set_variable", + "_nested_name": "read.slide_image_src_3" + }, + { + "name": "slide_text_3", + "value": "This is the text on the third slide.", + "type": "set_variable", + "_nested_name": "read.slide_text_3" + } + ], + "_nested_name": "read" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_example_talk_together", + "status": "released", + "rows": [ + { + "type": "template", + "name": "talk_together", + "value": "talk_together", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" } - }, - "_dynamicDependencies": { - "@local.combo_box_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" - ], - "@local.placeholder": [ - "parameter_list.placeholder" - ] - } - }, - { - "type": "text", - "name": "text_2", - "value": "Combo box 2: \nShows the text associated to @fields.feature_default_choice before user input is given. Is blank when user input is deleted.", - "_nested_name": "text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Combo box 2: \nShows the text associated to @fields.feature_default_choice before user input is given. Is blank when user input is deleted.", - "matchedExpression": "@fields.feature_default_choice", - "type": "fields", - "fieldName": "feature_default_choice" - } - ] - }, - "_dynamicDependencies": { - "@fields.feature_default_choice": [ - "value" - ] - } - }, + ], + "rows": [ + { + "name": "discussion_text", + "value": "This text describes what should be discussed.", + "type": "set_variable", + "_nested_name": "talk_together.discussion_text" + } + ], + "_nested_name": "talk_together" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_example_tools", + "status": "released", + "rows": [ { - "type": "combo_box", - "name": "combo_box_2", + "type": "template", + "name": "box_tools", + "value": "box_tools", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "completed", + "action_id": "emit", "args": [ - "feature_choice_tracker_2", - "@local.combo_box_2" + "completed" ], - "_raw": "changed | set_field:feature_choice_tracker_2:@local.combo_box_2", - "_cleaned": "changed | set_field:feature_choice_tracker_2:@local.combo_box_2" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" } ], - "parameter_list": { - "answer_list": "@local.answer_list" - }, - "_nested_name": "combo_box_2", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.combo_box_2", - "matchedExpression": "@local.combo_box_2", - "type": "local", - "fieldName": "combo_box_2" - } - ] + "rows": [ + { + "type": "title", + "name": "tools_title", + "value": "Example Workshop", + "_nested_name": "box_tools.tools_title" + }, + { + "type": "nested_properties", + "name": "tool_1", + "rows": [ + { + "name": "title", + "value": "First tool", + "type": "set_variable", + "_nested_name": "box_tools.tool_1.title" }, - "_raw": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_2:@local.combo_box_2", - "matchedExpression": "@local.combo_box_2", - "type": "local", - "fieldName": "combo_box_2" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_2:@local.combo_box_2", - "matchedExpression": "@local.combo_box_2", - "type": "local", - "fieldName": "combo_box_2" - } - ] - } + { + "name": "text_1", + "value": "Text describing the first tool.", + "type": "set_variable", + "_nested_name": "box_tools.tool_1.text_1" + }, + { + "name": "button", + "value": "Button", + "hidden": false, + "type": "set_variable", + "_nested_name": "box_tools.tool_1.button" + } + ], + "_nested_name": "box_tools.tool_1" }, - "parameter_list": { - "answer_list": [ + { + "type": "nested_properties", + "name": "tool_2", + "rows": [ { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" + "name": "title", + "value": "Second tool", + "type": "set_variable", + "_nested_name": "box_tools.tool_2.title" + }, + { + "name": "subtitle_1", + "value": "Subtitle 1", + "hidden": false, + "type": "set_variable", + "_nested_name": "box_tools.tool_2.subtitle_1" + }, + { + "name": "text_1", + "value": "Some text.", + "type": "set_variable", + "_nested_name": "box_tools.tool_2.text_1" + }, + { + "name": "subtitle_2", + "value": "Subtitle 2", + "hidden": false, + "type": "set_variable", + "_nested_name": "box_tools.tool_2.subtitle_2" + }, + { + "name": "text_2", + "value": "More text.", + "hidden": false, + "type": "set_variable", + "_nested_name": "box_tools.tool_2.text_2" } - ] + ], + "_nested_name": "box_tools.tool_2" + }, + { + "type": "nested_properties", + "name": "tool_3", + "rows": [ + { + "name": "title", + "value": "Third tool", + "type": "set_variable", + "_nested_name": "box_tools.tool_3.title" + }, + { + "name": "text_1", + "value": "Text describing the third tool.", + "type": "set_variable", + "_nested_name": "box_tools.tool_3.text_1" + }, + { + "name": "image", + "value": "plh_images/modules/mod_instruct/thought_experiment/te_1.svg", + "hidden": false, + "type": "set_variable", + "_nested_name": "box_tools.tool_3.image" + } + ], + "_nested_name": "box_tools.tool_3" } - }, - "_dynamicDependencies": { - "@local.combo_box_2": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "type": "text", - "name": "text_3", - "value": "Combo boxes 3 and 4: \nShows the text associated to @fields.feature_default_choice before user input is given. Shows @local.placeholder when user input is deleted.", - "_nested_name": "text_3", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Combo boxes 3 and 4: \nShows the text associated to @fields.feature_default_choice before user input is given. Shows @local.placeholder when user input is deleted.", - "matchedExpression": "@fields.feature_default_choice", - "type": "fields", - "fieldName": "feature_default_choice" - }, - { - "fullExpression": "Combo boxes 3 and 4: \nShows the text associated to @fields.feature_default_choice before user input is given. Shows @local.placeholder when user input is deleted.", - "matchedExpression": "@local.placeholder", - "type": "local", - "fieldName": "placeholder" - } - ] - }, - "_dynamicDependencies": { - "@fields.feature_default_choice": [ - "value" - ], - "@local.placeholder": [ - "value" - ] - } - }, + ], + "_nested_name": "box_tools" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_example_tools_activity", + "status": "released", + "rows": [ { - "type": "combo_box", - "name": "combo_box_3", - "value": "@fields.feature_default_choice", + "type": "template", + "name": "tools_activity", + "value": "tools_activity", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "completed", + "action_id": "emit", "args": [ - "feature_choice_tracker_3", - "@local.combo_box_3" + "completed" ], - "_raw": "changed | set_field:feature_choice_tracker_3:@local.combo_box_3", - "_cleaned": "changed | set_field:feature_choice_tracker_3:@local.combo_box_3" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" } ], - "parameter_list": { - "answer_list": "@local.answer_list", - "placeholder": "@local.placeholder" - }, - "_nested_name": "combo_box_3", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@fields.feature_default_choice", - "matchedExpression": "@fields.feature_default_choice", - "type": "fields", - "fieldName": "feature_default_choice" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.combo_box_3", - "matchedExpression": "@local.combo_box_3", - "type": "local", - "fieldName": "combo_box_3" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_3:@local.combo_box_3", - "matchedExpression": "@local.combo_box_3", - "type": "local", - "fieldName": "combo_box_3" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_3:@local.combo_box_3", - "matchedExpression": "@local.combo_box_3", - "type": "local", - "fieldName": "combo_box_3" - } - ] - } - }, - "parameter_list": { - "answer_list": [ + "rows": [ + { + "type": "nested_properties", + "name": "workshop_activity", + "rows": [ { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" + "type": "nested_properties", + "name": "content_box", + "value": "w_example_tools", + "rows": [], + "_nested_name": "tools_activity.workshop_activity.content_box" } ], - "placeholder": [ - { - "fullExpression": "@local.placeholder", - "matchedExpression": "@local.placeholder", - "type": "local", - "fieldName": "placeholder" - } - ] + "_nested_name": "tools_activity.workshop_activity" } - }, - "_dynamicDependencies": { - "@fields.feature_default_choice": [ - "value" - ], - "@local.combo_box_3": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" - ], - "@local.placeholder": [ - "parameter_list.placeholder" - ] - } - }, + ], + "_nested_name": "tools_activity" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_example_home_practice", + "status": "released", + "rows": [ { - "type": "combo_box", - "name": "combo_box_4", - "value": "@fields.feature_default_choice", + "type": "template", + "name": "home_practice", + "value": "home_practice", "action_list": [ { - "trigger": "changed", - "action_id": "set_field", + "trigger": "completed", + "action_id": "emit", "args": [ - "feature_choice_tracker_4", - "@local.combo_box_4" + "completed" ], - "_raw": "changed | set_field:feature_choice_tracker_4:@local.combo_box_4", - "_cleaned": "changed | set_field:feature_choice_tracker_4:@local.combo_box_4" + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" } ], - "parameter_list": { - "answer_list": "@local.answer_list", - "placeholder": "@local.placeholder", - "prioritise_placeholder": "false" - }, - "_nested_name": "combo_box_4", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@fields.feature_default_choice", - "matchedExpression": "@fields.feature_default_choice", - "type": "fields", - "fieldName": "feature_default_choice" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.combo_box_4", - "matchedExpression": "@local.combo_box_4", - "type": "local", - "fieldName": "combo_box_4" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_4:@local.combo_box_4", - "matchedExpression": "@local.combo_box_4", - "type": "local", - "fieldName": "combo_box_4" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_4:@local.combo_box_4", - "matchedExpression": "@local.combo_box_4", - "type": "local", - "fieldName": "combo_box_4" - } - ] - } - }, - "parameter_list": { - "answer_list": [ + "rows": [ + { + "type": "nested_properties", + "name": "workshop_activity", + "rows": [ { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" + "type": "nested_properties", + "name": "content_box", + "rows": [ + { + "name": "text_1", + "value": "First bit of text. The next button takes you to the story.", + "type": "set_variable", + "_nested_name": "home_practice.workshop_activity.content_box.text_1" + }, + { + "name": "button_1", + "value": "Pop-up button", + "action_list": [ + { + "trigger": "click", + "action_id": "pop_up", + "args": [ + "w_example_pop-up" + ], + "_raw": "click | pop_up:w_example_pop-up", + "_cleaned": "click | pop_up:w_example_pop-up" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "home_practice.workshop_activity.content_box.button_1" + }, + { + "name": "text_2", + "value": "Second bit of text. The button below takes you to the audio activity.", + "hidden": false, + "type": "set_variable", + "_nested_name": "home_practice.workshop_activity.content_box.text_2" + }, + { + "name": "button_2", + "value": "Button 2", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "w_example_listen" + ], + "_raw": "click | go_to:w_example_listen", + "_cleaned": "click | go_to:w_example_listen" + } + ], + "hidden": false, + "type": "set_variable", + "_nested_name": "home_practice.workshop_activity.content_box.button_2" + } + ], + "_nested_name": "home_practice.workshop_activity.content_box" } ], - "placeholder": [ - { - "fullExpression": "@local.placeholder", - "matchedExpression": "@local.placeholder", - "type": "local", - "fieldName": "placeholder" - } - ] + "_nested_name": "home_practice.workshop_activity" } + ], + "_nested_name": "home_practice" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + }, + { + "flow_type": "template", + "flow_name": "w_example_ending", + "status": "released", + "rows": [ + { + "type": "template", + "name": "ending", + "value": "ending", + "rows": [], + "_nested_name": "ending" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/example_templates/example_workshop.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_round_button", + "status": "released", + "rows": [ + { + "type": "round_button", + "name": "round_button_1", + "value": "Value", + "parameter_list": { + "icon_src": "/plh_images/icons/letter_outline.svg", + "text": "Message", + "style": "home_screen dark_orange" }, - "_dynamicDependencies": { - "@fields.feature_default_choice": [ - "value" - ], - "@local.combo_box_4": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" - ], - "@local.placeholder": [ - "parameter_list.placeholder" - ] - } + "_nested_name": "round_button_1" }, { - "type": "text", - "name": "text_5", - "value": "Combo box 5: \nShows @local.placeholder when no user input is given and when user input is deleted.", - "_nested_name": "text_5", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Combo box 5: \nShows @local.placeholder when no user input is given and when user input is deleted.", - "matchedExpression": "@local.placeholder", - "type": "local", - "fieldName": "placeholder" - } - ] + "type": "round_button", + "name": "round_button_2", + "value": "Value", + "parameter_list": { + "icon_src": "/plh_images/icons/letter_outline.svg", + "text": "Start", + "style": "home_screen yellow" }, - "_dynamicDependencies": { - "@local.placeholder": [ - "value" - ] - } + "_nested_name": "round_button_2" }, { - "type": "combo_box", - "name": "combo_box_5", - "value": "@fields.feature_default_choice", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "feature_choice_tracker_5", - "@local.combo_box_5" - ], - "_raw": "changed | set_field:feature_choice_tracker_5:@local.combo_box_5", - "_cleaned": "changed | set_field:feature_choice_tracker_5:@local.combo_box_5" - } - ], + "type": "round_button", + "name": "round_button_2", + "value": "Value", "parameter_list": { - "answer_list": "@local.answer_list", - "placeholder": "@local.placeholder", - "prioritise_placeholder": "true" + "icon_src": "/plh_images/icons/letter_outline.svg", + "style": "home_screen orange" }, - "_nested_name": "combo_box_5", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@fields.feature_default_choice", - "matchedExpression": "@fields.feature_default_choice", - "type": "fields", - "fieldName": "feature_default_choice" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.combo_box_5", - "matchedExpression": "@local.combo_box_5", - "type": "local", - "fieldName": "combo_box_5" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_5:@local.combo_box_5", - "matchedExpression": "@local.combo_box_5", - "type": "local", - "fieldName": "combo_box_5" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:feature_choice_tracker_5:@local.combo_box_5", - "matchedExpression": "@local.combo_box_5", - "type": "local", - "fieldName": "combo_box_5" - } - ] - } - }, - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list", - "matchedExpression": "@local.answer_list", - "type": "local", - "fieldName": "answer_list" - } - ], - "placeholder": [ - { - "fullExpression": "@local.placeholder", - "matchedExpression": "@local.placeholder", - "type": "local", - "fieldName": "placeholder" - } - ] - } + "_nested_name": "round_button_2" + }, + { + "type": "round_button", + "name": "round_button_3", + "value": "Value", + "parameter_list": { + "icon_src": "airplane" }, - "_dynamicDependencies": { - "@fields.feature_default_choice": [ - "value" - ], - "@local.combo_box_5": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.answer_list": [ - "parameter_list.answer_list" - ], - "@local.placeholder": [ - "parameter_list.placeholder" - ] - } + "_nested_name": "round_button_3" + }, + { + "type": "round_button", + "name": "round_button_3", + "value": "Value", + "parameter_list": { + "icon_src": "/plh_images/icons/cross_outline.svg", + "style": "alternative" + }, + "_nested_name": "round_button_3" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_prioritise_placeholder.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_buttons.xlsx" }, { "flow_type": "template", - "flow_name": "feature_tile", + "flow_name": "feature_buttons", "status": "released", "rows": [ { - "type": "tile_component", - "name": "tile_example_1", + "type": "button", + "name": "btn_example_1", + "value": "navigation", "parameter_list": { - "icon_src": "plh_images/icons/star.svg", - "first_line_text": "First item text", - "second_line_text": "Second item text", - "style": "quick_start_passive" + "style": "navigation high", + "button_align": "right" }, - "_nested_name": "tile_example_1" + "_nested_name": "btn_example_1" }, { - "name": "icon_src", - "type": "set_variable", - "_nested_name": "icon_src" + "type": "button", + "name": "btn_example_2", + "value": "information", + "parameter_list": { + "style": "information flexible", + "text_align": "left", + "button_align": "left" + }, + "_nested_name": "btn_example_2" }, { - "name": "first_line_text", - "type": "set_variable", - "_nested_name": "first_line_text" + "type": "button", + "name": "btn_example_3", + "value": "make me smile", + "parameter_list": { + "style": "make_me_smile", + "text_align": "right" + }, + "_nested_name": "btn_example_3" }, { - "name": "second_line_text", - "type": "set_variable", - "_nested_name": "second_line_text" + "type": "button", + "name": "btn_example_4", + "value": "get me going", + "parameter_list": { + "style": "get_me_going full", + "text_align": "center" + }, + "_nested_name": "btn_example_4" }, { - "name": "style", - "type": "set_variable", - "_nested_name": "style" + "type": "button", + "name": "btn_example_9", + "value": "options", + "parameter_list": { + "style": "options", + "text_align": "center" + }, + "_nested_name": "btn_example_9" }, { - "type": "tile_component", - "name": "tile_example_2", + "type": "button", + "name": "btn_example_9", + "value": "some text as an example ", "parameter_list": { - "first_line_text": "Second item text", - "second_line_text": "Second item text", - "style": "quick_start" + "style": "flexible tall alternative information", + "text_align": "center" }, - "_nested_name": "tile_example_2" + "_nested_name": "btn_example_9" }, { - "name": "first_line_text", - "type": "set_variable", - "_nested_name": "first_line_text" + "type": "button", + "value": "Example title orange button big", + "name": "button", + "_nested_name": "button" }, { - "name": "second_line_text", - "type": "set_variable", - "_nested_name": "second_line_text" + "type": "button", + "value": "text", + "name": "button", + "_nested_name": "button" }, { - "name": "style", - "type": "set_variable", - "_nested_name": "style" + "type": "title", + "value": "Display group ", + "name": "title", + "_nested_name": "title" }, { - "type": "tile_component", - "name": "tile_example_3", - "parameter_list": { - "first_line_text": "Third item text", - "second_line_text": "Third item text", - "style": "quick_start_blue" - }, - "_nested_name": "tile_example_3" + "type": "display_group", + "parameter_list": { + "style": "two_columns" + }, + "rows": [ + { + "type": "button", + "name": "btn_example_3", + "value": "make me smile", + "_nested_name": "display_group.btn_example_3" + }, + { + "type": "button", + "name": "btn_example_4", + "value": "get me going", + "_nested_name": "display_group.btn_example_4" + }, + { + "type": "button", + "name": "btn_example_9", + "value": "options", + "_nested_name": "display_group.btn_example_9" + }, + { + "type": "button", + "name": "btn_example_9", + "value": "some text as an example ", + "_nested_name": "display_group.btn_example_9" + }, + { + "type": "button", + "name": "btn_example_3", + "value": "make me smile", + "_nested_name": "display_group.btn_example_3" + }, + { + "type": "button", + "name": "btn_example_4", + "value": "get me going", + "_nested_name": "display_group.btn_example_4" + }, + { + "type": "button", + "name": "btn_example_9", + "value": "options", + "_nested_name": "display_group.btn_example_9" + }, + { + "type": "button", + "name": "btn_example_9", + "value": "some text as an example ", + "_nested_name": "display_group.btn_example_9" + }, + { + "type": "button", + "name": "btn_example_9", + "value": "some text as an example ", + "_nested_name": "display_group.btn_example_9" + } + ], + "name": "display_group", + "_nested_name": "display_group" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_buttons.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_dg_dashed_box_type", + "status": "released", + "rows": [ + { + "type": "display_group", + "name": "dg_example_dashed_box", + "value": "dg_example_dashed_box", + "parameter_list": { + "type": "dashed_box" + }, + "rows": [ + { + "type": "subtitle", + "value": "Subtitle", + "name": "subtitle", + "_nested_name": "dg_example_dashed_box.subtitle" + }, + { + "type": "parent_point_box", + "name": "points_example_1", + "value": 3, + "parameter_list": { + "lottie_src": "lottie_animations/parent_centre.json", + "text": "text two" + }, + "_nested_name": "dg_example_dashed_box.points_example_1" + }, + { + "type": "button", + "name": "btn_example", + "value": "Continue", + "_nested_name": "dg_example_dashed_box.btn_example" + } + ], + "_nested_name": "dg_example_dashed_box" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_dg_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_dg_form_type", + "status": "released", + "rows": [ + { + "type": "display_group", + "name": "dg_example_form", + "value": "dg_example_form", + "parameter_list": { + "type": "form", + "get_device_info": "true", + "button_text": "Send" + }, + "rows": [ + { + "type": "text_box", + "name": "user_name", + "parameter_list": { + "help": "some help text", + "placeholder": "Add your name" + }, + "_nested_name": "dg_example_form.user_name" + }, + { + "type": "text_box", + "name": "user_phone", + "parameter_list": { + "help": "some help text", + "placeholder": "Add your phone number" + }, + "_nested_name": "dg_example_form.user_phone" + }, + { + "type": "simple_checkbox", + "name": "checkbox_1", + "value": false, + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_field_checkbox", + "@local.checkbox_1" + ], + "_raw": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", + "_cleaned": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1" + } + ], + "parameter_list": { + "label_text": "Example answer?" + }, + "_nested_name": "dg_example_form.checkbox_1", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" + } + ] + } + } + }, + "_dynamicDependencies": { + "@local.checkbox_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } + }, + { + "type": "simple_checkbox", + "name": "checkbox_2", + "value": true, + "parameter_list": { + "label_text": "Example answer?" + }, + "_nested_name": "dg_example_form.checkbox_2" + }, + { + "type": "title", + "value": "Some text here", + "name": "title", + "_nested_name": "dg_example_form.title" + }, + { + "type": "text_area", + "name": "text_area", + "parameter_list": { + "placeholder": "example placeholder" + }, + "_nested_name": "dg_example_form.text_area" + } + ], + "_nested_name": "dg_example_form" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_dg_types.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_lottie_habits", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title_breathe", + "value": "Breathe not yell", + "_nested_name": "title_breathe" }, { - "name": "first_line_text", - "type": "set_variable", - "_nested_name": "first_line_text" + "type": "lottie_animation", + "name": "animation_breathe", + "value": "lottie_animations/parent_points/habit-breathe.json", + "_nested_name": "animation_breathe" }, { - "name": "second_line_text", - "type": "set_variable", - "_nested_name": "second_line_text" + "type": "title", + "name": "title_consequence", + "value": "Calm consequence", + "_nested_name": "title_consequence" }, { - "name": "style", - "type": "set_variable", - "_nested_name": "style" + "type": "lottie_animation", + "name": "animation_consequence", + "value": "lottie_animations/parent_points/habit-consequence.json", + "_nested_name": "animation_consequence" }, { - "type": "tile_component", - "name": "tile_example_3", - "parameter_list": { - "first_line_text": "Fourth item text", - "second_line_text": "Fourth item text", - "style": "quick_start_red" - }, - "_nested_name": "tile_example_3" + "type": "title", + "name": "title_breathe", + "value": "Good money choice", + "_nested_name": "title_breathe" }, { - "name": "first_line_text", - "type": "set_variable", - "_nested_name": "first_line_text" + "type": "lottie_animation", + "name": "animation_money", + "value": "lottie_animations/parent_points/habit-money.json", + "_nested_name": "animation_money" }, { - "name": "second_line_text", - "type": "set_variable", - "_nested_name": "second_line_text" + "type": "title", + "name": "title_praise_teen", + "value": "Praise your teen", + "_nested_name": "title_praise_teen" }, { - "name": "style", - "type": "set_variable", - "_nested_name": "style" + "type": "lottie_animation", + "name": "animation_praise_teen", + "value": "lottie_animations/parent_points/habit-praise-teen.json", + "_nested_name": "animation_praise_teen" }, { - "type": "tile_component", - "name": "tile_example_3", - "parameter_list": { - "first_line_text": "With Others", - "style": "workshop_page", - "icon_src": "plh_images/home_page/home_page_workshops.svg" - }, - "_nested_name": "tile_example_3" + "type": "title", + "name": "title_praise_yourself", + "value": "Praise Yourself", + "_nested_name": "title_praise_yourself" }, { - "name": "first_line_text", - "type": "set_variable", - "_nested_name": "first_line_text" + "type": "lottie_animation", + "name": "animation_praise_yourself", + "value": "lottie_animations/parent_points/habit-praise-yourself.json", + "_nested_name": "animation_praise_yourself" }, { - "name": "second_line_text", - "type": "set_variable", - "_nested_name": "second_line_text" + "type": "title", + "name": "title_relax", + "value": "Relax", + "_nested_name": "title_relax" }, { - "name": "style", - "type": "set_variable", - "_nested_name": "style" + "type": "lottie_animation", + "name": "animation_relax", + "value": "lottie_animations/parent_points/habit-relax.json", + "_nested_name": "animation_relax" }, { - "type": "tile_component", - "name": "tile_example_3", - "parameter_list": { - "first_line_text": "Alone", - "style": "workshop_page", - "icon_src": "plh_images/home_page/home_page_parent_points.svg" - }, - "_nested_name": "tile_example_3" + "type": "title", + "name": "title_safe", + "value": "Safe", + "_nested_name": "title_safe" }, { - "name": "first_line_text", - "type": "set_variable", - "_nested_name": "first_line_text" + "type": "lottie_animation", + "name": "animation_safe", + "value": "lottie_animations/parent_points/habit-safe.json", + "_nested_name": "animation_safe" }, { - "name": "second_line_text", - "type": "set_variable", - "_nested_name": "second_line_text" + "type": "title", + "name": "title_spend_time", + "value": "One-on-one time", + "_nested_name": "title_spend_time" }, { - "name": "style", - "type": "set_variable", - "_nested_name": "style" - }, + "type": "lottie_animation", + "name": "animation_spend_time", + "value": "lottie_animations/parent_points/habit-spend-time.json", + "_nested_name": "animation_spend_time" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_lottie_habits.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_lottie_habits_2", + "status": "released", + "rows": [ { "type": "display_group", - "name": "dg", + "name": "animations", + "value": "animations", "parameter_list": { - "style": "parent_point" + "style": "two_columns" }, "rows": [ { - "type": "tile_component", - "name": "tile_example_1", - "parameter_list": { - "icon_src": "plh_images/icons/star.svg", - "first_line_text": "First itemt", - "second_line_text": "Second", - "style": "parent_centre_2" - }, - "_nested_name": "dg.tile_example_1" + "type": "lottie_animation", + "name": "animation_breathe", + "value": "lottie_animations/parent_points/habit-breathe.json", + "_nested_name": "animations.animation_breathe" }, { - "type": "tile_component", - "name": "tile_example_1", - "parameter_list": { - "icon_src": "plh_images/icons/star.svg", - "first_line_text": "First item", - "second_line_text": "Second", - "style": "parent_centre_3" - }, - "_nested_name": "dg.tile_example_1" + "type": "lottie_animation", + "name": "animation_consequence", + "value": "lottie_animations/parent_points/habit-consequence.json", + "_nested_name": "animations.animation_consequence" }, { - "type": "tile_component", - "name": "tile_example_1", - "parameter_list": { - "icon_src": "plh_images/icons/star.svg", - "first_line_text": "First itemt", - "second_line_text": "Second", - "style": "parent_centre_4" - }, - "_nested_name": "dg.tile_example_1" + "type": "lottie_animation", + "name": "animation_money", + "value": "lottie_animations/parent_points/habit-money.json", + "_nested_name": "animations.animation_money" }, { - "type": "tile_component", - "name": "tile_example_1", - "parameter_list": { - "icon_src": "plh_images/icons/star.svg", - "first_line_text": "First", - "second_line_text": "Second", - "style": "parent_centre_1" - }, - "_nested_name": "dg.tile_example_1" + "type": "lottie_animation", + "name": "animation_praise_teen", + "value": "lottie_animations/parent_points/habit-praise-teen.json", + "_nested_name": "animations.animation_praise_teen" }, { - "type": "tile_component", - "name": "tile_example_1", - "parameter_list": { - "icon_src": "plh_images/icons/star.svg", - "first_line_text": "First itemt", - "second_line_text": "Second", - "style": "parent_centre_1" - }, - "_nested_name": "dg.tile_example_1" + "type": "lottie_animation", + "name": "animation_praise_yourself", + "value": "lottie_animations/parent_points/habit-praise-yourself.json", + "_nested_name": "animations.animation_praise_yourself" }, { - "type": "tile_component", - "name": "tile_example_1", - "parameter_list": { - "icon_src": "plh_images/icons/star.svg", - "first_line_text": "First item", - "second_line_text": "Second", - "style": "parent_centre_2" - }, - "_nested_name": "dg.tile_example_1" + "type": "lottie_animation", + "name": "animation_relax", + "value": "lottie_animations/parent_points/habit-relax.json", + "_nested_name": "animations.animation_relax" }, { - "type": "tile_component", - "name": "tile_example_1", - "parameter_list": { - "icon_src": "plh_images/icons/star.svg", - "first_line_text": "First itemt", - "second_line_text": "Second", - "style": "parent_centre_3" - }, - "_nested_name": "dg.tile_example_1" + "type": "lottie_animation", + "name": "animation_safe", + "value": "lottie_animations/parent_points/habit-safe.json", + "_nested_name": "animations.animation_safe" }, { - "type": "tile_component", - "name": "tile_example_1", - "parameter_list": { - "first_line_text": "First", - "icon_src": "plh_images/icons/star.svg", - "second_line_text": "Second", - "style": "parent_centre_4" - }, - "_nested_name": "dg.tile_example_1" + "type": "lottie_animation", + "name": "animation_spend_time", + "value": "lottie_animations/parent_points/habit-spend-time.json", + "_nested_name": "animations.animation_spend_time" }, { - "type": "tile_component", - "name": "tile_example_1", - "parameter_list": { - "first_line_text": "First", - "icon_src": "plh_images/icons/star.svg", - "second_line_text": "Second", - "style": "parent_centre_4" - }, - "_nested_name": "dg.tile_example_1" - } - ], - "_nested_name": "dg" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_timer", - "status": "released", - "rows": [ - { - "name": "help_text", - "value": "Click to start the timer", - "type": "set_variable", - "_nested_name": "help_text" - }, - { - "type": "timer", - "name": "timer_with_help", - "parameter_list": { - "help": "@local.help_text", - "title": "with help" - }, - "_nested_name": "timer_with_help", - "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] - } - }, - "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" - ] - } - }, - { - "type": "timer", - "name": "timer_is_editable_on_playing", - "parameter_list": { - "help": "@local.help_text", - "title": "is editable on playing", - "is_editable_on_playing": "true" - }, - "_nested_name": "timer_is_editable_on_playing", - "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] - } - }, - "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" - ] - } - }, - { - "type": "timer", - "name": "timer_with_starting_minutes_5", - "parameter_list": { - "help": "@local.help_text", - "title": "with starting minutes 5", - "starting_minutes": "5" - }, - "_nested_name": "timer_with_starting_minutes_5", - "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] - } - }, - "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" - ] - } - }, - { - "type": "timer", - "name": "timer_with_starting_seconds_20", - "parameter_list": { - "help": "@local.help_text", - "title": "with starting seconds 20", - "starting_seconds": "20" - }, - "_nested_name": "timer_with_starting_seconds_20", - "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] - } - }, - "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" - ] - } - }, - { - "type": "timer", - "name": "timer_with_duration_extension_2", - "parameter_list": { - "help": "@local.help_text", - "title": "with duration_extension 2", - "duration_extension": "2" - }, - "_nested_name": "timer_with_duration_extension_2", - "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] - } - }, - "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" - ] - } - }, - { - "type": "timer", - "name": "timer_with_value", - "value": 5, - "parameter_list": { - "help": "@local.help_text", - "title": "with value 5" - }, - "_nested_name": "timer_with_value", - "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] + "type": "lottie_animation", + "name": "animation_breathe", + "value": "lottie_animations/parent_points/habit-breathe.json", + "_nested_name": "animations.animation_breathe" + }, + { + "type": "lottie_animation", + "name": "animation_consequence", + "value": "lottie_animations/parent_points/habit-consequence.json", + "_nested_name": "animations.animation_consequence" + }, + { + "type": "lottie_animation", + "name": "animation_money", + "value": "lottie_animations/parent_points/habit-money.json", + "_nested_name": "animations.animation_money" + }, + { + "type": "lottie_animation", + "name": "animation_praise_teen", + "value": "lottie_animations/parent_points/habit-praise-teen.json", + "_nested_name": "animations.animation_praise_teen" + }, + { + "type": "lottie_animation", + "name": "animation_praise_yourself", + "value": "lottie_animations/parent_points/habit-praise-yourself.json", + "_nested_name": "animations.animation_praise_yourself" + }, + { + "type": "lottie_animation", + "name": "animation_relax", + "value": "lottie_animations/parent_points/habit-relax.json", + "_nested_name": "animations.animation_relax" + }, + { + "type": "lottie_animation", + "name": "animation_safe", + "value": "lottie_animations/parent_points/habit-safe.json", + "_nested_name": "animations.animation_safe" + }, + { + "type": "lottie_animation", + "name": "animation_spend_time", + "value": "lottie_animations/parent_points/habit-spend-time.json", + "_nested_name": "animations.animation_spend_time" + }, + { + "type": "lottie_animation", + "name": "animation_breathe", + "value": "lottie_animations/parent_points/habit-breathe.json", + "_nested_name": "animations.animation_breathe" + }, + { + "type": "lottie_animation", + "name": "animation_consequence", + "value": "lottie_animations/parent_points/habit-consequence.json", + "_nested_name": "animations.animation_consequence" + }, + { + "type": "lottie_animation", + "name": "animation_money", + "value": "lottie_animations/parent_points/habit-money.json", + "_nested_name": "animations.animation_money" + }, + { + "type": "lottie_animation", + "name": "animation_praise_teen", + "value": "lottie_animations/parent_points/habit-praise-teen.json", + "_nested_name": "animations.animation_praise_teen" + }, + { + "type": "lottie_animation", + "name": "animation_praise_yourself", + "value": "lottie_animations/parent_points/habit-praise-yourself.json", + "_nested_name": "animations.animation_praise_yourself" + }, + { + "type": "lottie_animation", + "name": "animation_relax", + "value": "lottie_animations/parent_points/habit-relax.json", + "_nested_name": "animations.animation_relax" + }, + { + "type": "lottie_animation", + "name": "animation_safe", + "value": "lottie_animations/parent_points/habit-safe.json", + "_nested_name": "animations.animation_safe" + }, + { + "type": "lottie_animation", + "name": "animation_spend_time", + "value": "lottie_animations/parent_points/habit-spend-time.json", + "_nested_name": "animations.animation_spend_time" + }, + { + "type": "lottie_animation", + "name": "animation_breathe", + "value": "lottie_animations/parent_points/habit-breathe.json", + "_nested_name": "animations.animation_breathe" + }, + { + "type": "lottie_animation", + "name": "animation_consequence", + "value": "lottie_animations/parent_points/habit-consequence.json", + "_nested_name": "animations.animation_consequence" + }, + { + "type": "lottie_animation", + "name": "animation_money", + "value": "lottie_animations/parent_points/habit-money.json", + "_nested_name": "animations.animation_money" + }, + { + "type": "lottie_animation", + "name": "animation_praise_teen", + "value": "lottie_animations/parent_points/habit-praise-teen.json", + "_nested_name": "animations.animation_praise_teen" + }, + { + "type": "lottie_animation", + "name": "animation_praise_yourself", + "value": "lottie_animations/parent_points/habit-praise-yourself.json", + "_nested_name": "animations.animation_praise_yourself" + }, + { + "type": "lottie_animation", + "name": "animation_relax", + "value": "lottie_animations/parent_points/habit-relax.json", + "_nested_name": "animations.animation_relax" + }, + { + "type": "lottie_animation", + "name": "animation_safe", + "value": "lottie_animations/parent_points/habit-safe.json", + "_nested_name": "animations.animation_safe" + }, + { + "type": "lottie_animation", + "name": "animation_spend_time", + "value": "lottie_animations/parent_points/habit-spend-time.json", + "_nested_name": "animations.animation_spend_time" } - }, - "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" - ] - } + ], + "_nested_name": "animations" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_lottie_habits.xlsx" }, { "flow_type": "template", - "flow_name": "feature_slider", + "flow_name": "feature_text_box_placeholder", "status": "released", "rows": [ { - "name": "help_text", - "value": "some help", + "name": "placeholder", + "value": "placeholder", "type": "set_variable", - "_nested_name": "help_text" + "_nested_name": "placeholder" }, { - "type": "slider", - "name": "slider_with_help", - "parameter_list": { - "help": "@local.help_text", - "min": "0", - "max": "7", - "title": "test title", - "min_value_label": "0", - "max_value_label": "7", - "labels_count": "8", - "no_value": "false" - }, - "_nested_name": "slider_with_help", + "type": "set_field", + "name": "feature_default_input", + "value": "default input", + "_nested_name": "feature_default_input" + }, + { + "type": "text", + "name": "text_1", + "value": "Text box 1: \nShows @local.placeholder before user input is given, and when user input is deleted", + "_nested_name": "text_1", "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] - } + "value": [ + { + "fullExpression": "Text box 1: \nShows @local.placeholder before user input is given, and when user input is deleted", + "matchedExpression": "@local.placeholder", + "type": "local", + "fieldName": "placeholder" + } + ] }, "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" + "@local.placeholder": [ + "value" ] } }, { - "type": "slider", - "name": "slider_without_help", - "parameter_list": { - "min": "0", - "max": "7", - "title": "without help", - "min_value_label": "0", - "max_value_label": "7", - "labels_count": "8", - "no_value": "false" - }, - "_nested_name": "slider_without_help" - }, - { - "type": "slider", - "name": "slider_with_value_2", - "value": 2, + "type": "text_box", + "name": "text_box_1", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_input_tracker_1", + "@local.text_box_1" + ], + "_raw": "changed | set_field: feature_input_tracker_1:@local.text_box_1", + "_cleaned": "changed | set_field: feature_input_tracker_1:@local.text_box_1" + } + ], "parameter_list": { - "help": "@local.help_text", - "min": "0", - "max": "7", - "title": "with value 2", - "min_value_label": "0", - "max_value_label": "7", - "labels_count": "8", - "no_value": "false" + "placeholder": "@local.placeholder" }, - "_nested_name": "slider_with_value_2", + "_nested_name": "text_box_1", "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.text_box_1", + "matchedExpression": "@local.text_box_1", + "type": "local", + "fieldName": "text_box_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_1:@local.text_box_1", + "matchedExpression": "@local.text_box_1", + "type": "local", + "fieldName": "text_box_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_1:@local.text_box_1", + "matchedExpression": "@local.text_box_1", + "type": "local", + "fieldName": "text_box_1" + } + ] + } + }, "parameter_list": { - "help": [ + "placeholder": [ { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", + "fullExpression": "@local.placeholder", + "matchedExpression": "@local.placeholder", "type": "local", - "fieldName": "help_text" + "fieldName": "placeholder" } ] } }, "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" + "@local.text_box_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.placeholder": [ + "parameter_list.placeholder" ] } }, { - "type": "slider", - "name": "slider_with_step_2", - "parameter_list": { - "help": "@local.help_text", - "min": "0", - "max": "8", - "title": "step = 2", - "step": "2", - "min_value_label": "0", - "max_value_label": "8", - "labels_count": "8", - "no_value": "false" - }, - "_nested_name": "slider_with_step_2", + "type": "text", + "name": "text_2", + "value": "Text box 2: \nShows @fields.feature_default_input before user input is given. Is blank when user input is deleted.", + "_nested_name": "text_2", "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] - } + "value": [ + { + "fullExpression": "Text box 2: \nShows @fields.feature_default_input before user input is given. Is blank when user input is deleted.", + "matchedExpression": "@fields.feature_default_input", + "type": "fields", + "fieldName": "feature_default_input" + } + ] }, "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" + "@fields.feature_default_input": [ + "value" ] } }, { - "type": "slider", - "name": "slider_without_value", - "parameter_list": { - "help": "@local.help_text", - "min": "0", - "max": "7", - "title": "no value", - "min_value_label": "0", - "max_value_label": "7", - "labels_count": "8", - "no_value": "true" - }, - "_nested_name": "slider_without_value", + "type": "text_box", + "name": "text_box_2", + "value": "@fields.feature_default_input", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_input_tracker_2", + "@local.text_box_2" + ], + "_raw": "changed | set_field: feature_input_tracker_2:@local.text_box_2", + "_cleaned": "changed | set_field: feature_input_tracker_2:@local.text_box_2" + } + ], + "_nested_name": "text_box_2", "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] + "value": [ + { + "fullExpression": "@fields.feature_default_input", + "matchedExpression": "@fields.feature_default_input", + "type": "fields", + "fieldName": "feature_default_input" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.text_box_2", + "matchedExpression": "@local.text_box_2", + "type": "local", + "fieldName": "text_box_2" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_2:@local.text_box_2", + "matchedExpression": "@local.text_box_2", + "type": "local", + "fieldName": "text_box_2" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_2:@local.text_box_2", + "matchedExpression": "@local.text_box_2", + "type": "local", + "fieldName": "text_box_2" + } + ] + } } }, "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" + "@fields.feature_default_input": [ + "value" + ], + "@local.text_box_2": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" ] } }, { - "type": "slider", - "name": "slider_without_max_3", - "parameter_list": { - "min": "0", - "help": "@local.help_text", - "max": "3", - "title": "with max = 3", - "min_value_label": "0", - "max_value_label": "3", - "labels_count": "8", - "no_value": "false" - }, - "_nested_name": "slider_without_max_3", + "type": "text", + "name": "text_3", + "value": "Text boxes 3 and 4: \nShows @fields.feature_default_input before user input is given. Shows @local.placeholder when user input is deleted.", + "_nested_name": "text_3", "_dynamicFields": { - "parameter_list": { - "help": [ - { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", - "type": "local", - "fieldName": "help_text" - } - ] - } + "value": [ + { + "fullExpression": "Text boxes 3 and 4: \nShows @fields.feature_default_input before user input is given. Shows @local.placeholder when user input is deleted.", + "matchedExpression": "@fields.feature_default_input", + "type": "fields", + "fieldName": "feature_default_input" + }, + { + "fullExpression": "Text boxes 3 and 4: \nShows @fields.feature_default_input before user input is given. Shows @local.placeholder when user input is deleted.", + "matchedExpression": "@local.placeholder", + "type": "local", + "fieldName": "placeholder" + } + ] }, "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" + "@fields.feature_default_input": [ + "value" + ], + "@local.placeholder": [ + "value" ] } }, { - "type": "slider", - "name": "slider_without_value_labels", + "type": "text_box", + "name": "text_box_3", + "value": "@fields.feature_default_input", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_input_tracker_3", + "@local.text_box_3" + ], + "_raw": "changed | set_field: feature_input_tracker_3:@local.text_box_3", + "_cleaned": "changed | set_field: feature_input_tracker_3:@local.text_box_3" + } + ], "parameter_list": { - "min": "0", - "help": "@local.help_text", - "max": "3", - "title": "without value labels", - "no_value": "false" + "placeholder": "@local.placeholder" }, - "_nested_name": "slider_without_value_labels", + "_nested_name": "text_box_3", "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.feature_default_input", + "matchedExpression": "@fields.feature_default_input", + "type": "fields", + "fieldName": "feature_default_input" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.text_box_3", + "matchedExpression": "@local.text_box_3", + "type": "local", + "fieldName": "text_box_3" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_3:@local.text_box_3", + "matchedExpression": "@local.text_box_3", + "type": "local", + "fieldName": "text_box_3" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_3:@local.text_box_3", + "matchedExpression": "@local.text_box_3", + "type": "local", + "fieldName": "text_box_3" + } + ] + } + }, "parameter_list": { - "help": [ + "placeholder": [ { - "fullExpression": "@local.help_text", - "matchedExpression": "@local.help_text", + "fullExpression": "@local.placeholder", + "matchedExpression": "@local.placeholder", "type": "local", - "fieldName": "help_text" + "fieldName": "placeholder" } ] } }, "_dynamicDependencies": { - "@local.help_text": [ - "parameter_list.help" - ] - } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_number_selector", - "status": "released", - "rows": [ - { - "name": "category_list", - "value": [ - "0-10", - "11-20", - "21-30", - "31-40", - "41-50", - "51-60", - "61-70", - "71-80", - "80+" - ], - "type": "set_variable", - "_nested_name": "category_list" + "@fields.feature_default_input": [ + "value" + ], + "@local.text_box_3": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.placeholder": [ + "parameter_list.placeholder" + ] + } }, { - "type": "number_selector", - "name": "number_selector", + "type": "text_box", + "name": "text_box_4", + "value": "@fields.feature_default_input", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_input_tracker_4", + "@local.text_box_4" + ], + "_raw": "changed | set_field: feature_input_tracker_4:@local.text_box_4", + "_cleaned": "changed | set_field: feature_input_tracker_4:@local.text_box_4" + } + ], "parameter_list": { - "category_list": "@local.category_list", - "first_display_term": "4" + "placeholder": "@local.placeholder", + "prioritise_placeholder": "false" }, - "_nested_name": "number_selector", + "_nested_name": "text_box_4", "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.feature_default_input", + "matchedExpression": "@fields.feature_default_input", + "type": "fields", + "fieldName": "feature_default_input" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.text_box_4", + "matchedExpression": "@local.text_box_4", + "type": "local", + "fieldName": "text_box_4" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_4:@local.text_box_4", + "matchedExpression": "@local.text_box_4", + "type": "local", + "fieldName": "text_box_4" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_4:@local.text_box_4", + "matchedExpression": "@local.text_box_4", + "type": "local", + "fieldName": "text_box_4" + } + ] + } + }, "parameter_list": { - "category_list": [ + "placeholder": [ { - "fullExpression": "@local.category_list", - "matchedExpression": "@local.category_list", + "fullExpression": "@local.placeholder", + "matchedExpression": "@local.placeholder", "type": "local", - "fieldName": "category_list" + "fieldName": "placeholder" } ] } }, "_dynamicDependencies": { - "@local.category_list": [ - "parameter_list.category_list" + "@fields.feature_default_input": [ + "value" + ], + "@local.text_box_4": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.placeholder": [ + "parameter_list.placeholder" ] } - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_text_box", - "status": "released", - "rows": [ - { - "name": "blank_display_text", - "value": "Click here to answer", - "type": "set_variable", - "_nested_name": "blank_display_text" }, { - "type": "set_default", - "name": "_value", - "value": "@local.default_value", - "_nested_name": "_value", + "type": "text", + "name": "text_5", + "value": "Text box 5: \nShows @local.placeholder before user input is given, and when user input is deleted.", + "_nested_name": "text_5", "_dynamicFields": { "value": [ { - "fullExpression": "@local.default_value", - "matchedExpression": "@local.default_value", + "fullExpression": "Text box 5: \nShows @local.placeholder before user input is given, and when user input is deleted.", + "matchedExpression": "@local.placeholder", "type": "local", - "fieldName": "default_value" + "fieldName": "placeholder" } ] }, "_dynamicDependencies": { - "@local.default_value": [ + "@local.placeholder": [ "value" ] } }, { "type": "text_box", - "name": "text_box", + "name": "text_box_5", + "value": "@fields.feature_default_input", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_input_tracker_5", + "@local.text_box_5" + ], + "_raw": "changed | set_field: feature_input_tracker_5:@local.text_box_5", + "_cleaned": "changed | set_field: feature_input_tracker_5:@local.text_box_5" + } + ], "parameter_list": { - "blank_display_text": "@local.blank_display_text", - "help": "some help text", - "placeholder": "example placeholder" + "placeholder": "@local.placeholder", + "prioritise_placeholder": "true" }, - "_nested_name": "text_box", + "_nested_name": "text_box_5", "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.feature_default_input", + "matchedExpression": "@fields.feature_default_input", + "type": "fields", + "fieldName": "feature_default_input" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.text_box_5", + "matchedExpression": "@local.text_box_5", + "type": "local", + "fieldName": "text_box_5" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_5:@local.text_box_5", + "matchedExpression": "@local.text_box_5", + "type": "local", + "fieldName": "text_box_5" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: feature_input_tracker_5:@local.text_box_5", + "matchedExpression": "@local.text_box_5", + "type": "local", + "fieldName": "text_box_5" + } + ] + } + }, "parameter_list": { - "blank_display_text": [ + "placeholder": [ { - "fullExpression": "@local.blank_display_text", - "matchedExpression": "@local.blank_display_text", + "fullExpression": "@local.placeholder", + "matchedExpression": "@local.placeholder", "type": "local", - "fieldName": "blank_display_text" + "fieldName": "placeholder" } ] } }, "_dynamicDependencies": { - "@local.blank_display_text": [ - "parameter_list.blank_display_text" + "@fields.feature_default_input": [ + "value" + ], + "@local.text_box_5": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.placeholder": [ + "parameter_list.placeholder" ] } - }, - { - "type": "text_box", - "name": "text_box_1", - "value": "Answer 1", - "parameter_list": { - "help": "some help text", - "text_align": "right", - "placeholder": "Add your answer" - }, - "_nested_name": "text_box_1" - }, - { - "type": "text_box", - "name": "text_box_2", - "value": "Answer 2", - "parameter_list": { - "help": "some help text", - "text_align": "left", - "placeholder": "Add your answer 2" - }, - "_nested_name": "text_box_2" - }, - { - "type": "text_box", - "name": "text_box_3", - "value": "Answer 3", - "parameter_list": { - "text_align": "center", - "placeholder": "Add your answer 3" - }, - "_nested_name": "text_box_3" - }, - { - "type": "text_box", - "name": "text_box_3", - "value": "Number Input", - "parameter_list": { - "text_align": "center", - "placeholder": "Add your answer 3", - "number_input": "true" - }, - "_nested_name": "text_box_3" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_prioritise_placeholder.xlsx" }, { "flow_type": "template", - "flow_name": "feature_combo_box", + "flow_name": "feature_combo_box_placeholder", "status": "released", "rows": [ { @@ -51411,16 +55460,90 @@ "type": "set_variable", "_nested_name": "answer_list" }, + { + "name": "placeholder", + "value": "placeholder", + "type": "set_variable", + "_nested_name": "placeholder" + }, + { + "type": "set_field", + "name": "feature_default_choice", + "value": "name_2", + "_nested_name": "feature_default_choice" + }, + { + "type": "text", + "name": "text_1", + "value": "Combo box 1: \nShows @local.placeholder when no user input is given and when user input is deleted.", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Combo box 1: \nShows @local.placeholder when no user input is given and when user input is deleted.", + "matchedExpression": "@local.placeholder", + "type": "local", + "fieldName": "placeholder" + } + ] + }, + "_dynamicDependencies": { + "@local.placeholder": [ + "value" + ] + } + }, { "type": "combo_box", - "name": "combo_box_defaults", - "value": "nothing", + "name": "combo_box_1", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_choice_tracker_1", + "@local.combo_box_1" + ], + "_raw": "changed | set_field:feature_choice_tracker_1:@local.combo_box_1", + "_cleaned": "changed | set_field:feature_choice_tracker_1:@local.combo_box_1" + } + ], "parameter_list": { "answer_list": "@local.answer_list", - "style": "active" + "placeholder": "@local.placeholder" }, - "_nested_name": "combo_box_defaults", + "_nested_name": "combo_box_1", "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.combo_box_1", + "matchedExpression": "@local.combo_box_1", + "type": "local", + "fieldName": "combo_box_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_1:@local.combo_box_1", + "matchedExpression": "@local.combo_box_1", + "type": "local", + "fieldName": "combo_box_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_1:@local.combo_box_1", + "matchedExpression": "@local.combo_box_1", + "type": "local", + "fieldName": "combo_box_1" + } + ] + } + }, "parameter_list": { "answer_list": [ { @@ -51429,47 +55552,102 @@ "type": "local", "fieldName": "answer_list" } + ], + "placeholder": [ + { + "fullExpression": "@local.placeholder", + "matchedExpression": "@local.placeholder", + "type": "local", + "fieldName": "placeholder" + } ] } }, "_dynamicDependencies": { + "@local.combo_box_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], "@local.answer_list": [ "parameter_list.answer_list" + ], + "@local.placeholder": [ + "parameter_list.placeholder" ] } }, { "type": "text", - "name": "text_result", - "value": "You selected @local.combo_box_defaults", - "_nested_name": "text_result", + "name": "text_2", + "value": "Combo box 2: \nShows the text associated to @fields.feature_default_choice before user input is given. Is blank when user input is deleted.", + "_nested_name": "text_2", "_dynamicFields": { "value": [ { - "fullExpression": "You selected @local.combo_box_defaults", - "matchedExpression": "@local.combo_box_defaults", - "type": "local", - "fieldName": "combo_box_defaults" + "fullExpression": "Combo box 2: \nShows the text associated to @fields.feature_default_choice before user input is given. Is blank when user input is deleted.", + "matchedExpression": "@fields.feature_default_choice", + "type": "fields", + "fieldName": "feature_default_choice" } ] }, "_dynamicDependencies": { - "@local.combo_box_defaults": [ + "@fields.feature_default_choice": [ "value" ] } }, { "type": "combo_box", - "name": "combo_box_text_in_pop_up", + "name": "combo_box_2", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_choice_tracker_2", + "@local.combo_box_2" + ], + "_raw": "changed | set_field:feature_choice_tracker_2:@local.combo_box_2", + "_cleaned": "changed | set_field:feature_choice_tracker_2:@local.combo_box_2" + } + ], "parameter_list": { - "answer_list": "@local.answer_list", - "text": "Text above the answers", - "placeholder": "Click here to answer", - "style": "active" + "answer_list": "@local.answer_list" }, - "_nested_name": "combo_box_text_in_pop_up", + "_nested_name": "combo_box_2", "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.combo_box_2", + "matchedExpression": "@local.combo_box_2", + "type": "local", + "fieldName": "combo_box_2" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_2:@local.combo_box_2", + "matchedExpression": "@local.combo_box_2", + "type": "local", + "fieldName": "combo_box_2" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_2:@local.combo_box_2", + "matchedExpression": "@local.combo_box_2", + "type": "local", + "fieldName": "combo_box_2" + } + ] + } + }, "parameter_list": { "answer_list": [ { @@ -51482,20 +55660,106 @@ } }, "_dynamicDependencies": { + "@local.combo_box_2": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], "@local.answer_list": [ "parameter_list.answer_list" ] } }, + { + "type": "text", + "name": "text_3", + "value": "Combo boxes 3 and 4: \nShows the text associated to @fields.feature_default_choice before user input is given. Shows @local.placeholder when user input is deleted.", + "_nested_name": "text_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Combo boxes 3 and 4: \nShows the text associated to @fields.feature_default_choice before user input is given. Shows @local.placeholder when user input is deleted.", + "matchedExpression": "@fields.feature_default_choice", + "type": "fields", + "fieldName": "feature_default_choice" + }, + { + "fullExpression": "Combo boxes 3 and 4: \nShows the text associated to @fields.feature_default_choice before user input is given. Shows @local.placeholder when user input is deleted.", + "matchedExpression": "@local.placeholder", + "type": "local", + "fieldName": "placeholder" + } + ] + }, + "_dynamicDependencies": { + "@fields.feature_default_choice": [ + "value" + ], + "@local.placeholder": [ + "value" + ] + } + }, { "type": "combo_box", - "name": "combo_box_with_placeholder_1", + "name": "combo_box_3", + "value": "@fields.feature_default_choice", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_choice_tracker_3", + "@local.combo_box_3" + ], + "_raw": "changed | set_field:feature_choice_tracker_3:@local.combo_box_3", + "_cleaned": "changed | set_field:feature_choice_tracker_3:@local.combo_box_3" + } + ], "parameter_list": { "answer_list": "@local.answer_list", - "placeholder": "Click here to answer" + "placeholder": "@local.placeholder" }, - "_nested_name": "combo_box_with_placeholder_1", + "_nested_name": "combo_box_3", "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.feature_default_choice", + "matchedExpression": "@fields.feature_default_choice", + "type": "fields", + "fieldName": "feature_default_choice" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.combo_box_3", + "matchedExpression": "@local.combo_box_3", + "type": "local", + "fieldName": "combo_box_3" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_3:@local.combo_box_3", + "matchedExpression": "@local.combo_box_3", + "type": "local", + "fieldName": "combo_box_3" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_3:@local.combo_box_3", + "matchedExpression": "@local.combo_box_3", + "type": "local", + "fieldName": "combo_box_3" + } + ] + } + }, "parameter_list": { "answer_list": [ { @@ -51504,24 +55768,95 @@ "type": "local", "fieldName": "answer_list" } + ], + "placeholder": [ + { + "fullExpression": "@local.placeholder", + "matchedExpression": "@local.placeholder", + "type": "local", + "fieldName": "placeholder" + } ] } }, "_dynamicDependencies": { + "@fields.feature_default_choice": [ + "value" + ], + "@local.combo_box_3": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], "@local.answer_list": [ "parameter_list.answer_list" + ], + "@local.placeholder": [ + "parameter_list.placeholder" ] } }, { "type": "combo_box", - "name": "combo_box_with_placeholder_2", + "name": "combo_box_4", + "value": "@fields.feature_default_choice", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_choice_tracker_4", + "@local.combo_box_4" + ], + "_raw": "changed | set_field:feature_choice_tracker_4:@local.combo_box_4", + "_cleaned": "changed | set_field:feature_choice_tracker_4:@local.combo_box_4" + } + ], "parameter_list": { "answer_list": "@local.answer_list", - "placeholder": "Click here to answer" + "placeholder": "@local.placeholder", + "prioritise_placeholder": "false" }, - "_nested_name": "combo_box_with_placeholder_2", + "_nested_name": "combo_box_4", "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.feature_default_choice", + "matchedExpression": "@fields.feature_default_choice", + "type": "fields", + "fieldName": "feature_default_choice" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.combo_box_4", + "matchedExpression": "@local.combo_box_4", + "type": "local", + "fieldName": "combo_box_4" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_4:@local.combo_box_4", + "matchedExpression": "@local.combo_box_4", + "type": "local", + "fieldName": "combo_box_4" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_4:@local.combo_box_4", + "matchedExpression": "@local.combo_box_4", + "type": "local", + "fieldName": "combo_box_4" + } + ] + } + }, "parameter_list": { "answer_list": [ { @@ -51530,48 +55865,116 @@ "type": "local", "fieldName": "answer_list" } + ], + "placeholder": [ + { + "fullExpression": "@local.placeholder", + "matchedExpression": "@local.placeholder", + "type": "local", + "fieldName": "placeholder" + } ] } }, "_dynamicDependencies": { + "@fields.feature_default_choice": [ + "value" + ], + "@local.combo_box_4": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], "@local.answer_list": [ "parameter_list.answer_list" + ], + "@local.placeholder": [ + "parameter_list.placeholder" ] } }, { "type": "text", - "name": "text_result", - "value": "You selected @local.combo_box_with_placeholder_2", - "_nested_name": "text_result", + "name": "text_5", + "value": "Combo box 5: \nShows @local.placeholder when no user input is given and when user input is deleted.", + "_nested_name": "text_5", "_dynamicFields": { "value": [ { - "fullExpression": "You selected @local.combo_box_with_placeholder_2", - "matchedExpression": "@local.combo_box_with_placeholder_2", + "fullExpression": "Combo box 5: \nShows @local.placeholder when no user input is given and when user input is deleted.", + "matchedExpression": "@local.placeholder", "type": "local", - "fieldName": "combo_box_with_placeholder_2" + "fieldName": "placeholder" } ] }, "_dynamicDependencies": { - "@local.combo_box_with_placeholder_2": [ + "@local.placeholder": [ "value" ] } }, { "type": "combo_box", - "name": "combo_box_allow_input", + "name": "combo_box_5", + "value": "@fields.feature_default_choice", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "feature_choice_tracker_5", + "@local.combo_box_5" + ], + "_raw": "changed | set_field:feature_choice_tracker_5:@local.combo_box_5", + "_cleaned": "changed | set_field:feature_choice_tracker_5:@local.combo_box_5" + } + ], "parameter_list": { "answer_list": "@local.answer_list", - "placeholder": "Click here to answer", - "input_allowed": "true", - "answer_placeholder": "Type your own", - "style": "active" + "placeholder": "@local.placeholder", + "prioritise_placeholder": "true" }, - "_nested_name": "combo_box_allow_input", + "_nested_name": "combo_box_5", "_dynamicFields": { + "value": [ + { + "fullExpression": "@fields.feature_default_choice", + "matchedExpression": "@fields.feature_default_choice", + "type": "fields", + "fieldName": "feature_default_choice" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.combo_box_5", + "matchedExpression": "@local.combo_box_5", + "type": "local", + "fieldName": "combo_box_5" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_5:@local.combo_box_5", + "matchedExpression": "@local.combo_box_5", + "type": "local", + "fieldName": "combo_box_5" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:feature_choice_tracker_5:@local.combo_box_5", + "matchedExpression": "@local.combo_box_5", + "type": "local", + "fieldName": "combo_box_5" + } + ] + } + }, "parameter_list": { "answer_list": [ { @@ -51580,2137 +55983,2527 @@ "type": "local", "fieldName": "answer_list" } + ], + "placeholder": [ + { + "fullExpression": "@local.placeholder", + "matchedExpression": "@local.placeholder", + "type": "local", + "fieldName": "placeholder" + } ] } }, "_dynamicDependencies": { + "@fields.feature_default_choice": [ + "value" + ], + "@local.combo_box_5": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], "@local.answer_list": [ "parameter_list.answer_list" + ], + "@local.placeholder": [ + "parameter_list.placeholder" ] } } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_prioritise_placeholder.xlsx" }, { "flow_type": "template", - "flow_name": "feature_radio_group", + "flow_name": "feature_tile", "status": "released", "rows": [ { - "name": "answer0_list", - "value": [ - "name:name_var_1 | text:Single", - "name:name_var_2 | text:Pair" - ], + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "icon_src": "plh_images/icons/star.svg", + "first_line_text": "First item text", + "second_line_text": "Second item text", + "style": "quick_start_passive" + }, + "_nested_name": "tile_example_1" + }, + { + "name": "icon_src", "type": "set_variable", - "_nested_name": "answer0_list" + "_nested_name": "icon_src" }, { - "name": "options_per_row", - "value": 2, + "name": "first_line_text", "type": "set_variable", - "_nested_name": "options_per_row" + "_nested_name": "first_line_text" }, { - "type": "radio_group", - "name": "radio_group_square", - "value": "Pair", + "name": "second_line_text", + "type": "set_variable", + "_nested_name": "second_line_text" + }, + { + "name": "style", + "type": "set_variable", + "_nested_name": "style" + }, + { + "type": "tile_component", + "name": "tile_example_2", "parameter_list": { - "answer_list": "@local.answer0_list", - "options_per_row": "@local.options_per_row" - }, - "_nested_name": "radio_group_square", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer0_list", - "matchedExpression": "@local.answer0_list", - "type": "local", - "fieldName": "answer0_list" - } - ], - "options_per_row": [ - { - "fullExpression": "@local.options_per_row", - "matchedExpression": "@local.options_per_row", - "type": "local", - "fieldName": "options_per_row" - } - ] - } + "first_line_text": "Second item text", + "second_line_text": "Second item text", + "style": "quick_start" }, - "_dynamicDependencies": { - "@local.answer0_list": [ - "parameter_list.answer_list" - ], - "@local.options_per_row": [ - "parameter_list.options_per_row" - ] - } + "_nested_name": "tile_example_2" }, { - "name": "answer1_list", - "value": [ - "name:name_var_1 | text:Woman | image:/plh_images/icons/heart.svg", - "name:name_var_2 | text:Man | image:/plh_images/icons/heart.svg" - ], + "name": "first_line_text", "type": "set_variable", - "_nested_name": "answer1_list" + "_nested_name": "first_line_text" }, { - "type": "radio_group", - "name": "radio_group_square_ex1", - "value": "Black", + "name": "second_line_text", + "type": "set_variable", + "_nested_name": "second_line_text" + }, + { + "name": "style", + "type": "set_variable", + "_nested_name": "style" + }, + { + "type": "tile_component", + "name": "tile_example_3", "parameter_list": { - "answer_list": "@local.answer2_list", - "options_per_row": "3" + "first_line_text": "Third item text", + "second_line_text": "Third item text", + "style": "quick_start_blue" }, - "_nested_name": "radio_group_square_ex1", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer2_list", - "matchedExpression": "@local.answer2_list", - "type": "local", - "fieldName": "answer2_list" - } - ] - } + "_nested_name": "tile_example_3" + }, + { + "name": "first_line_text", + "type": "set_variable", + "_nested_name": "first_line_text" + }, + { + "name": "second_line_text", + "type": "set_variable", + "_nested_name": "second_line_text" + }, + { + "name": "style", + "type": "set_variable", + "_nested_name": "style" + }, + { + "type": "tile_component", + "name": "tile_example_3", + "parameter_list": { + "first_line_text": "Fourth item text", + "second_line_text": "Fourth item text", + "style": "quick_start_red" }, - "_dynamicDependencies": { - "@local.answer2_list": [ - "parameter_list.answer_list" - ] - } + "_nested_name": "tile_example_3" }, { - "name": "answer2_list", - "value": [ - "name:name_var_1 | text:Black| image:/plh_images/icons/heart.svg", - "name:name_var_2| image:/plh_images/icons/heart.svg | text:White", - "name:name_var_3| image:/plh_images/icons/heart.svg | text:Blue" - ], + "name": "first_line_text", "type": "set_variable", - "_nested_name": "answer2_list" + "_nested_name": "first_line_text" }, { - "type": "radio_group", - "name": "radio_group_square_ex2", + "name": "second_line_text", + "type": "set_variable", + "_nested_name": "second_line_text" + }, + { + "name": "style", + "type": "set_variable", + "_nested_name": "style" + }, + { + "type": "tile_component", + "name": "tile_example_3", "parameter_list": { - "answer_list": "@local.answer3_list", - "options_per_row": "3" + "first_line_text": "With Others", + "style": "workshop_page", + "icon_src": "plh_images/home_page/home_page_workshops.svg" }, - "_nested_name": "radio_group_square_ex2", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer3_list", - "matchedExpression": "@local.answer3_list", - "type": "local", - "fieldName": "answer3_list" - } - ] - } + "_nested_name": "tile_example_3" + }, + { + "name": "first_line_text", + "type": "set_variable", + "_nested_name": "first_line_text" + }, + { + "name": "second_line_text", + "type": "set_variable", + "_nested_name": "second_line_text" + }, + { + "name": "style", + "type": "set_variable", + "_nested_name": "style" + }, + { + "type": "tile_component", + "name": "tile_example_3", + "parameter_list": { + "first_line_text": "Alone", + "style": "workshop_page", + "icon_src": "plh_images/home_page/home_page_parent_points.svg" }, - "_dynamicDependencies": { - "@local.answer3_list": [ - "parameter_list.answer_list" - ] - } + "_nested_name": "tile_example_3" }, { - "name": "answer3_list", - "value": [ - "name:name_var_1 | image:/plh_images/icons/heart.svg", - "name:name_var_2| image:/plh_images/icons/heart.svg", - "name:name_var_3| image:/plh_images/icons/heart.svg" - ], + "name": "first_line_text", "type": "set_variable", - "_nested_name": "answer3_list" + "_nested_name": "first_line_text" }, { - "type": "radio_group", - "name": "radio_group_square_ex2", + "name": "second_line_text", + "type": "set_variable", + "_nested_name": "second_line_text" + }, + { + "name": "style", + "type": "set_variable", + "_nested_name": "style" + }, + { + "type": "display_group", + "name": "dg", "parameter_list": { - "answer_list": "@local.answer3_list", - "options_per_row": "3", - "style": "transparent" + "style": "parent_point" }, - "_nested_name": "radio_group_square_ex2", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer3_list", - "matchedExpression": "@local.answer3_list", - "type": "local", - "fieldName": "answer3_list" - } - ] + "rows": [ + { + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "icon_src": "plh_images/icons/star.svg", + "first_line_text": "First itemt", + "second_line_text": "Second", + "style": "parent_centre_2" + }, + "_nested_name": "dg.tile_example_1" + }, + { + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "icon_src": "plh_images/icons/star.svg", + "first_line_text": "First item", + "second_line_text": "Second", + "style": "parent_centre_3" + }, + "_nested_name": "dg.tile_example_1" + }, + { + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "icon_src": "plh_images/icons/star.svg", + "first_line_text": "First itemt", + "second_line_text": "Second", + "style": "parent_centre_4" + }, + "_nested_name": "dg.tile_example_1" + }, + { + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "icon_src": "plh_images/icons/star.svg", + "first_line_text": "First", + "second_line_text": "Second", + "style": "parent_centre_1" + }, + "_nested_name": "dg.tile_example_1" + }, + { + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "icon_src": "plh_images/icons/star.svg", + "first_line_text": "First itemt", + "second_line_text": "Second", + "style": "parent_centre_1" + }, + "_nested_name": "dg.tile_example_1" + }, + { + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "icon_src": "plh_images/icons/star.svg", + "first_line_text": "First item", + "second_line_text": "Second", + "style": "parent_centre_2" + }, + "_nested_name": "dg.tile_example_1" + }, + { + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "icon_src": "plh_images/icons/star.svg", + "first_line_text": "First itemt", + "second_line_text": "Second", + "style": "parent_centre_3" + }, + "_nested_name": "dg.tile_example_1" + }, + { + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "first_line_text": "First", + "icon_src": "plh_images/icons/star.svg", + "second_line_text": "Second", + "style": "parent_centre_4" + }, + "_nested_name": "dg.tile_example_1" + }, + { + "type": "tile_component", + "name": "tile_example_1", + "parameter_list": { + "first_line_text": "First", + "icon_src": "plh_images/icons/star.svg", + "second_line_text": "Second", + "style": "parent_centre_4" + }, + "_nested_name": "dg.tile_example_1" } - }, - "_dynamicDependencies": { - "@local.answer3_list": [ - "parameter_list.answer_list" - ] - } - }, - { - "name": "answer3_list", - "value": [ - "name:name_var_1 | image:/plh_images/icons/heart.svg", - "name:name_var_2| image:/plh_images/icons/heart.svg", - "name:name_var_3| image:/plh_images/icons/heart.svg" ], - "type": "set_variable", - "_nested_name": "answer3_list" + "_nested_name": "dg" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" }, { "flow_type": "template", - "flow_name": "feature_radio_group_2", + "flow_name": "feature_timer", "status": "released", "rows": [ { - "name": "answer_list_1", - "value": [ - "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", - "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", - "name:name_var_3 | text: Third | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", - "name:name_var_4 | text:Fourth | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg" - ], - "type": "set_variable", - "_nested_name": "answer_list_1" - }, - { - "name": "answer_list_2", - "value": [ - "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg", - "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg" - ], - "type": "set_variable", - "_nested_name": "answer_list_2" - }, - { - "name": "answer_list_3", - "value": [ - "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", - "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg" - ], - "type": "set_variable", - "_nested_name": "answer_list_3" - }, - { - "name": "answer_list_4", - "value": [ - "name:name_var_1 | text:First", - "name:name_var_2 | text:Second", - "name:name_var_3 | text:Third" - ], - "type": "set_variable", - "_nested_name": "answer_list_4" - }, - { - "name": "answer_list_5", - "value": [ - "name:happy | image:plh_images/stickers/faces/happy.svg | image_checked:plh_images/stickers/faces/happy.svg", - "name:happier | image:plh_images/stickers/faces/happier.svg | image_checked:plh_images/stickers/faces/happier.svg", - "name:happiest | image:plh_images/stickers/faces/happiest.svg | image_checked:plh_images/stickers/faces/happiest.svg" - ], - "type": "set_variable", - "_nested_name": "answer_list_5" - }, - { - "name": "answer_list_6", - "value": [ - "name:happy | image:plh_images/stickers/faces_yellow/happy.svg | image_checked:plh_images/stickers/faces_yellow/happy.svg", - "name:happier | image:plh_images/stickers/faces_yellow/happier.svg | image_checked:plh_images/stickers/faces_yellow/happier.svg", - "name:happiest | image:plh_images/stickers/faces_yellow/happiest.svg | image_checked:plh_images/stickers/faces_yellow/happiest.svg" - ], - "type": "set_variable", - "_nested_name": "answer_list_6" - }, - { - "name": "answer_list_7", - "value": [ - "name:happy | image:plh_images/stickers/faces_yellow/happy.svg | image_checked:plh_images/stickers/faces_yellow/happy.svg", - "name:happier | image:plh_images/stickers/faces_yellow/happier.svg | image_checked:plh_images/stickers/faces_yellow/happier.svg" - ], + "name": "help_text", + "value": "Click to start the timer", "type": "set_variable", - "_nested_name": "answer_list_7" + "_nested_name": "help_text" }, { - "type": "radio_group", - "name": "radio_group_defaults", + "type": "timer", + "name": "timer_with_help", "parameter_list": { - "answer_list": "@local.answer_list_1" + "help": "@local.help_text", + "title": "with help" }, - "_nested_name": "radio_group_defaults", + "_nested_name": "timer_with_help", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_1", - "matchedExpression": "@local.answer_list_1", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_1" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_1": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "radio_group", - "name": "radio_group_four_per_row", + "type": "timer", + "name": "timer_is_editable_on_playing", "parameter_list": { - "answer_list": "@local.answer_list_1", - "options_per_row": "4" + "help": "@local.help_text", + "title": "is editable on playing", + "is_editable_on_playing": "true" }, - "_nested_name": "radio_group_four_per_row", + "_nested_name": "timer_is_editable_on_playing", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_1", - "matchedExpression": "@local.answer_list_1", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_1" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_1": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "radio_group", - "name": "radio_group_two_per_row", + "type": "timer", + "name": "timer_with_starting_minutes_5", "parameter_list": { - "answer_list": "@local.answer_list_1", - "options_per_row": "2" + "help": "@local.help_text", + "title": "with starting minutes 5", + "starting_minutes": "5" }, - "_nested_name": "radio_group_two_per_row", + "_nested_name": "timer_with_starting_minutes_5", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_1", - "matchedExpression": "@local.answer_list_1", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_1" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_1": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "radio_group", - "name": "radio_group_two_options_1", + "type": "timer", + "name": "timer_with_starting_seconds_20", "parameter_list": { - "answer_list": "@local.answer_list_2" + "help": "@local.help_text", + "title": "with starting seconds 20", + "starting_seconds": "20" }, - "_nested_name": "radio_group_two_options_1", + "_nested_name": "timer_with_starting_seconds_20", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_2", - "matchedExpression": "@local.answer_list_2", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_2" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_2": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "radio_group", - "name": "radio_group_two_options_2", + "type": "timer", + "name": "timer_with_duration_extension_2", "parameter_list": { - "answer_list": "@local.answer_list_2", - "options_per_row": "2" + "help": "@local.help_text", + "title": "with duration_extension 2", + "duration_extension": "2" }, - "_nested_name": "radio_group_two_options_2", + "_nested_name": "timer_with_duration_extension_2", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_2", - "matchedExpression": "@local.answer_list_2", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_2" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_2": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "radio_group", - "name": "radio_group_with_tick", + "type": "timer", + "name": "timer_with_value", + "value": 5, "parameter_list": { - "answer_list": "@local.answer_list_3" + "help": "@local.help_text", + "title": "with value 5" }, - "_nested_name": "radio_group_with_tick", + "_nested_name": "timer_with_value", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_3", - "matchedExpression": "@local.answer_list_3", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_3" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_3": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_slider", + "status": "released", + "rows": [ + { + "name": "help_text", + "value": "some help", + "type": "set_variable", + "_nested_name": "help_text" }, { - "type": "radio_group", - "name": "radio_group_text", - "value": "name_var_2", + "type": "slider", + "name": "slider_with_help", "parameter_list": { - "answer_list": "@local.answer_list_4" + "help": "@local.help_text", + "min": "0", + "max": "7", + "title": "test title", + "min_value_label": "0", + "max_value_label": "7", + "labels_count": "8", + "no_value": "false" }, - "_nested_name": "radio_group_text", + "_nested_name": "slider_with_help", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_4", - "matchedExpression": "@local.answer_list_4", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_4" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_4": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "text", - "name": "name_result_1", - "value": "@local.radio_group_text", - "_nested_name": "name_result_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.radio_group_text", - "matchedExpression": "@local.radio_group_text", - "type": "local", - "fieldName": "radio_group_text" - } - ] + "type": "slider", + "name": "slider_without_help", + "parameter_list": { + "min": "0", + "max": "7", + "title": "without help", + "min_value_label": "0", + "max_value_label": "7", + "labels_count": "8", + "no_value": "false" }, - "_dynamicDependencies": { - "@local.radio_group_text": [ - "value" - ] - } + "_nested_name": "slider_without_help" }, { - "type": "radio_group", - "name": "radio_group_image_1", - "value": "happy", + "type": "slider", + "name": "slider_with_value_2", + "value": 2, "parameter_list": { - "answer_list": "@local.answer_list_5" + "help": "@local.help_text", + "min": "0", + "max": "7", + "title": "with value 2", + "min_value_label": "0", + "max_value_label": "7", + "labels_count": "8", + "no_value": "false" }, - "_nested_name": "radio_group_image_1", + "_nested_name": "slider_with_value_2", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_5", - "matchedExpression": "@local.answer_list_5", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_5" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_5": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "text", - "name": "name_result_2", - "value": "@local.radio_group_image_1", - "_nested_name": "name_result_2", + "type": "slider", + "name": "slider_with_step_2", + "parameter_list": { + "help": "@local.help_text", + "min": "0", + "max": "8", + "title": "step = 2", + "step": "2", + "min_value_label": "0", + "max_value_label": "8", + "labels_count": "8", + "no_value": "false" + }, + "_nested_name": "slider_with_step_2", "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.radio_group_image_1", - "matchedExpression": "@local.radio_group_image_1", - "type": "local", - "fieldName": "radio_group_image_1" - } - ] + "parameter_list": { + "help": [ + { + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", + "type": "local", + "fieldName": "help_text" + } + ] + } }, "_dynamicDependencies": { - "@local.radio_group_image_1": [ - "value" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "radio_group", - "name": "radio_group_image_2", + "type": "slider", + "name": "slider_without_value", "parameter_list": { - "answer_list": "@local.answer_list_6" + "help": "@local.help_text", + "min": "0", + "max": "7", + "title": "no value", + "min_value_label": "0", + "max_value_label": "7", + "labels_count": "8", + "no_value": "true" }, - "_nested_name": "radio_group_image_2", + "_nested_name": "slider_without_value", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_6", - "matchedExpression": "@local.answer_list_6", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_6" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_6": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "radio_group", - "name": "radio_group_image_3", - "value": "happiest", + "type": "slider", + "name": "slider_without_max_3", "parameter_list": { - "answer_list": "@local.answer_list_5" + "min": "0", + "help": "@local.help_text", + "max": "3", + "title": "with max = 3", + "min_value_label": "0", + "max_value_label": "3", + "labels_count": "8", + "no_value": "false" }, - "_nested_name": "radio_group_image_3", + "_nested_name": "slider_without_max_3", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_5", - "matchedExpression": "@local.answer_list_5", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_5" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_5": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } }, { - "type": "title", - "name": "test", - "value": "test", - "_nested_name": "test" - }, - { - "type": "text", - "value": "without options", - "name": "text", - "_nested_name": "text" - }, - { - "type": "radio_group", - "name": "radio_group_two_options_3", + "type": "slider", + "name": "slider_without_value_labels", "parameter_list": { - "answer_list": "@local.answer_list_2" + "min": "0", + "help": "@local.help_text", + "max": "3", + "title": "without value labels", + "no_value": "false" }, - "_nested_name": "radio_group_two_options_3", + "_nested_name": "slider_without_value_labels", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "help": [ { - "fullExpression": "@local.answer_list_2", - "matchedExpression": "@local.answer_list_2", + "fullExpression": "@local.help_text", + "matchedExpression": "@local.help_text", "type": "local", - "fieldName": "answer_list_2" + "fieldName": "help_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_2": [ - "parameter_list.answer_list" + "@local.help_text": [ + "parameter_list.help" ] } - }, + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_number_selector", + "status": "released", + "rows": [ { - "type": "text", - "value": "with options", - "name": "text", - "_nested_name": "text" + "name": "category_list", + "value": [ + "0-10", + "11-20", + "21-30", + "31-40", + "41-50", + "51-60", + "61-70", + "71-80", + "80+" + ], + "type": "set_variable", + "_nested_name": "category_list" }, { - "type": "radio_group", - "name": "radio_group_two_options_4", + "type": "number_selector", + "name": "number_selector", "parameter_list": { - "answer_list": "@local.answer_list_2", - "options_per_row": "2" + "category_list": "@local.category_list", + "first_display_term": "4" }, - "_nested_name": "radio_group_two_options_4", + "_nested_name": "number_selector", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "category_list": [ { - "fullExpression": "@local.answer_list_2", - "matchedExpression": "@local.answer_list_2", + "fullExpression": "@local.category_list", + "matchedExpression": "@local.category_list", "type": "local", - "fieldName": "answer_list_2" + "fieldName": "category_list" } ] } }, "_dynamicDependencies": { - "@local.answer_list_2": [ - "parameter_list.answer_list" + "@local.category_list": [ + "parameter_list.category_list" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_text_box", + "status": "released", + "rows": [ + { + "name": "blank_display_text", + "value": "Click here to answer", + "type": "set_variable", + "_nested_name": "blank_display_text" }, { - "type": "text", - "value": "with options", - "name": "text", - "_nested_name": "text" + "type": "set_default", + "name": "_value", + "value": "@local.default_value", + "_nested_name": "_value", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.default_value", + "matchedExpression": "@local.default_value", + "type": "local", + "fieldName": "default_value" + } + ] + }, + "_dynamicDependencies": { + "@local.default_value": [ + "value" + ] + } }, { - "type": "radio_group", - "name": "radio_group_image_4", + "type": "text_box", + "name": "text_box", "parameter_list": { - "answer_list": "@local.answer_list_7", - "options_per_row": "2" + "blank_display_text": "@local.blank_display_text", + "help": "some help text", + "placeholder": "example placeholder" }, - "_nested_name": "radio_group_image_4", + "_nested_name": "text_box", "_dynamicFields": { "parameter_list": { - "answer_list": [ + "blank_display_text": [ { - "fullExpression": "@local.answer_list_7", - "matchedExpression": "@local.answer_list_7", + "fullExpression": "@local.blank_display_text", + "matchedExpression": "@local.blank_display_text", "type": "local", - "fieldName": "answer_list_7" + "fieldName": "blank_display_text" } ] } }, "_dynamicDependencies": { - "@local.answer_list_7": [ - "parameter_list.answer_list" + "@local.blank_display_text": [ + "parameter_list.blank_display_text" ] } }, { - "type": "text", - "value": "without options", - "name": "text", - "_nested_name": "text" + "type": "text_box", + "name": "text_box_1", + "value": "Answer 1", + "parameter_list": { + "help": "some help text", + "text_align": "right", + "placeholder": "Add your answer" + }, + "_nested_name": "text_box_1" }, { - "type": "radio_group", - "name": "radio_group_image_5", + "type": "text_box", + "name": "text_box_2", + "value": "Answer 2", "parameter_list": { - "answer_list": "@local.answer_list_7" + "help": "some help text", + "text_align": "left", + "placeholder": "Add your answer 2" }, - "_nested_name": "radio_group_image_5", - "_dynamicFields": { - "parameter_list": { - "answer_list": [ - { - "fullExpression": "@local.answer_list_7", - "matchedExpression": "@local.answer_list_7", - "type": "local", - "fieldName": "answer_list_7" - } - ] - } + "_nested_name": "text_box_2" + }, + { + "type": "text_box", + "name": "text_box_3", + "value": "Answer 3", + "parameter_list": { + "text_align": "center", + "placeholder": "Add your answer 3" }, - "_dynamicDependencies": { - "@local.answer_list_7": [ - "parameter_list.answer_list" - ] - } + "_nested_name": "text_box_3" + }, + { + "type": "text_box", + "name": "text_box_3", + "value": "Number Input", + "parameter_list": { + "text_align": "center", + "placeholder": "Add your answer 3", + "number_input": "true" + }, + "_nested_name": "text_box_3" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" }, { "flow_type": "template", - "flow_name": "feature_display_group", + "flow_name": "feature_dashed_box", "status": "released", "rows": [ { - "type": "display_group", - "name": "example_dp_gr", + "type": "dashed_box", + "name": "dashed_box_passive", + "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", "parameter_list": { - "style": "tool_1" + "style": "alert", + "icon_src": "plh_images/icons/star.svg", + "icon_position": "top-right" }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" - ], - "rows": [ - { - "type": "title", - "name": "title_ex_s", - "value": "Example title light_orange", - "parameter_list": { - "style": "primary" - }, - "style_list": [ - "margin: 10px 10px" - ], - "_nested_name": "example_dp_gr.title_ex_s" - }, - { - "type": "text", - "name": "text_ex_text", - "value": "Text for display light_orange", - "parameter_list": { - "text_align": "center" - }, - "_nested_name": "example_dp_gr.text_ex_text" - } - ], - "_nested_name": "example_dp_gr" + "_nested_name": "dashed_box_passive" }, { - "type": "display_group", - "name": "dg_example_2", + "type": "dashed_box", + "name": "dashed_box_active", + "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", "parameter_list": { - "style": "tool_2" + "style": "default", + "icon_src": "plh_images/icons/star.svg", + "icon_position": "top-left" }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" - ], - "rows": [ - { - "type": "title", - "name": "title_ex_s", - "value": "Example title orange", - "parameter_list": { - "style": "primary" - }, - "style_list": [ - "margin: 10px 10px" - ], - "_nested_name": "dg_example_2.title_ex_s" - }, - { - "type": "text", - "name": "text_ex_text", - "value": "Text for display orange", - "parameter_list": { - "text_align": "right" - }, - "_nested_name": "dg_example_2.text_ex_text" - } - ], - "_nested_name": "dg_example_2" + "_nested_name": "dashed_box_active" }, { - "type": "display_group", - "name": "dg_example_3", + "type": "dashed_box", + "name": "dashed_box_passive", + "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", "parameter_list": { - "style": "tool_3" + "style": "alert", + "icon_src": "plh_images/icons/star.svg", + "icon_position": "bottom-left" }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" - ], - "rows": [ - { - "type": "title", - "name": "title_ex_s", - "value": "Example title light_blue", - "parameter_list": { - "style": "primary" - }, - "style_list": [ - "margin: 10px 10px" - ], - "_nested_name": "dg_example_3.title_ex_s" - }, - { - "type": "text", - "name": "text_ex_text", - "value": "Text for display light_blue", - "parameter_list": { - "text_align": "left" - }, - "_nested_name": "dg_example_3.text_ex_text" - } - ], - "_nested_name": "dg_example_3" + "_nested_name": "dashed_box_passive" }, { - "type": "display_group", - "name": "dg_example_4", + "type": "dashed_box", + "name": "dashed_box_active", + "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", "parameter_list": { - "style": "tool_4" + "style": "default", + "icon_src": "plh_images/icons/star.svg", + "icon_position": "bottom-right" }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" - ], - "rows": [ - { - "type": "title", - "name": "title_ex_s", - "value": "Example title blue", - "parameter_list": { - "style": "primary" - }, - "style_list": [ - "margin: 10px 10px" - ], - "_nested_name": "dg_example_4.title_ex_s" - }, - { - "type": "text", - "name": "text_ex_text", - "value": "Text for display blue", - "parameter_list": { - "text_align": "center" - }, - "_nested_name": "dg_example_4.text_ex_text" - } - ], - "_nested_name": "dg_example_4" + "_nested_name": "dashed_box_active" }, { - "type": "display_group", - "name": "dg_example_6", + "type": "dashed_box", + "name": "dashed_box_active", + "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", "parameter_list": { - "style": "tool_5" + "style": "alert", + "icon_src": "plh_images/icons/star.svg", + "icon_position": "bottom-right" }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" - ], - "rows": [ - { - "type": "title", - "name": "title_ex_s", - "value": "Example title dark_blue", - "parameter_list": { - "style": "alternative" - }, - "style_list": [ - "margin: 10px 10px" - ], - "_nested_name": "dg_example_6.title_ex_s" - }, - { - "type": "text", - "name": "text_ex_text", - "value": "Text for display dark_blue", - "parameter_list": { - "text_align": "right" - }, - "_nested_name": "dg_example_6.text_ex_text" - } - ], - "_nested_name": "dg_example_6" + "_nested_name": "dashed_box_active" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "bug_dashed_box", + "status": "released", + "rows": [ + { + "type": "dashed_box", + "name": "dashed_box_passive", + "value": "Every time you do a relax, mark your star.", + "_nested_name": "dashed_box_passive" }, { - "type": "display_group", - "name": "dg_example_7", + "type": "dashed_box", + "name": "dashed_box_active", + "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", "parameter_list": { - "style": "banner_active", - "offset": "30" + "style": "alert", + "icon_src": "plh_images/icons/star.svg", + "icon_position": "top-right" }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" - ], - "rows": [ - { - "type": "title", - "name": "title_ex_s", - "value": "Example title with offset", - "parameter_list": { - "style": "primary" - }, - "style_list": [ - "margin: 10px 10px" - ], - "_nested_name": "dg_example_7.title_ex_s" - }, - { - "type": "image", - "name": "image", - "value": "plh_images/characters/group/talk_together.png", - "style_list": [ - "max-width: 250px" - ], - "_nested_name": "dg_example_7.image" - } - ], - "_nested_name": "dg_example_7" + "_nested_name": "dashed_box_active" }, { - "type": "display_group", - "name": "dg_example_8", + "type": "dashed_box", + "name": "habit_text", + "value": "Every time you do a relax, \nclick the @global.parent_point \nand celebrate your success", "parameter_list": { - "style": "white_box" + "icon_src": "plh_images/icons/star_circle.svg", + "icon_position": "top-left" }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" - ], - "rows": [ + "_nested_name": "habit_text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Every time you do a relax, \nclick the @global.parent_point \nand celebrate your success", + "matchedExpression": "@global.parent_point", + "type": "global", + "fieldName": "parent_point" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_point": [ + "value" + ] + } + }, + { + "type": "dashed_box", + "name": "habit_text_2", + "value": "Every time you do a relax, click the @global.parent_point and celebrate your success", + "parameter_list": { + "icon_src": "plh_images/icons/star_circle.svg", + "icon_position": "top-left" + }, + "_nested_name": "habit_text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Every time you do a relax, click the @global.parent_point and celebrate your success", + "matchedExpression": "@global.parent_point", + "type": "global", + "fieldName": "parent_point" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_point": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_toggle_bar ", + "status": "released", + "rows": [ + { + "type": "toggle_bar", + "name": "toggle_1", + "value": false, + "action_list": [ { - "type": "title", - "name": "title_ex_s", - "value": "Example title white box", - "parameter_list": { - "style": "primary" - }, - "style_list": [ - "margin: 10px 10px" + "trigger": "changed", + "action_id": "set_field", + "args": [ + "changed_field_toggle", + "@local.toggle_1" ], - "_nested_name": "dg_example_8.title_ex_s" - }, - { - "type": "text", - "name": "text_ex_text", - "value": "Text for display white box", - "parameter_list": { - "text_align": "left" - }, - "_nested_name": "dg_example_8.text_ex_text" + "_raw": "changed | set_field:changed_field_toggle:@local.toggle_1", + "_cleaned": "changed | set_field:changed_field_toggle:@local.toggle_1" + } + ], + "parameter_list": { + "label": "some text", + "position": "right", + "true_text": "some text for true value", + "false_text": "text for false" + }, + "_nested_name": "toggle_1", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ] + } } - ], - "_nested_name": "dg_example_8" + }, + "_dynamicDependencies": { + "@local.toggle_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } }, { - "type": "display_group", - "name": "dg_example_8", - "parameter_list": { - "style": "white_box" - }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" - ], - "rows": [ + "type": "toggle_bar", + "name": "toggle_2", + "value": false, + "action_list": [ { - "type": "title", - "name": "title_ex_s", - "value": "Example title white box", - "parameter_list": { - "style": "primary" - }, - "style_list": [ - "margin: 10px 10px" + "trigger": "changed", + "action_id": "set_field", + "args": [ + "changed_field_toggle", + "@local.toggle_1" ], - "_nested_name": "dg_example_8.title_ex_s" - }, - { - "type": "text", - "name": "text_ex_text", - "value": "Text for display white box", - "parameter_list": { - "text_align": "left" - }, - "_nested_name": "dg_example_8.text_ex_text" + "_raw": "changed | set_field:changed_field_toggle:@local.toggle_1", + "_cleaned": "changed | set_field:changed_field_toggle:@local.toggle_1" } ], - "_nested_name": "dg_example_8" - }, - { - "type": "display_group", - "name": "dg_example_8", "parameter_list": { - "style": "navigation" + "label": "some text", + "position": "center", + "true_text": "some text for true value" }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" - ], - "rows": [ - { - "type": "button", - "name": "btn_example", - "value": "Continue", - "parameter_list": { - "style": "blue" - }, - "_nested_name": "dg_example_8.btn_example" + "_nested_name": "toggle_2", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ] + } } - ], - "_nested_name": "dg_example_8" - }, - { - "type": "display_group", - "name": "dg_example_8", - "parameter_list": { - "style": "banner_welcome" }, - "style_list": [], - "rows": [ - { - "type": "image", - "name": "image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "_nested_name": "dg_example_8.image" - } - ], - "_nested_name": "dg_example_8" + "_dynamicDependencies": { + "@local.toggle_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } }, { - "type": "display_group", - "name": "dg_example_7", - "parameter_list": { - "style": "banner_short" - }, - "style_list": [], - "rows": [ - { - "type": "subtitle", - "name": "title_ex_s", - "value": "Example short banner", - "parameter_list": { - "style": "small emphasised" - }, - "_nested_name": "dg_example_7.title_ex_s" - }, + "type": "toggle_bar", + "name": "toggle_3", + "value": false, + "action_list": [ { - "type": "image", - "name": "image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "_nested_name": "dg_example_7.image" + "trigger": "changed", + "action_id": "set_field", + "args": [ + "changed_field_toggle", + "@local.toggle_1" + ], + "_raw": "changed | set_field:changed_field_toggle:@local.toggle_1", + "_cleaned": "changed | set_field:changed_field_toggle:@local.toggle_1" } ], - "_nested_name": "dg_example_7" - }, - { - "type": "display_group", - "name": "dg_example_7", "parameter_list": { - "style": "banner_short" + "label": "some text", + "false_text": "false text" }, - "rows": [ - { - "type": "subtitle", - "name": "title_ex_s", - "value": "Example short banner with more text", - "parameter_list": { - "style": "small emphasised" - }, - "_nested_name": "dg_example_7.title_ex_s" - }, - { - "type": "image", - "name": "image", - "value": "plh_images/workshop_modes/guide_2/wave.svg", - "_nested_name": "dg_example_7.image" + "_nested_name": "toggle_3", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ] + } } - ], - "_nested_name": "dg_example_7" - }, - { - "type": "display_group", - "name": "dg_example_7", - "parameter_list": { - "style": "banner_welcome" }, - "rows": [ - { - "type": "image", - "name": "image", - "value": "plh_images/workshop_modes/guide_2/relax.svg", - "_nested_name": "dg_example_7.image" - } - ], - "_nested_name": "dg_example_7" + "_dynamicDependencies": { + "@local.toggle_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } }, { - "type": "display_group", - "name": "dg_example_dashed_box", - "parameter_list": { - "type": "dashed_box" - }, - "rows": [ - { - "type": "subtitle", - "value": "survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", - "parameter_list": { - "style": "right" - }, - "name": "subtitle", - "_nested_name": "dg_example_dashed_box.subtitle" - }, - { - "type": "parent_point_box", - "name": "points_example_1", - "value": 3, - "parameter_list": { - "lottie_src": "lottie_animations/parent_centre.json", - "text": "text two" - }, - "_nested_name": "dg_example_dashed_box.points_example_1" - }, + "type": "toggle_bar", + "name": "toggle_4", + "value": true, + "action_list": [ { - "type": "button", - "name": "btn_example", - "value": "Continue", - "_nested_name": "dg_example_dashed_box.btn_example" + "trigger": "changed", + "action_id": "set_field", + "args": [ + "changed_field_toggle", + "@local.toggle_1" + ], + "_raw": "changed | set_field:changed_field_toggle:@local.toggle_1", + "_cleaned": "changed | set_field:changed_field_toggle:@local.toggle_1" } ], - "_nested_name": "dg_example_dashed_box" - }, - { - "type": "display_group", - "name": "dg_example_form", "parameter_list": { - "type": "form", - "get_device_info": "true", - "button_text": "Send" + "label": "some text", + "false_text": "false text" }, - "rows": [ - { - "type": "text_box", - "name": "user_name", - "parameter_list": { - "help": "some help text", - "placeholder": "Add your name" - }, - "_nested_name": "dg_example_form.user_name" - }, - { - "type": "text_box", - "name": "user_phone", - "parameter_list": { - "help": "some help text", - "placeholder": "Add your phone number" - }, - "_nested_name": "dg_example_form.user_phone" - }, - { - "type": "simple_checkbox", - "name": "checkbox_1", - "value": false, - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "demo_changed_field_checkbox", - "@local.checkbox_1" - ], - "_raw": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", - "_cleaned": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1" - } - ], - "parameter_list": { - "label_text": "Example answer?" - }, - "_nested_name": "dg_example_form.checkbox_1", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ] + "_nested_name": "toggle_4", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", + "matchedExpression": "@local.toggle_1", + "type": "local", + "fieldName": "toggle_1" } - } - }, - "_dynamicDependencies": { - "@local.checkbox_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" ] } - }, - { - "type": "simple_checkbox", - "name": "checkbox_2", - "value": true, - "parameter_list": { - "label_text": "Example answer?" - }, - "_nested_name": "dg_example_form.checkbox_2" - }, - { - "type": "title", - "value": "Some text here", - "name": "title", - "_nested_name": "dg_example_form.title" - }, - { - "type": "text_area", - "name": "text_area", - "parameter_list": { - "placeholder": "example placeholder" - }, - "_nested_name": "dg_example_form.text_area" } - ], - "_nested_name": "dg_example_form" + }, + "_dynamicDependencies": { + "@local.toggle_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" }, { "flow_type": "template", - "flow_name": "feature_title", + "flow_name": "feature_checkbox", "status": "released", "rows": [ { - "type": "title", - "name": "title_debug_with_help_tooltip", - "value": "tiny title left", + "name": "label_text", + "value": "Label text in local variable", + "type": "set_variable", + "_nested_name": "label_text" + }, + { + "type": "simple_checkbox", + "name": "checkbox_1", + "value": false, + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_field_checkbox", + "@local.checkbox_1" + ], + "_raw": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", + "_cleaned": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1" + } + ], "parameter_list": { - "help": "some help", - "tooltip_position": "right", - "style": "left tiny" + "label_text": "Example answer?" + }, + "_nested_name": "checkbox_1", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" + } + ] + } + } + }, + "_dynamicDependencies": { + "@local.checkbox_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } + }, + { + "type": "text", + "name": "text_1", + "value": "checkbox field: @field.demo_changed_field_checkbox", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "checkbox field: @field.demo_changed_field_checkbox", + "matchedExpression": "@field.demo_changed_field_checkbox", + "type": "field", + "fieldName": "demo_changed_field_checkbox" + } + ] + }, + "_dynamicDependencies": { + "@field.demo_changed_field_checkbox": [ + "value" + ] + } + }, + { + "type": "text", + "name": "text_2", + "value": "checkbox local: @local.checkbox_1", + "_nested_name": "text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "checkbox local: @local.checkbox_1", + "matchedExpression": "@local.checkbox_1", + "type": "local", + "fieldName": "checkbox_1" + } + ] }, - "_nested_name": "title_debug_with_help_tooltip" + "_dynamicDependencies": { + "@local.checkbox_1": [ + "value" + ] + } }, { - "type": "title", - "name": "title_debug_without_help_tooltip", - "value": "alternative center small", + "type": "simple_checkbox", + "name": "checkbox_2", + "value": true, "parameter_list": { - "style": "center small alternative" + "label_text": "Example answer?" }, - "_nested_name": "title_debug_without_help_tooltip" + "_nested_name": "checkbox_2" }, { - "type": "title", - "name": "title_debug_text_aligh_center", - "value": "medium right ", - "parameter_list": { - "help": "some help", - "tooltip_position": "right", - "style": "medium right" + "type": "text", + "name": "text_3", + "value": "checkbox local: @local.checkbox_2", + "_nested_name": "text_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "checkbox local: @local.checkbox_2", + "matchedExpression": "@local.checkbox_2", + "type": "local", + "fieldName": "checkbox_2" + } + ] }, - "_nested_name": "title_debug_text_aligh_center" + "_dynamicDependencies": { + "@local.checkbox_2": [ + "value" + ] + } }, { - "type": "title", - "name": "title_debug_text_aligh_left", - "value": "large alternative", + "type": "simple_checkbox", + "name": "checkbox_3", + "value": "@field.demo_changed_field_checkbox", "parameter_list": { - "help": "some help", - "tooltip_position": "right", - "style": "large alternative" + "label_text": "Example answer?" }, - "_nested_name": "title_debug_text_aligh_left" + "_nested_name": "checkbox_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@field.demo_changed_field_checkbox", + "matchedExpression": "@field.demo_changed_field_checkbox", + "type": "field", + "fieldName": "demo_changed_field_checkbox" + } + ] + }, + "_dynamicDependencies": { + "@field.demo_changed_field_checkbox": [ + "value" + ] + } }, { - "type": "title", - "name": "title_debug_text_aligh_right", - "value": "huge center", - "parameter_list": { - "help": "some help", - "tooltip_position": "right", - "style": "huge center" + "type": "simple_checkbox", + "name": "checkbox_4", + "value": false, + "_nested_name": "checkbox_4" + }, + { + "type": "simple_checkbox", + "name": "checkbox_5", + "value": true, + "_nested_name": "checkbox_5" + }, + { + "type": "simple_checkbox", + "name": "checkbox_6", + "value": "@local.checkbox_4", + "_nested_name": "checkbox_6", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.checkbox_4", + "matchedExpression": "@local.checkbox_4", + "type": "local", + "fieldName": "checkbox_4" + } + ] }, - "_nested_name": "title_debug_text_aligh_right" + "_dynamicDependencies": { + "@local.checkbox_4": [ + "value" + ] + } }, { - "type": "title", - "name": "title_debug_text_aligh_right", - "value": "Default title", + "type": "text", + "name": "text_4", + "value": "Checkbox with label_text set through local variable", + "_nested_name": "text_4" + }, + { + "type": "simple_checkbox", + "name": "checkbox_7", "parameter_list": { - "help": "some help", - "tooltip_position": "right" + "label_text": "@local.label_text" }, - "_nested_name": "title_debug_text_aligh_right" + "_nested_name": "checkbox_7", + "_dynamicFields": { + "parameter_list": { + "label_text": [ + { + "fullExpression": "@local.label_text", + "matchedExpression": "@local.label_text", + "type": "local", + "fieldName": "label_text" + } + ] + } + }, + "_dynamicDependencies": { + "@local.label_text": [ + "parameter_list.label_text" + ] + } } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" }, { "flow_type": "template", - "flow_name": "feature_buttons", + "flow_name": "feature_text_area", "status": "released", "rows": [ { - "type": "button", - "name": "btn_example_1", - "value": "navigation", - "parameter_list": { - "style": "navigation high", - "button_align": "right" - }, - "_nested_name": "btn_example_1" - }, - { - "type": "button", - "name": "btn_example_2", - "value": "information", - "parameter_list": { - "style": "information flexible", - "text_align": "left", - "button_align": "left" - }, - "_nested_name": "btn_example_2" - }, - { - "type": "button", - "name": "btn_example_3", - "value": "make me smile", - "parameter_list": { - "style": "make_me_smile", - "text_align": "right" - }, - "_nested_name": "btn_example_3" - }, - { - "type": "button", - "name": "btn_example_4", - "value": "get me going", - "parameter_list": { - "style": "get_me_going full", - "text_align": "center" - }, - "_nested_name": "btn_example_4" - }, - { - "type": "button", - "name": "btn_example_9", - "value": "options", + "type": "text_area", + "name": "text_area", "parameter_list": { - "style": "options", - "text_align": "center" + "placeholder": "example placeholder" }, - "_nested_name": "btn_example_9" + "_nested_name": "text_area" }, { - "type": "button", - "name": "btn_example_9", - "value": "some text as an example ", - "parameter_list": { - "style": "flexible tall alternative information", - "text_align": "center" + "type": "text", + "name": "text", + "value": "the text entered is:\n\n@local.text_area", + "_nested_name": "text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "the text entered is:\n\n@local.text_area", + "matchedExpression": "@local.text_area", + "type": "local", + "fieldName": "text_area" + } + ] }, - "_nested_name": "btn_example_9" - }, - { - "type": "button", - "value": "Example title orange button big", - "name": "button", - "_nested_name": "button" - }, - { - "type": "button", - "value": "text", - "name": "button", - "_nested_name": "button" - }, - { - "type": "title", - "value": "Display group ", - "name": "title", - "_nested_name": "title" - }, + "_dynamicDependencies": { + "@local.text_area": [ + "value" + ] + } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_home", + "status": "released", + "rows": [ { "type": "display_group", + "name": "dg_example_7", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "weekly_workshops" + ], + "_raw": "click | go_to:weekly_workshops", + "_cleaned": "click | go_to:weekly_workshops" + } + ], "parameter_list": { - "style": "two_columns" + "style": "home_screen light" }, + "style_list": [ + "margin: 40px 10px 0px 10px" + ], "rows": [ { - "type": "button", - "name": "btn_example_3", - "value": "make me smile", - "_nested_name": "display_group.btn_example_3" - }, - { - "type": "button", - "name": "btn_example_4", - "value": "get me going", - "_nested_name": "display_group.btn_example_4" + "type": "lottie_animation", + "name": "lottie_src", + "value": "lottie_animations/weekly_workshops.json", + "_nested_name": "dg_example_7.lottie_src" }, { - "type": "button", - "name": "btn_example_9", - "value": "options", - "_nested_name": "display_group.btn_example_9" - }, + "type": "display_group", + "parameter_list": { + "style": "column" + }, + "style_list": [ + "padding: 0" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "@global.weekly_workshops", + "parameter_list": { + "style": "alternative" + }, + "style_list": [ + "align-self: flex-start", + "margin-left: 20px", + "margin-bottom: 8px", + "margin-top: 15px" + ], + "_nested_name": "dg_example_7.display_group.title_ex_s", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.weekly_workshops", + "matchedExpression": "@global.weekly_workshops", + "type": "global", + "fieldName": "weekly_workshops" + } + ] + }, + "_dynamicDependencies": { + "@global.weekly_workshops": [ + "value" + ] + } + }, + { + "type": "round_button", + "name": "round_button_1", + "value": "Value", + "parameter_list": { + "icon_src": "plh_images/icons/letter_outline.svg", + "text": "Message", + "style": "home_screen yellow" + }, + "style_list": [ + "padding: 0" + ], + "_nested_name": "dg_example_7.display_group.round_button_1" + } + ], + "name": "display_group", + "_nested_name": "dg_example_7.display_group" + } + ], + "_nested_name": "dg_example_7" + }, + { + "type": "display_group", + "name": "dg_example_7", + "action_list": [ { - "type": "button", - "name": "btn_example_9", - "value": "some text as an example ", - "_nested_name": "display_group.btn_example_9" - }, + "trigger": "click", + "action_id": "go_to", + "args": [ + "parent_points" + ], + "_raw": "click | go_to:parent_points", + "_cleaned": "click | go_to:parent_points" + } + ], + "parameter_list": { + "style": "home_screen shade" + }, + "style_list": [ + "margin: 40px 10px 0px 10px" + ], + "rows": [ { - "type": "button", - "name": "btn_example_3", - "value": "make me smile", - "_nested_name": "display_group.btn_example_3" + "type": "lottie_animation", + "name": "lottie_src", + "value": "lottie_animations/parent_points.json", + "_nested_name": "dg_example_7.lottie_src" }, { - "type": "button", - "name": "btn_example_4", - "value": "get me going", - "_nested_name": "display_group.btn_example_4" - }, + "type": "display_group", + "parameter_list": { + "style": "column" + }, + "style_list": [ + "padding: 0" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "@global.parent_points", + "parameter_list": { + "style": "alternative" + }, + "style_list": [ + "align-self: flex-start", + "white-space: nowrap", + "margin-top: 15px" + ], + "_nested_name": "dg_example_7.display_group.title_ex_s", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.parent_points", + "matchedExpression": "@global.parent_points", + "type": "global", + "fieldName": "parent_points" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_points": [ + "value" + ] + } + }, + { + "type": "round_button", + "name": "round_button_1", + "value": "Value", + "parameter_list": { + "icon_src": "plh_images/icons/play_outline_white.svg", + "text": "Start", + "style": "home_screen orange" + }, + "style_list": [ + "padding: 0" + ], + "_nested_name": "dg_example_7.display_group.round_button_1" + } + ], + "name": "display_group", + "_nested_name": "dg_example_7.display_group" + } + ], + "_nested_name": "dg_example_7" + }, + { + "type": "display_group", + "name": "dg_example_7", + "action_list": [ { - "type": "button", - "name": "btn_example_9", - "value": "options", - "_nested_name": "display_group.btn_example_9" - }, + "trigger": "click", + "action_id": "go_to", + "args": [ + "parent_centre" + ], + "_raw": "click | go_to:parent_centre", + "_cleaned": "click | go_to:parent_centre" + } + ], + "parameter_list": { + "style": "home_screen dark" + }, + "style_list": [ + "margin: 40px 10px 0px 10px" + ], + "rows": [ { - "type": "button", - "name": "btn_example_9", - "value": "some text as an example ", - "_nested_name": "display_group.btn_example_9" + "type": "lottie_animation", + "name": "lottie_src", + "value": "lottie_animations/parent_centre.json", + "_nested_name": "dg_example_7.lottie_src" }, { - "type": "button", - "name": "btn_example_9", - "value": "some text as an example ", - "_nested_name": "display_group.btn_example_9" + "type": "display_group", + "parameter_list": { + "style": "column" + }, + "style_list": [ + "padding: 0" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "@global.parent_centre", + "parameter_list": { + "style": "alternative" + }, + "style_list": [ + "align-self: flex-start", + "white-space: nowrap", + "margin-top:15px" + ], + "_nested_name": "dg_example_7.display_group.title_ex_s", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.parent_centre", + "matchedExpression": "@global.parent_centre", + "type": "global", + "fieldName": "parent_centre" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_centre": [ + "value" + ] + } + }, + { + "type": "round_button", + "name": "round_button_1", + "value": "Value", + "parameter_list": { + "icon_src": "plh_images/icons/play_outline_white.svg", + "style": "home_screen dark_orange" + }, + "style_list": [ + "padding: 0" + ], + "_nested_name": "dg_example_7.display_group.round_button_1" + } + ], + "name": "display_group", + "_nested_name": "dg_example_7.display_group" } ], - "name": "display_group", - "_nested_name": "display_group" + "_nested_name": "dg_example_7" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" }, { "flow_type": "template", - "flow_name": "bug_dashed_box", + "flow_name": "feature_lottie", "status": "released", "rows": [ { - "type": "dashed_box", - "name": "dashed_box_passive", - "value": "Every time you do a relax, mark your star.", - "_nested_name": "dashed_box_passive" + "type": "lottie_animation", + "name": "relax_anim", + "value": "lottie_animations/relax1.json", + "_nested_name": "relax_anim" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_formatting", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title1", + "value": "This is a title where part of it is italics", + "_nested_name": "title1" }, { - "type": "dashed_box", - "name": "dashed_box_active", - "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", - "parameter_list": { - "style": "alert", - "icon_src": "plh_images/icons/star.svg", - "icon_position": "top-right" - }, - "_nested_name": "dashed_box_active" + "type": "text", + "name": "text1", + "value": "This is text where part is bold part is in italics and part is both bold and italics (emphasised) ", + "_nested_name": "text1" }, { "type": "dashed_box", - "name": "habit_text", - "value": "Every time you do a relax, \nclick the @global.parent_point \nand celebrate your success", - "parameter_list": { - "icon_src": "plh_images/icons/star_circle.svg", - "icon_position": "top-left" - }, - "_nested_name": "habit_text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Every time you do a relax, \nclick the @global.parent_point \nand celebrate your success", - "matchedExpression": "@global.parent_point", - "type": "global", - "fieldName": "parent_point" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_point": [ - "value" - ] - } + "name": "box1", + "value": "This is a dashed box where some of the text is bold and italics", + "_nested_name": "box1" }, { - "type": "dashed_box", - "name": "habit_text_2", - "value": "Every time you do a relax, click the @global.parent_point and celebrate your success", - "parameter_list": { - "icon_src": "plh_images/icons/star_circle.svg", - "icon_position": "top-left" - }, - "_nested_name": "habit_text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Every time you do a relax, click the @global.parent_point and celebrate your success", - "matchedExpression": "@global.parent_point", - "type": "global", - "fieldName": "parent_point" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_point": [ - "value" - ] - } + "type": "button", + "name": "button1", + "value": "Some of this button is bold. WOAH!", + "_nested_name": "button1" + }, + { + "type": "text", + "name": "list1", + "value": "There is a - dash - betwen these words but it's not a list\nThis is text with a list in it\n- List item 1\n- List item 2\n- List item 3", + "_nested_name": "list1" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" }, { "flow_type": "template", - "flow_name": "feature_dashed_box", + "flow_name": "feature_display_group", "status": "released", "rows": [ { - "type": "dashed_box", - "name": "dashed_box_passive", - "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", + "type": "display_group", + "name": "example_dp_gr", "parameter_list": { - "style": "alert", - "icon_src": "plh_images/icons/star.svg", - "icon_position": "top-right" + "style": "tool_1" }, - "_nested_name": "dashed_box_passive" + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title light_orange", + "parameter_list": { + "style": "primary" + }, + "style_list": [ + "margin: 10px 10px" + ], + "_nested_name": "example_dp_gr.title_ex_s" + }, + { + "type": "text", + "name": "text_ex_text", + "value": "Text for display light_orange", + "parameter_list": { + "text_align": "center" + }, + "_nested_name": "example_dp_gr.text_ex_text" + } + ], + "_nested_name": "example_dp_gr" }, { - "type": "dashed_box", - "name": "dashed_box_active", - "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", + "type": "display_group", + "name": "dg_example_2", "parameter_list": { - "style": "default", - "icon_src": "plh_images/icons/star.svg", - "icon_position": "top-left" + "style": "tool_2" }, - "_nested_name": "dashed_box_active" + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title orange", + "parameter_list": { + "style": "primary" + }, + "style_list": [ + "margin: 10px 10px" + ], + "_nested_name": "dg_example_2.title_ex_s" + }, + { + "type": "text", + "name": "text_ex_text", + "value": "Text for display orange", + "parameter_list": { + "text_align": "right" + }, + "_nested_name": "dg_example_2.text_ex_text" + } + ], + "_nested_name": "dg_example_2" }, { - "type": "dashed_box", - "name": "dashed_box_passive", - "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", + "type": "display_group", + "name": "dg_example_3", "parameter_list": { - "style": "alert", - "icon_src": "plh_images/icons/star.svg", - "icon_position": "bottom-left" + "style": "tool_3" }, - "_nested_name": "dashed_box_passive" + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title light_blue", + "parameter_list": { + "style": "primary" + }, + "style_list": [ + "margin: 10px 10px" + ], + "_nested_name": "dg_example_3.title_ex_s" + }, + { + "type": "text", + "name": "text_ex_text", + "value": "Text for display light_blue", + "parameter_list": { + "text_align": "left" + }, + "_nested_name": "dg_example_3.text_ex_text" + } + ], + "_nested_name": "dg_example_3" }, { - "type": "dashed_box", - "name": "dashed_box_active", - "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", + "type": "display_group", + "name": "dg_example_4", "parameter_list": { - "style": "default", - "icon_src": "plh_images/icons/star.svg", - "icon_position": "bottom-right" + "style": "tool_4" }, - "_nested_name": "dashed_box_active" + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title blue", + "parameter_list": { + "style": "primary" + }, + "style_list": [ + "margin: 10px 10px" + ], + "_nested_name": "dg_example_4.title_ex_s" + }, + { + "type": "text", + "name": "text_ex_text", + "value": "Text for display blue", + "parameter_list": { + "text_align": "center" + }, + "_nested_name": "dg_example_4.text_ex_text" + } + ], + "_nested_name": "dg_example_4" }, { - "type": "dashed_box", - "name": "dashed_box_active", - "value": "Every time you do a relax, mark your star in ParentPoints to track your success. ", + "type": "display_group", + "name": "dg_example_6", "parameter_list": { - "style": "alert", - "icon_src": "plh_images/icons/star.svg", - "icon_position": "bottom-right" + "style": "tool_5" }, - "_nested_name": "dashed_box_active" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_subtitle", - "status": "released", - "rows": [ - { - "type": "subtitle", - "name": "subtitle_debug_style_primary", - "value": "default", - "_nested_name": "subtitle_debug_style_primary" + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title dark_blue", + "parameter_list": { + "style": "alternative" + }, + "style_list": [ + "margin: 10px 10px" + ], + "_nested_name": "dg_example_6.title_ex_s" + }, + { + "type": "text", + "name": "text_ex_text", + "value": "Text for display dark_blue", + "parameter_list": { + "text_align": "right" + }, + "_nested_name": "dg_example_6.text_ex_text" + } + ], + "_nested_name": "dg_example_6" }, { - "type": "subtitle", - "name": "subtitle_debug_style_active", - "value": "alternative small", + "type": "display_group", + "name": "dg_example_7", "parameter_list": { - "style": "alternative small" + "style": "banner_active", + "offset": "30" }, - "_nested_name": "subtitle_debug_style_active" + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title with offset", + "parameter_list": { + "style": "primary" + }, + "style_list": [ + "margin: 10px 10px" + ], + "_nested_name": "dg_example_7.title_ex_s" + }, + { + "type": "image", + "name": "image", + "value": "plh_images/characters/group/talk_together.png", + "style_list": [ + "max-width: 250px" + ], + "_nested_name": "dg_example_7.image" + } + ], + "_nested_name": "dg_example_7" }, { - "type": "subtitle", - "name": "subtitle_debug_text_align_left", - "value": "medium right", + "type": "display_group", + "name": "dg_example_8", "parameter_list": { - "style": "medium right" + "style": "white_box" }, - "_nested_name": "subtitle_debug_text_align_left" + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title white box", + "parameter_list": { + "style": "primary" + }, + "style_list": [ + "margin: 10px 10px" + ], + "_nested_name": "dg_example_8.title_ex_s" + }, + { + "type": "text", + "name": "text_ex_text", + "value": "Text for display white box", + "parameter_list": { + "text_align": "left" + }, + "_nested_name": "dg_example_8.text_ex_text" + } + ], + "_nested_name": "dg_example_8" }, { - "type": "subtitle", - "name": "subtitle_debug_text_align_center", - "value": "large center", + "type": "display_group", + "name": "dg_example_8", "parameter_list": { - "style": "large center" + "style": "white_box" }, - "_nested_name": "subtitle_debug_text_align_center" + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title white box", + "parameter_list": { + "style": "primary" + }, + "style_list": [ + "margin: 10px 10px" + ], + "_nested_name": "dg_example_8.title_ex_s" + }, + { + "type": "text", + "name": "text_ex_text", + "value": "Text for display white box", + "parameter_list": { + "text_align": "left" + }, + "_nested_name": "dg_example_8.text_ex_text" + } + ], + "_nested_name": "dg_example_8" }, { - "type": "subtitle", - "name": "subtitle_debug_text_right", - "value": "center contextual", + "type": "display_group", + "name": "dg_example_8", "parameter_list": { - "style": "center contextual" + "style": "navigation" }, - "_nested_name": "subtitle_debug_text_right" + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "button", + "name": "btn_example", + "value": "Continue", + "parameter_list": { + "style": "blue" + }, + "_nested_name": "dg_example_8.btn_example" + } + ], + "_nested_name": "dg_example_8" }, { - "type": "subtitle", - "name": "subtitle_debug_text_right", - "value": "emphasised alternative", + "type": "display_group", + "name": "dg_example_8", "parameter_list": { - "style": "emphasised alternative" + "style": "banner_welcome" }, - "_nested_name": "subtitle_debug_text_right" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_parent_point_box", - "status": "released", - "rows": [ + "style_list": [], + "rows": [ + { + "type": "image", + "name": "image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "_nested_name": "dg_example_8.image" + } + ], + "_nested_name": "dg_example_8" + }, { - "type": "text", - "name": "text_1", - "value": "value 1 is @fields.demo_changed_field_parent_point", - "_nested_name": "text_1", - "_dynamicFields": { - "value": [ - { - "fullExpression": "value 1 is @fields.demo_changed_field_parent_point", - "matchedExpression": "@fields.demo_changed_field_parent_point", - "type": "fields", - "fieldName": "demo_changed_field_parent_point" - } - ] + "type": "display_group", + "name": "dg_example_7", + "parameter_list": { + "style": "banner_short" }, - "_dynamicDependencies": { - "@fields.demo_changed_field_parent_point": [ - "value" - ] - } + "style_list": [], + "rows": [ + { + "type": "subtitle", + "name": "title_ex_s", + "value": "Example short banner", + "parameter_list": { + "style": "small emphasised" + }, + "_nested_name": "dg_example_7.title_ex_s" + }, + { + "type": "image", + "name": "image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "_nested_name": "dg_example_7.image" + } + ], + "_nested_name": "dg_example_7" }, { - "type": "text", - "name": "text_2", - "value": "value 2 is @fields.demo_changed_field_parent_point_1", - "_nested_name": "text_2", - "_dynamicFields": { - "value": [ - { - "fullExpression": "value 2 is @fields.demo_changed_field_parent_point_1", - "matchedExpression": "@fields.demo_changed_field_parent_point_1", - "type": "fields", - "fieldName": "demo_changed_field_parent_point_1" - } - ] + "type": "display_group", + "name": "dg_example_7", + "parameter_list": { + "style": "banner_short" }, - "_dynamicDependencies": { - "@fields.demo_changed_field_parent_point_1": [ - "value" - ] - } + "rows": [ + { + "type": "subtitle", + "name": "title_ex_s", + "value": "Example short banner with more text", + "parameter_list": { + "style": "small emphasised" + }, + "_nested_name": "dg_example_7.title_ex_s" + }, + { + "type": "image", + "name": "image", + "value": "plh_images/workshop_modes/guide_2/wave.svg", + "_nested_name": "dg_example_7.image" + } + ], + "_nested_name": "dg_example_7" }, { - "type": "text", - "name": "text_3", - "value": "value 3 is @fields.demo_changed_field_parent_point_2", - "_nested_name": "text_3", - "_dynamicFields": { - "value": [ - { - "fullExpression": "value 3 is @fields.demo_changed_field_parent_point_2", - "matchedExpression": "@fields.demo_changed_field_parent_point_2", - "type": "fields", - "fieldName": "demo_changed_field_parent_point_2" - } - ] + "type": "display_group", + "name": "dg_example_7", + "parameter_list": { + "style": "banner_welcome" }, - "_dynamicDependencies": { - "@fields.demo_changed_field_parent_point_2": [ - "value" - ] - } + "rows": [ + { + "type": "image", + "name": "image", + "value": "plh_images/workshop_modes/guide_2/relax.svg", + "_nested_name": "dg_example_7.image" + } + ], + "_nested_name": "dg_example_7" }, { "type": "display_group", - "name": "dg", + "name": "dg_example_dashed_box", "parameter_list": { - "style": "parent_point" + "style": "dashed_box", + "icon_src": "plh_images/icons/star.svg" }, - "style_list": [ - "flex-wrap: wrap" - ], "rows": [ { - "name": "init_value_1", - "value": 2, - "type": "set_variable", - "_nested_name": "dg.init_value_1" + "type": "subtitle", + "value": "survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", + "parameter_list": { + "style": "right" + }, + "name": "subtitle", + "_nested_name": "dg_example_dashed_box.subtitle" }, { "type": "parent_point_box", - "name": "points_example", - "value": "@local.init_value_1", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "demo_changed_field_parent_point", - "@local.points_example" - ], - "_raw": "changed | set_field: demo_changed_field_parent_point: @local.points_example", - "_cleaned": "changed | set_field: demo_changed_field_parent_point: @local.points_example" - } - ], + "name": "points_example_1", + "value": 3, "parameter_list": { - "icon_src": "@local.icon_src1", - "text": "@local.text1" - }, - "_nested_name": "dg.points_example", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.init_value_1", - "matchedExpression": "@local.init_value_1", - "type": "local", - "fieldName": "init_value_1" - } - ], - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.points_example", - "matchedExpression": "@local.points_example", - "type": "local", - "fieldName": "points_example" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: demo_changed_field_parent_point: @local.points_example", - "matchedExpression": "@local.points_example", - "type": "local", - "fieldName": "points_example" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: demo_changed_field_parent_point: @local.points_example", - "matchedExpression": "@local.points_example", - "type": "local", - "fieldName": "points_example" - } - ] - } - }, - "parameter_list": { - "icon_src": [ - { - "fullExpression": "@local.icon_src1", - "matchedExpression": "@local.icon_src1", - "type": "local", - "fieldName": "icon_src1" - } - ], - "text": [ - { - "fullExpression": "@local.text1", - "matchedExpression": "@local.text1", - "type": "local", - "fieldName": "text1" - } - ] - } + "lottie_src": "lottie_animations/parent_centre.json", + "text": "text two" }, - "_dynamicDependencies": { - "@local.init_value_1": [ - "value" - ], - "@local.points_example": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.icon_src1": [ - "parameter_list.icon_src" - ], - "@local.text1": [ - "parameter_list.text" - ] - } + "_nested_name": "dg_example_dashed_box.points_example_1" }, { - "name": "icon_src1", - "value": "plh_images/habits/habit_money.svg", - "type": "set_variable", - "_nested_name": "dg.icon_src1" + "type": "button", + "name": "btn_example", + "value": "Continue", + "_nested_name": "dg_example_dashed_box.btn_example" + } + ], + "_nested_name": "dg_example_dashed_box" + }, + { + "type": "display_group", + "name": "dg_example_form", + "parameter_list": { + "style": "form", + "get_device_info": "true", + "button_text": "Send" + }, + "rows": [ + { + "type": "text_box", + "name": "user_name", + "parameter_list": { + "help": "some help text", + "placeholder": "Add your name" + }, + "_nested_name": "dg_example_form.user_name" }, { - "name": "text", - "value": "Good money choice", - "type": "set_variable", - "_nested_name": "dg.text" + "type": "text_box", + "name": "user_phone", + "parameter_list": { + "help": "some help text", + "placeholder": "Add your phone number" + }, + "_nested_name": "dg_example_form.user_phone" }, { - "type": "parent_point_box", - "name": "points_example_1", - "value": 3, + "type": "simple_checkbox", + "name": "checkbox_1", + "value": false, "action_list": [ { "trigger": "changed", "action_id": "set_field", "args": [ - "demo_changed_field_parent_point_1", - "@local.points_example_1" + "demo_changed_field_checkbox", + "@local.checkbox_1" ], - "_raw": "changed | set_field: demo_changed_field_parent_point_1: @local.points_example_1", - "_cleaned": "changed | set_field: demo_changed_field_parent_point_1: @local.points_example_1" + "_raw": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", + "_cleaned": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1" } ], "parameter_list": { - "icon_src": "@local.icon_src1", - "text": "@local.text1" + "label_text": "Example answer?" }, - "_nested_name": "dg.points_example_1", + "_nested_name": "dg_example_form.checkbox_1", "_dynamicFields": { "action_list": { "0": { "args": { "1": [ { - "fullExpression": "@local.points_example_1", - "matchedExpression": "@local.points_example_1", + "fullExpression": "@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", "type": "local", - "fieldName": "points_example_1" + "fieldName": "checkbox_1" } ] }, "_raw": [ { - "fullExpression": "changed | set_field: demo_changed_field_parent_point_1: @local.points_example_1", - "matchedExpression": "@local.points_example_1", + "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", "type": "local", - "fieldName": "points_example_1" + "fieldName": "checkbox_1" } ], "_cleaned": [ { - "fullExpression": "changed | set_field: demo_changed_field_parent_point_1: @local.points_example_1", - "matchedExpression": "@local.points_example_1", + "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", + "matchedExpression": "@local.checkbox_1", "type": "local", - "fieldName": "points_example_1" + "fieldName": "checkbox_1" } ] } - }, - "parameter_list": { - "icon_src": [ - { - "fullExpression": "@local.icon_src1", - "matchedExpression": "@local.icon_src1", - "type": "local", - "fieldName": "icon_src1" - } - ], - "text": [ - { - "fullExpression": "@local.text1", - "matchedExpression": "@local.text1", - "type": "local", - "fieldName": "text1" - } - ] } }, "_dynamicDependencies": { - "@local.points_example_1": [ + "@local.checkbox_1": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" - ], - "@local.icon_src1": [ - "parameter_list.icon_src" - ], - "@local.text1": [ - "parameter_list.text" ] } }, { - "name": "icon_src1", - "value": "plh_images/habits/habit_money.svg", - "type": "set_variable", - "_nested_name": "dg.icon_src1" + "type": "simple_checkbox", + "name": "checkbox_2", + "value": true, + "parameter_list": { + "label_text": "Example answer?" + }, + "_nested_name": "dg_example_form.checkbox_2" }, { - "name": "text1", - "value": "Good money choice 1", - "type": "set_variable", - "_nested_name": "dg.text1" + "type": "title", + "value": "Some text here", + "name": "title", + "_nested_name": "dg_example_form.title" }, { - "type": "parent_point_box", - "name": "points_example_2", - "value": 3, - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "demo_changed_field_parent_point_2", - "@local.points_example_2" - ], - "_raw": "changed | set_field: demo_changed_field_parent_point_2: @local.points_example_2", - "_cleaned": "changed | set_field: demo_changed_field_parent_point_2: @local.points_example_2" - } - ], + "type": "text_area", + "name": "text_area", "parameter_list": { - "icon_src": "@local.icon_src1", - "text": "@local.text1" - }, - "_nested_name": "dg.points_example_2", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.points_example_2", - "matchedExpression": "@local.points_example_2", - "type": "local", - "fieldName": "points_example_2" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: demo_changed_field_parent_point_2: @local.points_example_2", - "matchedExpression": "@local.points_example_2", - "type": "local", - "fieldName": "points_example_2" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: demo_changed_field_parent_point_2: @local.points_example_2", - "matchedExpression": "@local.points_example_2", - "type": "local", - "fieldName": "points_example_2" - } - ] - } - }, - "parameter_list": { - "icon_src": [ - { - "fullExpression": "@local.icon_src1", - "matchedExpression": "@local.icon_src1", - "type": "local", - "fieldName": "icon_src1" - } - ], - "text": [ - { - "fullExpression": "@local.text1", - "matchedExpression": "@local.text1", - "type": "local", - "fieldName": "text1" - } - ] - } + "placeholder": "example placeholder" }, - "_dynamicDependencies": { - "@local.points_example_2": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.icon_src1": [ - "parameter_list.icon_src" - ], - "@local.text1": [ - "parameter_list.text" - ] - } + "_nested_name": "dg_example_form.text_area" + } + ], + "_nested_name": "dg_example_form" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_dg_styles_improve", + "status": "released", + "rows": [ + { + "type": "text", + "name": "text_1", + "value": "Display group with style column", + "_nested_name": "text_1" + }, + { + "type": "display_group", + "parameter_list": { + "style": "tool_1 column" + }, + "style_list": [ + "margin: 15px 0" + ], + "rows": [ + { + "type": "text", + "name": "text", + "value": "Text 1", + "_nested_name": "display_group.text" }, { - "name": "icon_src1", - "value": "plh_images/habits/habit_money.svg", - "type": "set_variable", - "_nested_name": "dg.icon_src1" + "type": "title", + "name": "title", + "value": "title 1", + "_nested_name": "display_group.title" + }, + { + "type": "button", + "value": "Ok", + "name": "button", + "_nested_name": "display_group.button" + } + ], + "name": "display_group", + "_nested_name": "display_group" + }, + { + "type": "text", + "name": "text_2", + "value": "Display group with style row", + "_nested_name": "text_2" + }, + { + "type": "display_group", + "parameter_list": { + "style": "tool_2 row" + }, + "style_list": [ + "margin: 15px 0" + ], + "rows": [ + { + "type": "text", + "name": "text", + "value": "Text 1", + "_nested_name": "display_group.text" + }, + { + "type": "title", + "name": "title", + "value": "title 1", + "_nested_name": "display_group.title" + }, + { + "type": "button", + "value": "Ok", + "name": "button", + "_nested_name": "display_group.button" + } + ], + "name": "display_group", + "_nested_name": "display_group" + }, + { + "type": "text", + "name": "text_3", + "value": "Display group with style banner and parameter offset: 50;", + "_nested_name": "text_3" + }, + { + "type": "display_group", + "parameter_list": { + "style": "tool_2 row", + "offset": "50" + }, + "style_list": [ + "margin: 15px 0" + ], + "rows": [ + { + "type": "image", + "value": "plh_images/home_page/home_page_workshops.svg", + "name": "image", + "_nested_name": "display_group.image" } ], - "_nested_name": "dg" - }, + "name": "display_group", + "_nested_name": "display_group" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_audio", + "status": "released", + "rows": [ { - "type": "title", - "value": "lottie", - "name": "title", - "_nested_name": "title" + "type": "audio", + "name": "audio_1", + "value": "plh_audio/sample.mp3", + "parameter_list": { + "range_bar_disabled": "true", + "time_to_rewind": "5", + "title": "Audio player #1" + }, + "style_list": [ + "margin-top: 15px" + ], + "_nested_name": "audio_1" }, { - "type": "display_group", - "name": "dg", + "type": "audio", + "name": "audio_2", + "value": "plh_audio/sample.mp3", "parameter_list": { - "style": "parent_point" + "range_bar_disabled": "false", + "time_to_rewind": "3", + "title": "Audio player #2", + "help": "Example" }, "style_list": [ - "flex-wrap: wrap" - ], - "rows": [ - { - "name": "init_value_1", - "value": 2, - "type": "set_variable", - "_nested_name": "dg.init_value_1" - }, - { - "type": "parent_point_box", - "name": "points_example", - "value": "@local.init_value_1", - "parameter_list": { - "lottie_src": "lottie_animations/parent_points.json", - "text": "text one" - }, - "_nested_name": "dg.points_example", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.init_value_1", - "matchedExpression": "@local.init_value_1", - "type": "local", - "fieldName": "init_value_1" - } - ] - }, - "_dynamicDependencies": { - "@local.init_value_1": [ - "value" - ] - } - }, - { - "name": "text4", - "value": "text one", - "type": "set_variable", - "_nested_name": "dg.text4" - }, - { - "type": "parent_point_box", - "name": "points_example_1", - "value": 3, - "parameter_list": { - "lottie_src": "lottie_animations/parent_centre.json", - "text": "text two" - }, - "_nested_name": "dg.points_example_1" - }, - { - "name": "text5", - "value": "text two", - "type": "set_variable", - "_nested_name": "dg.text5" - }, - { - "type": "parent_point_box", - "name": "points_example_2", - "value": 3, - "parameter_list": { - "lottie_src": "lottie_animations/parent_points.json", - "text": "text three" - }, - "_nested_name": "dg.points_example_2" - }, - { - "name": "text6", - "value": "text three", - "type": "set_variable", - "_nested_name": "dg.text6" - } + "margin-top: 15px" ], - "_nested_name": "dg" + "_nested_name": "audio_2" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" @@ -54183,891 +58976,1158 @@ }, { "flow_type": "template", - "flow_name": "feature_text", + "flow_name": "feature_parent_point_box", "status": "released", "rows": [ { "type": "text", - "name": "text", - "value": "**This is bold text** and _italic text_ with markdown", - "_nested_name": "text" - }, - { - "type": "text", - "name": "text", - "value": "Font size medim and bold text", - "parameter_list": { - "style": "medium emphasised center" - }, - "_nested_name": "text" - }, - { - "type": "text", - "name": "text", - "value": "Italic right aligned large text", - "parameter_list": { - "style": "large contextual right" - }, - "_nested_name": "text" - }, - { - "type": "text", - "name": "text", - "value": "Standard text with default styles", - "_nested_name": "text" - }, - { - "type": "text", - "name": "text", - "value": "Italic center aligned large text and color white", - "parameter_list": { - "style": "large contextual center alternative center" - }, - "_nested_name": "text" - }, - { - "type": "text", - "name": "text", - "value": "Font size large and bold text", - "parameter_list": { - "style": "large emphasised right" - }, - "_nested_name": "text" - }, - { - "type": "text", - "name": "text", - "value": "Tiny text", - "parameter_list": { - "style": "tiny center" + "name": "text_1", + "value": "value 1 is @fields.demo_changed_field_parent_point", + "_nested_name": "text_1", + "_dynamicFields": { + "value": [ + { + "fullExpression": "value 1 is @fields.demo_changed_field_parent_point", + "matchedExpression": "@fields.demo_changed_field_parent_point", + "type": "fields", + "fieldName": "demo_changed_field_parent_point" + } + ] }, - "_nested_name": "text" - }, - { - "type": "text", - "name": "text", - "value": "Left aligned", - "_nested_name": "text" + "_dynamicDependencies": { + "@fields.demo_changed_field_parent_point": [ + "value" + ] + } }, { "type": "text", - "name": "text", - "value": "Right aligned", - "parameter_list": { - "style": "right" + "name": "text_2", + "value": "value 2 is @fields.demo_changed_field_parent_point_1", + "_nested_name": "text_2", + "_dynamicFields": { + "value": [ + { + "fullExpression": "value 2 is @fields.demo_changed_field_parent_point_1", + "matchedExpression": "@fields.demo_changed_field_parent_point_1", + "type": "fields", + "fieldName": "demo_changed_field_parent_point_1" + } + ] }, - "_nested_name": "text" + "_dynamicDependencies": { + "@fields.demo_changed_field_parent_point_1": [ + "value" + ] + } }, { "type": "text", - "name": "text", - "value": "Center aligned", - "parameter_list": { - "style": "center" + "name": "text_3", + "value": "value 3 is @fields.demo_changed_field_parent_point_2", + "_nested_name": "text_3", + "_dynamicFields": { + "value": [ + { + "fullExpression": "value 3 is @fields.demo_changed_field_parent_point_2", + "matchedExpression": "@fields.demo_changed_field_parent_point_2", + "type": "fields", + "fieldName": "demo_changed_field_parent_point_2" + } + ] }, - "_nested_name": "text" + "_dynamicDependencies": { + "@fields.demo_changed_field_parent_point_2": [ + "value" + ] + } }, { - "type": "text", - "name": "white color ", - "value": "Center aligned", + "type": "display_group", + "name": "dg", "parameter_list": { - "style": "alternative" + "style": "parent_point" }, - "_nested_name": "white color " + "style_list": [ + "flex-wrap: wrap" + ], + "rows": [ + { + "name": "init_value_1", + "value": 2, + "type": "set_variable", + "_nested_name": "dg.init_value_1" + }, + { + "type": "parent_point_box", + "name": "points_example", + "value": "@local.init_value_1", + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_field_parent_point", + "@local.points_example" + ], + "_raw": "changed | set_field: demo_changed_field_parent_point: @local.points_example", + "_cleaned": "changed | set_field: demo_changed_field_parent_point: @local.points_example" + } + ], + "parameter_list": { + "icon_src": "@local.icon_src1", + "text": "@local.text1" + }, + "_nested_name": "dg.points_example", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.init_value_1", + "matchedExpression": "@local.init_value_1", + "type": "local", + "fieldName": "init_value_1" + } + ], + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.points_example", + "matchedExpression": "@local.points_example", + "type": "local", + "fieldName": "points_example" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: demo_changed_field_parent_point: @local.points_example", + "matchedExpression": "@local.points_example", + "type": "local", + "fieldName": "points_example" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: demo_changed_field_parent_point: @local.points_example", + "matchedExpression": "@local.points_example", + "type": "local", + "fieldName": "points_example" + } + ] + } + }, + "parameter_list": { + "icon_src": [ + { + "fullExpression": "@local.icon_src1", + "matchedExpression": "@local.icon_src1", + "type": "local", + "fieldName": "icon_src1" + } + ], + "text": [ + { + "fullExpression": "@local.text1", + "matchedExpression": "@local.text1", + "type": "local", + "fieldName": "text1" + } + ] + } + }, + "_dynamicDependencies": { + "@local.init_value_1": [ + "value" + ], + "@local.points_example": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.icon_src1": [ + "parameter_list.icon_src" + ], + "@local.text1": [ + "parameter_list.text" + ] + } + }, + { + "name": "icon_src1", + "value": "plh_images/habits/habit_money.svg", + "type": "set_variable", + "_nested_name": "dg.icon_src1" + }, + { + "name": "text", + "value": "Good money choice", + "type": "set_variable", + "_nested_name": "dg.text" + }, + { + "type": "parent_point_box", + "name": "points_example_1", + "value": 3, + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_field_parent_point_1", + "@local.points_example_1" + ], + "_raw": "changed | set_field: demo_changed_field_parent_point_1: @local.points_example_1", + "_cleaned": "changed | set_field: demo_changed_field_parent_point_1: @local.points_example_1" + } + ], + "parameter_list": { + "icon_src": "@local.icon_src1", + "text": "@local.text1" + }, + "_nested_name": "dg.points_example_1", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.points_example_1", + "matchedExpression": "@local.points_example_1", + "type": "local", + "fieldName": "points_example_1" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: demo_changed_field_parent_point_1: @local.points_example_1", + "matchedExpression": "@local.points_example_1", + "type": "local", + "fieldName": "points_example_1" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: demo_changed_field_parent_point_1: @local.points_example_1", + "matchedExpression": "@local.points_example_1", + "type": "local", + "fieldName": "points_example_1" + } + ] + } + }, + "parameter_list": { + "icon_src": [ + { + "fullExpression": "@local.icon_src1", + "matchedExpression": "@local.icon_src1", + "type": "local", + "fieldName": "icon_src1" + } + ], + "text": [ + { + "fullExpression": "@local.text1", + "matchedExpression": "@local.text1", + "type": "local", + "fieldName": "text1" + } + ] + } + }, + "_dynamicDependencies": { + "@local.points_example_1": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.icon_src1": [ + "parameter_list.icon_src" + ], + "@local.text1": [ + "parameter_list.text" + ] + } + }, + { + "name": "icon_src1", + "value": "plh_images/habits/habit_money.svg", + "type": "set_variable", + "_nested_name": "dg.icon_src1" + }, + { + "name": "text1", + "value": "Good money choice 1", + "type": "set_variable", + "_nested_name": "dg.text1" + }, + { + "type": "parent_point_box", + "name": "points_example_2", + "value": 3, + "action_list": [ + { + "trigger": "changed", + "action_id": "set_field", + "args": [ + "demo_changed_field_parent_point_2", + "@local.points_example_2" + ], + "_raw": "changed | set_field: demo_changed_field_parent_point_2: @local.points_example_2", + "_cleaned": "changed | set_field: demo_changed_field_parent_point_2: @local.points_example_2" + } + ], + "parameter_list": { + "icon_src": "@local.icon_src1", + "text": "@local.text1" + }, + "_nested_name": "dg.points_example_2", + "_dynamicFields": { + "action_list": { + "0": { + "args": { + "1": [ + { + "fullExpression": "@local.points_example_2", + "matchedExpression": "@local.points_example_2", + "type": "local", + "fieldName": "points_example_2" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | set_field: demo_changed_field_parent_point_2: @local.points_example_2", + "matchedExpression": "@local.points_example_2", + "type": "local", + "fieldName": "points_example_2" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | set_field: demo_changed_field_parent_point_2: @local.points_example_2", + "matchedExpression": "@local.points_example_2", + "type": "local", + "fieldName": "points_example_2" + } + ] + } + }, + "parameter_list": { + "icon_src": [ + { + "fullExpression": "@local.icon_src1", + "matchedExpression": "@local.icon_src1", + "type": "local", + "fieldName": "icon_src1" + } + ], + "text": [ + { + "fullExpression": "@local.text1", + "matchedExpression": "@local.text1", + "type": "local", + "fieldName": "text1" + } + ] + } + }, + "_dynamicDependencies": { + "@local.points_example_2": [ + "action_list.0.args.1", + "action_list.0._raw", + "action_list.0._cleaned" + ], + "@local.icon_src1": [ + "parameter_list.icon_src" + ], + "@local.text1": [ + "parameter_list.text" + ] + } + }, + { + "name": "icon_src1", + "value": "plh_images/habits/habit_money.svg", + "type": "set_variable", + "_nested_name": "dg.icon_src1" + } + ], + "_nested_name": "dg" }, { "type": "title", - "value": "Display group", + "value": "lottie", "name": "title", "_nested_name": "title" }, { "type": "display_group", + "name": "dg", "parameter_list": { - "style": "two_columns" + "style": "parent_point" }, + "style_list": [ + "flex-wrap: wrap" + ], "rows": [ { - "type": "text", - "name": "text", - "value": "some text", - "_nested_name": "display_group.text" + "name": "init_value_1", + "value": 2, + "type": "set_variable", + "_nested_name": "dg.init_value_1" }, { - "type": "text", - "name": "text", - "value": "some text", - "_nested_name": "display_group.text" + "type": "parent_point_box", + "name": "points_example", + "value": "@local.init_value_1", + "parameter_list": { + "lottie_src": "lottie_animations/parent_points.json", + "text": "text one" + }, + "_nested_name": "dg.points_example", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@local.init_value_1", + "matchedExpression": "@local.init_value_1", + "type": "local", + "fieldName": "init_value_1" + } + ] + }, + "_dynamicDependencies": { + "@local.init_value_1": [ + "value" + ] + } }, { - "type": "text", - "name": "text", - "value": "some text", - "_nested_name": "display_group.text" + "name": "text4", + "value": "text one", + "type": "set_variable", + "_nested_name": "dg.text4" }, { - "type": "text", - "name": "text", - "value": "some text", - "_nested_name": "display_group.text" + "type": "parent_point_box", + "name": "points_example_1", + "value": 3, + "parameter_list": { + "lottie_src": "lottie_animations/parent_centre.json", + "text": "text two" + }, + "_nested_name": "dg.points_example_1" }, { - "type": "text", - "name": "white color ", - "value": "some text", - "_nested_name": "display_group.white color " + "name": "text5", + "value": "text two", + "type": "set_variable", + "_nested_name": "dg.text5" + }, + { + "type": "parent_point_box", + "name": "points_example_2", + "value": 3, + "parameter_list": { + "lottie_src": "lottie_animations/parent_points.json", + "text": "text three" + }, + "_nested_name": "dg.points_example_2" + }, + { + "name": "text6", + "value": "text three", + "type": "set_variable", + "_nested_name": "dg.text6" } ], - "name": "display_group", - "_nested_name": "display_group" + "_nested_name": "dg" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" }, { "flow_type": "template", - "flow_name": "feature_audio", + "flow_name": "feature_radio_group", "status": "released", "rows": [ { - "type": "audio", - "name": "audio_1", - "value": "plh_audio/sample.mp3", - "parameter_list": { - "range_bar_disabled": "true", - "time_to_rewind": "5", - "title": "Audio player #1" - }, - "style_list": [ - "margin-top: 15px" + "name": "answer0_list", + "value": [ + "name:name_var_1 | text:Single", + "name:name_var_2 | text:Pair" ], - "_nested_name": "audio_1" + "type": "set_variable", + "_nested_name": "answer0_list" }, { - "type": "audio", - "name": "audio_2", - "value": "plh_audio/sample.mp3", + "name": "options_per_row", + "value": 2, + "type": "set_variable", + "_nested_name": "options_per_row" + }, + { + "type": "radio_group", + "name": "radio_group_square", + "value": "Pair", "parameter_list": { - "range_bar_disabled": "false", - "time_to_rewind": "3", - "title": "Audio player #2", - "help": "Example" + "answer_list": "@local.answer0_list", + "options_per_row": "@local.options_per_row" }, - "style_list": [ - "margin-top: 15px" - ], - "_nested_name": "audio_2" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_dg_styles_improve", - "status": "released", - "rows": [ + "_nested_name": "radio_group_square", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer0_list", + "matchedExpression": "@local.answer0_list", + "type": "local", + "fieldName": "answer0_list" + } + ], + "options_per_row": [ + { + "fullExpression": "@local.options_per_row", + "matchedExpression": "@local.options_per_row", + "type": "local", + "fieldName": "options_per_row" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer0_list": [ + "parameter_list.answer_list" + ], + "@local.options_per_row": [ + "parameter_list.options_per_row" + ] + } + }, { - "type": "text", - "name": "text_1", - "value": "Display group with style column", - "_nested_name": "text_1" + "name": "answer1_list", + "value": [ + "name:name_var_1 | text:Woman | image:/plh_images/icons/heart.svg", + "name:name_var_2 | text:Man | image:/plh_images/icons/heart.svg" + ], + "type": "set_variable", + "_nested_name": "answer1_list" }, { - "type": "display_group", + "type": "radio_group", + "name": "radio_group_square_ex1", + "value": "Black", "parameter_list": { - "style": "tool_1 column" + "answer_list": "@local.answer2_list", + "options_per_row": "3" }, - "style_list": [ - "margin: 15px 0" - ], - "rows": [ - { - "type": "text", - "name": "text", - "value": "Text 1", - "_nested_name": "display_group.text" - }, - { - "type": "title", - "name": "title", - "value": "title 1", - "_nested_name": "display_group.title" - }, - { - "type": "button", - "value": "Ok", - "name": "button", - "_nested_name": "display_group.button" + "_nested_name": "radio_group_square_ex1", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer2_list", + "matchedExpression": "@local.answer2_list", + "type": "local", + "fieldName": "answer2_list" + } + ] } - ], - "name": "display_group", - "_nested_name": "display_group" + }, + "_dynamicDependencies": { + "@local.answer2_list": [ + "parameter_list.answer_list" + ] + } }, { - "type": "text", - "name": "text_2", - "value": "Display group with style row", - "_nested_name": "text_2" + "name": "answer2_list", + "value": [ + "name:name_var_1 | text:Black| image:/plh_images/icons/heart.svg", + "name:name_var_2| image:/plh_images/icons/heart.svg | text:White", + "name:name_var_3| image:/plh_images/icons/heart.svg | text:Blue" + ], + "type": "set_variable", + "_nested_name": "answer2_list" }, { - "type": "display_group", + "type": "radio_group", + "name": "radio_group_square_ex2", "parameter_list": { - "style": "tool_2 row" + "answer_list": "@local.answer3_list", + "options_per_row": "3" }, - "style_list": [ - "margin: 15px 0" - ], - "rows": [ - { - "type": "text", - "name": "text", - "value": "Text 1", - "_nested_name": "display_group.text" - }, - { - "type": "title", - "name": "title", - "value": "title 1", - "_nested_name": "display_group.title" - }, - { - "type": "button", - "value": "Ok", - "name": "button", - "_nested_name": "display_group.button" + "_nested_name": "radio_group_square_ex2", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer3_list", + "matchedExpression": "@local.answer3_list", + "type": "local", + "fieldName": "answer3_list" + } + ] } - ], - "name": "display_group", - "_nested_name": "display_group" + }, + "_dynamicDependencies": { + "@local.answer3_list": [ + "parameter_list.answer_list" + ] + } }, { - "type": "text", - "name": "text_3", - "value": "Display group with style banner and parameter offset: 50;", - "_nested_name": "text_3" + "name": "answer3_list", + "value": [ + "name:name_var_1 | image:/plh_images/icons/heart.svg", + "name:name_var_2| image:/plh_images/icons/heart.svg", + "name:name_var_3| image:/plh_images/icons/heart.svg" + ], + "type": "set_variable", + "_nested_name": "answer3_list" }, { - "type": "display_group", + "type": "radio_group", + "name": "radio_group_square_ex2", "parameter_list": { - "style": "tool_2 row", - "offset": "50" + "answer_list": "@local.answer3_list", + "options_per_row": "3", + "style": "transparent" }, - "style_list": [ - "margin: 15px 0" - ], - "rows": [ - { - "type": "image", - "value": "plh_images/home_page/home_page_workshops.svg", - "name": "image", - "_nested_name": "display_group.image" + "_nested_name": "radio_group_square_ex2", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer3_list", + "matchedExpression": "@local.answer3_list", + "type": "local", + "fieldName": "answer3_list" + } + ] } + }, + "_dynamicDependencies": { + "@local.answer3_list": [ + "parameter_list.answer_list" + ] + } + }, + { + "name": "answer3_list", + "value": [ + "name:name_var_1 | image:/plh_images/icons/heart.svg", + "name:name_var_2| image:/plh_images/icons/heart.svg", + "name:name_var_3| image:/plh_images/icons/heart.svg" ], - "name": "display_group", - "_nested_name": "display_group" + "type": "set_variable", + "_nested_name": "answer3_list" } ], "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" }, { "flow_type": "template", - "flow_name": "feature_formatting", + "flow_name": "feature_radio_group_2", "status": "released", "rows": [ { - "type": "title", - "name": "title1", - "value": "This is a title where part of it is italics", - "_nested_name": "title1" + "name": "answer_list_1", + "value": [ + "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", + "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", + "name:name_var_3 | text: Third | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", + "name:name_var_4 | text:Fourth | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg" + ], + "type": "set_variable", + "_nested_name": "answer_list_1" }, { - "type": "text", - "name": "text1", - "value": "This is text where part is bold part is in italics and part is both bold and italics (emphasised) ", - "_nested_name": "text1" + "name": "answer_list_2", + "value": [ + "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg", + "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg" + ], + "type": "set_variable", + "_nested_name": "answer_list_2" }, { - "type": "dashed_box", - "name": "box1", - "value": "This is a dashed box where some of the text is bold and italics", - "_nested_name": "box1" + "name": "answer_list_3", + "value": [ + "name:name_var_1 | text:First | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg", + "name:name_var_2 | text:Second | image:/plh_images/icons/heart.svg | image_checked: /plh_images/icons/tick.svg" + ], + "type": "set_variable", + "_nested_name": "answer_list_3" }, { - "type": "button", - "name": "button1", - "value": "Some of this button is bold. WOAH!", - "_nested_name": "button1" + "name": "answer_list_4", + "value": [ + "name:name_var_1 | text:First", + "name:name_var_2 | text:Second", + "name:name_var_3 | text:Third" + ], + "type": "set_variable", + "_nested_name": "answer_list_4" }, { - "type": "text", - "name": "list1", - "value": "There is a - dash - betwen these words but it's not a list\nThis is text with a list in it\n- List item 1\n- List item 2\n- List item 3", - "_nested_name": "list1" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_round_button", - "status": "released", - "rows": [ + "name": "answer_list_5", + "value": [ + "name:happy | image:plh_images/stickers/faces/happy.svg | image_checked:plh_images/stickers/faces/happy.svg", + "name:happier | image:plh_images/stickers/faces/happier.svg | image_checked:plh_images/stickers/faces/happier.svg", + "name:happiest | image:plh_images/stickers/faces/happiest.svg | image_checked:plh_images/stickers/faces/happiest.svg" + ], + "type": "set_variable", + "_nested_name": "answer_list_5" + }, { - "type": "round_button", - "name": "round_button_1", - "value": "Value", - "parameter_list": { - "icon_src": "/plh_images/icons/letter_outline.svg", - "text": "Message", - "style": "home_screen dark_orange" - }, - "_nested_name": "round_button_1" + "name": "answer_list_6", + "value": [ + "name:happy | image:plh_images/stickers/faces_yellow/happy.svg | image_checked:plh_images/stickers/faces_yellow/happy.svg", + "name:happier | image:plh_images/stickers/faces_yellow/happier.svg | image_checked:plh_images/stickers/faces_yellow/happier.svg", + "name:happiest | image:plh_images/stickers/faces_yellow/happiest.svg | image_checked:plh_images/stickers/faces_yellow/happiest.svg" + ], + "type": "set_variable", + "_nested_name": "answer_list_6" }, { - "type": "round_button", - "name": "round_button_2", - "value": "Value", - "parameter_list": { - "icon_src": "/plh_images/icons/letter_outline.svg", - "text": "Start", - "style": "home_screen yellow" - }, - "_nested_name": "round_button_2" + "name": "answer_list_7", + "value": [ + "name:happy | image:plh_images/stickers/faces_yellow/happy.svg | image_checked:plh_images/stickers/faces_yellow/happy.svg", + "name:happier | image:plh_images/stickers/faces_yellow/happier.svg | image_checked:plh_images/stickers/faces_yellow/happier.svg" + ], + "type": "set_variable", + "_nested_name": "answer_list_7" }, { - "type": "round_button", - "name": "round_button_2", - "value": "Value", + "type": "radio_group", + "name": "radio_group_defaults", "parameter_list": { - "icon_src": "/plh_images/icons/letter_outline.svg", - "style": "home_screen orange" + "answer_list": "@local.answer_list_1" + }, + "_nested_name": "radio_group_defaults", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_1", + "matchedExpression": "@local.answer_list_1", + "type": "local", + "fieldName": "answer_list_1" + } + ] + } }, - "_nested_name": "round_button_2" + "_dynamicDependencies": { + "@local.answer_list_1": [ + "parameter_list.answer_list" + ] + } }, { - "type": "round_button", - "name": "round_button_3", - "value": "Value", + "type": "radio_group", + "name": "radio_group_four_per_row", "parameter_list": { - "icon_src": "airplane" + "answer_list": "@local.answer_list_1", + "options_per_row": "4" }, - "_nested_name": "round_button_3" - }, - { - "type": "round_button", - "name": "round_button_3", - "value": "Value", - "parameter_list": { - "icon_src": "/plh_images/icons/cross_outline.svg", - "style": "alternative" + "_nested_name": "radio_group_four_per_row", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_1", + "matchedExpression": "@local.answer_list_1", + "type": "local", + "fieldName": "answer_list_1" + } + ] + } }, - "_nested_name": "round_button_3" + "_dynamicDependencies": { + "@local.answer_list_1": [ + "parameter_list.answer_list" + ] + } }, { - "type": "display_group", - "name": "name", + "type": "radio_group", + "name": "radio_group_two_per_row", "parameter_list": { - "style": "navigation" + "answer_list": "@local.answer_list_1", + "options_per_row": "2" }, - "rows": [ - { - "type": "round_button", - "name": "round_button_3", - "value": "Value", - "parameter_list": { - "icon_src": "chevron-back", - "style": "information" - }, - "_nested_name": "name.round_button_3" - }, - { - "type": "round_button", - "name": "round_button_3", - "value": "Value", - "parameter_list": { - "icon_src": "chevron-forward", - "style": "navigation" - }, - "_nested_name": "name.round_button_3" + "_nested_name": "radio_group_two_per_row", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_1", + "matchedExpression": "@local.answer_list_1", + "type": "local", + "fieldName": "answer_list_1" + } + ] } - ], - "_nested_name": "name" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_home", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@local.answer_list_1": [ + "parameter_list.answer_list" + ] + } + }, { - "type": "display_group", - "name": "dg_example_7", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "weekly_workshops" - ], - "_raw": "click | go_to:weekly_workshops", - "_cleaned": "click | go_to:weekly_workshops" - } - ], + "type": "radio_group", + "name": "radio_group_two_options_1", "parameter_list": { - "style": "home_screen light" + "answer_list": "@local.answer_list_2" }, - "style_list": [ - "margin: 40px 10px 0px 10px" - ], - "rows": [ - { - "type": "lottie_animation", - "name": "lottie_src", - "value": "lottie_animations/weekly_workshops.json", - "_nested_name": "dg_example_7.lottie_src" - }, - { - "type": "display_group", - "parameter_list": { - "style": "column" - }, - "style_list": [ - "padding: 0" - ], - "rows": [ - { - "type": "title", - "name": "title_ex_s", - "value": "@global.weekly_workshops", - "parameter_list": { - "style": "alternative" - }, - "style_list": [ - "align-self: flex-start", - "margin-left: 20px", - "margin-bottom: 8px", - "margin-top: 15px" - ], - "_nested_name": "dg_example_7.display_group.title_ex_s", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.weekly_workshops", - "matchedExpression": "@global.weekly_workshops", - "type": "global", - "fieldName": "weekly_workshops" - } - ] - }, - "_dynamicDependencies": { - "@global.weekly_workshops": [ - "value" - ] - } - }, + "_nested_name": "radio_group_two_options_1", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ { - "type": "round_button", - "name": "round_button_1", - "value": "Value", - "parameter_list": { - "icon_src": "plh_images/icons/letter_outline.svg", - "text": "Message", - "style": "home_screen yellow" - }, - "style_list": [ - "padding: 0" - ], - "_nested_name": "dg_example_7.display_group.round_button_1" + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" } - ], - "name": "display_group", - "_nested_name": "dg_example_7.display_group" + ] } - ], - "_nested_name": "dg_example_7" + }, + "_dynamicDependencies": { + "@local.answer_list_2": [ + "parameter_list.answer_list" + ] + } }, { - "type": "display_group", - "name": "dg_example_7", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "parent_points" - ], - "_raw": "click | go_to:parent_points", - "_cleaned": "click | go_to:parent_points" - } - ], + "type": "radio_group", + "name": "radio_group_two_options_2", "parameter_list": { - "style": "home_screen shade" + "answer_list": "@local.answer_list_2", + "options_per_row": "2" }, - "style_list": [ - "margin: 40px 10px 0px 10px" - ], - "rows": [ - { - "type": "lottie_animation", - "name": "lottie_src", - "value": "lottie_animations/parent_points.json", - "_nested_name": "dg_example_7.lottie_src" - }, - { - "type": "display_group", - "parameter_list": { - "style": "column" - }, - "style_list": [ - "padding: 0" - ], - "rows": [ - { - "type": "title", - "name": "title_ex_s", - "value": "@global.parent_points", - "parameter_list": { - "style": "alternative" - }, - "style_list": [ - "align-self: flex-start", - "white-space: nowrap", - "margin-top: 15px" - ], - "_nested_name": "dg_example_7.display_group.title_ex_s", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.parent_points", - "matchedExpression": "@global.parent_points", - "type": "global", - "fieldName": "parent_points" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_points": [ - "value" - ] - } - }, + "_nested_name": "radio_group_two_options_2", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ { - "type": "round_button", - "name": "round_button_1", - "value": "Value", - "parameter_list": { - "icon_src": "plh_images/icons/play_outline_white.svg", - "text": "Start", - "style": "home_screen orange" - }, - "style_list": [ - "padding: 0" - ], - "_nested_name": "dg_example_7.display_group.round_button_1" + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" } - ], - "name": "display_group", - "_nested_name": "dg_example_7.display_group" + ] } - ], - "_nested_name": "dg_example_7" + }, + "_dynamicDependencies": { + "@local.answer_list_2": [ + "parameter_list.answer_list" + ] + } }, { - "type": "display_group", - "name": "dg_example_7", - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "parent_centre" - ], - "_raw": "click | go_to:parent_centre", - "_cleaned": "click | go_to:parent_centre" - } - ], + "type": "radio_group", + "name": "radio_group_with_tick", "parameter_list": { - "style": "home_screen dark" + "answer_list": "@local.answer_list_3" }, - "style_list": [ - "margin: 40px 10px 0px 10px" - ], - "rows": [ - { - "type": "lottie_animation", - "name": "lottie_src", - "value": "lottie_animations/parent_centre.json", - "_nested_name": "dg_example_7.lottie_src" - }, - { - "type": "display_group", - "parameter_list": { - "style": "column" - }, - "style_list": [ - "padding: 0" - ], - "rows": [ - { - "type": "title", - "name": "title_ex_s", - "value": "@global.parent_centre", - "parameter_list": { - "style": "alternative" - }, - "style_list": [ - "align-self: flex-start", - "white-space: nowrap", - "margin-top:15px" - ], - "_nested_name": "dg_example_7.display_group.title_ex_s", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@global.parent_centre", - "matchedExpression": "@global.parent_centre", - "type": "global", - "fieldName": "parent_centre" - } - ] - }, - "_dynamicDependencies": { - "@global.parent_centre": [ - "value" - ] - } - }, + "_nested_name": "radio_group_with_tick", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ { - "type": "round_button", - "name": "round_button_1", - "value": "Value", - "parameter_list": { - "icon_src": "plh_images/icons/play_outline_white.svg", - "style": "home_screen dark_orange" - }, - "style_list": [ - "padding: 0" - ], - "_nested_name": "dg_example_7.display_group.round_button_1" + "fullExpression": "@local.answer_list_3", + "matchedExpression": "@local.answer_list_3", + "type": "local", + "fieldName": "answer_list_3" } - ], - "name": "display_group", - "_nested_name": "dg_example_7.display_group" + ] } - ], - "_nested_name": "dg_example_7" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_lottie", - "status": "released", - "rows": [ - { - "type": "lottie_animation", - "name": "relax_anim", - "value": "lottie_animations/relax1.json", - "_nested_name": "relax_anim" - } - ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" - }, - { - "flow_type": "template", - "flow_name": "feature_checkbox", - "status": "released", - "rows": [ + }, + "_dynamicDependencies": { + "@local.answer_list_3": [ + "parameter_list.answer_list" + ] + } + }, { - "type": "simple_checkbox", - "name": "checkbox_1", - "value": false, - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "demo_changed_field_checkbox", - "@local.checkbox_1" - ], - "_raw": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", - "_cleaned": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1" - } - ], + "type": "radio_group", + "name": "radio_group_text", + "value": "name_var_2", "parameter_list": { - "label_text": "Example answer?" + "answer_list": "@local.answer_list_4" }, - "_nested_name": "checkbox_1", + "_nested_name": "radio_group_text", "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field:demo_changed_field_checkbox:@local.checkbox_1", - "matchedExpression": "@local.checkbox_1", - "type": "local", - "fieldName": "checkbox_1" - } - ] - } + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_4", + "matchedExpression": "@local.answer_list_4", + "type": "local", + "fieldName": "answer_list_4" + } + ] } }, "_dynamicDependencies": { - "@local.checkbox_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" + "@local.answer_list_4": [ + "parameter_list.answer_list" ] } }, { "type": "text", - "name": "text_1", - "value": "checkbox field: @field.demo_changed_field_checkbox", - "_nested_name": "text_1", + "name": "name_result_1", + "value": "@local.radio_group_text", + "_nested_name": "name_result_1", "_dynamicFields": { "value": [ { - "fullExpression": "checkbox field: @field.demo_changed_field_checkbox", - "matchedExpression": "@field.demo_changed_field_checkbox", - "type": "field", - "fieldName": "demo_changed_field_checkbox" + "fullExpression": "@local.radio_group_text", + "matchedExpression": "@local.radio_group_text", + "type": "local", + "fieldName": "radio_group_text" } ] }, "_dynamicDependencies": { - "@field.demo_changed_field_checkbox": [ + "@local.radio_group_text": [ "value" ] } }, + { + "type": "radio_group", + "name": "radio_group_image_1", + "value": "happy", + "parameter_list": { + "answer_list": "@local.answer_list_5" + }, + "_nested_name": "radio_group_image_1", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_5", + "matchedExpression": "@local.answer_list_5", + "type": "local", + "fieldName": "answer_list_5" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer_list_5": [ + "parameter_list.answer_list" + ] + } + }, { "type": "text", - "name": "text_2", - "value": "checkbox local: @local.checkbox_1", - "_nested_name": "text_2", + "name": "name_result_2", + "value": "@local.radio_group_image_1", + "_nested_name": "name_result_2", "_dynamicFields": { "value": [ { - "fullExpression": "checkbox local: @local.checkbox_1", - "matchedExpression": "@local.checkbox_1", + "fullExpression": "@local.radio_group_image_1", + "matchedExpression": "@local.radio_group_image_1", "type": "local", - "fieldName": "checkbox_1" + "fieldName": "radio_group_image_1" } ] }, "_dynamicDependencies": { - "@local.checkbox_1": [ + "@local.radio_group_image_1": [ "value" ] } }, { - "type": "simple_checkbox", - "name": "checkbox_2", - "value": true, + "type": "radio_group", + "name": "radio_group_image_2", "parameter_list": { - "label_text": "Example answer?" + "answer_list": "@local.answer_list_6" }, - "_nested_name": "checkbox_2" + "_nested_name": "radio_group_image_2", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_6", + "matchedExpression": "@local.answer_list_6", + "type": "local", + "fieldName": "answer_list_6" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer_list_6": [ + "parameter_list.answer_list" + ] + } }, { - "type": "text", - "name": "text_3", - "value": "checkbox local: @local.checkbox_2", - "_nested_name": "text_3", + "type": "radio_group", + "name": "radio_group_image_3", + "value": "happiest", + "parameter_list": { + "answer_list": "@local.answer_list_5" + }, + "_nested_name": "radio_group_image_3", "_dynamicFields": { - "value": [ - { - "fullExpression": "checkbox local: @local.checkbox_2", - "matchedExpression": "@local.checkbox_2", - "type": "local", - "fieldName": "checkbox_2" - } - ] + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_5", + "matchedExpression": "@local.answer_list_5", + "type": "local", + "fieldName": "answer_list_5" + } + ] + } }, "_dynamicDependencies": { - "@local.checkbox_2": [ - "value" + "@local.answer_list_5": [ + "parameter_list.answer_list" ] } }, { - "type": "simple_checkbox", - "name": "checkbox_3", - "value": "@field.demo_changed_field_checkbox", + "type": "title", + "name": "test", + "value": "test", + "_nested_name": "test" + }, + { + "type": "text", + "value": "without options", + "name": "text", + "_nested_name": "text" + }, + { + "type": "radio_group", + "name": "radio_group_two_options_3", "parameter_list": { - "label_text": "Example answer?" + "answer_list": "@local.answer_list_2" }, - "_nested_name": "checkbox_3", + "_nested_name": "radio_group_two_options_3", "_dynamicFields": { - "value": [ - { - "fullExpression": "@field.demo_changed_field_checkbox", - "matchedExpression": "@field.demo_changed_field_checkbox", - "type": "field", - "fieldName": "demo_changed_field_checkbox" - } - ] + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" + } + ] + } }, "_dynamicDependencies": { - "@field.demo_changed_field_checkbox": [ - "value" + "@local.answer_list_2": [ + "parameter_list.answer_list" ] } }, { - "type": "simple_checkbox", - "name": "checkbox_4", - "value": false, - "_nested_name": "checkbox_4" + "type": "text", + "value": "with options", + "name": "text", + "_nested_name": "text" }, { - "type": "simple_checkbox", - "name": "checkbox_5", - "value": true, - "_nested_name": "checkbox_5" + "type": "radio_group", + "name": "radio_group_two_options_4", + "parameter_list": { + "answer_list": "@local.answer_list_2", + "options_per_row": "2" + }, + "_nested_name": "radio_group_two_options_4", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_2", + "matchedExpression": "@local.answer_list_2", + "type": "local", + "fieldName": "answer_list_2" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer_list_2": [ + "parameter_list.answer_list" + ] + } }, { - "type": "simple_checkbox", - "name": "checkbox_6", - "value": "@local.checkbox_4", - "_nested_name": "checkbox_6", + "type": "text", + "value": "with options", + "name": "text", + "_nested_name": "text" + }, + { + "type": "radio_group", + "name": "radio_group_image_4", + "parameter_list": { + "answer_list": "@local.answer_list_7", + "options_per_row": "2" + }, + "_nested_name": "radio_group_image_4", "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.checkbox_4", - "matchedExpression": "@local.checkbox_4", - "type": "local", - "fieldName": "checkbox_4" - } + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_7", + "matchedExpression": "@local.answer_list_7", + "type": "local", + "fieldName": "answer_list_7" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer_list_7": [ + "parameter_list.answer_list" ] + } + }, + { + "type": "text", + "value": "without options", + "name": "text", + "_nested_name": "text" + }, + { + "type": "radio_group", + "name": "radio_group_image_5", + "parameter_list": { + "answer_list": "@local.answer_list_7" + }, + "_nested_name": "radio_group_image_5", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_7", + "matchedExpression": "@local.answer_list_7", + "type": "local", + "fieldName": "answer_list_7" + } + ] + } }, "_dynamicDependencies": { - "@local.checkbox_4": [ - "value" + "@local.answer_list_7": [ + "parameter_list.answer_list" ] } } @@ -55174,581 +60234,1354 @@ } }, { - "name": "answer1_list", - "value": [ - "name:name_var_1 | text:Woman | image:/plh_images/icons/heart.svg", - "name:name_var_2 | text:Man | image:/plh_images/icons/heart.svg" - ], - "type": "set_variable", - "_nested_name": "answer1_list" - }, - { - "type": "radio_group", - "name": "radio_group_square_ex1", - "value": "Black", + "name": "answer1_list", + "value": [ + "name:name_var_1 | text:Woman | image:/plh_images/icons/heart.svg", + "name:name_var_2 | text:Man | image:/plh_images/icons/heart.svg" + ], + "type": "set_variable", + "_nested_name": "answer1_list" + }, + { + "type": "radio_group", + "name": "radio_group_square_ex1", + "value": "Black", + "parameter_list": { + "answer_list": "@local.answer2_list", + "options_per_row": "3" + }, + "_nested_name": "radio_group_square_ex1", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer2_list", + "matchedExpression": "@local.answer2_list", + "type": "local", + "fieldName": "answer2_list" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer2_list": [ + "parameter_list.answer_list" + ] + } + }, + { + "name": "answer2_list", + "value": [ + "name:name_var_1 | text:Black| image:/plh_images/icons/heart.svg", + "name:name_var_2| image:/plh_images/icons/heart.svg | text:White", + "name:name_var_3| image:/plh_images/icons/heart.svg | text:Blue" + ], + "type": "set_variable", + "_nested_name": "answer2_list" + }, + { + "type": "radio_group", + "name": "radio_group_square_ex2", + "parameter_list": { + "answer_list": "@local.answer3_list", + "options_per_row": "3" + }, + "_nested_name": "radio_group_square_ex2", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer3_list", + "matchedExpression": "@local.answer3_list", + "type": "local", + "fieldName": "answer3_list" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer3_list": [ + "parameter_list.answer_list" + ] + } + }, + { + "name": "answer3_list", + "value": [ + "name:name_var_1 | image:/plh_images/icons/heart.svg", + "name:name_var_2| image:/plh_images/icons/heart.svg", + "name:name_var_3| image:/plh_images/icons/heart.svg" + ], + "type": "set_variable", + "_nested_name": "answer3_list" + }, + { + "name": "combo_answer_list", + "value": [ + "First", + "Second", + "Third" + ], + "type": "set_variable", + "_nested_name": "combo_answer_list" + }, + { + "type": "combo_box", + "name": "combo_box_defaults", + "value": "nothing", + "parameter_list": { + "answer_list": "@local.combo_answer_list" + }, + "_nested_name": "combo_box_defaults", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.combo_answer_list", + "matchedExpression": "@local.combo_answer_list", + "type": "local", + "fieldName": "combo_answer_list" + } + ] + } + }, + "_dynamicDependencies": { + "@local.combo_answer_list": [ + "parameter_list.answer_list" + ] + } + }, + { + "type": "radio_group", + "name": "radio_group_square_ex3", + "parameter_list": { + "answer_list": "@local.answer4_list", + "options_per_row": "3", + "style": "transparent" + }, + "_nested_name": "radio_group_square_ex3", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer4_list", + "matchedExpression": "@local.answer4_list", + "type": "local", + "fieldName": "answer4_list" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer4_list": [ + "parameter_list.answer_list" + ] + } + }, + { + "name": "answer4_list", + "value": [ + "name:name_var_1 | image:/plh_images/icons/heart.svg", + "name:name_var_2| image:/plh_images/icons/heart.svg", + "name:name_var_3| image:/plh_images/icons/heart.svg" + ], + "type": "set_variable", + "_nested_name": "answer4_list" + }, + { + "type": "display_group", + "name": "dg_example_7", + "parameter_list": { + "style": "banner_welcome" + }, + "style_list": [ + "margin: 10px 15px", + "min_height: 40px" + ], + "rows": [ + { + "type": "image", + "name": "image", + "value": "plh_images/characters/group/talk_together.png", + "style_list": [ + "max-width: 250px" + ], + "_nested_name": "dg_example_7.image" + } + ], + "_nested_name": "dg_example_7" + }, + { + "type": "display_group", + "name": "dg_example_7", + "parameter_list": { + "style": "banner_short" + }, + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title banner title", + "parameter_list": { + "style": "primary" + }, + "_nested_name": "dg_example_7.title_ex_s" + }, + { + "type": "image", + "name": "image", + "value": "plh_images/characters/group/talk_together.png", + "_nested_name": "dg_example_7.image" + } + ], + "_nested_name": "dg_example_7" + }, + { + "type": "display_group", + "name": "dg_example_7", + "parameter_list": { + "style": "banner" + }, + "rows": [ + { + "type": "title", + "name": "title_ex_s", + "value": "Example title banner title", + "parameter_list": { + "style": "primary" + }, + "_nested_name": "dg_example_7.title_ex_s" + }, + { + "type": "image", + "name": "image", + "value": "plh_images/characters/group/talk_together.png", + "_nested_name": "dg_example_7.image" + } + ], + "_nested_name": "dg_example_7" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_combo_box", + "status": "released", + "rows": [ + { + "name": "answer_list", + "value": [ + "name: name_1 | text: This is text 1", + "name: name_2 | text: This is text 2", + "name: name_3 | text: This is text 3" + ], + "type": "set_variable", + "_nested_name": "answer_list" + }, + { + "type": "combo_box", + "name": "combo_box_defaults", + "value": "nothing", + "parameter_list": { + "answer_list": "@local.answer_list", + "style": "active" + }, + "_nested_name": "combo_box_defaults", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", + "type": "local", + "fieldName": "answer_list" + } + ] + } + }, + "_dynamicDependencies": { + "@local.answer_list": [ + "parameter_list.answer_list" + ] + } + }, + { + "type": "text", + "name": "text_result", + "value": "You selected @local.combo_box_defaults", + "_nested_name": "text_result", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You selected @local.combo_box_defaults", + "matchedExpression": "@local.combo_box_defaults", + "type": "local", + "fieldName": "combo_box_defaults" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box_defaults": [ + "value" + ] + } + }, + { + "type": "combo_box", + "name": "combo_box_text_in_pop_up", "parameter_list": { - "answer_list": "@local.answer2_list", - "options_per_row": "3" + "answer_list": "@local.answer_list", + "text": "Text above the answers", + "placeholder": "Click here to answer", + "style": "active" }, - "_nested_name": "radio_group_square_ex1", + "_nested_name": "combo_box_text_in_pop_up", "_dynamicFields": { "parameter_list": { "answer_list": [ { - "fullExpression": "@local.answer2_list", - "matchedExpression": "@local.answer2_list", + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", "type": "local", - "fieldName": "answer2_list" + "fieldName": "answer_list" } ] } }, "_dynamicDependencies": { - "@local.answer2_list": [ + "@local.answer_list": [ "parameter_list.answer_list" ] } }, { - "name": "answer2_list", - "value": [ - "name:name_var_1 | text:Black| image:/plh_images/icons/heart.svg", - "name:name_var_2| image:/plh_images/icons/heart.svg | text:White", - "name:name_var_3| image:/plh_images/icons/heart.svg | text:Blue" - ], - "type": "set_variable", - "_nested_name": "answer2_list" - }, - { - "type": "radio_group", - "name": "radio_group_square_ex2", + "type": "combo_box", + "name": "combo_box_with_placeholder_1", "parameter_list": { - "answer_list": "@local.answer3_list", - "options_per_row": "3" + "answer_list": "@local.answer_list", + "placeholder": "Click here to answer" }, - "_nested_name": "radio_group_square_ex2", + "_nested_name": "combo_box_with_placeholder_1", "_dynamicFields": { "parameter_list": { "answer_list": [ { - "fullExpression": "@local.answer3_list", - "matchedExpression": "@local.answer3_list", + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", "type": "local", - "fieldName": "answer3_list" + "fieldName": "answer_list" } ] } }, "_dynamicDependencies": { - "@local.answer3_list": [ + "@local.answer_list": [ "parameter_list.answer_list" ] } }, - { - "name": "answer3_list", - "value": [ - "name:name_var_1 | image:/plh_images/icons/heart.svg", - "name:name_var_2| image:/plh_images/icons/heart.svg", - "name:name_var_3| image:/plh_images/icons/heart.svg" - ], - "type": "set_variable", - "_nested_name": "answer3_list" - }, - { - "name": "combo_answer_list", - "value": [ - "First", - "Second", - "Third" - ], - "type": "set_variable", - "_nested_name": "combo_answer_list" - }, { "type": "combo_box", - "name": "combo_box_defaults", - "value": "nothing", + "name": "combo_box_with_placeholder_2", "parameter_list": { - "answer_list": "@local.combo_answer_list" + "answer_list": "@local.answer_list", + "placeholder": "Click here to answer" }, - "_nested_name": "combo_box_defaults", + "_nested_name": "combo_box_with_placeholder_2", "_dynamicFields": { "parameter_list": { "answer_list": [ { - "fullExpression": "@local.combo_answer_list", - "matchedExpression": "@local.combo_answer_list", + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", "type": "local", - "fieldName": "combo_answer_list" + "fieldName": "answer_list" } ] } }, "_dynamicDependencies": { - "@local.combo_answer_list": [ + "@local.answer_list": [ "parameter_list.answer_list" ] } }, { - "type": "radio_group", - "name": "radio_group_square_ex3", + "type": "text", + "name": "text_result", + "value": "You selected @local.combo_box_with_placeholder_2", + "_nested_name": "text_result", + "_dynamicFields": { + "value": [ + { + "fullExpression": "You selected @local.combo_box_with_placeholder_2", + "matchedExpression": "@local.combo_box_with_placeholder_2", + "type": "local", + "fieldName": "combo_box_with_placeholder_2" + } + ] + }, + "_dynamicDependencies": { + "@local.combo_box_with_placeholder_2": [ + "value" + ] + } + }, + { + "type": "combo_box", + "name": "combo_box_allow_input", "parameter_list": { - "answer_list": "@local.answer4_list", - "options_per_row": "3", - "style": "transparent" + "answer_list": "@local.answer_list", + "placeholder": "Click here to answer", + "input_allowed": "true", + "answer_placeholder": "Type your own", + "style": "active" }, - "_nested_name": "radio_group_square_ex3", + "_nested_name": "combo_box_allow_input", "_dynamicFields": { "parameter_list": { "answer_list": [ { - "fullExpression": "@local.answer4_list", - "matchedExpression": "@local.answer4_list", + "fullExpression": "@local.answer_list", + "matchedExpression": "@local.answer_list", "type": "local", - "fieldName": "answer4_list" + "fieldName": "answer_list" } ] } }, "_dynamicDependencies": { - "@local.answer4_list": [ + "@local.answer_list": [ "parameter_list.answer_list" ] } + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_text", + "status": "released", + "rows": [ + { + "type": "text", + "name": "text", + "value": "**This is bold text** and _italic text_ with markdown", + "_nested_name": "text" }, { - "name": "answer4_list", - "value": [ - "name:name_var_1 | image:/plh_images/icons/heart.svg", - "name:name_var_2| image:/plh_images/icons/heart.svg", - "name:name_var_3| image:/plh_images/icons/heart.svg" - ], - "type": "set_variable", - "_nested_name": "answer4_list" + "type": "text", + "name": "text", + "value": "Font size medim and bold text", + "parameter_list": { + "style": "medium emphasised center" + }, + "_nested_name": "text" + }, + { + "type": "text", + "name": "text", + "value": "Italic right aligned large text", + "parameter_list": { + "style": "large contextual right" + }, + "_nested_name": "text" + }, + { + "type": "text", + "name": "text", + "value": "Standard text with default styles", + "_nested_name": "text" + }, + { + "type": "text", + "name": "text", + "value": "Italic center aligned large text and color white", + "parameter_list": { + "style": "large contextual center alternative center" + }, + "_nested_name": "text" + }, + { + "type": "text", + "name": "text", + "value": "Font size large and bold text", + "parameter_list": { + "style": "large emphasised right" + }, + "_nested_name": "text" + }, + { + "type": "text", + "name": "text", + "value": "Tiny text", + "parameter_list": { + "style": "tiny center" + }, + "_nested_name": "text" + }, + { + "type": "text", + "name": "text", + "value": "Left aligned", + "_nested_name": "text" + }, + { + "type": "text", + "name": "text", + "value": "Right aligned", + "parameter_list": { + "style": "right" + }, + "_nested_name": "text" + }, + { + "type": "text", + "name": "text", + "value": "Center aligned", + "parameter_list": { + "style": "center" + }, + "_nested_name": "text" + }, + { + "type": "text", + "name": "white color ", + "value": "Center aligned", + "parameter_list": { + "style": "alternative" + }, + "_nested_name": "white color " + }, + { + "type": "title", + "value": "Display group", + "name": "title", + "_nested_name": "title" }, { "type": "display_group", - "name": "dg_example_7", "parameter_list": { - "style": "banner_welcome" + "style": "two_columns" }, - "style_list": [ - "margin: 10px 15px", - "min_height: 40px" + "rows": [ + { + "type": "text", + "name": "text", + "value": "some text", + "_nested_name": "display_group.text" + }, + { + "type": "text", + "name": "text", + "value": "some text", + "_nested_name": "display_group.text" + }, + { + "type": "text", + "name": "text", + "value": "some text", + "_nested_name": "display_group.text" + }, + { + "type": "text", + "name": "text", + "value": "some text", + "_nested_name": "display_group.text" + }, + { + "type": "text", + "name": "white color ", + "value": "some text", + "_nested_name": "display_group.white color " + } + ], + "name": "display_group", + "_nested_name": "display_group" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_textual_templates.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_title", + "status": "released", + "rows": [ + { + "type": "title", + "name": "title_debug_with_help_tooltip", + "value": "tiny title left", + "parameter_list": { + "help": "some help", + "tooltip_position": "right", + "style": "left tiny" + }, + "_nested_name": "title_debug_with_help_tooltip" + }, + { + "type": "title", + "name": "title_debug_without_help_tooltip", + "value": "alternative center small", + "parameter_list": { + "style": "center small alternative" + }, + "_nested_name": "title_debug_without_help_tooltip" + }, + { + "type": "title", + "name": "title_debug_text_aligh_center", + "value": "medium right ", + "parameter_list": { + "help": "some help", + "tooltip_position": "right", + "style": "medium right" + }, + "_nested_name": "title_debug_text_aligh_center" + }, + { + "type": "title", + "name": "title_debug_text_aligh_left", + "value": "large alternative", + "parameter_list": { + "help": "some help", + "tooltip_position": "right", + "style": "large alternative" + }, + "_nested_name": "title_debug_text_aligh_left" + }, + { + "type": "title", + "name": "title_debug_text_aligh_right", + "value": "huge center", + "parameter_list": { + "help": "some help", + "tooltip_position": "right", + "style": "huge center" + }, + "_nested_name": "title_debug_text_aligh_right" + }, + { + "type": "title", + "name": "title_debug_text_aligh_right", + "value": "Default title", + "parameter_list": { + "help": "some help", + "tooltip_position": "right" + }, + "_nested_name": "title_debug_text_aligh_right" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_textual_templates.xlsx" + }, + { + "flow_type": "template", + "flow_name": "feature_subtitle", + "status": "released", + "rows": [ + { + "type": "subtitle", + "name": "subtitle_debug_style_primary", + "value": "default", + "_nested_name": "subtitle_debug_style_primary" + }, + { + "type": "subtitle", + "name": "subtitle_debug_style_active", + "value": "alternative small", + "parameter_list": { + "style": "alternative small" + }, + "_nested_name": "subtitle_debug_style_active" + }, + { + "type": "subtitle", + "name": "subtitle_debug_text_align_left", + "value": "medium right", + "parameter_list": { + "style": "medium right" + }, + "_nested_name": "subtitle_debug_text_align_left" + }, + { + "type": "subtitle", + "name": "subtitle_debug_text_align_center", + "value": "large center", + "parameter_list": { + "style": "large center" + }, + "_nested_name": "subtitle_debug_text_align_center" + }, + { + "type": "subtitle", + "name": "subtitle_debug_text_right", + "value": "center contextual", + "parameter_list": { + "style": "center contextual" + }, + "_nested_name": "subtitle_debug_text_right" + }, + { + "type": "subtitle", + "name": "subtitle_debug_text_right", + "value": "emphasised alternative", + "parameter_list": { + "style": "emphasised alternative" + }, + "_nested_name": "subtitle_debug_text_right" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_textual_templates.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_reflect_positive", + "status": "released", + "rows": [ + { + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.reflect_positive", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.reflect_positive", + "matchedExpression": "@data.something_fun.reflect_positive", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.reflect_positive": [ + "value" + ] + } + }, + { + "name": "activity_text", + "value": "At the end of the day, take a minute to: \r\n\r\n- Talk to your teen about one fun thing they did. \r\n- Praise yourself for one thing you did well today. \r\n- You are a star! ", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" + } + ], + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_check_in_chat", + "status": "released", + "rows": [ + { + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.check_in_chat", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.check_in_chat", + "matchedExpression": "@data.something_fun.check_in_chat", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.check_in_chat": [ + "value" + ] + } + }, + { + "name": "activity_text", + "value": "- Ask each other, “What made you happy today?”\n- Ask each other, “What difficulty did you face today?”\n- Ask each other, “How can I help you?”\n- Try to do this together every day; it could be when you are eating dinner together or before you go to bed.", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" + } ], + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_dream_travel", + "status": "released", + "rows": [ + { + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", "rows": [ { - "type": "image", - "name": "image", - "value": "plh_images/characters/group/talk_together.png", - "style_list": [ - "max-width: 250px" - ], - "_nested_name": "dg_example_7.image" + "name": "activity_data", + "value": "@data.something_fun.dream_travel", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.dream_travel", + "matchedExpression": "@data.something_fun.dream_travel", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.dream_travel": [ + "value" + ] + } + }, + { + "name": "activity_text", + "value": "- You can’t always travel, but you can always dream! Ask your teen these questions:\r\n- Where would you want to travel to? How long would you be away? What would you pack? What would you do on your trip? What would you see?\r\n- Look at a map together or draw one.\r\n- Choose a country that your teen has never heard of and learn more about the country.\r\n", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" } ], - "_nested_name": "dg_example_7" - }, + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_famous_party", + "status": "released", + "rows": [ { - "type": "display_group", - "name": "dg_example_7", - "parameter_list": { - "style": "banner_short" - }, + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", "rows": [ { - "type": "title", - "name": "title_ex_s", - "value": "Example title banner title", - "parameter_list": { - "style": "primary" + "name": "activity_data", + "value": "@data.something_fun.famous_party", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.famous_party", + "matchedExpression": "@data.something_fun.famous_party", + "type": "data", + "fieldName": "something_fun" + } + ] }, - "_nested_name": "dg_example_7.title_ex_s" + "_dynamicDependencies": { + "@data.something_fun.famous_party": [ + "value" + ] + } }, { - "type": "image", - "name": "image", - "value": "plh_images/characters/group/talk_together.png", - "_nested_name": "dg_example_7.image" + "name": "activity_text", + "value": "You and your teenager can plan a guestlist of the famous people you’d most like to invite to your party. You can each have five people – they can be from the past or from the present time. Who would you invite? And would your guests get on well together?", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" } ], - "_nested_name": "dg_example_7" - }, + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_two_truths", + "status": "released", + "rows": [ { - "type": "display_group", - "name": "dg_example_7", - "parameter_list": { - "style": "banner" - }, + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", "rows": [ { - "type": "title", - "name": "title_ex_s", - "value": "Example title banner title", - "parameter_list": { - "style": "primary" + "name": "activity_data", + "value": "@data.something_fun.two_truths", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.two_truths", + "matchedExpression": "@data.something_fun.two_truths", + "type": "data", + "fieldName": "something_fun" + } + ] }, - "_nested_name": "dg_example_7.title_ex_s" + "_dynamicDependencies": { + "@data.something_fun.two_truths": [ + "value" + ] + } }, { - "type": "image", - "name": "image", - "value": "plh_images/characters/group/talk_together.png", - "_nested_name": "dg_example_7.image" + "name": "activity_text", + "value": "- Think of three statements about yourself. Two must be true and one must be a lie.\n- It might help to think of wishes, dreams, experiences at school, likes or dislikes. For example: I hate bananas, my favourite subject is science, and I really wish I could sing. \n- Say them to your teenager and ask them to guess which one is a lie. \n- Did they guess correctly? Was it a surprise?\n- Now ask them to do the same. Did you learn something new about each other?", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" } ], - "_nested_name": "dg_example_7" + "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "feature_text_area", + "flow_name": "activity_time_machine", "status": "released", "rows": [ { - "type": "text_area", - "name": "text_area", - "parameter_list": { - "placeholder": "example placeholder" - }, - "_nested_name": "text_area" - }, - { - "type": "text", - "name": "text", - "value": "the text entered is:\n\n@local.text_area", - "_nested_name": "text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "the text entered is:\n\n@local.text_area", - "matchedExpression": "@local.text_area", - "type": "local", - "fieldName": "text_area" + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.time_machine", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.time_machine", + "matchedExpression": "@data.something_fun.time_machine", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.time_machine": [ + "value" + ] } - ] - }, - "_dynamicDependencies": { - "@local.text_area": [ - "value" - ] - } + }, + { + "name": "activity_text", + "value": "Tell your teenager something about when you were a teenager yourself. What things didn’t exist then? Phones with internet? What did you do for fun? What did you worry about? Don’t worry if they don’t tell you something in return – what’s important is that they listen and remember. Sometimes our teenagers forget that their parents are people too!", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" + } + ], + "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "feature_toggle_bar ", + "flow_name": "activity_superpowers", "status": "released", "rows": [ { - "type": "toggle_bar", - "name": "toggle_1", - "value": false, - "action_list": [ + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "changed_field_toggle", - "@local.toggle_1" - ], - "_raw": "changed | set_field:changed_field_toggle:@local.toggle_1", - "_cleaned": "changed | set_field:changed_field_toggle:@local.toggle_1" - } - ], - "parameter_list": { - "label": "some text", - "position": "right", - "true_text": "some text for true value", - "false_text": "text for false" - }, - "_nested_name": "toggle_1", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" - } - ], - "_cleaned": [ + "name": "activity_data", + "value": "@data.something_fun.superpowers", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ { - "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" + "fullExpression": "@data.something_fun.superpowers", + "matchedExpression": "@data.something_fun.superpowers", + "type": "data", + "fieldName": "something_fun" } ] + }, + "_dynamicDependencies": { + "@data.something_fun.superpowers": [ + "value" + ] } - } - }, - "_dynamicDependencies": { - "@local.toggle_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } - }, - { - "type": "toggle_bar", - "name": "toggle_2", - "value": false, - "action_list": [ + }, { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "changed_field_toggle", - "@local.toggle_1" - ], - "_raw": "changed | set_field:changed_field_toggle:@local.toggle_1", - "_cleaned": "changed | set_field:changed_field_toggle:@local.toggle_1" + "name": "activity_text", + "value": "- Think of a superpower. For example, going anywhere instantly, travelling in time, reading minds. \n- Ask your teen, “If you had the superpower to […], how would you use it?”\n- Encourage them to give their superhero a name and act it out. \n- Now let your teen choose a superpower for you.\n- Make sure you act out your superpower, too!", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" } ], - "parameter_list": { - "label": "some text", - "position": "center", - "true_text": "some text for true value" - }, - "_nested_name": "toggle_2", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" - } - ] - }, - "_raw": [ + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_friendly_chat", + "status": "released", + "rows": [ + { + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.friendly_chat", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ { - "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" + "fullExpression": "@data.something_fun.friendly_chat", + "matchedExpression": "@data.something_fun.friendly_chat", + "type": "data", + "fieldName": "something_fun" } - ], - "_cleaned": [ + ] + }, + "_dynamicDependencies": { + "@data.something_fun.friendly_chat": [ + "value" + ] + } + }, + { + "name": "activity_text", + "value": "Have a conversation with your teen about something they like.\n\nIt can be about anything they choose to talk about: sports, friends, music, celebrities…\n\nTry to listen to your teen and give them space to talk.", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" + } + ], + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_interrupter", + "status": "released", + "rows": [ + { + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.interrupter", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ { - "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" + "fullExpression": "@data.something_fun.interrupter", + "matchedExpression": "@data.something_fun.interrupter", + "type": "data", + "fieldName": "something_fun" } ] + }, + "_dynamicDependencies": { + "@data.something_fun.interrupter": [ + "value" + ] } + }, + { + "name": "activity_text", + "value": "- Choose a storyteller to start making up a story.\n- Story listeners can interrupt with a word at any time.\n- Storyteller needs to fit that word in their story.\n- When the story is finished, try with a different storyteller!", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" } - }, - "_dynamicDependencies": { - "@local.toggle_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } - }, + ], + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_three_options", + "status": "released", + "rows": [ { - "type": "toggle_bar", - "name": "toggle_3", - "value": false, - "action_list": [ + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "changed_field_toggle", - "@local.toggle_1" - ], - "_raw": "changed | set_field:changed_field_toggle:@local.toggle_1", - "_cleaned": "changed | set_field:changed_field_toggle:@local.toggle_1" + "name": "activity_data", + "value": "@data.something_fun.three_options", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.three_options", + "matchedExpression": "@data.something_fun.three_options", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.three_options": [ + "value" + ] + } + }, + { + "name": "activity_text", + "value": "- Think of three different situations. For example, driving a car, sailing a boat or flying a plane.\n- Say them to your teen and ask, “Which would you prefer?”\n- Ask them why?\n- Now think of three more situations or ask your teen to do it for you.", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" } ], - "parameter_list": { - "label": "some text", - "false_text": "false text" - }, - "_nested_name": "toggle_3", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" - } - ] - }, - "_raw": [ + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_yes_no_maybe", + "status": "released", + "rows": [ + { + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.yes_no_maybe", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ { - "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" + "fullExpression": "@data.something_fun.yes_no_maybe", + "matchedExpression": "@data.something_fun.yes_no_maybe", + "type": "data", + "fieldName": "something_fun" } - ], - "_cleaned": [ + ] + }, + "_dynamicDependencies": { + "@data.something_fun.yes_no_maybe": [ + "value" + ] + } + }, + { + "name": "activity_text", + "value": "- Ask each other questions. They can be any questions about things you like or what you did today.\n- The only rule is that you can’t answer “Yes”, “No” or “Maybe”.\n- How long can you last? How creative can you get with your answers?\n- Swap over and play again!", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" + } + ], + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_memory_game", + "status": "released", + "rows": [ + { + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.memory_game", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ { - "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" + "fullExpression": "@data.something_fun.memory_game", + "matchedExpression": "@data.something_fun.memory_game", + "type": "data", + "fieldName": "something_fun" } ] + }, + "_dynamicDependencies": { + "@data.something_fun.memory_game": [ + "value" + ] } + }, + { + "name": "activity_text", + "value": "- First person says, “On Saturday, I am going to… (e.g., go to the park)”\n- Second person adds to first person, “On Saturday, I am going to the park and… (e.g., visit my best friend).\n- Each person adds to the previous, trying to think of all of the fun things to do on Saturday.", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" } - }, - "_dynamicDependencies": { - "@local.toggle_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } - }, + ], + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_invent_story", + "status": "released", + "rows": [ { - "type": "toggle_bar", - "name": "toggle_4", - "value": true, - "action_list": [ + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.invent_story", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.invent_story", + "matchedExpression": "@data.something_fun.invent_story", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.invent_story": [ + "value" + ] + } + }, { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "changed_field_toggle", - "@local.toggle_1" - ], - "_raw": "changed | set_field:changed_field_toggle:@local.toggle_1", - "_cleaned": "changed | set_field:changed_field_toggle:@local.toggle_1" + "name": "activity_text", + "value": "- Start the story with “Once upon a time there was a…”\n- Let your teen make up the next sentence.\n- Then you make up a sentence.\n- Take turns until you have a wonderful new story.\n- Make sure to end the story on a positive note.\n- Ask your teen what was their favourite part of the story!", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" } ], - "parameter_list": { - "label": "some text", - "false_text": "false text" - }, - "_nested_name": "toggle_4", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" - } - ], - "_cleaned": [ + "_nested_name": "something_fun_text" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" + }, + { + "flow_type": "template", + "flow_name": "activity_co_chef", + "status": "released", + "rows": [ + { + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.co_chef", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ { - "fullExpression": "changed | set_field:changed_field_toggle:@local.toggle_1", - "matchedExpression": "@local.toggle_1", - "type": "local", - "fieldName": "toggle_1" + "fullExpression": "@data.something_fun.co_chef", + "matchedExpression": "@data.something_fun.co_chef", + "type": "data", + "fieldName": "something_fun" } ] + }, + "_dynamicDependencies": { + "@data.something_fun.co_chef": [ + "value" + ] } + }, + { + "name": "activity_text", + "value": "- Ask your teen what kind of meal they would like to eat. \n- Prepare it together! \n- Let them have a turn at being the head chef – they lead, and you follow their instructions. \n- You can even help them to make a budget for the ingredients! \n\nDon’t think it will work? Ask your teens what THEY would like for you and them to do together. Let them lead. Relax. Have fun. ", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" } - }, - "_dynamicDependencies": { - "@local.toggle_1": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } + ], + "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "feature_translation", + "flow_name": "activity_dance_moves", "status": "released", "rows": [ { - "type": "audio", - "name": "audio_1", - "value": "plh_audio/sample.mp3", - "parameter_list": { - "range_bar_disabled": "true", - "time_to_rewind": "5", - "title": "Audio player #1" - }, - "exclude_from_translation": true, - "_nested_name": "audio_1" - }, - { - "type": "text", - "name": "text", - "value": "Font size medim and bold text", - "parameter_list": { - "style": "medium emphasised center" - }, - "_nested_name": "text" - }, - { - "type": "text_box", - "name": "text_box_1", - "value": "Answer 1", - "parameter_list": { - "help": "some help text", - "text_align": "right", - "placeholder": "Add your answer" - }, - "exclude_from_translation": true, - "_nested_name": "text_box_1" - }, - { - "type": "subtitle", - "name": "subtitle_debug_style_active", - "value": "alternative small", - "parameter_list": { - "style": "alternative small" - }, - "_nested_name": "subtitle_debug_style_active" + "type": "template", + "name": "something_fun_text", + "value": "something_fun_text", + "rows": [ + { + "name": "activity_data", + "value": "@data.something_fun.dance_moves", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.something_fun.dance_moves", + "matchedExpression": "@data.something_fun.dance_moves", + "type": "data", + "fieldName": "something_fun" + } + ] + }, + "_dynamicDependencies": { + "@data.something_fun.dance_moves": [ + "value" + ] + } + }, + { + "name": "activity_text", + "value": "- Create a set of dance moves to your teen's favourite songs. \n- One person does a dance move and everyone else copies it. \n- Everyone takes turns being the leader. \n- Perform it for the household! ", + "type": "set_variable", + "_nested_name": "something_fun_text.activity_text" + } + ], + "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/quality_assurance/feature_templates/feature_template_components.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_co_chef", + "flow_name": "activity_mirror", "status": "released", "rows": [ { @@ -55757,29 +61590,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.co_chef.title", + "name": "activity_data", + "value": "@data.something_fun.mirror", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.co_chef.title", - "matchedExpression": "@data.something_fun.co_chef.title", + "fullExpression": "@data.something_fun.mirror", + "matchedExpression": "@data.something_fun.mirror", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.co_chef.title": [ + "@data.something_fun.mirror": [ "value" ] } }, { "name": "activity_text", - "value": "- Ask your teen what kind of meal they would like to eat. \n- Prepare it together! \n- Let them have a turn at being the head chef – they lead, and you follow their instructions. \n- You can even help them to make a budget for the ingredients! \n\nDon’t think it will work? Ask your teens what THEY would like for you and them to do together. Let them lead. Relax. Have fun. ", + "value": "- This game can be played in pairs or with many people in a group.\n- Stand facing each other or in a circle. \n- One person leads first and everyone else copies them, trying to move exactly at the same time as the leader.\n- Make sure the leader moves slowly enough for everyone else to follow! Explore moving different body parts and in different levels.\n- After a while, switch who is leading. Give everyone a chance to lead.\n- Try it with no leaders!", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -55787,11 +61620,11 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_reflect_positive", + "flow_name": "activity_praise_time", "status": "released", "rows": [ { @@ -55800,29 +61633,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.reflect_positive.title", + "name": "activity_data", + "value": "@data.something_fun.praise_time", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.reflect_positive.title", - "matchedExpression": "@data.something_fun.reflect_positive.title", + "fullExpression": "@data.something_fun.praise_time", + "matchedExpression": "@data.something_fun.praise_time", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.reflect_positive.title": [ + "@data.something_fun.praise_time": [ "value" ] } }, { "name": "activity_text", - "value": "At the end of the day, take a minute to: \r\n\r\n- Talk to your teen about one fun thing they did. \r\n- Praise yourself for one thing you did well today. \r\n- You are a star! ", + "value": "Praise time! Look at your teen and praise them for one thing they are doing well! And when was the last time you praised yourself or another adult in your household? Try it!", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -55830,11 +61663,11 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_dance_moves", + "flow_name": "activity_whats_new", "status": "released", "rows": [ { @@ -55843,29 +61676,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.dance_moves.title", + "name": "activity_data", + "value": "@data.something_fun.whats_new", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.dance_moves.title", - "matchedExpression": "@data.something_fun.dance_moves.title", + "fullExpression": "@data.something_fun.whats_new", + "matchedExpression": "@data.something_fun.whats_new", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.dance_moves.title": [ + "@data.something_fun.whats_new": [ "value" ] } }, { "name": "activity_text", - "value": "- Create a set of dance moves to your teen's favourite songs. \n- One person does a dance move and everyone else copies it. \n- Everyone takes turns being the leader. \n- Perform it for the household! ", + "value": "- Think of a new skill you could learn together with your teen. For example, keeping a ball in the air or your foot, juggling, making soup?\n- Take turns in trying the new skill out.\n- Make sure to praise each other, and try to learn and play together!", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -55873,11 +61706,11 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_check_in_chat", + "flow_name": "activity_get_active", "status": "released", "rows": [ { @@ -55886,29 +61719,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.check_in_chat.title", + "name": "activity_data", + "value": "@data.something_fun.get_active", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.check_in_chat.title", - "matchedExpression": "@data.something_fun.check_in_chat.title", + "fullExpression": "@data.something_fun.get_active", + "matchedExpression": "@data.something_fun.get_active", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.check_in_chat.title": [ + "@data.something_fun.get_active": [ "value" ] } }, { "name": "activity_text", - "value": "- Ask each other, “What made you happy today?”\n- Ask each other, “What difficulty did you face today?”\n- Ask each other, “How can I help you?”\n- Try to do this together every day; it could be when you are eating dinner together or before you go to bed.", + "value": "- Come up with three types of exercise together. For example, walking, jogging, soccer or dancing.\n- Pick one together and try it out. \n- If you both like it, decide how often you are going to do it. Once or twice a week? Every morning?\n- Together think of ways to make it even more fun. Can you jog to a certain point? Take turns in being the coach? Motivate each other with a small free reward?", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -55916,11 +61749,11 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_dream_travel", + "flow_name": "activity_name_that_tune", "status": "released", "rows": [ { @@ -55929,29 +61762,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.dream_travel.title", + "name": "activity_data", + "value": "@data.something_fun.name_that_tune", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.dream_travel.title", - "matchedExpression": "@data.something_fun.dream_travel.title", + "fullExpression": "@data.something_fun.name_that_tune", + "matchedExpression": "@data.something_fun.name_that_tune", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.dream_travel.title": [ + "@data.something_fun.name_that_tune": [ "value" ] } }, { "name": "activity_text", - "value": "- You can’t always travel, but you can always dream! Ask your teen these questions:\r\n- Where would you want to travel to? How long would you be away? What would you pack? What would you do on your trip? What would you see?\r\n- Look at a map together or draw one.\r\n- Choose a country that your teen has never heard of and learn more about the country.\r\n", + "value": "- The first person gets to choose or sing a song.\n- Everyone else must guess the name of the tune (to make it harder they can guess the singer).\n- The first one to guess it right becomes the next leader.", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -55959,11 +61792,11 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_famous_party", + "flow_name": "activity_pass_the_snap", "status": "released", "rows": [ { @@ -55972,29 +61805,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.famous_party.title", + "name": "activity_data", + "value": "@data.something_fun.pass_the_snap", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.famous_party.title", - "matchedExpression": "@data.something_fun.famous_party.title", + "fullExpression": "@data.something_fun.pass_the_snap", + "matchedExpression": "@data.something_fun.pass_the_snap", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.famous_party.title": [ + "@data.something_fun.pass_the_snap": [ "value" ] } }, { "name": "activity_text", - "value": "You and your teenager can plan a guestlist of the famous people you’d most like to invite to your party. You can each have five people – they can be from the past or from the present time. Who would you invite? And would your guests get on well together?", + "value": "This game is best with at least 3 people.\n- Start in a circle and pass one “snap” around the circle (or a “clap” if you cannot snap).\n- You “snap” once to throw the “snap”, and once to catch it. Look at the person you are throwing it to. \n- The direction (up, down, straight, curved, rolling the ground) and force (hard, soft, medium) that you throw the snap should affect how the person catches it. \n- You can bounce the “snap”, throw it in the air, and catch it a few times before passing it. \n- When everyone gets good at this, you can start moving around the room, still passing the “snap”. \n- Can you throw under the leg? Behind the back? Through your head? Intercept a pass? Have fun with the “snap”!", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -56002,11 +61835,11 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_two_truths", + "flow_name": "activity_family_workout", "status": "released", "rows": [ { @@ -56015,29 +61848,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.two_truths.title", + "name": "activity_data", + "value": "@data.something_fun.family_workout", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.two_truths.title", - "matchedExpression": "@data.something_fun.two_truths.title", + "fullExpression": "@data.something_fun.family_workout", + "matchedExpression": "@data.something_fun.family_workout", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.two_truths.title": [ + "@data.something_fun.family_workout": [ "value" ] } }, { "name": "activity_text", - "value": "- Think of three statements about yourself. Two must be true and one must be a lie.\n- It might help to think of wishes, dreams, experiences at school, likes or dislikes. For example: I hate bananas, my favourite subject is science, and I really wish I could sing. \n- Say them to your teenager and ask them to guess which one is a lie. \n- Did they guess correctly? Was it a surprise?\n- Now ask them to do the same. Did you learn something new about each other?", + "value": "Choose a sport or exercise to do together. Decide on a schedule. Are you going to do it every day? For how long? \n\nTry it out for a week. At the end of the week, ask yourself and your family these questions:\n- How is it going? \n- How did you feel at the start of the week? \n- How do you feel at the end of the week? \n- What can we do differently next week?\n", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -56045,11 +61878,11 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_mirror", + "flow_name": "activity_housework", "status": "released", "rows": [ { @@ -56058,29 +61891,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.mirror.title", + "name": "activity_data", + "value": "@data.something_fun.housework", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.mirror.title", - "matchedExpression": "@data.something_fun.mirror.title", + "fullExpression": "@data.something_fun.housework", + "matchedExpression": "@data.something_fun.housework", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.mirror.title": [ + "@data.something_fun.housework": [ "value" ] } }, { "name": "activity_text", - "value": "- This game can be played in pairs or with many people in a group.\n- Stand facing each other or in a circle. \n- One person leads first and everyone else copies them, trying to move exactly at the same time as the leader.\n- Make sure the leader moves slowly enough for everyone else to follow! Explore moving different body parts and in different levels.\n- After a while, switch who is leading. Give everyone a chance to lead.\n- Try it with no leaders!", + "value": "Take turns being the “leader”. Say the intro sentences to activate everyone. Then the “leader” gives an instruction and everyone does the activity as fast as possible:\n- Leader: “There’s a fire on the mountain!” \n- Together: “Run, run, run!”\n- Leader: “There’s a fire on the mountain!” \n- Together: “Run, run, run!”\n- Leader: “Touch something red.” \n- Leader: “There’s a fire on the mountain!” \n- Together: “Run, run, run!”\n- Leader: “There’s a fire on the mountain!” \n- Together: “Run, run, run!”\n- Leader: “Jump up and down ten times.”\n- Leader: “There’s a fire on the mountain!” \n- Together: “Run, run, run!”\n- Leader: “There’s a fire on the mountain!” \n- Together: “Run, run, run!”\n- Leader: “Put the shoes in the shoe rack.”", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -56088,11 +61921,11 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_time_machine", + "flow_name": "activity_doing_what", "status": "released", "rows": [ { @@ -56101,29 +61934,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.time_machine.title", + "name": "activity_data", + "value": "@data.something_fun.doing_what", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.time_machine.title", - "matchedExpression": "@data.something_fun.time_machine.title", + "fullExpression": "@data.something_fun.doing_what", + "matchedExpression": "@data.something_fun.doing_what", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.time_machine.title": [ + "@data.something_fun.doing_what": [ "value" ] } }, { "name": "activity_text", - "value": "Tell your teenager something about when you were a teenager yourself. What things didn’t exist then? Phones with internet? What did you do for fun? What did you worry about? Don’t worry if they don’t tell you something in return – what’s important is that they listen and remember. Sometimes our teenagers forget that their parents are people too!", + "value": "This game is best when more than 2 people play.\n- One person pretends to be doing something – for example, combing hair or making dinner. \n- Another person asks, “What are you doing?”\n- The first person needs to say something that has nothing to do with combing hair, for example, “Tying my shoes.” \n- The second person then starts pretending to tie their shoes until a new person asks, “What are you doing?” \n\nThe answer must always be something different than what you are actually doing!", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -56131,11 +61964,11 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", - "flow_name": "activity_superpowers", + "flow_name": "activity_crazy_chicken", "status": "released", "rows": [ { @@ -56144,29 +61977,29 @@ "value": "something_fun_text", "rows": [ { - "name": "activity_title", - "value": "@data.something_fun.superpowers.title", + "name": "activity_data", + "value": "@data.something_fun.crazy_chicken", "type": "set_variable", - "_nested_name": "something_fun_text.activity_title", + "_nested_name": "something_fun_text.activity_data", "_dynamicFields": { "value": [ { - "fullExpression": "@data.something_fun.superpowers.title", - "matchedExpression": "@data.something_fun.superpowers.title", + "fullExpression": "@data.something_fun.crazy_chicken", + "matchedExpression": "@data.something_fun.crazy_chicken", "type": "data", "fieldName": "something_fun" } ] }, "_dynamicDependencies": { - "@data.something_fun.superpowers.title": [ + "@data.something_fun.crazy_chicken": [ "value" ] } }, { "name": "activity_text", - "value": "- Think of a superpower. For example, going anywhere instantly, travelling in time, reading minds. \n- Ask your teen, “If you had the superpower to […], how would you use it?”\n- Encourage them to give their superhero a name and act it out. \n- Now let your teen choose a superpower for you.\n- Make sure you act out your superpower, too!", + "value": "- Shake your left hands in the air 8 times while counting to 8.\n- Do it as fast and loud as you can.\n- Repeat with your other hand. Repeat with both feet.\n- Do it 7 times, then 6 times and continue until you get to 1.\n- Everyone calls out “Crazy chicken” and does their best crazy chicken dance!", "type": "set_variable", "_nested_name": "something_fun_text.activity_text" } @@ -56174,7 +62007,7 @@ "_nested_name": "something_fun_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_something_fun.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_activities.xlsx" }, { "flow_type": "template", @@ -56202,7 +62035,7 @@ "_nested_name": "relax_text" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56237,7 +62070,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56272,7 +62105,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56307,7 +62140,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56342,7 +62175,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56376,7 +62209,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56411,7 +62244,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56446,7 +62279,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56481,7 +62314,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56516,7 +62349,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56551,12 +62384,354 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "module": "safe", + "flow_name": "relax_12_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Close your eyes. \n\nDo you every feel something so strongly that you want to run away from it? \n\nInstead of moving away from the feeling, let’s move towards it for a moment. \nIt’s ok. Close your eyes if you feel comfortable. Take a deep breath. \n\nBecome curious. Where are you feeling it in your body? Is it hot or cold? Hard or soft? Tight or loose? \nAsk yourself some questions. What is it telling me? What does it need? How can I be kind to myself right now? ", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "hidden": true, + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "module": "crisis", + "flow_name": "relax_13_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Here is something fun to help you let go of stress:  \n\nChoose a song that reflects what you need in this moment. Do you need a gentle song to soothe your tired soul or an upbeat song to help you shake some stress out?  \n\nMake a space and move your body to the music. Remember to breathe while you move. Let your breath and the movement go together.  ", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "value": "Even a few minutes of movement can be enough to release stress and lift your mood!  ", + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "module": "celebrate", + "flow_name": "relax_14_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Close your eyes. \nTake a moment to feel the ground under your feet. \nThink of something you feel grateful for.\nFocus on your breath.\nBreathe in and out.\n\nIn and out. ", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "hidden": true, + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "flow_name": "relax_15_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Hello! How are you feeling right now? Happy, sad, angry, excited, worried?\n\nNotice where you feel it in your body. Notice what thoughts are connected to that feeling. Take a deep breath.", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "value": "Thank yourself for taking the time to check in with your feelings and thoughts!", + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "flow_name": "relax_16_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Let’s practice a calming trick that we call ‘Pause Power’. \n\nPlant your feet on the ground and breathe in and out three times as slowly as you can. Imagine you are smelling a flower or blowing out a candle. \n\nTa Da! Pause Power! ", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "value": "This is a great trick to use when you are feeling frustrated because it will help to calm you down.", + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "flow_name": "relax_17_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Self-praise can be really helpful, especially when we have difficult days. \n\nThink of your week and finish the following phrase: “This week, I am proud of myself for …” It can be anything, not just things about being a parent!\n\nThink of one thing you did well today. Now wrap your arms around yourself and give yourself a big HUG!", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "hidden": true, + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "flow_name": "relax_18_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Sit comfortably and close your eyes. \n\nRecognise what is happening for you in this moment. What are you thinking? Are your thoughts positive or negative. How do you feel? Do you feel pleasant or unpleasant? How does your body feel? Do you feel tense or relaxed?\n\nConnect to your heart in a kind and gentle way. You may want to place one hand on your heart or chest. Say the following words silently to yourself:\n\nMay I be peaceful.\nMay I be safe.\nMay I be healthy.\nMay I be happy.\nMay there be love in my family.\nMay I feel loved.", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "value": "Take a moment to reflect on your experience. Notice if you feel any different.", + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "flow_name": "relax_19_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Step 1. Close your eyes and take a deep breath. \n\nStep 2. Ask yourself, \"What am I thinking?\" Notice if your thoughts are positive or negative.\nNotice how you are feeling emotionally. Notice if your emotions are pleasant or unpleasant. Remind yourself that whatever you feel, it is okay.\nNotice how your body feels. Notice anything that hurts or is tense.\n\nStep 3. Focus on your breath. Feel your breath as it goes in and out. You can put a hand on your stomach and feel it rise and fall with each breath. Do this for about 10 breaths.\n\nStep 4. Expand your awareness to your whole body. Listen to the sounds in the room. \n\nStep 5. Take a moment to reflect on whether you feel any different. When you are ready, open your eyes.\n", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "value": "Well done for Taking a Pause. You can do this anytime you are feeling stressed. It gives you a chance to be calmer. Even a few deep breaths or connecting with the ground beneath you can make a difference. You can also Take a Pause with your Children!", + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "flow_name": "relax_20_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Stand up and stretch your arms up to the sky. Push away any clouds and let the sun shine down on you. Stretch to both sides. Stretch to the front and to the back.\n\nLet your hand hang by your side. Squeeze your shoulders tightly up to your ears as you breathe in, scrunch your eyes, and hold your breath. Release your shoulders as you relax your body.\n\nRelax your arms and let your arms to swing sideways, and turn your upper body. Your arms should gently hit your back as you twist from side to side.\n\nPlace one foot in front of the other and make small circles from ankles, remember to turn to both sides. Do each foot with four circles in each direction.\n\nNow shake your whole body as fast as you can. Shake it up high! Shake it down low! Shake it all around!\n\nClose your eyes and raise your arms slowly above your head as you breathe in. Lower your arms slowly to your side as you breathe out.\n\nTake a moment to reflect on your experience.", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "value": "Well done! You can do this activity at any time whenever you feel like you need to release stress and energise your mind and body.", + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" + }, + { + "flow_type": "template", + "flow_name": "relax_21_text", + "status": "released", + "rows": [ + { + "type": "template", + "name": "relax_text", + "value": "relax_text", + "rows": [ + { + "name": "activity_text", + "value": "Make a list of healthy activities that you like to do. Here are some suggestions:\n- Listening to your favourite music\n- Going for a walk (if allowed)\n- Doing some exercise\n- Drinking a cup of tea by yourself\n- Calling up a friend\n- Singing, dancing, praying, or reading\n- Sitting in the sun with your eyes closed\n- Watching your favourite T.V. show\n\nPick one and do it today!", + "type": "set_variable", + "_nested_name": "relax_text.activity_text" + }, + { + "name": "outro_text", + "hidden": true, + "type": "set_variable", + "_nested_name": "relax_text.outro_text" + } + ], + "_nested_name": "relax_text" + }, + { + "value": "\n", + "type": "set_variable", + "name": "set_variable", + "_nested_name": "set_variable" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", - "module": "safe", - "flow_name": "relax_12_text", + "flow_name": "relax_22_text", "status": "released", "rows": [ { @@ -56566,7 +62741,7 @@ "rows": [ { "name": "activity_text", - "value": "Close your eyes. \n\nDo you every feel something so strongly that you want to run away from it? \n\nInstead of moving away from the feeling, let’s move towards it for a moment. \nIt’s ok. Close your eyes if you feel comfortable. Take a deep breath. \n\nBecome curious. Where are you feeling it in your body? Is it hot or cold? Hard or soft? Tight or loose? \nAsk yourself some questions. What is it telling me? What does it need? How can I be kind to myself right now? ", + "value": "When you take care of yourself, you take care of your children. We all need to connect. Try to talk to friends, family, and other support networks every day. If it has been a while since you reached out to someone, do it now!", "type": "set_variable", "_nested_name": "relax_text.activity_text" }, @@ -56586,12 +62761,11 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", - "module": "crisis", - "flow_name": "relax_13_text", + "flow_name": "relax_23_text", "status": "released", "rows": [ { @@ -56601,13 +62775,13 @@ "rows": [ { "name": "activity_text", - "value": "Here is something fun to help you let go of stress:  \n\nChoose a song that reflects what you need in this moment. Do you need a gentle song to soothe your tired soul or an upbeat song to help you shake some stress out?  \n\nMake a space and move your body to the music. Remember to breathe while you move. Let your breath and the movement go together.  ", + "value": "Think about what makes you angry? When does it happen? How do you normally react?\n\nPrevent anger from starting in the first place. Get some sleep or rest when you are tired. Try to eat something when you are hungry. Ask someone for support when you are feeling alone.", "type": "set_variable", "_nested_name": "relax_text.activity_text" }, { "name": "outro_text", - "value": "Even a few minutes of movement can be enough to release stress and lift your mood!  ", + "hidden": true, "type": "set_variable", "_nested_name": "relax_text.outro_text" } @@ -56621,12 +62795,11 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", - "module": "celebrate", - "flow_name": "relax_14_text", + "flow_name": "relax_24_text", "status": "released", "rows": [ { @@ -56636,7 +62809,7 @@ "rows": [ { "name": "activity_text", - "value": "Close your eyes. \nTake a moment to feel the ground under your feet. \nThink of something you feel grateful for.\nFocus on your breath.\nBreathe in and out.\n\nIn and out. ", + "value": "Managing anger can be really difficult. Take a break when you feel you are getting angry at your children or someone else.\n\nGo somewhere else for 5 minutes to regain control of your emotions. If you have safe outdoor space, go outside. You can get through this!", "type": "set_variable", "_nested_name": "relax_text.activity_text" }, @@ -56656,7 +62829,7 @@ "_nested_name": "set_variable" } ], - "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_point_templates/databank_relax.xlsx" + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/parent_centre_templates/databank_relax.xlsx" }, { "flow_type": "template", @@ -56726,6 +62899,139 @@ ], "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/survey_templates/merged_setup_and_survey.xlsx" }, + { + "flow_type": "template", + "flow_name": "survey_warning_no_teens", + "status": "released", + "rows": [ + { + "type": "template", + "name": "survey_stepper", + "value": "survey_stepper", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + } + ], + "rows": [ + { + "name": "nav_template_list", + "value": [ + "workshop_setup_intro", + "workshop_setup_q_1", + "workshop_setup_q_2", + "workshop_setup_q_3" + ], + "type": "set_variable", + "_nested_name": "survey_stepper.nav_template_list" + } + ], + "_nested_name": "survey_stepper" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/survey_templates/survey_warnings.xlsx" + }, + { + "flow_type": "template", + "flow_name": "survey_warning_skip_question", + "status": "released", + "rows": [ + { + "type": "template", + "name": "box_image", + "value": "box_image", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "completed" + ], + "_raw": "completed | emit:completed", + "_cleaned": "completed | emit:completed" + } + ], + "rows": [ + { + "name": "title", + "value": "Customise your @global.parent_app", + "hidden": false, + "parameter_list": { + "style": "center" + }, + "type": "set_variable", + "_nested_name": "box_image.title", + "_dynamicFields": { + "value": [ + { + "fullExpression": "Customise your @global.parent_app", + "matchedExpression": "@global.parent_app", + "type": "global", + "fieldName": "parent_app" + } + ] + }, + "_dynamicDependencies": { + "@global.parent_app": [ + "value" + ] + } + }, + { + "name": "image_src", + "value": "plh_images/survey/welcome/busy.svg", + "type": "set_variable", + "_nested_name": "box_image.image_src" + }, + { + "name": "text", + "value": "Every parent in the world is struggling in these hard times. These quick questions will fit this app to your needs.\n\nBe honest. Remember that you are not alone! Millions of parents feel like you do, and we all deserve support. ", + "parameter_list": { + "style": "center" + }, + "type": "set_variable", + "_nested_name": "box_image.text" + }, + { + "type": "nested_properties", + "name": "nav_buttons", + "rows": [ + { + "name": "button_completed", + "value": "@global.lets_go_button", + "type": "set_variable", + "_nested_name": "box_image.nav_buttons.button_completed", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@global.lets_go_button", + "matchedExpression": "@global.lets_go_button", + "type": "global", + "fieldName": "lets_go_button" + } + ] + }, + "_dynamicDependencies": { + "@global.lets_go_button": [ + "value" + ] + } + } + ], + "_nested_name": "box_image.nav_buttons" + } + ], + "_nested_name": "box_image" + } + ], + "_xlsxPath": "plh_sheets_beta/plh_templating/top_templates/survey_templates/survey_warnings.xlsx" + }, { "flow_type": "template", "flow_name": "survey_welcome_stepper", @@ -62097,17 +68403,10 @@ "_nested_name": "topic_intro.listen.workshop_activity.content_box.text" }, { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/1on1.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/1on1.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -63740,17 +70039,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/celebrate.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/celebrate.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -63985,17 +70277,10 @@ "value": "box_audio", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_title", - "value": "Reflect with Sbo", - "type": "set_variable", - "_nested_name": "think_temp.workshop_activity.content_box.widget_audio.audio_title" - } - ], - "_nested_name": "think_temp.workshop_activity.content_box.widget_audio" + "name": "audio_title", + "value": "Reflect with Sbo", + "type": "set_variable", + "_nested_name": "think_temp.workshop_activity.content_box.audio_title" } ], "_nested_name": "think_temp.workshop_activity.content_box" @@ -65018,17 +71303,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/consequence.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/consequence.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -69317,17 +75595,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/crisis.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/crisis.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -72217,17 +78488,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/instruct.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/instruct.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -74900,17 +81164,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/money.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/money.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -78829,17 +85086,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/praise.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/praise.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -80685,17 +86935,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/rules.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/rules.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -83256,17 +89499,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/safe.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/safe.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -84790,60 +91026,16 @@ "_nested_name": "learn.workshop_activity.content_box.box_1.answer_list" }, { - "name": "radio_group", - "action_list": [ - { - "trigger": "changed", - "action_id": "set_field", - "args": [ - "w_safe_path", - "@local.radio_group" - ], - "_raw": "changed | set_field: w_safe_path: @local.radio_group", - "_cleaned": "changed | set_field: w_safe_path: @local.radio_group" - } - ], + "name": "options_per_row", + "value": 2, "type": "set_variable", - "_nested_name": "learn.workshop_activity.content_box.box_1.radio_group", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "1": [ - { - "fullExpression": "@local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - }, - "_raw": [ - { - "fullExpression": "changed | set_field: w_safe_path: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ], - "_cleaned": [ - { - "fullExpression": "changed | set_field: w_safe_path: @local.radio_group", - "matchedExpression": "@local.radio_group", - "type": "local", - "fieldName": "radio_group" - } - ] - } - } - }, - "_dynamicDependencies": { - "@local.radio_group": [ - "action_list.0.args.1", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } + "_nested_name": "learn.workshop_activity.content_box.box_1.options_per_row" + }, + { + "name": "radio_group_tracker", + "value": "w_safe_path", + "type": "set_variable", + "_nested_name": "learn.workshop_activity.content_box.box_1.radio_group_tracker" }, { "name": "radio_button_type", @@ -85951,17 +92143,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/self_care.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/self_care.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -86650,10 +92835,10 @@ "action_id": "set_field", "args": [ "w_self_care_reward_text", - "@local.@field.self_care_reward" + "@local.@field.w_self_care_reward" ], - "_raw": "completed | set_field:w_self_care_reward_text:@local.@field.self_care_reward", - "_cleaned": "completed | set_field:w_self_care_reward_text:@local.@field.self_care_reward" + "_raw": "completed | set_field:w_self_care_reward_text:@local.@field.w_self_care_reward", + "_cleaned": "completed | set_field:w_self_care_reward_text:@local.@field.w_self_care_reward" }, { "trigger": "completed", @@ -86682,34 +92867,34 @@ "args": { "1": [ { - "fullExpression": "@local.@field.self_care_reward", - "matchedExpression": "@field.self_care_reward", + "fullExpression": "@local.@field.w_self_care_reward", + "matchedExpression": "@field.w_self_care_reward", "type": "field", - "fieldName": "self_care_reward" + "fieldName": "w_self_care_reward" } ] }, "_raw": [ { - "fullExpression": "completed | set_field:w_self_care_reward_text:@local.@field.self_care_reward", - "matchedExpression": "@field.self_care_reward", + "fullExpression": "completed | set_field:w_self_care_reward_text:@local.@field.w_self_care_reward", + "matchedExpression": "@field.w_self_care_reward", "type": "field", - "fieldName": "self_care_reward" + "fieldName": "w_self_care_reward" } ], "_cleaned": [ { - "fullExpression": "completed | set_field:w_self_care_reward_text:@local.@field.self_care_reward", - "matchedExpression": "@field.self_care_reward", + "fullExpression": "completed | set_field:w_self_care_reward_text:@local.@field.w_self_care_reward", + "matchedExpression": "@field.w_self_care_reward", "type": "field", - "fieldName": "self_care_reward" + "fieldName": "w_self_care_reward" } ] } } }, "_dynamicDependencies": { - "@field.self_care_reward": [ + "@field.w_self_care_reward": [ "action_list.0.args.1", "action_list.0._raw", "action_list.0._cleaned" @@ -86769,17 +92954,17 @@ }, { "name": "outro_text", - "value": "Try to do something to reward yourself every day. This could be to @field.w_self_care_reward or anything else that you enjoy.", + "value": "Try to do something to reward yourself every day. This could be to @field.w_self_care_reward_text or anything else that you enjoy.", "condition": "!@field.do_this_workshop_together", "type": "set_variable", "_nested_name": "think.workshop_activity.outro_text", "_dynamicFields": { "value": [ { - "fullExpression": "Try to do something to reward yourself every day. This could be to @field.w_self_care_reward or anything else that you enjoy.", - "matchedExpression": "@field.w_self_care_reward", + "fullExpression": "Try to do something to reward yourself every day. This could be to @field.w_self_care_reward_text or anything else that you enjoy.", + "matchedExpression": "@field.w_self_care_reward_text", "type": "field", - "fieldName": "w_self_care_reward" + "fieldName": "w_self_care_reward_text" } ], "condition": [ @@ -86792,7 +92977,7 @@ ] }, "_dynamicDependencies": { - "@field.w_self_care_reward": [ + "@field.w_self_care_reward_text": [ "value" ], "@field.do_this_workshop_together": [ @@ -87998,17 +94183,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/solve.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/solve.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button", @@ -90924,17 +97102,10 @@ "name": "content_box", "rows": [ { - "type": "nested_properties", - "name": "widget_audio", - "rows": [ - { - "name": "audio_src", - "value": "plh_audio/topic_intros/stress.mp3", - "type": "set_variable", - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio.audio_src" - } - ], - "_nested_name": "topic_intro.listen.workshop_activity.content_box.widget_audio" + "name": "audio_src", + "value": "plh_audio/topic_intros/stress.mp3", + "type": "set_variable", + "_nested_name": "topic_intro.listen.workshop_activity.content_box.audio_src" }, { "name": "button",