diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index d1d59b5876fc730c257cf01ce955f42dfe3c3a26..830f00ba8444cce86134c1b62ef268015c32961d 100644 --- a/fluentui-ard/CanvasManifest.json +++ b/fluentui-ard/CanvasManifest.json @@ -99,7 +99,7 @@ "zeroalltabindexes": false }, "Author": "", - "BindingErrorCount": 3, + "BindingErrorCount": 0, "ContainsThirdPartyPcfControls": false, "DefaultConnectedDataSourceMaxGetRowsCount": 500, "DocumentAppType": "Phone", @@ -117,7 +117,7 @@ "ManualOfflineProfileId": "", "Name": "ChatGPT-H-I", "OriginatingVersion": "1.335", - "ParserErrorCount": 1, + "ParserErrorCount": 0, "ShowStatusBar": false }, "PublishInfo": { diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index 39368a369a3f3bc3d23fac908d9e01975b5d3003..cc8b01605fe4225da376e6d8bac179e2b9d1d276 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -9,163 +9,6 @@ } ], "results": [ - { - "locations": [ - { - "logicalLocations": [ - { - "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" - } - ], - "physicalLocation": { - "address": { - "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", - "relativeAddress": 0 - }, - "region": { - "charLength": 1, - "charOffset": 463, - "snippet": { - "text": ")" - } - } - }, - "properties": { - "member": "OnSelect", - "module": "BaseScreen", - "type": "BaseScreen.ConSend.send1" - } - } - ], - "message": { - "id": "issue" - }, - "properties": { - "level": "High" - }, - "ruleId": "app-ErrBadToken", - "ruleIndex": 0 - }, - { - "locations": [ - { - "logicalLocations": [ - { - "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" - } - ], - "physicalLocation": { - "address": { - "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", - "relativeAddress": 0 - }, - "region": { - "charLength": 8, - "charOffset": 438, - "snippet": { - "text": "variable" - } - } - }, - "properties": { - "member": "OnSelect", - "module": "BaseScreen", - "type": "BaseScreen.ConSend.send1" - } - } - ], - "message": { - "arguments": [ - "variable" - ], - "id": "issue" - }, - "properties": { - "level": "High" - }, - "ruleId": "app-ErrInvalidName", - "ruleIndex": 1 - }, - { - "locations": [ - { - "logicalLocations": [ - { - "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" - } - ], - "physicalLocation": { - "address": { - "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", - "relativeAddress": 0 - }, - "region": { - "charLength": 28, - "charOffset": 430, - "snippet": { - "text": "Collect(variable,ThisRecord)" - } - } - }, - "properties": { - "member": "OnSelect", - "module": "BaseScreen", - "type": "BaseScreen.ConSend.send1" - } - } - ], - "message": { - "arguments": [ - "Collect" - ], - "id": "issue" - }, - "properties": { - "level": "High" - }, - "ruleId": "app-ErrInvalidArgs-Func", - "ruleIndex": 2 - }, - { - "locations": [ - { - "logicalLocations": [ - { - "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" - } - ], - "physicalLocation": { - "address": { - "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", - "relativeAddress": 0 - }, - "region": { - "charLength": 52, - "charOffset": 408, - "snippet": { - "text": "ForAll( gptconv, \n Collect(variable,ThisRecord)\n)" - } - } - }, - "properties": { - "member": "OnSelect", - "module": "BaseScreen", - "type": "BaseScreen.ConSend.send1" - } - } - ], - "message": { - "arguments": [ - "ForAll" - ], - "id": "issue" - }, - "properties": { - "level": "High" - }, - "ruleId": "app-ErrInvalidArgs-Func", - "ruleIndex": 2 - }, { "locations": [ { @@ -194,24 +37,24 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 3 + "ruleIndex": 0 }, { "locations": [ { "logicalLocations": [ { - "fullyQualifiedName": "App.assiresp" + "fullyQualifiedName": "App.tmpp" } ], "physicalLocation": { "address": { - "fullyQualifiedName": "App.assiresp", + "fullyQualifiedName": "App.tmpp", "relativeAddress": 0 } }, "properties": { - "member": "assiresp", + "member": "tmpp", "module": "App", "type": "App" } @@ -224,7 +67,7 @@ "level": "Medium" }, "ruleId": "app-UnusedVariables", - "ruleIndex": 4 + "ruleIndex": 1 }, { "locations": [ @@ -254,7 +97,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 5 + "ruleIndex": 2 } ], "tool": { @@ -262,54 +105,6 @@ "fullName": "PowerApps app checker", "name": "PowerApps app checker", "rules": [ - { - "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": "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": "app-ErrInvalidArgs-Func", - "messageStrings": { - "issue": { - "text": "The function '{0}' has some invalid arguments." - } - }, - "properties": { - "componentType": "app", - "level": "High", - "primaryCategory": "formula", - "whyFix": "" - } - }, { "id": "acc-AccessibleLabelNeeded", "messageStrings": { diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json index fef2b20b9903ec2645caa0898015770045e1e737..390f67abedace86565340beb9a9ed199b9f049b2 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:11:54", + "HeaderLastSavedDateTimeUTC": "01/29/2024 09:27:56", "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 3f6664baf502f50bdf75782185c5477b604ab51d..aca45f7d65a61da1e9febb015e07e50a138137fa 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,14 +4,14 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_EUD6UvyI/fGqWpb5SpLkaLBDCBsHGkx77NnFYyRgmCM=", + "AppCheckerResult.sarif": "C8_bNIDSrWcyqbMzfe4V1/mLV9uXIQUHXv0Brx6D7ustuo=", "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_Qvewe6Vv7unA6zxUj2V1tD6DAuZrsiOIWlcYVQxIEqo=", - "Controls\\4.json": "C8_d9Dexi37q/4kSSosuBvmp4x/Dry2/GbF3F9O2gqqlcs=", - "Header.json": "C8_MXX9l9qPBtDHba5zPlr8uygRHZVF+3wOdDmjAoHsxCM=", - "Properties.json": "C8_AC2j2Rf1Bwv9mqM5xlnT62U9MTVC1D4/uZuZYQr1O8I=", + "Controls\\1.json": "C8_P9paqpJTgnU2/+m3Ksa0XU9dqEvd9k/aCgxsrST6Ck8=", + "Controls\\4.json": "C8_bOKCsgzxe+Roxg3hqK5/bGHStl8c0Hw0lWJ5bBxyoNs=", + "Header.json": "C8_AyOmouiEfH1lQbpNtcbIaOlkeZtq4LrnQ9xXkD0fqo0=", + "Properties.json": "C8_KdF+cDIaLbTSPBCHxkbr+EuLe7Y3Xv42636bjVQ6ZgI=", "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_Qz8egJEjT6mxPm6G/nx7CtwiykXvDTYzhW6+JXno8Bk=", + "ClientStampedChecksum": "C8_IK6ZbGGftsABVSgstU9b+Cb9prYJWALAbunYcZZ1X9c=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_EUD6UvyI/fGqWpb5SpLkaLBDCBsHGkx77NnFYyRgmCM=", + "AppCheckerResult.sarif": "C8_bNIDSrWcyqbMzfe4V1/mLV9uXIQUHXv0Brx6D7ustuo=", "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_Qvewe6Vv7unA6zxUj2V1tD6DAuZrsiOIWlcYVQxIEqo=", - "Controls\\4.json": "C8_d9Dexi37q/4kSSosuBvmp4x/Dry2/GbF3F9O2gqqlcs=", - "Header.json": "C8_MXX9l9qPBtDHba5zPlr8uygRHZVF+3wOdDmjAoHsxCM=", - "Properties.json": "C8_AC2j2Rf1Bwv9mqM5xlnT62U9MTVC1D4/uZuZYQr1O8I=", + "Controls\\1.json": "C8_P9paqpJTgnU2/+m3Ksa0XU9dqEvd9k/aCgxsrST6Ck8=", + "Controls\\4.json": "C8_bOKCsgzxe+Roxg3hqK5/bGHStl8c0Hw0lWJ5bBxyoNs=", + "Header.json": "C8_AyOmouiEfH1lQbpNtcbIaOlkeZtq4LrnQ9xXkD0fqo0=", + "Properties.json": "C8_KdF+cDIaLbTSPBCHxkbr+EuLe7Y3Xv42636bjVQ6ZgI=", "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_Qz8egJEjT6mxPm6G/nx7CtwiykXvDTYzhW6+JXno8Bk=" + "ServerStampedChecksum": "C8_IK6ZbGGftsABVSgstU9b+Cb9prYJWALAbunYcZZ1X9c=" } \ No newline at end of file diff --git a/fluentui-ard/Src/App.fx.yaml b/fluentui-ard/Src/App.fx.yaml index 2afeedf41c5fb4344e592ba86e0bffadec76d4a0..f0ca1329bcea066a2feadbb65b881cd093f7a6b9 100644 --- a/fluentui-ard/Src/App.fx.yaml +++ b/fluentui-ard/Src/App.fx.yaml @@ -15,7 +15,7 @@ App As appinfo: you: "", assi: "" } - ) + ); Theme: =PowerAppsTheme Host As hostControl.DefaultHostControlVariant: diff --git a/fluentui-ard/Src/BaseScreen.fx.yaml b/fluentui-ard/Src/BaseScreen.fx.yaml index 1b45560b165673e004625a123311d5470f81cb75..052d6580f3f4a9f21002cb1543e7b56ea901a36d 100644 --- a/fluentui-ard/Src/BaseScreen.fx.yaml +++ b/fluentui-ard/Src/BaseScreen.fx.yaml @@ -295,15 +295,33 @@ BaseScreen As screen: behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys // Send to Azure Set(assiresp, ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal')); // Assi + + // write into collection + Collect(gptconv, {cnt: msgcnt,Sys:" ",you:" ",assi:" "}); + msgcnt+1; ); + /* + Collect( IceCream, + { Flavor: "Pistachio", Quantity: 40 }, { Flavor: "Orange", Quantity: 200 } + ) + + ClearCollect( + gptconv, + { + cnt: msgcnt, + Sys: "", + you: "", + assi: "" + } + )*/ + // Store into Collection - ForAll( gptconv, - Collect(variable,ThisRecord) - ); + //ForAll( gptconv, + Collect(gptconv, {cnt: msgcnt,Sys:" ",you:" ",assi:" "}); + //); - ); // text out