Skip to content
Snippets Groups Projects
Commit de66c4ab authored by Manuel Geyer's avatar Manuel Geyer
Browse files

Commit

parent bb7b30f3
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@
"zeroalltabindexes": false
},
"Author": "",
"BindingErrorCount": 1,
"BindingErrorCount": 0,
"ContainsThirdPartyPcfControls": false,
"DefaultConnectedDataSourceMaxGetRowsCount": 500,
"DocumentAppType": "Phone",
......
......@@ -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": {
......
......@@ -21,7 +21,7 @@
},
"FunctionParamsInvariantScripts": {},
"FunctionParamsInvariantScriptsOnInstances": {},
"HeaderLastSavedDateTimeUTC": "01/08/2024 15:39:11",
"HeaderLastSavedDateTimeUTC": "01/08/2024 15:39:37",
"IsLegacyComponentAllowGlobalScopeCase": false,
"LocalConnectionIDReferences": {
"17c07572-84cb-4d9c-9518-f20f5e87496d": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"",
......
......@@ -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_fSRCW6kokKR+BoUkh2hGJQA9O+ncDmhbKVb9uTUa1Dw=",
"Properties.json": "C8_8Z6uAjz5VRDEIVm1UbAFgkOwLappWtbWxMoItPaaGcY=",
"Controls\\4.json": "C8_chut3GJVrY+ymZQmHfeTGqHUkiBrXLxMFh3LQ5ehY4I=",
"Header.json": "C8_wUe6J/E4JRzl7fFaqYXLOSthj1XGhgKjYKl5MQed9QY=",
"Properties.json": "C8_ZpJpdi9VCFp91pWxOs31/HN8LjS1H1azfkt2dANtPn4=",
"References\\DataSources.json": "C8_hZonlLs+ZZuCGAan64f1s1wi2KCSyCuNfteMp7oyb8A=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\Resources.json": "C8_ZsThDA3VLvKSRtFUV+MdAE+R1VzU3HNvCT6q5lE3XHc=",
......@@ -18,15 +18,15 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
},
"ClientStampedChecksum": "C8_1ien7e+RVZqRdZwHmypOvAtzGyewAN6ljf+KAuQDlNc=",
"ClientStampedChecksum": "C8_HKdgFmeDiD7TkI5Ae8kiUDA0jUEoKYqvOHe8wi+X2ms=",
"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_fSRCW6kokKR+BoUkh2hGJQA9O+ncDmhbKVb9uTUa1Dw=",
"Properties.json": "C8_8Z6uAjz5VRDEIVm1UbAFgkOwLappWtbWxMoItPaaGcY=",
"Controls\\4.json": "C8_chut3GJVrY+ymZQmHfeTGqHUkiBrXLxMFh3LQ5ehY4I=",
"Header.json": "C8_wUe6J/E4JRzl7fFaqYXLOSthj1XGhgKjYKl5MQed9QY=",
"Properties.json": "C8_ZpJpdi9VCFp91pWxOs31/HN8LjS1H1azfkt2dANtPn4=",
"References\\DataSources.json": "C8_hZonlLs+ZZuCGAan64f1s1wi2KCSyCuNfteMp7oyb8A=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\Resources.json": "C8_ZsThDA3VLvKSRtFUV+MdAE+R1VzU3HNvCT6q5lE3XHc=",
......@@ -34,5 +34,5 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
},
"ServerStampedChecksum": "C8_1ien7e+RVZqRdZwHmypOvAtzGyewAN6ljf+KAuQDlNc="
"ServerStampedChecksum": "C8_HKdgFmeDiD7TkI5Ae8kiUDA0jUEoKYqvOHe8wi+X2ms="
}
\ No newline at end of file
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment