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

Commit

parent 43a6b33d
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@
"zeroalltabindexes": false
},
"Author": "",
"BindingErrorCount": 2,
"BindingErrorCount": 1,
"ContainsThirdPartyPcfControls": false,
"DefaultConnectedDataSourceMaxGetRowsCount": 500,
"DocumentAppType": "Phone",
......
......@@ -24,7 +24,7 @@
},
"region": {
"charLength": 8,
"charOffset": 168,
"charOffset": 127,
"snippet": {
"text": ".content"
}
......@@ -46,43 +46,6 @@
"ruleId": "app-ErrInvalidDot",
"ruleIndex": 0
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 63,
"charOffset": 114,
"snippet": {
"text": "Set(returnCAO, ConnectAzureOpenai.Run(textinput1.Text).content)"
}
}
},
"properties": {
"member": "OnSelect",
"module": "Screen1",
"type": "Screen1.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrIncompatibleCtxtVariableTypes",
"ruleIndex": 1
},
{
"locations": [
{
......@@ -110,7 +73,7 @@
"level": "Low"
},
"ruleId": "acc-ReadableScreenNameNeeded",
"ruleIndex": 2
"ruleIndex": 1
},
{
"locations": [
......@@ -140,7 +103,7 @@
"level": "Medium"
},
"ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl",
"ruleIndex": 3
"ruleIndex": 2
},
{
"locations": [
......@@ -170,7 +133,7 @@
"level": "Medium"
},
"ruleId": "acc-FocusBorderShouldBeVisible",
"ruleIndex": 4
"ruleIndex": 3
},
{
"locations": [
......@@ -200,7 +163,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 5
"ruleIndex": 4
},
{
"locations": [
......@@ -230,7 +193,7 @@
"level": "Low"
},
"ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 6
"ruleIndex": 5
},
{
"locations": [
......@@ -260,7 +223,7 @@
"level": "Medium"
},
"ruleId": "acc-FocusBorderShouldBeVisible",
"ruleIndex": 4
"ruleIndex": 3
},
{
"locations": [
......@@ -290,7 +253,7 @@
"level": "Medium"
},
"ruleId": "acc-HelpfulControlSettingNeeded",
"ruleIndex": 7
"ruleIndex": 6
},
{
"locations": [
......@@ -320,7 +283,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 5
"ruleIndex": 4
},
{
"locations": [
......@@ -350,7 +313,7 @@
"level": "Low"
},
"ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 6
"ruleIndex": 5
},
{
"locations": [
......@@ -380,7 +343,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 5
"ruleIndex": 4
},
{
"locations": [
......@@ -410,37 +373,7 @@
"level": "Low"
},
"ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 6
},
{
"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": 8
"ruleIndex": 5
},
{
"locations": [
......@@ -470,7 +403,7 @@
"level": "Medium"
},
"ruleId": "app-UnusedMediaResources",
"ruleIndex": 9
"ruleIndex": 7
}
],
"tool": {
......@@ -492,23 +425,6 @@
"whyFix": ""
}
},
{
"id": "app-ErrIncompatibleCtxtVariableTypes",
"messageStrings": {
"issue": {
"text": "Incompatible type. We can't evaluate your formula because the context variable types are incompatible with the types of values in other places in your app."
}
},
"properties": {
"componentType": "app",
"howToFix": [
"Look at places where you use a context variable and make sure that the type (e.g., text, number, date, record, table) is compatible."
],
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{
"id": "acc-ReadableScreenNameNeeded",
"messageStrings": {
......@@ -611,23 +527,6 @@
"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:08:13",
"HeaderLastSavedDateTimeUTC": "01/08/2024 15:11:06",
"IsLegacyComponentAllowGlobalScopeCase": false,
"LocalConnectionIDReferences": {
"4a3b4086-5fc9-44c6-81a0-d614f19e11fd": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"",
......
......@@ -4,13 +4,13 @@
"IsLocalBuild": false
},
"ClientPerFileChecksums": {
"AppCheckerResult.sarif": "C8_xfbpPqPabCyHIYHxJXjSppUZs7+U2AHfVYz1cttc7fg=",
"AppCheckerResult.sarif": "C8_5UfxW9UBP9YssAu2B1+APZNhFzX1cfVtF3kgSI5zbcI=",
"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_ewZSlc2NccihxQC+lZhOFY/CS9o/4XnpCcXuCM34L4g=",
"Header.json": "C8_rU5kbAEGHMqtUI0NwbTaRZutGJQ9hlDfmt0Ja7QAnfk=",
"Properties.json": "C8_xAEuMoHxIKobuOPY0oIAM7kNM0CY5nAKZCu5/tW2sps=",
"Controls\\4.json": "C8_4mEazz6OXorKrWaAkUajCiqncHDIGkPoiU6E2Hb6ke0=",
"Header.json": "C8_gKEwO0cYyuwgJdpMOxc7L+5jgm4fnIJ6f42WSmz3vzQ=",
"Properties.json": "C8_s6R62gVHPiatIMYCaLdvAKjj2vtSJlGujcwot/l6lls=",
"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_QYDWfXr5tdxfrYFKwy2IB2tsX8vy34RXehycVSMAVSc=",
"ClientStampedChecksum": "C8_IwQp+y5axM9DJOhCTyg9/SKMc8qF9bqmXdKt2yTk+3Q=",
"ServerPerFileChecksums": {
"AppCheckerResult.sarif": "C8_xfbpPqPabCyHIYHxJXjSppUZs7+U2AHfVYz1cttc7fg=",
"AppCheckerResult.sarif": "C8_5UfxW9UBP9YssAu2B1+APZNhFzX1cfVtF3kgSI5zbcI=",
"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_ewZSlc2NccihxQC+lZhOFY/CS9o/4XnpCcXuCM34L4g=",
"Header.json": "C8_rU5kbAEGHMqtUI0NwbTaRZutGJQ9hlDfmt0Ja7QAnfk=",
"Properties.json": "C8_xAEuMoHxIKobuOPY0oIAM7kNM0CY5nAKZCu5/tW2sps=",
"Controls\\4.json": "C8_4mEazz6OXorKrWaAkUajCiqncHDIGkPoiU6E2Hb6ke0=",
"Header.json": "C8_gKEwO0cYyuwgJdpMOxc7L+5jgm4fnIJ6f42WSmz3vzQ=",
"Properties.json": "C8_s6R62gVHPiatIMYCaLdvAKjj2vtSJlGujcwot/l6lls=",
"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_QYDWfXr5tdxfrYFKwy2IB2tsX8vy34RXehycVSMAVSc="
"ServerStampedChecksum": "C8_IwQp+y5axM9DJOhCTyg9/SKMc8qF9bqmXdKt2yTk+3Q="
}
\ 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, ConnectAzureOpenai.Run(textinput1.Text).content)));
=If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & textinput1.Text & Char(13) & Char(13) & "GPT: " & Set(returnCAO.content, 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