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

Commit

parent c4c35b65
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@
"zeroalltabindexes": false
},
"Author": "",
"BindingErrorCount": 2,
"BindingErrorCount": 0,
"ContainsThirdPartyPcfControls": false,
"DefaultConnectedDataSourceMaxGetRowsCount": 500,
"DocumentAppType": "Phone",
......@@ -117,7 +117,7 @@
"ManualOfflineProfileId": "",
"Name": "ChatGPT-H-I",
"OriginatingVersion": "1.335",
"ParserErrorCount": 3,
"ParserErrorCount": 0,
"ShowStatusBar": false
},
"PublishInfo": {
......
......@@ -9,195 +9,6 @@
}
],
"results": [
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 6,
"charOffset": 277,
"snippet": {
"text": "Notify"
}
}
},
"properties": {
"member": "OnSelect",
"module": "Screen1",
"type": "Screen1.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrOperatorExpected",
"ruleIndex": 0
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 1,
"charOffset": 299,
"snippet": {
"text": ","
}
}
},
"properties": {
"member": "OnSelect",
"module": "Screen1",
"type": "Screen1.ConSend.send1"
}
}
],
"message": {
"arguments": [
"Comma",
"ParenClose"
],
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrExpectedFound-Ex-Fnd",
"ruleIndex": 1
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 1,
"charOffset": 299,
"snippet": {
"text": ","
}
}
},
"properties": {
"member": "OnSelect",
"module": "Screen1",
"type": "Screen1.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrBadToken",
"ruleIndex": 2
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 8,
"charOffset": 266,
"snippet": {
"text": ".content"
}
}
},
"properties": {
"member": "OnSelect",
"module": "Screen1",
"type": "Screen1.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrInvalidDot",
"ruleIndex": 3
},
{
"locations": [
{
"logicalLocations": [
{
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect"
}
],
"physicalLocation": {
"address": {
"fullyQualifiedName": "Screen1.ConSend.send1.OnSelect",
"relativeAddress": 0
},
"region": {
"charLength": 6,
"charOffset": 277,
"snippet": {
"text": "Notify"
}
}
},
"properties": {
"member": "OnSelect",
"module": "Screen1",
"type": "Screen1.ConSend.send1"
}
}
],
"message": {
"id": "issue"
},
"properties": {
"level": "High"
},
"ruleId": "app-ErrOperatorExpected",
"ruleIndex": 0
},
{
"locations": [
{
......@@ -225,7 +36,7 @@
"level": "Low"
},
"ruleId": "acc-ReadableScreenNameNeeded",
"ruleIndex": 4
"ruleIndex": 0
},
{
"locations": [
......@@ -255,7 +66,7 @@
"level": "Medium"
},
"ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl",
"ruleIndex": 5
"ruleIndex": 1
},
{
"locations": [
......@@ -285,7 +96,7 @@
"level": "Medium"
},
"ruleId": "acc-FocusBorderShouldBeVisible",
"ruleIndex": 6
"ruleIndex": 2
},
{
"locations": [
......@@ -315,7 +126,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 7
"ruleIndex": 3
},
{
"locations": [
......@@ -345,7 +156,7 @@
"level": "Low"
},
"ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 8
"ruleIndex": 4
},
{
"locations": [
......@@ -375,7 +186,7 @@
"level": "Medium"
},
"ruleId": "acc-FocusBorderShouldBeVisible",
"ruleIndex": 6
"ruleIndex": 2
},
{
"locations": [
......@@ -405,7 +216,7 @@
"level": "Medium"
},
"ruleId": "acc-HelpfulControlSettingNeeded",
"ruleIndex": 9
"ruleIndex": 5
},
{
"locations": [
......@@ -435,7 +246,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 7
"ruleIndex": 3
},
{
"locations": [
......@@ -465,7 +276,7 @@
"level": "Low"
},
"ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 8
"ruleIndex": 4
},
{
"locations": [
......@@ -495,7 +306,7 @@
"level": "Medium"
},
"ruleId": "acc-AccessibleLabelNeeded",
"ruleIndex": 7
"ruleIndex": 3
},
{
"locations": [
......@@ -525,7 +336,7 @@
"level": "Low"
},
"ruleId": "acc-TabOrderShouldBeChecked",
"ruleIndex": 8
"ruleIndex": 4
},
{
"locations": [
......@@ -555,7 +366,7 @@
"level": "Medium"
},
"ruleId": "app-UnusedVariables",
"ruleIndex": 10
"ruleIndex": 6
},
{
"locations": [
......@@ -585,7 +396,7 @@
"level": "Medium"
},
"ruleId": "app-UnusedMediaResources",
"ruleIndex": 11
"ruleIndex": 7
}
],
"tool": {
......@@ -593,71 +404,6 @@
"fullName": "PowerApps app checker",
"name": "PowerApps app checker",
"rules": [
{
"id": "app-ErrOperatorExpected",
"messageStrings": {
"issue": {
"text": "Expected operator. We expect an operator such as +, *, or & at this point in the formula."
}
},
"properties": {
"componentType": "app",
"howToFix": [
"Edit your formula so that it includes an operator between the operands."
],
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{
"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-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-ErrInvalidDot",
"messageStrings": {
"issue": {
"text": "Invalid use of '.'"
}
},
"properties": {
"componentType": "app",
"level": "High",
"primaryCategory": "formula",
"whyFix": ""
}
},
{
"id": "acc-ReadableScreenNameNeeded",
"messageStrings": {
......
......@@ -21,7 +21,7 @@
},
"FunctionParamsInvariantScripts": {},
"FunctionParamsInvariantScriptsOnInstances": {},
"HeaderLastSavedDateTimeUTC": "01/08/2024 15:15:14",
"HeaderLastSavedDateTimeUTC": "01/08/2024 15:16:02",
"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_IGPmioySESXWBUnPcvu6v2pbCtQB2SUehGpUwEaoIrc=",
"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_4QXJVP4Ie1Lko8/GGgK2/Eap++Hgf9XtJ121xOdFjII=",
"Header.json": "C8_1wmeVLRHrXCFFZWu4Ruz4pyk51kmroDesg+Y1e1HYQg=",
"Properties.json": "C8_a/km28oj1S5GT7eDzdKYXOgb7PWNmvaKILql5VKhAnA=",
"Controls\\4.json": "C8_CSEz3hMHdIjWSWqv4b1+HPNKRv5LNCDP99tH4056Huk=",
"Header.json": "C8_SSnhmB+EB/6RPiJRNVDu4YQaETTHXonm1xQD7stXhIY=",
"Properties.json": "C8_AJbzHBrv7vsWHFFl1pmFrUlJOiLXd7ZrXXqaA7ZRicU=",
"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_kyIXcoFxTnwtQY7IX3rEBB6eua/TdvkR5+2wvWDIuDE=",
"ClientStampedChecksum": "C8_8xi7AmNgVR1mmX+slSC0Zhx+aGI5m25SXigIOJUAAMY=",
"ServerPerFileChecksums": {
"AppCheckerResult.sarif": "C8_IGPmioySESXWBUnPcvu6v2pbCtQB2SUehGpUwEaoIrc=",
"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_4QXJVP4Ie1Lko8/GGgK2/Eap++Hgf9XtJ121xOdFjII=",
"Header.json": "C8_1wmeVLRHrXCFFZWu4Ruz4pyk51kmroDesg+Y1e1HYQg=",
"Properties.json": "C8_a/km28oj1S5GT7eDzdKYXOgb7PWNmvaKILql5VKhAnA=",
"Controls\\4.json": "C8_CSEz3hMHdIjWSWqv4b1+HPNKRv5LNCDP99tH4056Huk=",
"Header.json": "C8_SSnhmB+EB/6RPiJRNVDu4YQaETTHXonm1xQD7stXhIY=",
"Properties.json": "C8_AJbzHBrv7vsWHFFl1pmFrUlJOiLXd7ZrXXqaA7ZRicU=",
"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_kyIXcoFxTnwtQY7IX3rEBB6eua/TdvkR5+2wvWDIuDE="
"ServerStampedChecksum": "C8_8xi7AmNgVR1mmX+slSC0Zhx+aGI5m25SXigIOJUAAMY="
}
\ No newline at end of file
......@@ -244,7 +244,7 @@ Screen1 As screen:
OnSelect: |-
=If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & textinput1.Text & Char(13) & Char(13) & "GPT: " & Set(returnCAO, ConnectAzureOpenai.Run(textinput1.Text))));
Reset(textinput1);
If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13) & returnCAO.content))
If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(13)));
Notify("ChatGPT asked", NotificationType.Success , 1000);
PressedBorderColor: =RGBA(0, 0, 0, 0)
PressedColor: =RGBA(251, 188, 159, 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment