diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index 830f00ba8444cce86134c1b62ef268015c32961d..94a42f31028ecc311ad9188a22ab7437ac5f9fb4 100644 --- a/fluentui-ard/CanvasManifest.json +++ b/fluentui-ard/CanvasManifest.json @@ -99,7 +99,7 @@ "zeroalltabindexes": false }, "Author": "", - "BindingErrorCount": 0, + "BindingErrorCount": 1, "ContainsThirdPartyPcfControls": false, "DefaultConnectedDataSourceMaxGetRowsCount": 500, "DocumentAppType": "Phone", @@ -117,7 +117,7 @@ "ManualOfflineProfileId": "", "Name": "ChatGPT-H-I", "OriginatingVersion": "1.335", - "ParserErrorCount": 0, + "ParserErrorCount": 3, "ShowStatusBar": false }, "PublishInfo": { diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index 9edd4f008dda62f57e65e6b1a7159da03c9047b8..f0b45b98463e93a22d5b7e7602bd01d5cbacca70 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -9,6 +9,158 @@ } ], "results": [ + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 2, + "charOffset": 640, + "snippet": { + "text": "If" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrOperatorExpected", + "ruleIndex": 0 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 1, + "charOffset": 673, + "snippet": { + "text": "," + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "Comma", + "ParenClose" + ], + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrExpectedFound-Ex-Fnd", + "ruleIndex": 1 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 1, + "charOffset": 673, + "snippet": { + "text": "," + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrBadToken", + "ruleIndex": 2 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 2, + "charOffset": 640, + "snippet": { + "text": "If" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrOperatorExpected", + "ruleIndex": 0 + }, { "locations": [ { @@ -37,7 +189,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 0 + "ruleIndex": 3 }, { "locations": [ @@ -67,7 +219,37 @@ "level": "Medium" }, "ruleId": "app-UnusedVariables", - "ruleIndex": 1 + "ruleIndex": 4 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "App.Creativity" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "App.Creativity", + "relativeAddress": 0 + } + }, + "properties": { + "member": "Creativity", + "module": "App", + "type": "App" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "app-UnusedVariables", + "ruleIndex": 4 }, { "locations": [ @@ -97,7 +279,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 2 + "ruleIndex": 5 } ], "tool": { @@ -105,6 +287,57 @@ "fullName": "PowerApps app checker", "name": "PowerApps app checker", "rules": [ + { + "id": "app-ErrOperatorExpected", + "messageStrings": { + "issue": { + "text": "Expected operator. We expect an operator such as +, *, or & at this point in the formula." + } + }, + "properties": { + "componentType": "app", + "howToFix": [ + "Edit your formula so that it includes an operator between the operands." + ], + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, + { + "id": "app-ErrExpectedFound-Ex-Fnd", + "messageStrings": { + "issue": { + "text": "Unexpected characters. The formula contains '{0}' where '{1}' is expected." + } + }, + "properties": { + "componentType": "app", + "howToFix": [ + "Remove or replace the unexpected characters with an expected character." + ], + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, + { + "id": "app-ErrBadToken", + "messageStrings": { + "issue": { + "text": "Unexpected characters. Characters are used in the formula in an unexpected way." + } + }, + "properties": { + "componentType": "app", + "howToFix": [ + "Remove or replace the unexpected characters." + ], + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, { "id": "acc-AccessibleLabelNeeded", "messageStrings": { diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json index 86f31a4112a54157a58222da63fe81bee97c286a..e4fd26643ca8debf9434c349a8039310b3d323b6 100644 --- a/fluentui-ard/Entropy/Entropy.json +++ b/fluentui-ard/Entropy/Entropy.json @@ -27,7 +27,7 @@ "DoesTestStepsMetadataExist": true, "FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScriptsOnInstances": {}, - "HeaderLastSavedDateTimeUTC": "01/26/2024 09:17:30", + "HeaderLastSavedDateTimeUTC": "01/26/2024 09:19:02", "IsLegacyComponentAllowGlobalScopeCase": false, "LocalConnectionIDReferences": { "028e7b29-d321-4e48-a760-c92538b0678a": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"", diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json index dc895de3648533a8b7a8535ad0dc89e98fa2f217..32a4fb0bf9b8301170bf40efdc994f123edbbd56 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,14 +4,14 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_hVyxjO5XD1CrZ/K3YVJHD3chN+NuYts7ohnwaWvcVX0=", + "AppCheckerResult.sarif": "C8_CGf864cWeSNOznqIqTd7gSlOaGvNOqRXTYcnIfyEk24=", "AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=", "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_9+WXe9zjOWWbHBJq4VfdZvNqnkikuqz6ijuTkCBe3hk=", - "Header.json": "C8_LVltY0167NgJSdOAYAvLjdOjNyEX6SjMwfrsXuGTlYg=", - "Properties.json": "C8_cBGNtw/mY/trqO/lWpjuP4OfwgMnxUpvRCgO9mbDm5Y=", + "Controls\\4.json": "C8_uH8B9OTvP0bmIwz1aI+QzEwg/cY4xhooNV3Crs6Xn+k=", + "Header.json": "C8_Wk2EaIBq+VWM4QgVqUbuYWWXdG4Bl50C9WZZ7wiZUFk=", + "Properties.json": "C8_B8MpTtbj2wiefhktBmC1CYjkwYwVX0Qm327x3GysUqc=", "References\\DataSources.json": "C8_JsnA4GA1wtS6BAMEEeczVGpHQMkl3UPRyRP9V8k2CEU=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=", @@ -20,16 +20,16 @@ "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ClientStampedChecksum": "C8_yK/Qz4NWjLrYdBCJSIoXU3fnTF6F2kH+9M46C6h7QOE=", + "ClientStampedChecksum": "C8_BVCMWahz9Wx/CW0xt9cf9NcG7sq/jhaQqYbEtFMrFEw=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_hVyxjO5XD1CrZ/K3YVJHD3chN+NuYts7ohnwaWvcVX0=", + "AppCheckerResult.sarif": "C8_CGf864cWeSNOznqIqTd7gSlOaGvNOqRXTYcnIfyEk24=", "AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=", "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_9+WXe9zjOWWbHBJq4VfdZvNqnkikuqz6ijuTkCBe3hk=", - "Header.json": "C8_LVltY0167NgJSdOAYAvLjdOjNyEX6SjMwfrsXuGTlYg=", - "Properties.json": "C8_cBGNtw/mY/trqO/lWpjuP4OfwgMnxUpvRCgO9mbDm5Y=", + "Controls\\4.json": "C8_uH8B9OTvP0bmIwz1aI+QzEwg/cY4xhooNV3Crs6Xn+k=", + "Header.json": "C8_Wk2EaIBq+VWM4QgVqUbuYWWXdG4Bl50C9WZZ7wiZUFk=", + "Properties.json": "C8_B8MpTtbj2wiefhktBmC1CYjkwYwVX0Qm327x3GysUqc=", "References\\DataSources.json": "C8_JsnA4GA1wtS6BAMEEeczVGpHQMkl3UPRyRP9V8k2CEU=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=", @@ -38,5 +38,5 @@ "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ServerStampedChecksum": "C8_yK/Qz4NWjLrYdBCJSIoXU3fnTF6F2kH+9M46C6h7QOE=" + "ServerStampedChecksum": "C8_BVCMWahz9Wx/CW0xt9cf9NcG7sq/jhaQqYbEtFMrFEw=" } \ No newline at end of file diff --git a/fluentui-ard/Src/BaseScreen.fx.yaml b/fluentui-ard/Src/BaseScreen.fx.yaml index 063091fcb03bae587f062351786126d2b68c1daf..bef0739cfb7265f84efe86b57f1e2dc9b37934dd 100644 --- a/fluentui-ard/Src/BaseScreen.fx.yaml +++ b/fluentui-ard/Src/BaseScreen.fx.yaml @@ -294,6 +294,11 @@ BaseScreen As screen: ); //ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.Val) //Set(varRes, varResp & Char(10) & "You: " & Char(10) & textinput1.Text & Char(10) & Char(10) & "Assistent: " & Char(10) & //assiresp & Char(10)); + Set( + varResp, + varResp & Char(10) & "You: " & Char(10) & textinput1.Text & Char(10) & Char(10) & "Assistent: " & Char(10) & "x" & Char(10) + ) + If( !IsBlank(textinput1.Text), @@ -302,7 +307,7 @@ BaseScreen As screen: varResp & Char(10) & "You: " & Char(10) & textinput1.Text & Char(10) & Char(10) & "Assistent: " & Char(10) & ConnectAzureOpenai.Run( textinput1.Text, Creativity, - behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal' + behave1.SelectedText.Val ).assi & Char(10) ) );