diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index 830f00ba8444cce86134c1b62ef268015c32961d..060694d6469145c52b8a490e6f267b3411e3f5e8 100644 --- a/fluentui-ard/CanvasManifest.json +++ b/fluentui-ard/CanvasManifest.json @@ -99,7 +99,7 @@ "zeroalltabindexes": false }, "Author": "", - "BindingErrorCount": 0, + "BindingErrorCount": 2, "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/Connections/Connections.json b/fluentui-ard/Connections/Connections.json index 7d98db786304294e770627f15fffe2274b7c9f71..8c88a53aa12f5d5061cc767bd2246b2b9c776563 100644 --- a/fluentui-ard/Connections/Connections.json +++ b/fluentui-ard/Connections/Connections.json @@ -5,6 +5,9 @@ "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1664/1.0.1664.3477/logicflows/icon.png", "id": "/providers/microsoft.powerapps/apis/shared_logicflows", "parameterHints": { + "76079069-80c3-4221-84a0-4688a3d9cff1": { + "value": "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" + }, "workflowEntityId": { "value": "921001dc-f7aa-ee11-be37-0022488291be" }, @@ -13,6 +16,9 @@ } }, "parameterHintsV2": { + "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": { + "value": "76079069-80c3-4221-84a0-4688a3d9cff1" + }, "workflowEntityId": { "value": "921001dc-f7aa-ee11-be37-0022488291be" }, diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index fc26846f1a4172482d9862dccabfc1bae07f3904..47014bcc91a7fa3ff13223753ec2a6cce49e4538 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -9,6 +9,123 @@ } ], "results": [ + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charOffset": 889, + "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": 8, + "charOffset": 439, + "snippet": { + "text": "assiresp" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "assiresp" + ], + "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": 5, + "charOffset": 447, + "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 +154,37 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 0 + "ruleIndex": 3 + }, + { + "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": [ @@ -67,7 +214,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 1 + "ruleIndex": 5 } ], "tool": { @@ -75,6 +222,54 @@ "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": "app-ErrInvalidDot", + "messageStrings": { + "issue": { + "text": "Invalid use of '.'" + } + }, + "properties": { + "componentType": "app", + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, { "id": "acc-AccessibleLabelNeeded", "messageStrings": { @@ -92,6 +287,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 6fb5b72fe6a8b0d9a55b230cf33926aaa47da61a..635b5fbfeddd58ca735aeafec208b26649d98506 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:06:15", + "HeaderLastSavedDateTimeUTC": "01/26/2024 09:11:51", "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 e109b3f98e165aa4488e56ef63c5efb4c3232b67..dd27cb527358a326cd14520f15bb31322b2f85a2 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_QEuRlGSpjzpY+gD8jKHbpB45/yCakF1MN2BrruRAU+I=", "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_30gPIloQ7jGwaLHWxXqxDKNDEelGI9TBj9/J3jUC6Pw=", - "Header.json": "C8_YZLwVVE1KbkJut71Ofnvkc+rpfmFoD1N2wnhe6caNVQ=", - "Properties.json": "C8_hmBEKpowi3FIgzG1YqXwEThDwWsnNUv+R0zmG3ptTBc=", + "Controls\\4.json": "C8_RkjN5ns51BlRt0cSdYZAVSBms6N4U0eLHhxN4m05cPI=", + "Header.json": "C8_CjIWFIaxuvOAn1Qtkrh9FJr2RHxPQw+Q9eilNzocPec=", + "Properties.json": "C8_TPtPWoFhE8OxZEnON1J0HHHzUU2DNL8tY3h4g3pB+wY=", "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_mlD7MyopWxLtBFdpd9MTNQEdCy+al4FRIzPEZsnjJV4=", + "ClientStampedChecksum": "C8_QvEDvt39iVqsz9/kTBWabMN6DUEnWnyu0YYnSr/xrHU=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_FR+rChiYwzo+Mrrisfn1kK6viScOyF8EJFRMbwzrBP4=", + "AppCheckerResult.sarif": "C8_QEuRlGSpjzpY+gD8jKHbpB45/yCakF1MN2BrruRAU+I=", "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_30gPIloQ7jGwaLHWxXqxDKNDEelGI9TBj9/J3jUC6Pw=", - "Header.json": "C8_YZLwVVE1KbkJut71Ofnvkc+rpfmFoD1N2wnhe6caNVQ=", - "Properties.json": "C8_hmBEKpowi3FIgzG1YqXwEThDwWsnNUv+R0zmG3ptTBc=", + "Controls\\4.json": "C8_RkjN5ns51BlRt0cSdYZAVSBms6N4U0eLHhxN4m05cPI=", + "Header.json": "C8_CjIWFIaxuvOAn1Qtkrh9FJr2RHxPQw+Q9eilNzocPec=", + "Properties.json": "C8_TPtPWoFhE8OxZEnON1J0HHHzUU2DNL8tY3h4g3pB+wY=", "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_mlD7MyopWxLtBFdpd9MTNQEdCy+al4FRIzPEZsnjJV4=" + "ServerStampedChecksum": "C8_QvEDvt39iVqsz9/kTBWabMN6DUEnWnyu0YYnSr/xrHU=" } \ No newline at end of file diff --git a/fluentui-ard/Src/BaseScreen.fx.yaml b/fluentui-ard/Src/BaseScreen.fx.yaml index 75f148a1e9e1529ecdf3afc30db03bddceebfbb1..a1bcb0df92c9f4f6691ebbe80468306d2cfd8e61 100644 --- a/fluentui-ard/Src/BaseScreen.fx.yaml +++ b/fluentui-ard/Src/BaseScreen.fx.yaml @@ -290,9 +290,10 @@ BaseScreen As screen: !IsBlank(textinput1.Text), textinput1.Text; // you behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys - ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'); // Assi + Set(assiresp, ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'); // Assi ); + Set(varRes, varResp & Char(10) & "You: " & Char(10) & textinput1.Text & Char(10) & Char(10) & "Assistent: " & Char(10) & assiresp.assi & Char(10)); /*If( !IsBlank(textinput1.Text),