From 7d2bb5ce61523c93174718c2603614b77cec68a7 Mon Sep 17 00:00:00 2001 From: Andy Brown Date: Thu, 8 Jul 2021 10:37:25 -0700 Subject: [PATCH] use correct header schema for BeginSkill (#5767) * use correct header schema for BeginSkill * Update tests.uischema Co-authored-by: Monica Rivera --- .../Schemas/Actions/Microsoft.BeginSkill.uischema | 15 +++++++++------ tests/tests.uischema | 15 +++++++++------ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.BeginSkill.uischema b/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.BeginSkill.uischema index fcfb0c8b2..03242a678 100644 --- a/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.BeginSkill.uischema +++ b/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.BeginSkill.uischema @@ -14,18 +14,21 @@ }, "flow": { "widget": "ActionCard", - "colors": { - "theme": "#004578", - "color": "#FFFFFF", - "icon": "#FFFFFF" - }, - "icon": "Library", "body": { "widget": "ResourceOperation", "operation": "Host", "resource": "=coalesce(action.skillEndpoint, \"?\")", "singleline": true }, + "header": { + "widget": "ActionHeader", + "colors": { + "theme": "#004578", + "color": "#FFFFFF", + "icon": "#FFFFFF" + }, + "icon": "Library" + }, "footer": { "widget": "PropertyDescription", "property": "=action.resultProperty", diff --git a/tests/tests.uischema b/tests/tests.uischema index 6abf17049..e86a7c0be 100644 --- a/tests/tests.uischema +++ b/tests/tests.uischema @@ -144,18 +144,21 @@ "singleline": true, "widget": "ResourceOperation" }, - "colors": { - "color": "#FFFFFF", - "icon": "#FFFFFF", - "theme": "#004578" - }, "footer": { "description": "= Result", "property": "=action.resultProperty", "widget": "PropertyDescription" }, + "header": { + "colors": { + "color": "#FFFFFF", + "icon": "#FFFFFF", + "theme": "#004578" + }, + "icon": "Library", + "widget": "ActionHeader" + }, "hideFooter": "=!action.resultProperty", - "icon": "Library", "widget": "ActionCard" }, "form": {