diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index 59a06d37b3cea62336ac4d5df6fb44cd7f15e864..64bd46baf15044c44576355a5cea2eb4c95f86a5 100644 --- a/fluentui-ard/CanvasManifest.json +++ b/fluentui-ard/CanvasManifest.json @@ -98,7 +98,7 @@ "zeroalltabindexes": false }, "Author": "", - "BindingErrorCount": 1, + "BindingErrorCount": 0, "ContainsThirdPartyPcfControls": false, "DefaultConnectedDataSourceMaxGetRowsCount": 500, "DocumentAppType": "Phone", diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index 1a253b27e31a11feb8623dae15e0aa34803d6da5..8aade28ba33ff4e4867696a0eec850f702589382 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -9,43 +9,6 @@ } ], "results": [ - { - "locations": [ - { - "logicalLocations": [ - { - "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect" - } - ], - "physicalLocation": { - "address": { - "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect", - "relativeAddress": 0 - }, - "region": { - "charLength": 8, - "charOffset": 127, - "snippet": { - "text": ".content" - } - } - }, - "properties": { - "member": "OnSelect", - "module": "Screen1", - "type": "Screen1.ConSend.send1" - } - } - ], - "message": { - "id": "issue" - }, - "properties": { - "level": "High" - }, - "ruleId": "app-ErrInvalidDot", - "ruleIndex": 0 - }, { "locations": [ { @@ -73,7 +36,7 @@ "level": "Low" }, "ruleId": "acc-ReadableScreenNameNeeded", - "ruleIndex": 1 + "ruleIndex": 0 }, { "locations": [ @@ -103,7 +66,7 @@ "level": "Medium" }, "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", - "ruleIndex": 2 + "ruleIndex": 1 }, { "locations": [ @@ -133,7 +96,7 @@ "level": "Medium" }, "ruleId": "acc-FocusBorderShouldBeVisible", - "ruleIndex": 3 + "ruleIndex": 2 }, { "locations": [ @@ -163,7 +126,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 4 + "ruleIndex": 3 }, { "locations": [ @@ -193,7 +156,7 @@ "level": "Low" }, "ruleId": "acc-TabOrderShouldBeChecked", - "ruleIndex": 5 + "ruleIndex": 4 }, { "locations": [ @@ -223,7 +186,7 @@ "level": "Medium" }, "ruleId": "acc-FocusBorderShouldBeVisible", - "ruleIndex": 3 + "ruleIndex": 2 }, { "locations": [ @@ -253,7 +216,7 @@ "level": "Medium" }, "ruleId": "acc-HelpfulControlSettingNeeded", - "ruleIndex": 6 + "ruleIndex": 5 }, { "locations": [ @@ -283,7 +246,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 4 + "ruleIndex": 3 }, { "locations": [ @@ -313,7 +276,7 @@ "level": "Low" }, "ruleId": "acc-TabOrderShouldBeChecked", - "ruleIndex": 5 + "ruleIndex": 4 }, { "locations": [ @@ -343,7 +306,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 4 + "ruleIndex": 3 }, { "locations": [ @@ -373,7 +336,37 @@ "level": "Low" }, "ruleId": "acc-TabOrderShouldBeChecked", - "ruleIndex": 5 + "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": [ @@ -411,20 +404,6 @@ "fullName": "PowerApps app checker", "name": "PowerApps app checker", "rules": [ - { - "id": "app-ErrInvalidDot", - "messageStrings": { - "issue": { - "text": "Invalid use of '.'" - } - }, - "properties": { - "componentType": "app", - "level": "High", - "primaryCategory": "formula", - "whyFix": "" - } - }, { "id": "acc-ReadableScreenNameNeeded", "messageStrings": { @@ -527,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 5d633af90d93d1b650449a2850307a9c48deb8bf..f768af9cbe70fec7e163e30086369bd696471896 100644 --- a/fluentui-ard/Entropy/Entropy.json +++ b/fluentui-ard/Entropy/Entropy.json @@ -21,7 +21,7 @@ }, "FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScriptsOnInstances": {}, - "HeaderLastSavedDateTimeUTC": "01/08/2024 15:28:38", + "HeaderLastSavedDateTimeUTC": "01/08/2024 15:29:02", "IsLegacyComponentAllowGlobalScopeCase": false, "LocalConnectionIDReferences": { "4a3b4086-5fc9-44c6-81a0-d614f19e11fd": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"", diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json index 3885ea34b0b0ae7949a82ea5070068a7769643ed..6504b69f6109b43f58e2c1fdd9c8d2f029bcb0fb 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,13 +4,13 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_5UfxW9UBP9YssAu2B1+APZNhFzX1cfVtF3kgSI5zbcI=", + "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_GQJdrsBBeUIuhJz8vSeSAAWdlQb4Y2TWSljVDEYDPzU=", - "Header.json": "C8_Q//lMseoXbWk3KTQ6RgCc8SCDV71D/CYTz5DD3m0Z5E=", - "Properties.json": "C8_IcBM9SjlF6xM2JGKIW+17awhzt+8PakKMhfGsrZJJhk=", + "Controls\\4.json": "C8_chut3GJVrY+ymZQmHfeTGqHUkiBrXLxMFh3LQ5ehY4I=", + "Header.json": "C8_pomoBmIxTHxmNZbuS7kiv4yggHE6udB8S3f4bgpqPu8=", + "Properties.json": "C8_AJbzHBrv7vsWHFFl1pmFrUlJOiLXd7ZrXXqaA7ZRicU=", "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_zIH4xhGZb4nlz+ERsHGswm7MhBG/ILKqzHQwnOesDL8=", + "ClientStampedChecksum": "C8_fgdGIeILVykSdgIYHuDiiRN25Y+TTG9WlXGA8+1at0w=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_5UfxW9UBP9YssAu2B1+APZNhFzX1cfVtF3kgSI5zbcI=", + "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_GQJdrsBBeUIuhJz8vSeSAAWdlQb4Y2TWSljVDEYDPzU=", - "Header.json": "C8_Q//lMseoXbWk3KTQ6RgCc8SCDV71D/CYTz5DD3m0Z5E=", - "Properties.json": "C8_IcBM9SjlF6xM2JGKIW+17awhzt+8PakKMhfGsrZJJhk=", + "Controls\\4.json": "C8_chut3GJVrY+ymZQmHfeTGqHUkiBrXLxMFh3LQ5ehY4I=", + "Header.json": "C8_pomoBmIxTHxmNZbuS7kiv4yggHE6udB8S3f4bgpqPu8=", + "Properties.json": "C8_AJbzHBrv7vsWHFFl1pmFrUlJOiLXd7ZrXXqaA7ZRicU=", "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_zIH4xhGZb4nlz+ERsHGswm7MhBG/ILKqzHQwnOesDL8=" + "ServerStampedChecksum": "C8_fgdGIeILVykSdgIYHuDiiRN25Y+TTG9WlXGA8+1at0w=" } \ No newline at end of file diff --git a/fluentui-ard/Src/Screen1.fx.yaml b/fluentui-ard/Src/Screen1.fx.yaml index 2dd98e61ae18e06836c131611b4651c08c884f8a..113848cc63627ce4690a20dc9aa1a117ba20f923 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: " & Set(returnCAO.content, 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)