Skip to content

Commit

Permalink
Merge pull request #50 from IDEMSInternational/content/1.2.9
Browse files Browse the repository at this point in the history
content: 1.2.9
  • Loading branch information
esmeetewinkel authored Feb 20, 2024
2 parents 03aca7c + cd34093 commit 517c825
Show file tree
Hide file tree
Showing 8 changed files with 507 additions and 174 deletions.
4 changes: 4 additions & 0 deletions app_data/assets/contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
"md5Checksum": "b3ed52ec26505b93fd559e711fa92863",
"size_kb": 0.1
},
"images/icons/favicon.svg": {
"md5Checksum": "25a750c5524bd7c519b2b53a3abe5036",
"size_kb": 2.1
},
"images/icons/globe_blue.svg": {
"md5Checksum": "17709dbf6ff432c362ac51477203d44a",
"size_kb": 3.9
Expand Down
7 changes: 7 additions & 0 deletions app_data/assets/images/icons/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 11 additions & 6 deletions app_data/sheets/contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@
"flow_subtype": "debug",
"_xlsxPath": "feature_sheets/to_be_sorted/feature_items.xlsx"
},
"debug_answer_list_partial_data": {
"flow_type": "data_list",
"flow_name": "debug_answer_list_partial_data",
"data_list_name": "debug_answer_list_partial",
"_xlsxPath": "debug_sheets/debug_answer_list_partial.xlsx"
},
"debug_launch_actions": {
"flow_type": "data_list",
"flow_subtype": "debug_lifecycle_actions",
Expand Down Expand Up @@ -2324,12 +2330,6 @@
"flow_subtype": "debug",
"_xlsxPath": "feature_sheets/to_be_sorted/feature_template_components.xlsx"
},
"feature_highlighted_task": {
"flow_type": "template",
"flow_name": "feature_highlighted_task",
"flow_subtype": "debug",
"_xlsxPath": "feature_sheets/to_be_sorted/feature_tasks.xlsx"
},
"feature_home": {
"flow_type": "template",
"flow_name": "feature_home",
Expand Down Expand Up @@ -2522,6 +2522,11 @@
"flow_name": "w_example_welcome_together",
"_xlsxPath": "example_sheets/to_be_sorted/example_workshop.xlsx"
},
"debug_answer_list_partial": {
"flow_type": "template",
"flow_name": "debug_answer_list_partial",
"_xlsxPath": "debug_sheets/debug_answer_list_partial.xlsx"
},
"debug_app_update": {
"flow_type": "template",
"flow_name": "debug_app_update",
Expand Down
25 changes: 25 additions & 0 deletions app_data/sheets/data_list/debug_answer_list_partial_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"flow_type": "data_list",
"flow_name": "debug_answer_list_partial_data",
"status": "released",
"data_list_name": "debug_answer_list_partial",
"rows": [
{
"id": "option_1",
"text": "Option 1 text",
"image_asset": "images/example/jasper_1.jpg"
},
{
"id": "option_2"
},
{
"id": "option_3",
"image_asset": "images/example/jasper_1.jpg"
},
{
"id": "option_4",
"text": "Option 4 text"
}
],
"_xlsxPath": "debug_sheets/debug_answer_list_partial.xlsx"
}
224 changes: 224 additions & 0 deletions app_data/sheets/template/debug/example_task_group_stepper.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
"type": "set_variable",
"_nested_name": "task_group"
},
{
"name": "task_group_active_task_field",
"value": "feat_task_group_1_data_active_task",
"_translations": {
"value": {}
},
"type": "set_variable",
"_nested_name": "task_group_active_task_field"
},
{
"type": "task_progress_bar",
"parameter_list": {
Expand Down Expand Up @@ -70,6 +79,7 @@
{
"type": "template",
"value": "@local.template_name",
"condition": "@item.active",
"rows": [],
"name": "@local.template_name",
"_nested_name": "[email protected]_name",
Expand All @@ -82,6 +92,14 @@
"fieldName": "template_name"
}
],
"condition": [
{
"fullExpression": "@item.active",
"matchedExpression": "@item.active",
"type": "item",
"fieldName": "active"
}
],
"name": [
{
"fullExpression": "@local.template_name",
Expand All @@ -104,6 +122,212 @@
"value",
"name",
"_nested_name"
],
"@item.active": [
"condition"
]
}
},
{
"name": "nav_forwards",
"action_list": [
{
"trigger": "click",
"action_id": "set_item",
"args": [],
"_raw": "click | set_item | completed:true",
"_cleaned": "click | set_item | completed:true",
"params": {
"completed": true
}
},
{
"trigger": "click",
"action_id": "set_item",
"args": [],
"_raw": "click | set_item | active:false",
"_cleaned": "click | set_item | active:false",
"params": {
"active": false
}
},
{
"trigger": "click",
"action_id": "set_next_item",
"args": [],
"_raw": "click | set_next_item | active:true",
"_cleaned": "click | set_next_item | active:true",
"params": {
"active": true
}
}
],
"type": "set_variable",
"_nested_name": "data_items.nav_forwards"
},
{
"name": "nav_forwards",
"action_list": [
{
"trigger": "click",
"action_id": "set_item",
"args": [],
"_raw": "click | set_item | completed:true",
"_cleaned": "click | set_item | completed:true",
"params": {
"completed": true
}
},
{
"trigger": "click",
"action_id": "set_active_item",
"args": [],
"_raw": "click | set_active_item | @item.index + 1",
"_cleaned": "click | set_active_item | @item.index + 1",
"params": {
"@item": {}
}
}
],
"type": "set_variable",
"_nested_name": "data_items.nav_forwards",
"_dynamicFields": {
"action_list": {
"1": {
"_raw": [
{
"fullExpression": "click | set_active_item | @item.index + 1",
"matchedExpression": "@item.index",
"type": "item",
"fieldName": "index"
}
],
"_cleaned": [
{
"fullExpression": "click | set_active_item | @item.index + 1",
"matchedExpression": "@item.index",
"type": "item",
"fieldName": "index"
}
]
}
}
},
"_dynamicDependencies": {
"@item.index": [
"action_list.1._raw",
"action_list.1._cleaned"
]
}
},
{
"name": "nav_forwards",
"action_list": [
{
"trigger": "click",
"action_id": "set_item",
"args": [],
"_raw": "click | set_item | completed:true",
"_cleaned": "click | set_item | completed:true",
"params": {
"completed": true
}
},
{
"trigger": "click",
"action_id": "set_item_radio",
"args": [],
"_raw": "click | set_item_radio | active: @item.index + 1",
"_cleaned": "click | set_item_radio | active: @item.index + 1",
"params": {
"active": "@item.index + 1"
}
}
],
"type": "set_variable",
"_nested_name": "data_items.nav_forwards",
"_dynamicFields": {
"action_list": {
"1": {
"_raw": [
{
"fullExpression": "click | set_item_radio | active: @item.index + 1",
"matchedExpression": "@item.index",
"type": "item",
"fieldName": "index"
}
],
"_cleaned": [
{
"fullExpression": "click | set_item_radio | active: @item.index + 1",
"matchedExpression": "@item.index",
"type": "item",
"fieldName": "index"
}
],
"params": {
"active": [
{
"fullExpression": "@item.index + 1",
"matchedExpression": "@item.index",
"type": "item",
"fieldName": "index"
}
]
}
}
}
},
"_dynamicDependencies": {
"@item.index": [
"action_list.1._raw",
"action_list.1._cleaned",
"action_list.1.params.active"
]
}
},
{
"name": "nav_backwards",
"action_list": [
{
"trigger": "click",
"action_id": "set_active_item",
"args": [],
"_raw": "click | set_active_item | @item.index - 1",
"_cleaned": "click | set_active_item | @item.index - 1",
"params": {
"@item": {}
}
}
],
"type": "set_variable",
"_nested_name": "data_items.nav_backwards",
"_dynamicFields": {
"action_list": {
"0": {
"_raw": [
{
"fullExpression": "click | set_active_item | @item.index - 1",
"matchedExpression": "@item.index",
"type": "item",
"fieldName": "index"
}
],
"_cleaned": [
{
"fullExpression": "click | set_active_item | @item.index - 1",
"matchedExpression": "@item.index",
"type": "item",
"fieldName": "index"
}
]
}
}
},
"_dynamicDependencies": {
"@item.index": [
"action_list.0._raw",
"action_list.0._cleaned"
]
}
}
Expand Down
Loading

0 comments on commit 517c825

Please sign in to comment.