diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index 830f00ba8444cce86134c1b62ef268015c32961d..2ea272b29ebc43dfe289f32bfecbb0b4345fc10f 100644 --- a/fluentui-ard/CanvasManifest.json +++ b/fluentui-ard/CanvasManifest.json @@ -99,7 +99,7 @@ "zeroalltabindexes": false }, "Author": "", - "BindingErrorCount": 0, + "BindingErrorCount": 6, "ContainsThirdPartyPcfControls": false, "DefaultConnectedDataSourceMaxGetRowsCount": 500, "DocumentAppType": "Phone", diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index cc8b01605fe4225da376e6d8bac179e2b9d1d276..aef9800d3ca7184599d5fbd419084934c77f1144 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -9,6 +9,242 @@ } ], "results": [ + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 100, + "charOffset": 465, + "snippet": { + "text": "Collect(gptconv, {cnt: msgcnt, sys: behave1.SelectedText.Val, you: textinput1.Text, assi: assiresp})" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "Collect" + ], + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrInvalidArgs-Func", + "ruleIndex": 0 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 82, + "charOffset": 482, + "snippet": { + "text": "{cnt: msgcnt, sys: behave1.SelectedText.Val, you: textinput1.Text, assi: assiresp}" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "assi", + "Text", + "Error" + ], + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrColumnTypeMismatch-ColName-ExpectedType-ActualType", + "ruleIndex": 1 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 8, + "charOffset": 947, + "snippet": { + "text": ".ttokens" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrInvalidDot", + "ruleIndex": 2 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 32, + "charOffset": 934, + "snippet": { + "text": "Text(assiresp.ttokens, \"######\")" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "Text" + ], + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrInvalidArgs-Func", + "ruleIndex": 0 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 8, + "charOffset": 957, + "snippet": { + "text": "\"######\"" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "Text" + ], + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "app-ErrIncorrectFormat-Func", + "ruleIndex": 3 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 5, + "charOffset": 1119, + "snippet": { + "text": ".assi" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrInvalidDot", + "ruleIndex": 2 + }, { "locations": [ { @@ -37,7 +273,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 0 + "ruleIndex": 4 }, { "locations": [ @@ -67,7 +303,7 @@ "level": "Medium" }, "ruleId": "app-UnusedVariables", - "ruleIndex": 1 + "ruleIndex": 5 }, { "locations": [ @@ -97,7 +333,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 2 + "ruleIndex": 6 } ], "tool": { @@ -105,6 +341,65 @@ "fullName": "PowerApps app checker", "name": "PowerApps app checker", "rules": [ + { + "id": "app-ErrInvalidArgs-Func", + "messageStrings": { + "issue": { + "text": "The function '{0}' has some invalid arguments." + } + }, + "properties": { + "componentType": "app", + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, + { + "id": "app-ErrColumnTypeMismatch-ColName-ExpectedType-ActualType", + "messageStrings": { + "issue": { + "text": "Incompatible type. The '{0}' column in the data source you’re updating expects a '{1}' type and you’re using a '{2}' type." + } + }, + "properties": { + "componentType": "app", + "howToFix": [ + "You might need to convert the value to the same type, such as converting a date string (e.g., \"12/31/2018\") to a date value or a string to a number." + ], + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, + { + "id": "app-ErrInvalidDot", + "messageStrings": { + "issue": { + "text": "Invalid use of '.'" + } + }, + "properties": { + "componentType": "app", + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, + { + "id": "app-ErrIncorrectFormat-Func", + "messageStrings": { + "issue": { + "text": "Incorrect format specifier for '{0}'." + } + }, + "properties": { + "componentType": "app", + "level": "Medium", + "primaryCategory": "formula", + "whyFix": "" + } + }, { "id": "acc-AccessibleLabelNeeded", "messageStrings": { diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json index 007fd04ed796f3fe3eeb9ab100a1ca5fe2a88c9f..181e89f0fe10bc660b0d957bdf38d539729845c2 100644 --- a/fluentui-ard/Entropy/Entropy.json +++ b/fluentui-ard/Entropy/Entropy.json @@ -27,7 +27,7 @@ "DoesTestStepsMetadataExist": true, "FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScriptsOnInstances": {}, - "HeaderLastSavedDateTimeUTC": "01/29/2024 09:38:32", + "HeaderLastSavedDateTimeUTC": "01/29/2024 09:39:49", "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 e5e87936ec8b1fab2b32070cdccb1e6152be6657..50e4f5f44e9c4f17b5df1566c2a540099c30ac8a 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,14 +4,14 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_bNIDSrWcyqbMzfe4V1/mLV9uXIQUHXv0Brx6D7ustuo=", + "AppCheckerResult.sarif": "C8_/n9/O0v3gB6mGRUkZG+CehnqJVTNpustJ1KetBvDqCE=", "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_kmQ9ZBliKRUlK7WAiimFjKljGhL8xYPYPAr39QvEmuI=", - "Controls\\4.json": "C8_vQkaLCrbv9rhSww07MKfTzYJCKV0fd04HIP5BU1XhfM=", - "Header.json": "C8_6PMJDPG0OBiCrxLI1W08EUlpcVIZUS+RB4g5BUXoEoc=", - "Properties.json": "C8_KdF+cDIaLbTSPBCHxkbr+EuLe7Y3Xv42636bjVQ6ZgI=", + "Controls\\4.json": "C8_UzQBT8r2aHCnFSrrDXD1gawXP+OtnEqGepSyPVt2FlQ=", + "Header.json": "C8_H4tcRgyU6qKYEARRnDjkZZvIxwPxsLFF9hHdTMxfAJg=", + "Properties.json": "C8_vkDA98CuOGStuURxvD4qfAmJzZqqf7bdi7YgOh1Llng=", "References\\DataSources.json": "C8_HSfaKIHBSrozd6pU4Lq8MXevnM/JO2VFylYmHHkb9So=", "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_gdjUDYGRtusJ4nmekxuZteb0oB5Fj0ov+slbyxdE7TY=", + "ClientStampedChecksum": "C8_f4PLIcvCX/tnjSReYOQXFyWxl4xk94C5Rf9gSdHbP8M=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_bNIDSrWcyqbMzfe4V1/mLV9uXIQUHXv0Brx6D7ustuo=", + "AppCheckerResult.sarif": "C8_/n9/O0v3gB6mGRUkZG+CehnqJVTNpustJ1KetBvDqCE=", "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_kmQ9ZBliKRUlK7WAiimFjKljGhL8xYPYPAr39QvEmuI=", - "Controls\\4.json": "C8_vQkaLCrbv9rhSww07MKfTzYJCKV0fd04HIP5BU1XhfM=", - "Header.json": "C8_6PMJDPG0OBiCrxLI1W08EUlpcVIZUS+RB4g5BUXoEoc=", - "Properties.json": "C8_KdF+cDIaLbTSPBCHxkbr+EuLe7Y3Xv42636bjVQ6ZgI=", + "Controls\\4.json": "C8_UzQBT8r2aHCnFSrrDXD1gawXP+OtnEqGepSyPVt2FlQ=", + "Header.json": "C8_H4tcRgyU6qKYEARRnDjkZZvIxwPxsLFF9hHdTMxfAJg=", + "Properties.json": "C8_vkDA98CuOGStuURxvD4qfAmJzZqqf7bdi7YgOh1Llng=", "References\\DataSources.json": "C8_HSfaKIHBSrozd6pU4Lq8MXevnM/JO2VFylYmHHkb9So=", "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_gdjUDYGRtusJ4nmekxuZteb0oB5Fj0ov+slbyxdE7TY=" + "ServerStampedChecksum": "C8_f4PLIcvCX/tnjSReYOQXFyWxl4xk94C5Rf9gSdHbP8M=" } \ No newline at end of file diff --git a/fluentui-ard/Src/BaseScreen.fx.yaml b/fluentui-ard/Src/BaseScreen.fx.yaml index f0a2647357921ec8f94be8f36cf436797a532405..44dae8189ff98940fd6f0a18fe55ab2ec07f66e8 100644 --- a/fluentui-ard/Src/BaseScreen.fx.yaml +++ b/fluentui-ard/Src/BaseScreen.fx.yaml @@ -294,11 +294,12 @@ BaseScreen As screen: textinput1.Text; // you behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys // Send to Azure + Set(assiresp, ""); Set(assiresp, ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal')); // Assi // write into collection msgcnt+1; - Collect(gptconv, {cnt: msgcnt, sys: behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal', you: textinput1.Text, assi: ""}); + Collect(gptconv, {cnt: msgcnt, sys: behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal', you: textinput1.Text, assi: assiresp}); ); /*