Skip to content

Commit

Permalink
Merge pull request #887 from IDEMSInternational/content-update-for-re…
Browse files Browse the repository at this point in the history
…lease-v0.10.2

Content update for release v0.10.2
  • Loading branch information
smborio authored Jul 6, 2021
2 parents 4aab6e8 + 5238a7b commit bcefe83
Show file tree
Hide file tree
Showing 4 changed files with 3,979 additions and 3,116 deletions.
3 changes: 3 additions & 0 deletions src/assets/plh_assets/plh_audio/workshops_reflection.mp3
Git LFS file not shown
85 changes: 80 additions & 5 deletions src/data/data_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10628,6 +10628,67 @@
"campaign_list": [
"unlock_workshops"
]
},
{
"id": "unlock_w_stress",
"click_action_list": [
{
"trigger": "click",
"action_id": "set_field",
"args": [
"w_stress_disabled",
false
],
"_raw": "set_field: w_stress_disabled : FALSE",
"_cleaned": "click | set_field: w_stress_disabled : FALSE"
},
{
"trigger": "click",
"action_id": "set_field",
"args": [
"unlock_w_stress.sent",
true
],
"_raw": "set_field: unlock_w_stress.sent : TRUE",
"_cleaned": "click | set_field: unlock_w_stress.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": "27",
"unit": "day"
}
}
},
"_raw": "first_launch | before: 27 : day"
}
],
"deactivation_condition_list": [
{
"condition_type": "field_evaluation",
"condition_args": {
"field_evaluation": {
"evaluate": "unlock_w_stress.sent"
}
},
"_raw": "get_field | unlock_w_stress.sent : TRUE"
}
],
"campaign_list": [
"unlock_workshops"
]
}
],
"_xlsxPath": "plh_sheets_beta/plh_templating/campaigns/campaign_unlock_workshops.xlsx"
Expand Down Expand Up @@ -11978,7 +12039,6 @@
{
"id": "hp_praise_message_18",
"workshop_list": [
"w_solve",
"w_crisis"
],
"mood_list": [
Expand Down Expand Up @@ -12031,10 +12091,10 @@
"mood_list": [
"happy"
],
"text": "Great to hear it went well! This can help keep your teen safe!",
"text": "Great to hear it went well! Talking about risks and support options prevents problems and really helps to keep your teen safe.",
"_translatedFields": {
"text": {
"eng": "Great to hear it went well! This can help keep your teen safe!"
"eng": "Great to hear it went well! Talking about risks and support options prevents problems and really helps to keep your teen safe."
}
}
},
Expand All @@ -12047,10 +12107,10 @@
"ok",
"sad"
],
"text": "Sorry that this has been hard. Try to do this with your teen again later, and maybe involve some other family members to help give ideas!",
"text": "Sorry that this was hard. Mapping risks and places to get support can be challenging and emotional. It really does help to keep your teen safe!",
"_translatedFields": {
"text": {
"eng": "Sorry that this has been hard. Try to do this with your teen again later, and maybe involve some other family members to help give ideas!"
"eng": "Sorry that this was hard. Mapping risks and places to get support can be challenging and emotional. It really does help to keep your teen safe!"
}
}
},
Expand Down Expand Up @@ -12084,6 +12144,21 @@
"eng": "Great to hear it went well! Getting consequences right helps teens behave better and makes family life calmer."
}
}
},
{
"id": "hp_praise_message_25",
"workshop_list": [
"w_solve"
],
"mood_list": [
"happy"
],
"text": "Great to hear it went well! When your teen learns how to solve problems, they can use that skill their whole life. What a gift!",
"_translatedFields": {
"text": {
"eng": "Great to hear it went well! When your teen learns how to solve problems, they can use that skill their whole life. What a gift!"
}
}
}
],
"_xlsxPath": "plh_sheets_beta/plh_templating/data/praise_data_list.xlsx"
Expand Down
7 changes: 6 additions & 1 deletion src/data/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
{
"type": "declare_global_constant",
"name": "m_workshop_tomorrow",
"value": "New @global.weekly_workshop ready tomorrow!"
"value": "New workshop ready tomorrow!"
},
{
"type": "declare_global_constant",
Expand Down Expand Up @@ -1479,6 +1479,11 @@
"type": "declare_global_constant",
"name": "type_your_own",
"value": "Type your own"
},
{
"type": "declare_global_constant",
"name": "dont_show_again",
"value": "I've understood this. Don't show me this message again."
}
],
"_xlsxPath": "plh_sheets_beta/plh_templating/data/survey_globals.xlsx"
Expand Down
Loading

0 comments on commit bcefe83

Please sign in to comment.