From 2316eeb665aa0da9cf51c7ebe60ec2388fe95ccb Mon Sep 17 00:00:00 2001 From: Johnny McQuade Date: Mon, 9 Dec 2024 17:46:56 +0000 Subject: [PATCH] content: 1.3.6 --- app_data/sheets/contents.json | 29 +++ .../comp_radio_button_category_data.json | 27 +++ .../comp_radio_button_grid_data.json | 2 +- .../component_demo/comp_data_items.json | 217 +++++------------- .../comp_plh_module_details_header.json | 36 +-- .../comp_radio_button_grid.json | 83 +++++++ .../component_demo/comp_round_button.json | 22 ++ .../debug/example_inline_header_footer.json | 101 ++++++++ .../template/debug_modal_interactions.json | 182 +++++++++++++++ .../template/feat_app_layout_padding.json | 33 +++ .../template/feature_display_group.json | 2 +- config.ts | 2 +- reports/summary.json | 18 +- reports/summary.md | 18 +- skins/debug.ts | 4 +- 15 files changed, 578 insertions(+), 198 deletions(-) create mode 100644 app_data/sheets/data_list/component_demo/comp_radio_button_category_data.json create mode 100644 app_data/sheets/template/debug/example_inline_header_footer.json create mode 100644 app_data/sheets/template/debug_modal_interactions.json create mode 100644 app_data/sheets/template/feat_app_layout_padding.json diff --git a/app_data/sheets/contents.json b/app_data/sheets/contents.json index 5ed51d8..a35794d 100644 --- a/app_data/sheets/contents.json +++ b/app_data/sheets/contents.json @@ -274,6 +274,12 @@ } } }, + "comp_radio_button_category_data": { + "flow_type": "data_list", + "flow_name": "comp_radio_button_category_data", + "flow_subtype": "component_demo", + "_xlsxPath": "component_sheets/component_radio_button_grid.xlsx" + }, "comp_radio_button_grid_data": { "flow_type": "data_list", "flow_name": "comp_radio_button_grid_data", @@ -2849,6 +2855,12 @@ "flow_name": "example_google_auth", "_xlsxPath": "example_sheets/example_google_auth.xlsx" }, + "example_inline_header_footer": { + "flow_type": "template", + "flow_name": "example_inline_header_footer", + "flow_subtype": "debug", + "_xlsxPath": "example_sheets/example_inline_header_footer.xlsx" + }, "example_items": { "flow_type": "template", "flow_subtype": "debug", @@ -3263,6 +3275,11 @@ "flow_name": "debug_long_link_text", "_xlsxPath": "debug_sheets/debug_hyperlinks.xlsx" }, + "debug_modal_interactions": { + "flow_type": "template", + "flow_name": "debug_modal_interactions", + "_xlsxPath": "debug_sheets/debug_modal_interactions.xlsx" + }, "debug_nav_bar": { "flow_type": "template", "flow_name": "debug_nav_bar", @@ -3384,6 +3401,18 @@ }, "_xlsxPath": "feature_sheets/feature_app_layout.xlsx" }, + "feat_app_layout_padding": { + "flow_type": "template", + "flow_name": "feat_app_layout_padding", + "parameter_list": { + "app_config": { + "LAYOUT": { + "main_content_padding": 0 + } + } + }, + "_xlsxPath": "feature_sheets/feature_app_layout.xlsx" + }, "feat_custom_footer": { "flow_type": "template", "flow_name": "feat_custom_footer", diff --git a/app_data/sheets/data_list/component_demo/comp_radio_button_category_data.json b/app_data/sheets/data_list/component_demo/comp_radio_button_category_data.json new file mode 100644 index 0000000..b0cae6e --- /dev/null +++ b/app_data/sheets/data_list/component_demo/comp_radio_button_category_data.json @@ -0,0 +1,27 @@ +{ + "flow_type": "data_list", + "flow_name": "comp_radio_button_category_data", + "status": "released", + "flow_subtype": "component_demo", + "rows": [ + { + "id": "option_1", + "name": "option_1", + "text": "All Activities", + "image": "images/icons/reader_blue.svg" + }, + { + "id": "option_2", + "name": "option_2", + "text": "Played", + "image": "images/icons/star_blue.svg" + }, + { + "id": "option_3", + "name": "option_3", + "text": "Not Played", + "image": "images/icons/school_blue.svg" + } + ], + "_xlsxPath": "component_sheets/component_radio_button_grid.xlsx" +} \ No newline at end of file diff --git a/app_data/sheets/data_list/component_demo/comp_radio_button_grid_data.json b/app_data/sheets/data_list/component_demo/comp_radio_button_grid_data.json index a6df8d2..9ba05cc 100644 --- a/app_data/sheets/data_list/component_demo/comp_radio_button_grid_data.json +++ b/app_data/sheets/data_list/component_demo/comp_radio_button_grid_data.json @@ -8,7 +8,7 @@ "id": "option_1", "name": "option_1", "text": "Text with square image", - "image": "https://placekitten.com/200/200" + "image": "images/test_image.png" }, { "id": "option_2", diff --git a/app_data/sheets/template/component_demo/comp_data_items.json b/app_data/sheets/template/component_demo/comp_data_items.json index 7a1dc0c..3765348 100644 --- a/app_data/sheets/template/component_demo/comp_data_items.json +++ b/app_data/sheets/template/component_demo/comp_data_items.json @@ -459,7 +459,7 @@ { "type": "title", "name": "example_3a", - "value": "Example 3a: Update all list items", + "value": "Example 3: Update multiple items", "_translations": { "value": {} }, @@ -467,133 +467,24 @@ }, { "type": "button", - "value": "Mark all completed", + "value": "See examples from \nfeat_data_actions", "_translations": { "value": {} }, "action_list": [ { "trigger": "click", - "action_id": "set_items", - "args": [], - "_raw": "click | set_items | \n _list_id: comp_data_items_list,\n completed:true", - "_cleaned": "click | set_items | \n _list_id: comp_data_items_list,\n completed:true", - "params": { - "_list_id": "comp_data_items_list", - "completed": true - } + "action_id": "go_to", + "args": [ + "feat_data_actions" + ], + "_raw": "click | go_to : feat_data_actions", + "_cleaned": "click | go_to : feat_data_actions" } ], "name": "button_16", "_nested_name": "button_16" }, - { - "type": "button", - "value": "Mark all uncompleted", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "set_items", - "args": [], - "_raw": "click | set_items | _list_id: comp_data_items_list, completed:false", - "_cleaned": "click | set_items | _list_id: comp_data_items_list, completed:false", - "params": { - "_list_id": "comp_data_items_list", - "completed": false - } - } - ], - "name": "button_17", - "_nested_name": "button_17" - }, - { - "type": "title", - "name": "example_3b", - "value": "Example 3b: Update partial list (only completed)", - "_translations": { - "value": {} - }, - "_nested_name": "example_3b" - }, - { - "type": "data_items", - "value": "@data.comp_data_items_list", - "parameter_list": { - "filter": "@item.completed" - }, - "rows": [ - { - "type": "button", - "name": "mark_uncompleted_button", - "value": "Mark all uncompleted", - "_translations": { - "value": {} - }, - "action_list": [ - { - "trigger": "click", - "action_id": "set_items", - "args": [], - "_raw": "click | set_items |\n completed:false", - "_cleaned": "click | set_items |\n completed:false", - "params": { - "completed": false - } - } - ], - "condition": "@item._first", - "_nested_name": "data_items_19.mark_uncompleted_button", - "_dynamicFields": { - "condition": [ - { - "fullExpression": "@item._first", - "matchedExpression": "@item._first", - "type": "item", - "fieldName": "_first" - } - ] - }, - "_dynamicDependencies": { - "@item._first": [ - "condition" - ] - } - } - ], - "name": "data_items_19", - "_nested_name": "data_items_19", - "_dynamicFields": { - "value": [ - { - "fullExpression": "@data.comp_data_items_list", - "matchedExpression": "@data.comp_data_items_list", - "type": "data", - "fieldName": "comp_data_items_list" - } - ], - "parameter_list": { - "filter": [ - { - "fullExpression": "@item.completed", - "matchedExpression": "@item.completed", - "type": "item", - "fieldName": "completed" - } - ] - } - }, - "_dynamicDependencies": { - "@data.comp_data_items_list": [ - "value" - ], - "@item.completed": [ - "parameter_list.filter" - ] - } - }, { "type": "title", "name": "example_4", @@ -618,7 +509,7 @@ }, "condition": "@item.completed", "name": "text_1", - "_nested_name": "data_items_22.display_group_1.text_1", + "_nested_name": "data_items_18.display_group_1.text_1", "_dynamicFields": { "condition": [ { @@ -643,7 +534,7 @@ }, "condition": "!@item.completed", "name": "text_2", - "_nested_name": "data_items_22.display_group_1.text_2", + "_nested_name": "data_items_18.display_group_1.text_2", "_dynamicFields": { "condition": [ { @@ -667,7 +558,7 @@ "_translations": { "value": {} }, - "_nested_name": "data_items_22.display_group_1.id_@item.id", + "_nested_name": "data_items_18.display_group_1.id_@item.id", "_dynamicFields": { "name": [ { @@ -687,7 +578,7 @@ ], "_nested_name": [ { - "fullExpression": "data_items_22.display_group_1.id_@item.id", + "fullExpression": "data_items_18.display_group_1.id_@item.id", "matchedExpression": "@item.id", "type": "item", "fieldName": "id" @@ -709,7 +600,7 @@ "_translations": { "value": {} }, - "_nested_name": "data_items_22.display_group_1.id_@item._index", + "_nested_name": "data_items_18.display_group_1.id_@item._index", "_dynamicFields": { "name": [ { @@ -729,7 +620,7 @@ ], "_nested_name": [ { - "fullExpression": "data_items_22.display_group_1.id_@item._index", + "fullExpression": "data_items_18.display_group_1.id_@item._index", "matchedExpression": "@item._index", "type": "item", "fieldName": "_index" @@ -746,7 +637,7 @@ } ], "name": "display_group_1", - "_nested_name": "data_items_22.display_group_1" + "_nested_name": "data_items_18.display_group_1" }, { "type": "button", @@ -767,7 +658,7 @@ } } ], - "_nested_name": "data_items_22.toggle_button_@item.id", + "_nested_name": "data_items_18.toggle_button_@item.id", "_dynamicFields": { "name": [ { @@ -809,7 +700,7 @@ }, "_nested_name": [ { - "fullExpression": "data_items_22.toggle_button_@item.id", + "fullExpression": "data_items_18.toggle_button_@item.id", "matchedExpression": "@item.id", "type": "item", "fieldName": "id" @@ -843,12 +734,12 @@ "_raw": "click | set_item | _index: 0, completed:true", "_cleaned": "click | set_item | _index: 0, completed:true", "params": { - "_index": "0", + "_index": 0, "completed": true } } ], - "_nested_name": "data_items_22.index_1_button_@item.id", + "_nested_name": "data_items_18.index_1_button_@item.id", "_dynamicFields": { "name": [ { @@ -860,7 +751,7 @@ ], "_nested_name": [ { - "fullExpression": "data_items_22.index_1_button_@item.id", + "fullExpression": "data_items_18.index_1_button_@item.id", "matchedExpression": "@item.id", "type": "item", "fieldName": "id" @@ -894,7 +785,7 @@ } } ], - "_nested_name": "data_items_22.id_button_@item.id", + "_nested_name": "data_items_18.id_button_@item.id", "_dynamicFields": { "name": [ { @@ -906,7 +797,7 @@ ], "_nested_name": [ { - "fullExpression": "data_items_22.id_button_@item.id", + "fullExpression": "data_items_18.id_button_@item.id", "matchedExpression": "@item.id", "type": "item", "fieldName": "id" @@ -940,7 +831,7 @@ } } ], - "_nested_name": "data_items_22.index_plus_1_button_@item.id", + "_nested_name": "data_items_18.index_plus_1_button_@item.id", "_dynamicFields": { "name": [ { @@ -982,7 +873,7 @@ }, "_nested_name": [ { - "fullExpression": "data_items_22.index_plus_1_button_@item.id", + "fullExpression": "data_items_18.index_plus_1_button_@item.id", "matchedExpression": "@item.id", "type": "item", "fieldName": "id" @@ -1002,8 +893,8 @@ } } ], - "name": "data_items_22", - "_nested_name": "data_items_22", + "name": "data_items_18", + "_nested_name": "data_items_18", "_dynamicFields": { "value": [ { @@ -1035,8 +926,8 @@ "_translations": { "value": {} }, - "name": "title_25", - "_nested_name": "title_25" + "name": "title_21", + "_nested_name": "title_21" }, { "type": "data_items", @@ -1055,7 +946,7 @@ "value": {} }, "name": "text_1", - "_nested_name": "data_items_26.display_group_1.text_1", + "_nested_name": "data_items_22.display_group_1.text_1", "_dynamicFields": { "value": [ { @@ -1079,7 +970,7 @@ "value": {} }, "name": "text_2", - "_nested_name": "data_items_26.display_group_1.text_2", + "_nested_name": "data_items_22.display_group_1.text_2", "_dynamicFields": { "value": [ { @@ -1103,7 +994,7 @@ "value": {} }, "name": "text_3", - "_nested_name": "data_items_26.display_group_1.text_3", + "_nested_name": "data_items_22.display_group_1.text_3", "_dynamicFields": { "value": [ { @@ -1127,7 +1018,7 @@ "value": {} }, "name": "text_4", - "_nested_name": "data_items_26.display_group_1.text_4", + "_nested_name": "data_items_22.display_group_1.text_4", "_dynamicFields": { "value": [ { @@ -1151,7 +1042,7 @@ "value": {} }, "name": "text_5", - "_nested_name": "data_items_26.display_group_1.text_5", + "_nested_name": "data_items_22.display_group_1.text_5", "_dynamicFields": { "value": [ { @@ -1170,7 +1061,7 @@ } ], "name": "display_group_1", - "_nested_name": "data_items_26.display_group_1" + "_nested_name": "data_items_22.display_group_1" }, { "type": "button", @@ -1191,7 +1082,7 @@ } ], "name": "button_2", - "_nested_name": "data_items_26.button_2", + "_nested_name": "data_items_22.button_2", "_dynamicFields": { "action_list": { "0": { @@ -1233,8 +1124,8 @@ } } ], - "name": "data_items_26", - "_nested_name": "data_items_26", + "name": "data_items_22", + "_nested_name": "data_items_22", "_dynamicFields": { "value": [ { @@ -1270,8 +1161,8 @@ "_translations": { "value": {} }, - "name": "title_28", - "_nested_name": "title_28" + "name": "title_24", + "_nested_name": "title_24" }, { "type": "data_items", @@ -1290,7 +1181,7 @@ "value": {} }, "name": "text_1", - "_nested_name": "data_items_29.display_group_1.text_1", + "_nested_name": "data_items_25.display_group_1.text_1", "_dynamicFields": { "value": [ { @@ -1314,7 +1205,7 @@ "value": {} }, "name": "text_2", - "_nested_name": "data_items_29.display_group_1.text_2", + "_nested_name": "data_items_25.display_group_1.text_2", "_dynamicFields": { "value": [ { @@ -1338,7 +1229,7 @@ "value": {} }, "name": "text_3", - "_nested_name": "data_items_29.display_group_1.text_3", + "_nested_name": "data_items_25.display_group_1.text_3", "_dynamicFields": { "value": [ { @@ -1362,7 +1253,7 @@ "value": {} }, "name": "text_4", - "_nested_name": "data_items_29.display_group_1.text_4", + "_nested_name": "data_items_25.display_group_1.text_4", "_dynamicFields": { "value": [ { @@ -1386,7 +1277,7 @@ "value": {} }, "name": "text_5", - "_nested_name": "data_items_29.display_group_1.text_5", + "_nested_name": "data_items_25.display_group_1.text_5", "_dynamicFields": { "value": [ { @@ -1405,7 +1296,7 @@ } ], "name": "display_group_1", - "_nested_name": "data_items_29.display_group_1" + "_nested_name": "data_items_25.display_group_1" }, { "type": "button", @@ -1426,7 +1317,7 @@ } ], "name": "button_2", - "_nested_name": "data_items_29.button_2", + "_nested_name": "data_items_25.button_2", "_dynamicFields": { "action_list": { "0": { @@ -1468,8 +1359,8 @@ } } ], - "name": "data_items_29", - "_nested_name": "data_items_29", + "name": "data_items_25", + "_nested_name": "data_items_25", "_dynamicFields": { "value": [ { @@ -1510,7 +1401,7 @@ "_translations": { "value": {} }, - "_nested_name": "display_group_31.legacy_1" + "_nested_name": "display_group_27.legacy_1" }, { "type": "data_items", @@ -1538,7 +1429,7 @@ } } ], - "_nested_name": "display_group_31.data_items_2.mark_uncompleted_button" + "_nested_name": "display_group_27.data_items_2.mark_uncompleted_button" }, { "type": "button", @@ -1559,7 +1450,7 @@ } } ], - "_nested_name": "display_group_31.data_items_2.toggle_all_button", + "_nested_name": "display_group_27.data_items_2.toggle_all_button", "_dynamicFields": { "action_list": { "0": { @@ -1602,7 +1493,7 @@ } ], "name": "data_items_2", - "_nested_name": "display_group_31.data_items_2", + "_nested_name": "display_group_27.data_items_2", "_dynamicFields": { "value": [ { @@ -1620,8 +1511,8 @@ } } ], - "name": "display_group_31", - "_nested_name": "display_group_31" + "name": "display_group_27", + "_nested_name": "display_group_27" } ], "_xlsxPath": "component_sheets/component_data_items.xlsx" diff --git a/app_data/sheets/template/component_demo/comp_plh_module_details_header.json b/app_data/sheets/template/component_demo/comp_plh_module_details_header.json index ebdeef7..c1dc3f6 100644 --- a/app_data/sheets/template/component_demo/comp_plh_module_details_header.json +++ b/app_data/sheets/template/component_demo/comp_plh_module_details_header.json @@ -5,17 +5,27 @@ "flow_subtype": "component_demo", "rows": [ { - "type": "plh_module_details_header", - "value": "Module Title: Taking Care of Yourself", - "_translations": { - "value": {} - }, + "type": "display_group", "parameter_list": { - "background_image_asset": "images/bg_illustration.png", - "module_image_asset": "images/module-1.png" + "sticky": "top" }, - "name": "plh_module_details_header_2", - "_nested_name": "plh_module_details_header_2" + "rows": [ + { + "type": "plh_module_details_header", + "value": "Module Title: Taking Care of Yourself", + "_translations": { + "value": {} + }, + "parameter_list": { + "background_image_asset": "images/bg_illustration.png", + "module_image_asset": "images/module-1.png" + }, + "name": "plh_module_details_header_1", + "_nested_name": "display_group_2.plh_module_details_header_1" + } + ], + "name": "display_group_2", + "_nested_name": "display_group_2" }, { "type": "plh_module_details_header", @@ -27,8 +37,8 @@ "background_image_asset": "images/bg_illustration.png", "module_image_asset": "images/module-1.png" }, - "name": "plh_module_details_header_3", - "_nested_name": "plh_module_details_header_3" + "name": "plh_module_details_header_4", + "_nested_name": "plh_module_details_header_4" }, { "type": "plh_module_details_header", @@ -40,8 +50,8 @@ "background_image_asset": "images/bg_illustration.png", "module_image_asset": "images/Noura.png" }, - "name": "plh_module_details_header_4", - "_nested_name": "plh_module_details_header_4" + "name": "plh_module_details_header_5", + "_nested_name": "plh_module_details_header_5" } ], "_xlsxPath": "component_sheets/component_plh_module_details_header.xlsx" diff --git a/app_data/sheets/template/component_demo/comp_radio_button_grid.json b/app_data/sheets/template/component_demo/comp_radio_button_grid.json index 236b72f..8198500 100644 --- a/app_data/sheets/template/component_demo/comp_radio_button_grid.json +++ b/app_data/sheets/template/component_demo/comp_radio_button_grid.json @@ -416,6 +416,89 @@ "parameter_list.grid_gap" ] } + }, + { + "type": "title", + "value": "Circle Grid Buttons", + "_translations": { + "value": {} + }, + "name": "title_9", + "_nested_name": "title_9" + }, + { + "type": "radio_button_grid", + "name": "grid_2", + "action_list": [ + { + "trigger": "changed", + "action_id": "emit", + "args": [ + "force_reprocess" + ], + "_raw": "changed | emit:force_reprocess", + "_cleaned": "changed | emit:force_reprocess" + } + ], + "parameter_list": { + "answer_list": "@data.comp_radio_button_category_data", + "item_width": "@local.item_width_input", + "grid_width": "@local.grid_width_input", + "grid_gap": "@local.grid_gap_input", + "variant": "circle-icon" + }, + "exclude_from_translation": true, + "_nested_name": "grid_2", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@data.comp_radio_button_category_data", + "matchedExpression": "@data.comp_radio_button_category_data", + "type": "data", + "fieldName": "comp_radio_button_category_data" + } + ], + "item_width": [ + { + "fullExpression": "@local.item_width_input", + "matchedExpression": "@local.item_width_input", + "type": "local", + "fieldName": "item_width_input" + } + ], + "grid_width": [ + { + "fullExpression": "@local.grid_width_input", + "matchedExpression": "@local.grid_width_input", + "type": "local", + "fieldName": "grid_width_input" + } + ], + "grid_gap": [ + { + "fullExpression": "@local.grid_gap_input", + "matchedExpression": "@local.grid_gap_input", + "type": "local", + "fieldName": "grid_gap_input" + } + ] + } + }, + "_dynamicDependencies": { + "@data.comp_radio_button_category_data": [ + "parameter_list.answer_list" + ], + "@local.item_width_input": [ + "parameter_list.item_width" + ], + "@local.grid_width_input": [ + "parameter_list.grid_width" + ], + "@local.grid_gap_input": [ + "parameter_list.grid_gap" + ] + } } ], "_xlsxPath": "component_sheets/component_radio_button_grid.xlsx" diff --git a/app_data/sheets/template/component_demo/comp_round_button.json b/app_data/sheets/template/component_demo/comp_round_button.json index b6c65c4..596ab24 100644 --- a/app_data/sheets/template/component_demo/comp_round_button.json +++ b/app_data/sheets/template/component_demo/comp_round_button.json @@ -196,6 +196,17 @@ { "type": "round_button", "name": "round_button_transparent", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "home_screen" + ], + "_raw": "click | go_to: home_screen", + "_cleaned": "click | go_to: home_screen" + } + ], "parameter_list": { "variant": "no-background", "icon_src": "images/icons/globe_blue.svg" @@ -205,6 +216,17 @@ { "type": "round_button", "name": "round_button_category", + "action_list": [ + { + "trigger": "click", + "action_id": "go_to", + "args": [ + "comp_button" + ], + "_raw": "click | go_to: comp_button", + "_cleaned": "click | go_to: comp_button" + } + ], "parameter_list": { "variant": "category", "icon_src": "images/icons/globe_blue.svg" diff --git a/app_data/sheets/template/debug/example_inline_header_footer.json b/app_data/sheets/template/debug/example_inline_header_footer.json new file mode 100644 index 0000000..92502ba --- /dev/null +++ b/app_data/sheets/template/debug/example_inline_header_footer.json @@ -0,0 +1,101 @@ +{ + "flow_type": "template", + "flow_name": "example_inline_header_footer", + "status": "released", + "flow_subtype": "debug", + "rows": [ + { + "type": "display_group", + "exclude_from_translation": true, + "parameter_list": { + "sticky": "top", + "variant": "inline_padding", + "background_image_asset": "images/activity_bg.svg", + "style": "column" + }, + "rows": [ + { + "type": "title", + "value": "Display Group with Image", + "_translations": { + "value": {} + }, + "exclude_from_translation": true, + "style_list": [ + "margin-top: 120px" + ], + "name": "title_1", + "_nested_name": "display_group_2.title_1" + }, + { + "type": "text", + "name": "text", + "value": "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit", + "_translations": { + "value": {} + }, + "_nested_name": "display_group_2.text" + } + ], + "name": "display_group_2", + "_nested_name": "display_group_2" + }, + { + "type": "title", + "value": "Main Page Content", + "_translations": { + "value": {} + }, + "name": "title_4", + "_nested_name": "title_4" + }, + { + "type": "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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "_translations": { + "value": {} + }, + "name": "text_5", + "_nested_name": "text_5" + }, + { + "type": "display_group", + "exclude_from_translation": true, + "parameter_list": { + "sticky": "bottom", + "variant": "inline_padding", + "background_image_asset": "images/bottom_image.svg", + "style": "column", + "background_image_position": "bottom", + "sticky_background": "transparent" + }, + "rows": [ + { + "type": "title", + "value": "Display Group with Bottom Image", + "_translations": { + "value": {} + }, + "exclude_from_translation": true, + "name": "title_1", + "_nested_name": "display_group_6.title_1" + }, + { + "type": "text", + "name": "text", + "value": "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit", + "_translations": { + "value": {} + }, + "style_list": [ + "margin-bottom: -40px" + ], + "_nested_name": "display_group_6.text" + } + ], + "name": "display_group_6", + "_nested_name": "display_group_6" + } + ], + "_xlsxPath": "example_sheets/example_inline_header_footer.xlsx" +} \ No newline at end of file diff --git a/app_data/sheets/template/debug_modal_interactions.json b/app_data/sheets/template/debug_modal_interactions.json new file mode 100644 index 0000000..e33bdc0 --- /dev/null +++ b/app_data/sheets/template/debug_modal_interactions.json @@ -0,0 +1,182 @@ +{ + "flow_type": "template", + "flow_name": "debug_modal_interactions", + "status": "released", + "rows": [ + { + "type": "text", + "value": "A template for testing interactions between different components that use modals", + "_translations": { + "value": {} + }, + "name": "text_2", + "_nested_name": "text_2" + }, + { + "type": "button", + "value": "Open this template as nav-stack", + "_translations": { + "value": {} + }, + "action_list": [ + { + "trigger": "click", + "action_id": "nav_stack", + "args": [ + "open" + ], + "_raw": "click | nav_stack: open | template: debug_modal_interactions", + "_cleaned": "click | nav_stack: open | template: debug_modal_interactions", + "params": { + "template": "debug_modal_interactions" + } + } + ], + "name": "button_3", + "_nested_name": "button_3" + }, + { + "type": "button", + "value": "Close top nav-stack", + "_translations": { + "value": {} + }, + "action_list": [ + { + "trigger": "click", + "action_id": "nav_stack", + "args": [ + "close_top" + ], + "_raw": "click | nav_stack: close_top", + "_cleaned": "click | nav_stack: close_top" + } + ], + "name": "button_4", + "_nested_name": "button_4" + }, + { + "name": "answer_list_1", + "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_1" + }, + { + "type": "text", + "value": "Show components with modals:", + "_translations": { + "value": {} + }, + "name": "text_6", + "_nested_name": "text_6" + }, + { + "type": "toggle_bar", + "name": "show_components", + "value": false, + "_nested_name": "show_components" + }, + { + "type": "combo_box", + "parameter_list": { + "answer_list": "@local.answer_list_1", + "placeholder": "Combo box" + }, + "condition": "!!@local.show_components", + "name": "combo_box_8", + "_nested_name": "combo_box_8", + "_dynamicFields": { + "parameter_list": { + "answer_list": [ + { + "fullExpression": "@local.answer_list_1", + "matchedExpression": "@local.answer_list_1", + "type": "local", + "fieldName": "answer_list_1" + } + ] + }, + "condition": [ + { + "fullExpression": "!!@local.show_components", + "matchedExpression": "!@local.show_components", + "type": "local", + "fieldName": "show_components" + } + ] + }, + "_dynamicDependencies": { + "@local.answer_list_1": [ + "parameter_list.answer_list" + ], + "!@local.show_components": [ + "condition" + ] + } + }, + { + "name": "audio_transcript", + "value": "This is an audio message in English.", + "_translations": { + "value": { + "es_sp": true + } + }, + "type": "set_variable", + "_nested_name": "audio_transcript" + }, + { + "type": "audio", + "name": "audio_2", + "parameter_list": { + "title": "Audio player", + "src": "audio/test_audio.mp3", + "transcript_text": "@local.audio_transcript" + }, + "condition": "!!@local.show_components", + "_nested_name": "audio_2", + "_dynamicFields": { + "parameter_list": { + "transcript_text": [ + { + "fullExpression": "@local.audio_transcript", + "matchedExpression": "@local.audio_transcript", + "type": "local", + "fieldName": "audio_transcript" + } + ] + }, + "condition": [ + { + "fullExpression": "!!@local.show_components", + "matchedExpression": "!@local.show_components", + "type": "local", + "fieldName": "show_components" + } + ] + }, + "_dynamicDependencies": { + "@local.audio_transcript": [ + "parameter_list.transcript_text" + ], + "!@local.show_components": [ + "condition" + ] + } + } + ], + "_xlsxPath": "debug_sheets/debug_modal_interactions.xlsx" +} \ No newline at end of file diff --git a/app_data/sheets/template/feat_app_layout_padding.json b/app_data/sheets/template/feat_app_layout_padding.json new file mode 100644 index 0000000..9274d6d --- /dev/null +++ b/app_data/sheets/template/feat_app_layout_padding.json @@ -0,0 +1,33 @@ +{ + "flow_type": "template", + "flow_name": "feat_app_layout_padding", + "status": "released", + "parameter_list": { + "app_config": { + "LAYOUT": { + "main_content_padding": 0 + } + } + }, + "rows": [ + { + "type": "title", + "value": "No padding", + "_translations": { + "value": {} + }, + "name": "title_2", + "_nested_name": "title_2" + }, + { + "type": "text", + "value": "This template has set the padding around the main app content to 0.", + "_translations": { + "value": {} + }, + "name": "text_3", + "_nested_name": "text_3" + } + ], + "_xlsxPath": "feature_sheets/feature_app_layout.xlsx" +} \ No newline at end of file diff --git a/app_data/sheets/template/feature_display_group.json b/app_data/sheets/template/feature_display_group.json index 68effc6..fa2c4af 100644 --- a/app_data/sheets/template/feature_display_group.json +++ b/app_data/sheets/template/feature_display_group.json @@ -952,7 +952,7 @@ "value": {} }, "style_list": [ - "margin-bottom: 40px" + "margin-bottom: -40px" ], "_nested_name": "dg_bottom_image.text" } diff --git a/config.ts b/config.ts index 114d5d4..1a99e5a 100644 --- a/config.ts +++ b/config.ts @@ -14,7 +14,7 @@ config.web.favicon_asset = "images/icons/favicon.svg"; config.git = { content_repo: "https://github.com/IDEMSInternational/app-debug-content.git", - content_tag_latest: "1.3.5", + content_tag_latest: "1.3.6", }; config.app_config.ASSET_PACKS = { diff --git a/reports/summary.json b/reports/summary.json index 515cb7e..18449f2 100644 --- a/reports/summary.json +++ b/reports/summary.json @@ -179,7 +179,7 @@ }, { "type": "radio_button_grid", - "count": 9 + "count": 10 }, { "type": "radio_group", @@ -267,7 +267,7 @@ }, { "type": "title", - "count": 436 + "count": 437 }, { "type": "toggle_bar", @@ -327,7 +327,7 @@ }, { "type": "emit: force_reprocess", - "count": 27 + "count": 28 }, { "type": "emit: force_restart", @@ -363,7 +363,7 @@ }, { "type": "go_to", - "count": 72 + "count": 74 }, { "type": "go_to_url", @@ -783,12 +783,12 @@ }, { "path": "images/icons/reader_blue.svg", - "count": 6, + "count": 7, "size_kb": 1.4 }, { "path": "images/icons/school_blue.svg", - "count": 9, + "count": 10, "size_kb": 1.6 }, { @@ -803,7 +803,7 @@ }, { "path": "images/icons/star_blue.svg", - "count": 1, + "count": 2, "size_kb": 1.3 }, { @@ -863,7 +863,7 @@ }, { "path": "images/test_image.png", - "count": 2, + "count": 3, "size_kb": 2 }, { @@ -943,7 +943,7 @@ { "type": "data_list", "subtype": "component_demo", - "total": 7 + "total": 8 }, { "type": "data_list", diff --git a/reports/summary.md b/reports/summary.md index c8a8734..98ceb7b 100644 --- a/reports/summary.md +++ b/reports/summary.md @@ -47,7 +47,7 @@ | progress_bar | 1 | | progress_path | 2 | | qr_code | 2 | -| radio_button_grid | 9 | +| radio_button_grid | 10 | | radio_group | 56 | | radio_group_grid | 5 | | round_button | 26 | @@ -69,7 +69,7 @@ | text_bubble | 10 | | tile_component | 57 | | timer | 21 | -| title | 436 | +| title | 437 | | toggle_bar | 47 | | update_action_list | 2 | | video | 4 | @@ -90,7 +90,7 @@ | emit: @local.child_local_variable | 1 | | emit: completed | 34 | | emit: force_reload | 28 | -| emit: force_reprocess | 27 | +| emit: force_reprocess | 28 | | emit: force_restart | 2 | | emit: server_sync | 7 | | emit: set_language | 4 | @@ -99,7 +99,7 @@ | emit: translator_mode_toggle | 1 | | emit: uncompleted | 18 | | feedback | 13 | -| go_to | 72 | +| go_to | 74 | | go_to_url | 5 | | invalid_action | 1 | | nav | 4 | @@ -221,11 +221,11 @@ Assets that are used within sheets and also can be found in the synced asset dat | images/icons/locked.png | 0.9 | 4 | | images/icons/notification_bell.png | 0.9 | 2 | | images/icons/question_mark.svg | 0.8 | 2 | -| images/icons/reader_blue.svg | 1.4 | 6 | -| images/icons/school_blue.svg | 1.6 | 9 | +| images/icons/reader_blue.svg | 1.4 | 7 | +| images/icons/school_blue.svg | 1.6 | 10 | | images/icons/settings.svg | 2.4 | 1 | | images/icons/settings_active.svg | 2.4 | 1 | -| images/icons/star_blue.svg | 1.3 | 1 | +| images/icons/star_blue.svg | 1.3 | 2 | | images/icons/star_white.svg | 1 | 21 | | images/icons/star_yellow.svg | 0.6 | 1 | | images/icons/tick.svg | 0.3 | 10 | @@ -237,7 +237,7 @@ Assets that are used within sheets and also can be found in the synced asset dat | images/square_2.svg | 1 | 1 | | images/square_3.svg | 1 | 1 | | images/square_4.svg | 1 | 1 | -| images/test_image.png | 2 | 2 | +| images/test_image.png | 2 | 3 | | images/test_image_no_translations.png | 2.8 | 1 | | lottie/blob_play_ball.json | 69.4 | 16 | | lottie/cascading_stars.json | 140.5 | 1 | @@ -259,7 +259,7 @@ Assets that are used within sheets and also can be found in the synced asset dat | data_list | | 31 | | data_list | campaign_rows_debug | 6 | | data_list | campaign_schedule | 1 | -| data_list | component_demo | 7 | +| data_list | component_demo | 8 | | data_list | debug | 18 | | data_list | debug_lifecycle_actions | 1 | | data_list | example_generator | 3 | diff --git a/skins/debug.ts b/skins/debug.ts index bafcb60..49fb488 100644 --- a/skins/debug.ts +++ b/skins/debug.ts @@ -21,8 +21,10 @@ const debug: IAppSkin = { }, APP_THEMES:{ defaultThemeName:'professional' + }, + LAYOUT: { + main_content_padding: "32px" } - }, }; export default debug;