From e047c0ebd6dc483baa8007c97b59880d3417750d Mon Sep 17 00:00:00 2001
From: Manuel <manuel.geyer@rbb-online.de>
Date: Mon, 8 Jan 2024 15:11:06 +0000
Subject: [PATCH] Commit

---
 fluentui-ard/CanvasManifest.json            |   2 +-
 fluentui-ard/Entropy/AppCheckerResult.sarif | 127 ++------------------
 fluentui-ard/Entropy/Entropy.json           |   2 +-
 fluentui-ard/Entropy/checksum.json          |  20 +--
 fluentui-ard/Src/Screen1.fx.yaml            |   2 +-
 5 files changed, 26 insertions(+), 127 deletions(-)

diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json
index 59136e1..59a06d3 100644
--- a/fluentui-ard/CanvasManifest.json
+++ b/fluentui-ard/CanvasManifest.json
@@ -98,7 +98,7 @@
       "zeroalltabindexes": false
     },
     "Author": "",
-    "BindingErrorCount": 2,
+    "BindingErrorCount": 1,
     "ContainsThirdPartyPcfControls": false,
     "DefaultConnectedDataSourceMaxGetRowsCount": 500,
     "DocumentAppType": "Phone",
diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif
index 9afd9d1..1a253b2 100644
--- a/fluentui-ard/Entropy/AppCheckerResult.sarif
+++ b/fluentui-ard/Entropy/AppCheckerResult.sarif
@@ -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": {
diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json
index 6c181b7..37bfa09 100644
--- a/fluentui-ard/Entropy/Entropy.json
+++ b/fluentui-ard/Entropy/Entropy.json
@@ -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\"",
diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json
index ac439a0..a91bb56 100644
--- a/fluentui-ard/Entropy/checksum.json
+++ b/fluentui-ard/Entropy/checksum.json
@@ -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
diff --git a/fluentui-ard/Src/Screen1.fx.yaml b/fluentui-ard/Src/Screen1.fx.yaml
index a0ba02e..080d75a 100644
--- a/fluentui-ard/Src/Screen1.fx.yaml
+++ b/fluentui-ard/Src/Screen1.fx.yaml
@@ -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)
-- 
GitLab