diff --git a/fluentui-ard/Connections/Connections.json b/fluentui-ard/Connections/Connections.json index ab9af5ab5f0f8a5ac0c4ab54c106a237f884aace..e351f9dfd92b26abcbe307e5b0ba9a2d87290541 100644 --- a/fluentui-ard/Connections/Connections.json +++ b/fluentui-ard/Connections/Connections.json @@ -1,13 +1,10 @@ { - "1b9f6b8f-68db-428c-9e0f-72ed6e7ea186": { + "4a3b4086-5fc9-44c6-81a0-d614f19e11fd": { "connectionRef": { "displayName": "Logic flows", "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1664/1.0.1664.3477/logicflows/icon.png", "id": "/providers/microsoft.powerapps/apis/shared_logicflows", "parameterHints": { - "4feaf736-2c64-468b-bf98-5802bbdb89f3": { - "value": "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" - }, "workflowEntityId": { "value": "921001dc-f7aa-ee11-be37-0022488291be" }, @@ -16,9 +13,6 @@ } }, "parameterHintsV2": { - "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": { - "value": "4feaf736-2c64-468b-bf98-5802bbdb89f3" - }, "workflowEntityId": { "value": "921001dc-f7aa-ee11-be37-0022488291be" }, @@ -32,12 +26,12 @@ "ConnectAzureOpenai" ], "dependencies": { - "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "4feaf736-2c64-468b-bf98-5802bbdb89f3" + "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "4cfa0255-2ab9-478b-ae56-8c20157a1e8c" }, "dependents": [], - "id": "1b9f6b8f-68db-428c-9e0f-72ed6e7ea186" + "id": "4a3b4086-5fc9-44c6-81a0-d614f19e11fd" }, - "4feaf736-2c64-468b-bf98-5802bbdb89f3": { + "4cfa0255-2ab9-478b-ae56-8c20157a1e8c": { "connectionRef": { "displayName": "Azure-openai-connector", "iconUri": "https://prodapiicons.cdn.powerappscdn.net/20231208t000000z6ddcf09938484bbb86659a4f81d8d185/customconnectoricon.png", @@ -47,9 +41,9 @@ "dataSources": [], "dependencies": {}, "dependents": [ - "1b9f6b8f-68db-428c-9e0f-72ed6e7ea186" + "4a3b4086-5fc9-44c6-81a0-d614f19e11fd" ], - "id": "4feaf736-2c64-468b-bf98-5802bbdb89f3" + "id": "4cfa0255-2ab9-478b-ae56-8c20157a1e8c" }, "87a18f1f-ceb1-4b3f-94e5-d4c949a2d6f4": { "connectionRef": { diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index 4bc28b10093e28b61618a97ea60d13a0234c9fbc..8aade28ba33ff4e4867696a0eec850f702589382 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -338,6 +338,36 @@ "ruleId": "acc-TabOrderShouldBeChecked", "ruleIndex": 4 }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "App.returnCAO" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "App.returnCAO", + "relativeAddress": 0 + } + }, + "properties": { + "member": "returnCAO", + "module": "App", + "type": "App" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "app-UnusedVariables", + "ruleIndex": 6 + }, { "locations": [ { @@ -366,7 +396,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 6 + "ruleIndex": 7 } ], "tool": { @@ -476,6 +506,23 @@ "whyFix": "Changing this property setting will give the user better information about the function of the controls in your app." } }, + { + "id": "app-UnusedVariables", + "messageStrings": { + "issue": { + "text": "Unused variable" + } + }, + "properties": { + "componentType": "app", + "howToFix": [ + "Remove the unused variable." + ], + "level": "Medium", + "primaryCategory": "performance", + "whyFix": "This variable is declared but is not referenced by any control, so it is not needed." + } + }, { "id": "app-UnusedMediaResources", "messageStrings": { diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json index 1af4854d2e47ccf78ab30d08fcab0303cd3244f9..1cb37011ca0b8ad5b3827604f304c748b07561a2 100644 --- a/fluentui-ard/Entropy/Entropy.json +++ b/fluentui-ard/Entropy/Entropy.json @@ -21,11 +21,11 @@ }, "FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScriptsOnInstances": {}, - "HeaderLastSavedDateTimeUTC": "01/08/2024 12:51:08", + "HeaderLastSavedDateTimeUTC": "01/08/2024 14:55:45", "IsLegacyComponentAllowGlobalScopeCase": false, "LocalConnectionIDReferences": { - "1b9f6b8f-68db-428c-9e0f-72ed6e7ea186": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"", - "4feaf736-2c64-468b-bf98-5802bbdb89f3": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"", + "4a3b4086-5fc9-44c6-81a0-d614f19e11fd": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"", + "4cfa0255-2ab9-478b-ae56-8c20157a1e8c": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"", "87a18f1f-ceb1-4b3f-94e5-d4c949a2d6f4": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-691d88fb-dc12-4d7f-afc5-caaebbf651d6\"", "f5f8dd0c-8ecf-4fc7-ae09-d8d29db70e1e": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/38d6e5b5b5fa999a16ebdf0aa169572f-c1654a69e558fc9f\"" }, diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json index 8e8cf529b66cbbca6a124d37ab46d8014af27471..6e7bc448e161d52e4c51b971ffd759953d229926 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,13 +4,13 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_wCLOYCxv9s2XA71mwx7q63iEej3YROn1TiE5SxEUAp4=", + "AppCheckerResult.sarif": "C8_d29ku0bfNVhM5JFAjQClF39Risr1NyOswzHRy2Pb7AY=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", - "Controls\\4.json": "C8_+NguJ2EhznsxwxOoUhrb66EapMRt+s6OAHa2XyRGu/Y=", - "Header.json": "C8_y3ZI7ty2U+1n7q56kvE9g862slmZkakHtoAOcrx6yFQ=", - "Properties.json": "C8_/6QMlMapV7+Y953laUa6Gix0TIxgNQWN2ZrC3rGdU2w=", + "Controls\\4.json": "C8_2Q8BgPkRt5fTtg+zjzplPcJvGZ+cR+QfsYHguMLpRiI=", + "Header.json": "C8_CYhosA3lVFuLod48a3jc0UoxG8YbEw6JBopyxDgFQ9w=", + "Properties.json": "C8_h2d/bZwogtlOPcL8+ieuPYS2fND5fATn/nHXf6S93No=", "References\\DataSources.json": "C8_p1n9Ref5C1FgOHFzowVJAynaWAyjUpkEL6zrSE+DiVw=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_ZLoUoOFT2kLg+DiLhoWksOD2qshF1YGEI5V2+LGKSZ8=", @@ -18,15 +18,15 @@ "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ClientStampedChecksum": "C8_ZpzRak5yrJH1CzvcJ3fGBhyaHmRMUBbNCYnGid5ieWQ=", + "ClientStampedChecksum": "C8_w255vApZGvq5MoGZai5j0KpXZOL0jUD9lfZ/vcrCg9k=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_wCLOYCxv9s2XA71mwx7q63iEej3YROn1TiE5SxEUAp4=", + "AppCheckerResult.sarif": "C8_d29ku0bfNVhM5JFAjQClF39Risr1NyOswzHRy2Pb7AY=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", - "Controls\\4.json": "C8_+NguJ2EhznsxwxOoUhrb66EapMRt+s6OAHa2XyRGu/Y=", - "Header.json": "C8_y3ZI7ty2U+1n7q56kvE9g862slmZkakHtoAOcrx6yFQ=", - "Properties.json": "C8_/6QMlMapV7+Y953laUa6Gix0TIxgNQWN2ZrC3rGdU2w=", + "Controls\\4.json": "C8_2Q8BgPkRt5fTtg+zjzplPcJvGZ+cR+QfsYHguMLpRiI=", + "Header.json": "C8_CYhosA3lVFuLod48a3jc0UoxG8YbEw6JBopyxDgFQ9w=", + "Properties.json": "C8_h2d/bZwogtlOPcL8+ieuPYS2fND5fATn/nHXf6S93No=", "References\\DataSources.json": "C8_p1n9Ref5C1FgOHFzowVJAynaWAyjUpkEL6zrSE+DiVw=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_ZLoUoOFT2kLg+DiLhoWksOD2qshF1YGEI5V2+LGKSZ8=", @@ -34,5 +34,5 @@ "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ServerStampedChecksum": "C8_ZpzRak5yrJH1CzvcJ3fGBhyaHmRMUBbNCYnGid5ieWQ=" + "ServerStampedChecksum": "C8_w255vApZGvq5MoGZai5j0KpXZOL0jUD9lfZ/vcrCg9k=" } \ No newline at end of file diff --git a/fluentui-ard/Src/Screen1.fx.yaml b/fluentui-ard/Src/Screen1.fx.yaml index 4a616d377aa7f79fe61fe315d17211acafd27709..f57a622a4875d08a6b4f3bd873845e9c91445122 100644 --- a/fluentui-ard/Src/Screen1.fx.yaml +++ b/fluentui-ard/Src/Screen1.fx.yaml @@ -242,7 +242,7 @@ Screen1 As screen: HoverFill: =RGBA(0, 0, 0, 0) Icon: =Icon.Send OnSelect: |- - =If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & textinput1.Text & Char(13) & Char(13) & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text))); + =If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & textinput1.Text & Char(13) & Char(13) & "GPT: " & Set(returnCAO, ConnectAzureOpenai.Run(textinput1.Text)))); Reset(textinput1); //Notify("ChatGPT asked", NotificationType.Success , 1000); PressedBorderColor: =RGBA(0, 0, 0, 0)