diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index 830f00ba8444cce86134c1b62ef268015c32961d..01ffde3651d11d3bd40ef7001bb36bd9c67b4abf 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": 1, "ShowStatusBar": false }, "PublishInfo": { diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index fc26846f1a4172482d9862dccabfc1bae07f3904..f3ea2c9f212b579e35c6642a94536114c63b5e16 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -9,6 +9,86 @@ } ], "results": [ + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charOffset": 947, + "snippet": { + "text": "" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "Eof", + "ParenClose" + ], + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrExpectedFound-Ex-Fnd", + "ruleIndex": 0 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 4, + "charOffset": 511, + "snippet": { + "text": "tmpp" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "tmpp" + ], + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrInvalidName", + "ruleIndex": 1 + }, { "locations": [ { @@ -37,7 +117,37 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 0 + "ruleIndex": 2 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "App.assiresp" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "App.assiresp", + "relativeAddress": 0 + } + }, + "properties": { + "member": "assiresp", + "module": "App", + "type": "App" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "app-UnusedVariables", + "ruleIndex": 3 }, { "locations": [ @@ -67,7 +177,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 1 + "ruleIndex": 4 } ], "tool": { @@ -75,6 +185,40 @@ "fullName": "PowerApps app checker", "name": "PowerApps app checker", "rules": [ + { + "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-ErrInvalidName", + "messageStrings": { + "issue": { + "text": "Name isn't valid. '{0}' isn't recognized." + } + }, + "properties": { + "componentType": "app", + "howToFix": [ + "Remove or correct the reference to the name that isn't valid." + ], + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, { "id": "acc-AccessibleLabelNeeded", "messageStrings": { @@ -92,6 +236,23 @@ "whyFix": "If there's no accessible text, people who can’t see the screen won't understand what’s in images and controls." } }, + { + "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 3400e501ecee6db9709cab9779942f02bbdc12fe..6ae807cd8951be2ca7c84f4516254ab40782d99c 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:47:54", + "HeaderLastSavedDateTimeUTC": "01/26/2024 09:52:21", "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 5c528f95f166ba85f654a5d4100d6d828cec4bea..0efea558e7ce078106c313a60a18387a06d57793 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,14 +4,14 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_FR+rChiYwzo+Mrrisfn1kK6viScOyF8EJFRMbwzrBP4=", + "AppCheckerResult.sarif": "C8_sbT9F/jxg8F9KM0yZuZkK7MV+iWFW1BXoa4Op8YL9AM=", "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_N3nWlJCQhu5wEMtcWn4PSPS2WNsdDtIXiSDsdzo7ccM=", - "Header.json": "C8_WcAkzAZPnjxXaJbsk759paphG2HKAXuZpOx1Kt2/gLQ=", - "Properties.json": "C8_FxVQlyPo1PMdRsZrcfGL2B37tzai5e+R6nqF8NK+reM=", + "Controls\\4.json": "C8_6E55HyE75FHh2QJsqpfli7Zrx7JCPj0OBW3SIC7CUdE=", + "Header.json": "C8_mrBCSftsMgqW/zwWtSBit328fqg03DFISyhGh7IRG6s=", + "Properties.json": "C8_yia5JEuXmAjIjhUC2Ra+E7QbIm5ZLofuB7Wp1J9S3Xo=", "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_3DeMc1inUWbsblyT5k8F5qitg5LE5EIc5KvK0xK/4aA=", + "ClientStampedChecksum": "C8_aM+HSI/t5UiXTYoWi9WT58ne04tdWVvQDsVcx7PStH0=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_FR+rChiYwzo+Mrrisfn1kK6viScOyF8EJFRMbwzrBP4=", + "AppCheckerResult.sarif": "C8_sbT9F/jxg8F9KM0yZuZkK7MV+iWFW1BXoa4Op8YL9AM=", "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_N3nWlJCQhu5wEMtcWn4PSPS2WNsdDtIXiSDsdzo7ccM=", - "Header.json": "C8_WcAkzAZPnjxXaJbsk759paphG2HKAXuZpOx1Kt2/gLQ=", - "Properties.json": "C8_FxVQlyPo1PMdRsZrcfGL2B37tzai5e+R6nqF8NK+reM=", + "Controls\\4.json": "C8_6E55HyE75FHh2QJsqpfli7Zrx7JCPj0OBW3SIC7CUdE=", + "Header.json": "C8_mrBCSftsMgqW/zwWtSBit328fqg03DFISyhGh7IRG6s=", + "Properties.json": "C8_yia5JEuXmAjIjhUC2Ra+E7QbIm5ZLofuB7Wp1J9S3Xo=", "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_3DeMc1inUWbsblyT5k8F5qitg5LE5EIc5KvK0xK/4aA=" + "ServerStampedChecksum": "C8_aM+HSI/t5UiXTYoWi9WT58ne04tdWVvQDsVcx7PStH0=" } \ No newline at end of file diff --git a/fluentui-ard/Src/BaseScreen.fx.yaml b/fluentui-ard/Src/BaseScreen.fx.yaml index 319576064e06829b02290300af134e3df73d4561..9a841bd6b80a7d3576beebf2d05b0932c64a02c8 100644 --- a/fluentui-ard/Src/BaseScreen.fx.yaml +++ b/fluentui-ard/Src/BaseScreen.fx.yaml @@ -293,9 +293,10 @@ BaseScreen As screen: Set(assiresp, ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal')); // Assi ); + Set(tmpp, Text(assiresp.ttokens); Set( varResp, - varResp & Char(10) & "You: " & Char(10) & textinput1.Text & Char(10) & Char(10) & "Assistent: " & Char(10) & assiresp.assi & Char(10) + varResp & Char(10) & "You: " & Char(10) & textinput1.Text & Char(10) & Char(10) & "Assistent: " & Char(10) & assiresp.assi & Char(10) & tmpp );