diff --git a/app_data/sheets/contents.json b/app_data/sheets/contents.json index ce75b0e..95f011f 100644 --- a/app_data/sheets/contents.json +++ b/app_data/sheets/contents.json @@ -286,6 +286,30 @@ "flow_subtype": "example_sheet_defaults", "_xlsxPath": "example_sheets/to_be_sorted/example_sheet_defaults.xlsx" }, + "feat_task_group_1_data": { + "flow_type": "data_list", + "flow_name": "feat_task_group_1_data", + "data_list_name": "feat_task_group_1", + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" + }, + "feat_task_group_2_data": { + "flow_type": "data_list", + "flow_name": "feat_task_group_2_data", + "data_list_name": "feat_task_group_2", + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" + }, + "feat_task_group_3_data": { + "flow_type": "data_list", + "flow_name": "feat_task_group_3_data", + "data_list_name": "feat_task_group_3", + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" + }, + "feat_task_groups_data": { + "flow_type": "data_list", + "flow_name": "feat_task_groups_data", + "data_list_name": "feat_task_groups", + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" + }, "debug_filtered": { "flow_name": "debug_filtered", "flow_subtype": "generated", @@ -1538,18 +1562,6 @@ "flow_subtype": "debug", "_xlsxPath": "debug_sheets/to_be_sorted/debug_stepper.xlsx" }, - "debug_task_card": { - "flow_type": "template", - "flow_name": "debug_task_card", - "flow_subtype": "debug", - "_xlsxPath": "debug_sheets/to_be_sorted/debug_task_card.xlsx" - }, - "debug_task_card_set_progress": { - "flow_type": "template", - "flow_name": "debug_task_card_set_progress", - "flow_subtype": "debug", - "_xlsxPath": "debug_sheets/to_be_sorted/debug_task_card.xlsx" - }, "debug_teen_ages": { "flow_type": "template", "flow_name": "debug_teen_ages", @@ -2608,6 +2620,11 @@ "flow_subtype": "example_sheet_defaults", "_xlsxPath": "example_sheets/to_be_sorted/example_sheet_defaults.xlsx" }, + "feat_task_group_subtask_toggle": { + "flow_type": "template", + "flow_name": "feat_task_group_subtask_toggle", + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" + }, "feature_feedback_debug": { "flow_type": "template", "flow_name": "feature_feedback_debug", @@ -2646,6 +2663,11 @@ "flow_name": "feature_share_file", "_xlsxPath": "feature_sheets/to_be_sorted/feature_share.xlsx" }, + "feature_task_group": { + "flow_type": "template", + "flow_name": "feature_task_group", + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" + }, "home_screen": { "flow_type": "template", "flow_name": "home_screen", diff --git a/app_data/sheets/data_list/feat_task_group_1_data.json b/app_data/sheets/data_list/feat_task_group_1_data.json new file mode 100644 index 0000000..6738b8b --- /dev/null +++ b/app_data/sheets/data_list/feat_task_group_1_data.json @@ -0,0 +1,17 @@ +{ + "flow_type": "data_list", + "flow_name": "feat_task_group_1_data", + "status": "released", + "data_list_name": "feat_task_group_1", + "rows": [ + { + "id": "subtask_1", + "completed_field": "task_group_1_subtask_1_completed" + }, + { + "id": "subtask_2", + "completed_field": "task_group_1_subtask_2_completed" + } + ], + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" +} \ No newline at end of file diff --git a/app_data/sheets/data_list/feat_task_group_2_data.json b/app_data/sheets/data_list/feat_task_group_2_data.json new file mode 100644 index 0000000..fa734a8 --- /dev/null +++ b/app_data/sheets/data_list/feat_task_group_2_data.json @@ -0,0 +1,17 @@ +{ + "flow_type": "data_list", + "flow_name": "feat_task_group_2_data", + "status": "released", + "data_list_name": "feat_task_group_2", + "rows": [ + { + "id": "subtask_1", + "completed_field": "task_group_2_subtask_1_completed" + }, + { + "id": "subtask_2", + "completed_field": "task_group_2_subtask_2_completed" + } + ], + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" +} \ No newline at end of file diff --git a/app_data/sheets/data_list/feat_task_group_3_data.json b/app_data/sheets/data_list/feat_task_group_3_data.json new file mode 100644 index 0000000..db8b755 --- /dev/null +++ b/app_data/sheets/data_list/feat_task_group_3_data.json @@ -0,0 +1,17 @@ +{ + "flow_type": "data_list", + "flow_name": "feat_task_group_3_data", + "status": "released", + "data_list_name": "feat_task_group_3", + "rows": [ + { + "id": "subtask_1", + "completed_field": "task_group_3_subtask_1_completed" + }, + { + "id": "subtask_2", + "completed_field": "task_group_3_subtask_2_completed" + } + ], + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" +} \ No newline at end of file diff --git a/app_data/sheets/data_list/feat_task_groups_data.json b/app_data/sheets/data_list/feat_task_groups_data.json new file mode 100644 index 0000000..8d82da8 --- /dev/null +++ b/app_data/sheets/data_list/feat_task_groups_data.json @@ -0,0 +1,33 @@ +{ + "flow_type": "data_list", + "flow_name": "feat_task_groups_data", + "status": "released", + "data_list_name": "feat_task_groups", + "rows": [ + { + "id": "task_group_1", + "number": 1, + "title": "Task Group 1", + "description": "The first task group", + "image_asset": "images/example/jasper_1.jpg", + "completed_field": "task_group_1_completed" + }, + { + "id": "task_group_2", + "number": 2, + "title": "Task Group 2", + "description": "The second task group", + "image_asset": "images/example/jasper_1.jpg", + "completed_field": "task_group_2_completed" + }, + { + "id": "task_group_3", + "number": 3, + "title": "Task Group 3", + "description": "The third task group", + "image_asset": "images/example/jasper_1.jpg", + "completed_field": "task_group_3_completed" + } + ], + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" +} \ No newline at end of file diff --git a/app_data/sheets/template/component_demo/comp_task_prog_bar_dynamic.json b/app_data/sheets/template/component_demo/comp_task_prog_bar_dynamic.json index e7eabc8..6736d0d 100644 --- a/app_data/sheets/template/component_demo/comp_task_prog_bar_dynamic.json +++ b/app_data/sheets/template/component_demo/comp_task_prog_bar_dynamic.json @@ -27,7 +27,6 @@ "parameter_list": { "task_group_data": "@local.task_group", "completed_field": "comp_task_progress_bar_completed", - "variant": "green", "dynamic": "true" }, "name": "task_progress_bar", diff --git a/app_data/sheets/template/component_demo/comp_task_progress_bar.json b/app_data/sheets/template/component_demo/comp_task_progress_bar.json index 4c9f10b..34566f0 100644 --- a/app_data/sheets/template/component_demo/comp_task_progress_bar.json +++ b/app_data/sheets/template/component_demo/comp_task_progress_bar.json @@ -26,8 +26,7 @@ "type": "task_progress_bar", "parameter_list": { "task_group_data": "@local.task_group", - "completed_field": "comp_task_progress_bar_completed", - "variant": "green" + "completed_field": "comp_task_progress_bar_completed" }, "name": "task_progress_bar", "_nested_name": "task_progress_bar", diff --git a/app_data/sheets/template/debug/debug_task_card.json b/app_data/sheets/template/debug/debug_task_card.json deleted file mode 100644 index 94516d4..0000000 --- a/app_data/sheets/template/debug/debug_task_card.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "flow_type": "template", - "flow_name": "debug_task_card", - "status": "released", - "flow_subtype": "debug", - "rows": [ - { - "type": "button", - "value": "Go to: Set Progress", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "debug_task_card_set_progress" - ], - "_raw": "click | go_to: debug_task_card_set_progress", - "_cleaned": "click | go_to: debug_task_card_set_progress" - } - ], - "name": "button", - "_nested_name": "button" - }, - { - "type": "title", - "name": "title_1", - "value": "Debug Task Card Progress - Display Card", - "_translations": { - "value": {} - }, - "_nested_name": "title_1" - }, - { - "name": "workshop_id", - "value": "w_self_care", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_id" - }, - { - "type": "text", - "value": "Example workshop: @local.workshop_id", - "_translations": { - "value": {} - }, - "name": "text", - "_nested_name": "text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Example workshop: @local.workshop_id", - "matchedExpression": "@local.workshop_id", - "type": "local", - "fieldName": "workshop_id" - } - ] - }, - "_dynamicDependencies": { - "@local.workshop_id": [ - "value" - ] - } - }, - { - "type": "template", - "name": "module_card", - "value": "module_card", - "rows": [ - { - "name": "workshop_id", - "value": "@local.workshop_id", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "module_card.workshop_id", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@local.workshop_id", - "matchedExpression": "@local.workshop_id", - "type": "local", - "fieldName": "workshop_id" - } - ] - }, - "_dynamicDependencies": { - "@local.workshop_id": [ - "value" - ] - } - }, - { - "name": "card_style", - "value": "landscape", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "module_card.card_style" - } - ], - "_nested_name": "module_card" - }, - { - "type": "button", - "value": "Force Reload", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "emit", - "args": [ - "force_reload" - ], - "_raw": "click | emit:force_reload", - "_cleaned": "click | emit:force_reload" - } - ], - "name": "button", - "_nested_name": "button" - }, - { - "type": "button", - "value": "Force Reprocess", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "emit", - "args": [ - "force_reprocess" - ], - "_raw": "click | emit:force_reprocess", - "_cleaned": "click | emit:force_reprocess" - } - ], - "name": "button", - "_nested_name": "button" - } - ], - "_xlsxPath": "debug_sheets/to_be_sorted/debug_task_card.xlsx" -} \ No newline at end of file diff --git a/app_data/sheets/template/debug/debug_task_card_set_progress.json b/app_data/sheets/template/debug/debug_task_card_set_progress.json deleted file mode 100644 index 7e2eba6..0000000 --- a/app_data/sheets/template/debug/debug_task_card_set_progress.json +++ /dev/null @@ -1,1443 +0,0 @@ -{ - "flow_type": "template", - "flow_name": "debug_task_card_set_progress", - "status": "released", - "flow_subtype": "debug", - "rows": [ - { - "type": "button", - "value": "Go to: Display Card", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "go_to", - "args": [ - "debug_task_card" - ], - "_raw": "click | go_to: debug_task_card", - "_cleaned": "click | go_to: debug_task_card" - } - ], - "name": "button", - "_nested_name": "button" - }, - { - "type": "title", - "name": "title_1", - "value": "Debug Task Card Progress - Settings", - "_translations": { - "value": {} - }, - "_nested_name": "title_1" - }, - { - "name": "workshop_id", - "value": "w_self_care", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_id" - }, - { - "type": "text", - "value": "Example workshop: @local.workshop_id", - "_translations": { - "value": {} - }, - "name": "text", - "_nested_name": "text", - "_dynamicFields": { - "value": [ - { - "fullExpression": "Example workshop: @local.workshop_id", - "matchedExpression": "@local.workshop_id", - "type": "local", - "fieldName": "workshop_id" - } - ] - }, - "_dynamicDependencies": { - "@local.workshop_id": [ - "value" - ] - } - }, - { - "name": "workshop_subtask_1_completed_field", - "value": "task_gp_w_self_care_welcome_individual_completed", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_subtask_1_completed_field" - }, - { - "name": "workshop_subtask_2_completed_field", - "value": "task_gp_w_self_care_intro_completed", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_subtask_2_completed_field" - }, - { - "name": "workshop_subtask_3_completed_field", - "value": "task_gp_w_self_care_tools_activity_completed", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_subtask_3_completed_field" - }, - { - "name": "workshop_subtask_4_completed_field", - "value": "task_gp_w_self_care_home_practice_completed", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_subtask_4_completed_field" - }, - { - "name": "workshop_subtask_5_completed_field", - "value": "task_gp_w_self_care_ending_completed", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_subtask_5_completed_field" - }, - { - "name": "workshop_subtask_6_completed_field", - "value": "task_gp_w_self_care_relax_completed", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_subtask_6_completed_field" - }, - { - "name": "workshop_subtask_7_completed_field", - "value": "task_gp_w_self_care_recognise_completed", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_subtask_7_completed_field" - }, - { - "name": "workshop_subtask_8_completed_field", - "value": "task_gp_w_self_care_reward_completed", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_subtask_8_completed_field" - }, - { - "name": "workshop_subtask_9_completed_field", - "value": "task_gp_w_self_care_survey_activity_completed", - "_translations": { - "value": {} - }, - "type": "set_variable", - "_nested_name": "workshop_subtask_9_completed_field" - }, - { - "type": "button", - "value": "Set progress to \"not started\"", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_1_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_1_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_1_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_2_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_2_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_2_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_3_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_3_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_3_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_4_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_4_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_4_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_5_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_5_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_5_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_6_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_6_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_6_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_7_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_7_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_7_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_8_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_8_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_8_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_9_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_9_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_9_completed_field: false" - } - ], - "name": "button", - "_nested_name": "button", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_1_completed_field", - "matchedExpression": "@local.workshop_subtask_1_completed_field", - "type": "local", - "fieldName": "workshop_subtask_1_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_1_completed_field: false", - "matchedExpression": "@local.workshop_subtask_1_completed_field", - "type": "local", - "fieldName": "workshop_subtask_1_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_1_completed_field: false", - "matchedExpression": "@local.workshop_subtask_1_completed_field", - "type": "local", - "fieldName": "workshop_subtask_1_completed_field" - } - ] - }, - "1": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_2_completed_field", - "matchedExpression": "@local.workshop_subtask_2_completed_field", - "type": "local", - "fieldName": "workshop_subtask_2_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_2_completed_field: false", - "matchedExpression": "@local.workshop_subtask_2_completed_field", - "type": "local", - "fieldName": "workshop_subtask_2_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_2_completed_field: false", - "matchedExpression": "@local.workshop_subtask_2_completed_field", - "type": "local", - "fieldName": "workshop_subtask_2_completed_field" - } - ] - }, - "2": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_3_completed_field", - "matchedExpression": "@local.workshop_subtask_3_completed_field", - "type": "local", - "fieldName": "workshop_subtask_3_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_3_completed_field: false", - "matchedExpression": "@local.workshop_subtask_3_completed_field", - "type": "local", - "fieldName": "workshop_subtask_3_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_3_completed_field: false", - "matchedExpression": "@local.workshop_subtask_3_completed_field", - "type": "local", - "fieldName": "workshop_subtask_3_completed_field" - } - ] - }, - "3": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_4_completed_field", - "matchedExpression": "@local.workshop_subtask_4_completed_field", - "type": "local", - "fieldName": "workshop_subtask_4_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_4_completed_field: false", - "matchedExpression": "@local.workshop_subtask_4_completed_field", - "type": "local", - "fieldName": "workshop_subtask_4_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_4_completed_field: false", - "matchedExpression": "@local.workshop_subtask_4_completed_field", - "type": "local", - "fieldName": "workshop_subtask_4_completed_field" - } - ] - }, - "4": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_5_completed_field", - "matchedExpression": "@local.workshop_subtask_5_completed_field", - "type": "local", - "fieldName": "workshop_subtask_5_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_5_completed_field: false", - "matchedExpression": "@local.workshop_subtask_5_completed_field", - "type": "local", - "fieldName": "workshop_subtask_5_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_5_completed_field: false", - "matchedExpression": "@local.workshop_subtask_5_completed_field", - "type": "local", - "fieldName": "workshop_subtask_5_completed_field" - } - ] - }, - "5": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_6_completed_field", - "matchedExpression": "@local.workshop_subtask_6_completed_field", - "type": "local", - "fieldName": "workshop_subtask_6_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_6_completed_field: false", - "matchedExpression": "@local.workshop_subtask_6_completed_field", - "type": "local", - "fieldName": "workshop_subtask_6_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_6_completed_field: false", - "matchedExpression": "@local.workshop_subtask_6_completed_field", - "type": "local", - "fieldName": "workshop_subtask_6_completed_field" - } - ] - }, - "6": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_7_completed_field", - "matchedExpression": "@local.workshop_subtask_7_completed_field", - "type": "local", - "fieldName": "workshop_subtask_7_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_7_completed_field: false", - "matchedExpression": "@local.workshop_subtask_7_completed_field", - "type": "local", - "fieldName": "workshop_subtask_7_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_7_completed_field: false", - "matchedExpression": "@local.workshop_subtask_7_completed_field", - "type": "local", - "fieldName": "workshop_subtask_7_completed_field" - } - ] - }, - "7": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_8_completed_field", - "matchedExpression": "@local.workshop_subtask_8_completed_field", - "type": "local", - "fieldName": "workshop_subtask_8_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_8_completed_field: false", - "matchedExpression": "@local.workshop_subtask_8_completed_field", - "type": "local", - "fieldName": "workshop_subtask_8_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_8_completed_field: false", - "matchedExpression": "@local.workshop_subtask_8_completed_field", - "type": "local", - "fieldName": "workshop_subtask_8_completed_field" - } - ] - }, - "8": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_9_completed_field", - "matchedExpression": "@local.workshop_subtask_9_completed_field", - "type": "local", - "fieldName": "workshop_subtask_9_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_9_completed_field: false", - "matchedExpression": "@local.workshop_subtask_9_completed_field", - "type": "local", - "fieldName": "workshop_subtask_9_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_9_completed_field: false", - "matchedExpression": "@local.workshop_subtask_9_completed_field", - "type": "local", - "fieldName": "workshop_subtask_9_completed_field" - } - ] - } - } - }, - "_dynamicDependencies": { - "@local.workshop_subtask_1_completed_field": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.workshop_subtask_2_completed_field": [ - "action_list.1.args.0", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.workshop_subtask_3_completed_field": [ - "action_list.2.args.0", - "action_list.2._raw", - "action_list.2._cleaned" - ], - "@local.workshop_subtask_4_completed_field": [ - "action_list.3.args.0", - "action_list.3._raw", - "action_list.3._cleaned" - ], - "@local.workshop_subtask_5_completed_field": [ - "action_list.4.args.0", - "action_list.4._raw", - "action_list.4._cleaned" - ], - "@local.workshop_subtask_6_completed_field": [ - "action_list.5.args.0", - "action_list.5._raw", - "action_list.5._cleaned" - ], - "@local.workshop_subtask_7_completed_field": [ - "action_list.6.args.0", - "action_list.6._raw", - "action_list.6._cleaned" - ], - "@local.workshop_subtask_8_completed_field": [ - "action_list.7.args.0", - "action_list.7._raw", - "action_list.7._cleaned" - ], - "@local.workshop_subtask_9_completed_field": [ - "action_list.8.args.0", - "action_list.8._raw", - "action_list.8._cleaned" - ] - } - }, - { - "type": "button", - "value": "Set progress to \"in progress\"", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_1_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_1_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_1_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_2_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_2_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_2_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_3_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_3_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_3_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_4_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_4_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_4_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_5_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_5_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_5_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_6_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_6_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_6_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_7_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_7_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_7_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_8_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_8_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_8_completed_field: false" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_9_completed_field", - false - ], - "_raw": "click | set_field: @local.workshop_subtask_9_completed_field: false", - "_cleaned": "click | set_field: @local.workshop_subtask_9_completed_field: false" - } - ], - "name": "button", - "_nested_name": "button", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_1_completed_field", - "matchedExpression": "@local.workshop_subtask_1_completed_field", - "type": "local", - "fieldName": "workshop_subtask_1_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_1_completed_field: true", - "matchedExpression": "@local.workshop_subtask_1_completed_field", - "type": "local", - "fieldName": "workshop_subtask_1_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_1_completed_field: true", - "matchedExpression": "@local.workshop_subtask_1_completed_field", - "type": "local", - "fieldName": "workshop_subtask_1_completed_field" - } - ] - }, - "1": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_2_completed_field", - "matchedExpression": "@local.workshop_subtask_2_completed_field", - "type": "local", - "fieldName": "workshop_subtask_2_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_2_completed_field: true", - "matchedExpression": "@local.workshop_subtask_2_completed_field", - "type": "local", - "fieldName": "workshop_subtask_2_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_2_completed_field: true", - "matchedExpression": "@local.workshop_subtask_2_completed_field", - "type": "local", - "fieldName": "workshop_subtask_2_completed_field" - } - ] - }, - "2": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_3_completed_field", - "matchedExpression": "@local.workshop_subtask_3_completed_field", - "type": "local", - "fieldName": "workshop_subtask_3_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_3_completed_field: true", - "matchedExpression": "@local.workshop_subtask_3_completed_field", - "type": "local", - "fieldName": "workshop_subtask_3_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_3_completed_field: true", - "matchedExpression": "@local.workshop_subtask_3_completed_field", - "type": "local", - "fieldName": "workshop_subtask_3_completed_field" - } - ] - }, - "3": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_4_completed_field", - "matchedExpression": "@local.workshop_subtask_4_completed_field", - "type": "local", - "fieldName": "workshop_subtask_4_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_4_completed_field: true", - "matchedExpression": "@local.workshop_subtask_4_completed_field", - "type": "local", - "fieldName": "workshop_subtask_4_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_4_completed_field: true", - "matchedExpression": "@local.workshop_subtask_4_completed_field", - "type": "local", - "fieldName": "workshop_subtask_4_completed_field" - } - ] - }, - "4": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_5_completed_field", - "matchedExpression": "@local.workshop_subtask_5_completed_field", - "type": "local", - "fieldName": "workshop_subtask_5_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_5_completed_field: true", - "matchedExpression": "@local.workshop_subtask_5_completed_field", - "type": "local", - "fieldName": "workshop_subtask_5_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_5_completed_field: true", - "matchedExpression": "@local.workshop_subtask_5_completed_field", - "type": "local", - "fieldName": "workshop_subtask_5_completed_field" - } - ] - }, - "5": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_6_completed_field", - "matchedExpression": "@local.workshop_subtask_6_completed_field", - "type": "local", - "fieldName": "workshop_subtask_6_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_6_completed_field: false", - "matchedExpression": "@local.workshop_subtask_6_completed_field", - "type": "local", - "fieldName": "workshop_subtask_6_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_6_completed_field: false", - "matchedExpression": "@local.workshop_subtask_6_completed_field", - "type": "local", - "fieldName": "workshop_subtask_6_completed_field" - } - ] - }, - "6": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_7_completed_field", - "matchedExpression": "@local.workshop_subtask_7_completed_field", - "type": "local", - "fieldName": "workshop_subtask_7_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_7_completed_field: false", - "matchedExpression": "@local.workshop_subtask_7_completed_field", - "type": "local", - "fieldName": "workshop_subtask_7_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_7_completed_field: false", - "matchedExpression": "@local.workshop_subtask_7_completed_field", - "type": "local", - "fieldName": "workshop_subtask_7_completed_field" - } - ] - }, - "7": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_8_completed_field", - "matchedExpression": "@local.workshop_subtask_8_completed_field", - "type": "local", - "fieldName": "workshop_subtask_8_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_8_completed_field: false", - "matchedExpression": "@local.workshop_subtask_8_completed_field", - "type": "local", - "fieldName": "workshop_subtask_8_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_8_completed_field: false", - "matchedExpression": "@local.workshop_subtask_8_completed_field", - "type": "local", - "fieldName": "workshop_subtask_8_completed_field" - } - ] - }, - "8": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_9_completed_field", - "matchedExpression": "@local.workshop_subtask_9_completed_field", - "type": "local", - "fieldName": "workshop_subtask_9_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_9_completed_field: false", - "matchedExpression": "@local.workshop_subtask_9_completed_field", - "type": "local", - "fieldName": "workshop_subtask_9_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_9_completed_field: false", - "matchedExpression": "@local.workshop_subtask_9_completed_field", - "type": "local", - "fieldName": "workshop_subtask_9_completed_field" - } - ] - } - } - }, - "_dynamicDependencies": { - "@local.workshop_subtask_1_completed_field": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.workshop_subtask_2_completed_field": [ - "action_list.1.args.0", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.workshop_subtask_3_completed_field": [ - "action_list.2.args.0", - "action_list.2._raw", - "action_list.2._cleaned" - ], - "@local.workshop_subtask_4_completed_field": [ - "action_list.3.args.0", - "action_list.3._raw", - "action_list.3._cleaned" - ], - "@local.workshop_subtask_5_completed_field": [ - "action_list.4.args.0", - "action_list.4._raw", - "action_list.4._cleaned" - ], - "@local.workshop_subtask_6_completed_field": [ - "action_list.5.args.0", - "action_list.5._raw", - "action_list.5._cleaned" - ], - "@local.workshop_subtask_7_completed_field": [ - "action_list.6.args.0", - "action_list.6._raw", - "action_list.6._cleaned" - ], - "@local.workshop_subtask_8_completed_field": [ - "action_list.7.args.0", - "action_list.7._raw", - "action_list.7._cleaned" - ], - "@local.workshop_subtask_9_completed_field": [ - "action_list.8.args.0", - "action_list.8._raw", - "action_list.8._cleaned" - ] - } - }, - { - "type": "button", - "value": "Set progress to \"completed\"", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_1_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_1_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_1_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_2_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_2_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_2_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_3_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_3_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_3_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_4_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_4_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_4_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_5_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_5_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_5_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_6_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_6_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_6_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_7_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_7_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_7_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_8_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_8_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_8_completed_field: true" - }, - { - "trigger": "click", - "action_id": "set_field", - "args": [ - "@local.workshop_subtask_9_completed_field", - true - ], - "_raw": "click | set_field: @local.workshop_subtask_9_completed_field: true", - "_cleaned": "click | set_field: @local.workshop_subtask_9_completed_field: true" - } - ], - "name": "button", - "_nested_name": "button", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_1_completed_field", - "matchedExpression": "@local.workshop_subtask_1_completed_field", - "type": "local", - "fieldName": "workshop_subtask_1_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_1_completed_field: true", - "matchedExpression": "@local.workshop_subtask_1_completed_field", - "type": "local", - "fieldName": "workshop_subtask_1_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_1_completed_field: true", - "matchedExpression": "@local.workshop_subtask_1_completed_field", - "type": "local", - "fieldName": "workshop_subtask_1_completed_field" - } - ] - }, - "1": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_2_completed_field", - "matchedExpression": "@local.workshop_subtask_2_completed_field", - "type": "local", - "fieldName": "workshop_subtask_2_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_2_completed_field: true", - "matchedExpression": "@local.workshop_subtask_2_completed_field", - "type": "local", - "fieldName": "workshop_subtask_2_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_2_completed_field: true", - "matchedExpression": "@local.workshop_subtask_2_completed_field", - "type": "local", - "fieldName": "workshop_subtask_2_completed_field" - } - ] - }, - "2": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_3_completed_field", - "matchedExpression": "@local.workshop_subtask_3_completed_field", - "type": "local", - "fieldName": "workshop_subtask_3_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_3_completed_field: true", - "matchedExpression": "@local.workshop_subtask_3_completed_field", - "type": "local", - "fieldName": "workshop_subtask_3_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_3_completed_field: true", - "matchedExpression": "@local.workshop_subtask_3_completed_field", - "type": "local", - "fieldName": "workshop_subtask_3_completed_field" - } - ] - }, - "3": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_4_completed_field", - "matchedExpression": "@local.workshop_subtask_4_completed_field", - "type": "local", - "fieldName": "workshop_subtask_4_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_4_completed_field: true", - "matchedExpression": "@local.workshop_subtask_4_completed_field", - "type": "local", - "fieldName": "workshop_subtask_4_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_4_completed_field: true", - "matchedExpression": "@local.workshop_subtask_4_completed_field", - "type": "local", - "fieldName": "workshop_subtask_4_completed_field" - } - ] - }, - "4": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_5_completed_field", - "matchedExpression": "@local.workshop_subtask_5_completed_field", - "type": "local", - "fieldName": "workshop_subtask_5_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_5_completed_field: true", - "matchedExpression": "@local.workshop_subtask_5_completed_field", - "type": "local", - "fieldName": "workshop_subtask_5_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_5_completed_field: true", - "matchedExpression": "@local.workshop_subtask_5_completed_field", - "type": "local", - "fieldName": "workshop_subtask_5_completed_field" - } - ] - }, - "5": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_6_completed_field", - "matchedExpression": "@local.workshop_subtask_6_completed_field", - "type": "local", - "fieldName": "workshop_subtask_6_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_6_completed_field: true", - "matchedExpression": "@local.workshop_subtask_6_completed_field", - "type": "local", - "fieldName": "workshop_subtask_6_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_6_completed_field: true", - "matchedExpression": "@local.workshop_subtask_6_completed_field", - "type": "local", - "fieldName": "workshop_subtask_6_completed_field" - } - ] - }, - "6": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_7_completed_field", - "matchedExpression": "@local.workshop_subtask_7_completed_field", - "type": "local", - "fieldName": "workshop_subtask_7_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_7_completed_field: true", - "matchedExpression": "@local.workshop_subtask_7_completed_field", - "type": "local", - "fieldName": "workshop_subtask_7_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_7_completed_field: true", - "matchedExpression": "@local.workshop_subtask_7_completed_field", - "type": "local", - "fieldName": "workshop_subtask_7_completed_field" - } - ] - }, - "7": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_8_completed_field", - "matchedExpression": "@local.workshop_subtask_8_completed_field", - "type": "local", - "fieldName": "workshop_subtask_8_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_8_completed_field: true", - "matchedExpression": "@local.workshop_subtask_8_completed_field", - "type": "local", - "fieldName": "workshop_subtask_8_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_8_completed_field: true", - "matchedExpression": "@local.workshop_subtask_8_completed_field", - "type": "local", - "fieldName": "workshop_subtask_8_completed_field" - } - ] - }, - "8": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_subtask_9_completed_field", - "matchedExpression": "@local.workshop_subtask_9_completed_field", - "type": "local", - "fieldName": "workshop_subtask_9_completed_field" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_9_completed_field: true", - "matchedExpression": "@local.workshop_subtask_9_completed_field", - "type": "local", - "fieldName": "workshop_subtask_9_completed_field" - } - ], - "_cleaned": [ - { - "fullExpression": "click | set_field: @local.workshop_subtask_9_completed_field: true", - "matchedExpression": "@local.workshop_subtask_9_completed_field", - "type": "local", - "fieldName": "workshop_subtask_9_completed_field" - } - ] - } - } - }, - "_dynamicDependencies": { - "@local.workshop_subtask_1_completed_field": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ], - "@local.workshop_subtask_2_completed_field": [ - "action_list.1.args.0", - "action_list.1._raw", - "action_list.1._cleaned" - ], - "@local.workshop_subtask_3_completed_field": [ - "action_list.2.args.0", - "action_list.2._raw", - "action_list.2._cleaned" - ], - "@local.workshop_subtask_4_completed_field": [ - "action_list.3.args.0", - "action_list.3._raw", - "action_list.3._cleaned" - ], - "@local.workshop_subtask_5_completed_field": [ - "action_list.4.args.0", - "action_list.4._raw", - "action_list.4._cleaned" - ], - "@local.workshop_subtask_6_completed_field": [ - "action_list.5.args.0", - "action_list.5._raw", - "action_list.5._cleaned" - ], - "@local.workshop_subtask_7_completed_field": [ - "action_list.6.args.0", - "action_list.6._raw", - "action_list.6._cleaned" - ], - "@local.workshop_subtask_8_completed_field": [ - "action_list.7.args.0", - "action_list.7._raw", - "action_list.7._cleaned" - ], - "@local.workshop_subtask_9_completed_field": [ - "action_list.8.args.0", - "action_list.8._raw", - "action_list.8._cleaned" - ] - } - }, - { - "type": "button", - "value": "Set as highlighted task", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "task_group_set_highlighted", - "args": [ - "@local.workshop_id" - ], - "_raw": "click | task_group_set_highlighted: @local.workshop_id", - "_cleaned": "click | task_group_set_highlighted: @local.workshop_id" - } - ], - "name": "button", - "_nested_name": "button", - "_dynamicFields": { - "action_list": { - "0": { - "args": { - "0": [ - { - "fullExpression": "@local.workshop_id", - "matchedExpression": "@local.workshop_id", - "type": "local", - "fieldName": "workshop_id" - } - ] - }, - "_raw": [ - { - "fullExpression": "click | task_group_set_highlighted: @local.workshop_id", - "matchedExpression": "@local.workshop_id", - "type": "local", - "fieldName": "workshop_id" - } - ], - "_cleaned": [ - { - "fullExpression": "click | task_group_set_highlighted: @local.workshop_id", - "matchedExpression": "@local.workshop_id", - "type": "local", - "fieldName": "workshop_id" - } - ] - } - } - }, - "_dynamicDependencies": { - "@local.workshop_id": [ - "action_list.0.args.0", - "action_list.0._raw", - "action_list.0._cleaned" - ] - } - }, - { - "type": "button", - "value": "Unset as highlighted task", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "task_group_set_highlighted", - "args": [ - "w_1on1" - ], - "_raw": "click | task_group_set_highlighted: w_1on1", - "_cleaned": "click | task_group_set_highlighted: w_1on1" - } - ], - "name": "button", - "_nested_name": "button" - } - ], - "_xlsxPath": "debug_sheets/to_be_sorted/debug_task_card.xlsx" -} \ No newline at end of file diff --git a/app_data/sheets/template/feat_task_group_subtask_toggle.json b/app_data/sheets/template/feat_task_group_subtask_toggle.json new file mode 100644 index 0000000..8606d7b --- /dev/null +++ b/app_data/sheets/template/feat_task_group_subtask_toggle.json @@ -0,0 +1,157 @@ +{ + "flow_type": "template", + "flow_name": "feat_task_group_subtask_toggle", + "status": "released", + "rows": [ + { + "name": "task_group_data", + "type": "set_variable", + "_nested_name": "task_group_data" + }, + { + "type": "items", + "value": "@data.@local.task_group_data", + "rows": [ + { + "type": "text", + "value": "@item.id", + "_translations": { + "value": {} + }, + "name": "text", + "_nested_name": "items.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@item.id", + "matchedExpression": "@item.id", + "type": "item", + "fieldName": "id" + } + ] + }, + "_dynamicDependencies": { + "@item.id": [ + "value" + ] + } + }, + { + "type": "toggle_bar", + "name": "toggle_bar_@item.id", + "value": "@field.@item.completed_field", + "_translations": { + "value": {} + }, + "action_list": [ + { + "trigger": "changed", + "action_id": "toggle_field", + "args": [ + "@item.completed_field" + ], + "_raw": "changed | toggle_field: @item.completed_field", + "_cleaned": "changed | toggle_field: @item.completed_field" + }, + { + "trigger": "changed", + "action_id": "emit", + "args": [ + "force_reload" + ], + "_raw": "changed | emit: force_reload", + "_cleaned": "changed | emit: force_reload" + } + ], + "_nested_name": "items.toggle_bar_@item.id", + "_dynamicFields": { + "name": [ + { + "fullExpression": "toggle_bar_@item.id", + "matchedExpression": "@item.id", + "type": "item", + "fieldName": "id" + } + ], + "value": [ + { + "fullExpression": "@field.@item.completed_field", + "matchedExpression": "@item.completed_field", + "type": "item", + "fieldName": "completed_field" + } + ], + "action_list": { + "0": { + "args": { + "0": [ + { + "fullExpression": "@item.completed_field", + "matchedExpression": "@item.completed_field", + "type": "item", + "fieldName": "completed_field" + } + ] + }, + "_raw": [ + { + "fullExpression": "changed | toggle_field: @item.completed_field", + "matchedExpression": "@item.completed_field", + "type": "item", + "fieldName": "completed_field" + } + ], + "_cleaned": [ + { + "fullExpression": "changed | toggle_field: @item.completed_field", + "matchedExpression": "@item.completed_field", + "type": "item", + "fieldName": "completed_field" + } + ] + } + }, + "_nested_name": [ + { + "fullExpression": "items.toggle_bar_@item.id", + "matchedExpression": "@item.id", + "type": "item", + "fieldName": "id" + } + ] + }, + "_dynamicDependencies": { + "@item.id": [ + "name", + "_nested_name" + ], + "@item.completed_field": [ + "value", + "action_list.0.args.0", + "action_list.0._raw", + "action_list.0._cleaned" + ] + } + } + ], + "name": "items", + "_nested_name": "items", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.@local.task_group_data", + "matchedExpression": "@local.task_group_data", + "type": "local", + "fieldName": "task_group_data" + } + ] + }, + "_dynamicDependencies": { + "@local.task_group_data": [ + "value" + ] + } + } + ], + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" +} \ No newline at end of file diff --git a/app_data/sheets/template/feature_task_group.json b/app_data/sheets/template/feature_task_group.json new file mode 100644 index 0000000..d24197e --- /dev/null +++ b/app_data/sheets/template/feature_task_group.json @@ -0,0 +1,277 @@ +{ + "flow_type": "template", + "flow_name": "feature_task_group", + "status": "released", + "rows": [ + { + "type": "title", + "value": "Feature: task group", + "_translations": { + "value": {} + }, + "name": "title", + "_nested_name": "title" + }, + { + "name": "task_groups_data", + "value": "feat_task_groups_data", + "_translations": { + "value": {} + }, + "type": "set_variable", + "_nested_name": "task_groups_data" + }, + { + "type": "carousel", + "parameter_list": { + "space_between": "6", + "task_group_data": "@local.task_groups_data" + }, + "rows": [ + { + "type": "items", + "value": "@data.@local.task_groups_data", + "rows": [ + { + "type": "task_card", + "action_list": [ + { + "trigger": "completed", + "action_id": "emit", + "args": [ + "force_reload" + ], + "_raw": "completed | emit: force_reload", + "_cleaned": "completed | emit: force_reload" + } + ], + "parameter_list": { + "task_group_id": "@item.id", + "task_group_data": "feat_task_group_@item.number", + "completed_field": "@item.completed_field", + "title": "@item.title", + "subtitle": "@item.description", + "image": "@item.image_asset", + "style": "portrait", + "in_progress_icon": "images/icons/in_progress.svg", + "completed_icon": "images/icons/tick_white.svg" + }, + "name": "task_card", + "_nested_name": "carousel.items.task_card", + "_dynamicFields": { + "parameter_list": { + "task_group_id": [ + { + "fullExpression": "@item.id", + "matchedExpression": "@item.id", + "type": "item", + "fieldName": "id" + } + ], + "task_group_data": [ + { + "fullExpression": "feat_task_group_@item.number", + "matchedExpression": "@item.number", + "type": "item", + "fieldName": "number" + } + ], + "completed_field": [ + { + "fullExpression": "@item.completed_field", + "matchedExpression": "@item.completed_field", + "type": "item", + "fieldName": "completed_field" + } + ], + "title": [ + { + "fullExpression": "@item.title", + "matchedExpression": "@item.title", + "type": "item", + "fieldName": "title" + } + ], + "subtitle": [ + { + "fullExpression": "@item.description", + "matchedExpression": "@item.description", + "type": "item", + "fieldName": "description" + } + ], + "image": [ + { + "fullExpression": "@item.image_asset", + "matchedExpression": "@item.image_asset", + "type": "item", + "fieldName": "image_asset" + } + ] + } + }, + "_dynamicDependencies": { + "@item.id": [ + "parameter_list.task_group_id" + ], + "@item.number": [ + "parameter_list.task_group_data" + ], + "@item.completed_field": [ + "parameter_list.completed_field" + ], + "@item.title": [ + "parameter_list.title" + ], + "@item.description": [ + "parameter_list.subtitle" + ], + "@item.image_asset": [ + "parameter_list.image" + ] + } + } + ], + "name": "items", + "_nested_name": "carousel.items", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.@local.task_groups_data", + "matchedExpression": "@local.task_groups_data", + "type": "local", + "fieldName": "task_groups_data" + } + ] + }, + "_dynamicDependencies": { + "@local.task_groups_data": [ + "value" + ] + } + } + ], + "name": "carousel", + "_nested_name": "carousel", + "_dynamicFields": { + "parameter_list": { + "task_group_data": [ + { + "fullExpression": "@local.task_groups_data", + "matchedExpression": "@local.task_groups_data", + "type": "local", + "fieldName": "task_groups_data" + } + ] + } + }, + "_dynamicDependencies": { + "@local.task_groups_data": [ + "parameter_list.task_group_data" + ] + } + }, + { + "type": "display_grid", + "name": "grid_1", + "parameter_list": { + "item_width": "100px", + "item_border": "solid", + "grid_gap": "2px" + }, + "rows": [ + { + "type": "items", + "value": "@data.@local.task_groups_data", + "rows": [ + { + "type": "display_group", + "parameter_list": { + "style": "column" + }, + "rows": [ + { + "type": "text", + "value": "@item.title", + "_translations": { + "value": {} + }, + "name": "text", + "_nested_name": "grid_1.items.display_group.text", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@item.title", + "matchedExpression": "@item.title", + "type": "item", + "fieldName": "title" + } + ] + }, + "_dynamicDependencies": { + "@item.title": [ + "value" + ] + } + }, + { + "type": "template", + "value": "feat_task_group_subtask_toggle", + "rows": [ + { + "name": "task_group_data", + "value": "feat_task_group_@item.number", + "_translations": { + "value": {} + }, + "type": "set_variable", + "_nested_name": "grid_1.items.display_group.feat_task_group_subtask_toggle.task_group_data", + "_dynamicFields": { + "value": [ + { + "fullExpression": "feat_task_group_@item.number", + "matchedExpression": "@item.number", + "type": "item", + "fieldName": "number" + } + ] + }, + "_dynamicDependencies": { + "@item.number": [ + "value" + ] + } + } + ], + "name": "feat_task_group_subtask_toggle", + "_nested_name": "grid_1.items.display_group.feat_task_group_subtask_toggle" + } + ], + "name": "display_group", + "_nested_name": "grid_1.items.display_group" + } + ], + "name": "items", + "_nested_name": "grid_1.items", + "_dynamicFields": { + "value": [ + { + "fullExpression": "@data.@local.task_groups_data", + "matchedExpression": "@local.task_groups_data", + "type": "local", + "fieldName": "task_groups_data" + } + ] + }, + "_dynamicDependencies": { + "@local.task_groups_data": [ + "value" + ] + } + } + ], + "_nested_name": "grid_1" + } + ], + "_xlsxPath": "feature_sheets/to_be_sorted/feature_task_group.xlsx" +} \ No newline at end of file diff --git a/config.ts b/config.ts index 843f93c..729c5e0 100644 --- a/config.ts +++ b/config.ts @@ -13,7 +13,7 @@ config.google_drive = { config.git = { content_repo: "https://github.com/IDEMSInternational/app-debug-content.git", - content_tag_latest: "1.2.2", + content_tag_latest: "1.2.3", }; config.app_data.output_path = "./app_data";