diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index 64bd46baf15044c44576355a5cea2eb4c95f86a5..6eb30f299343d1a5b2751173278137b8c539d009 100644 --- a/fluentui-ard/CanvasManifest.json +++ b/fluentui-ard/CanvasManifest.json @@ -98,7 +98,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": 4, "ShowStatusBar": false }, "PublishInfo": { diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index 216eaef7bc3d37eec38254963aca8d24f17eb3ff..6ce81dcb40395fab44246ba4335c8b78b4b4d4fe 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -9,6 +9,239 @@ } ], "results": [ + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 7, + "charOffset": 449, + "snippet": { + "text": "ChatGPT" + } + } + }, + "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": 45, + "charOffset": 462, + "snippet": { + "text": "\",\n NotificationType.Success,\n 1000\n);\n" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "Screen1", + "type": "Screen1.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "Error", + "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": 45, + "charOffset": 462, + "snippet": { + "text": "\",\n NotificationType.Success,\n 1000\n);\n" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "Screen1", + "type": "Screen1.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "Error", + "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": 45, + "charOffset": 462, + "snippet": { + "text": "\",\n NotificationType.Success,\n 1000\n);\n" + } + } + }, + "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": 5, + "charOffset": 457, + "snippet": { + "text": "asked" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "Screen1", + "type": "Screen1.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "asked" + ], + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrInvalidName", + "ruleIndex": 3 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "Screen1.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 7, + "charOffset": 449, + "snippet": { + "text": "ChatGPT" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "Screen1", + "type": "Screen1.ConSend.send1" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrOperatorExpected", + "ruleIndex": 0 + }, { "locations": [ { @@ -36,7 +269,7 @@ "level": "Low" }, "ruleId": "acc-ReadableScreenNameNeeded", - "ruleIndex": 0 + "ruleIndex": 4 }, { "locations": [ @@ -66,7 +299,7 @@ "level": "Medium" }, "ruleId": "acc-FocusBorderShouldBeVisible", - "ruleIndex": 1 + "ruleIndex": 5 }, { "locations": [ @@ -96,7 +329,7 @@ "level": "Medium" }, "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", - "ruleIndex": 2 + "ruleIndex": 6 }, { "locations": [ @@ -126,7 +359,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 3 + "ruleIndex": 7 }, { "locations": [ @@ -156,7 +389,7 @@ "level": "Low" }, "ruleId": "acc-TabOrderShouldBeChecked", - "ruleIndex": 4 + "ruleIndex": 8 }, { "locations": [ @@ -186,7 +419,7 @@ "level": "Medium" }, "ruleId": "acc-FocusBorderShouldBeVisible", - "ruleIndex": 1 + "ruleIndex": 5 }, { "locations": [ @@ -216,7 +449,7 @@ "level": "Low" }, "ruleId": "acc-TabOrderShouldBeChecked", - "ruleIndex": 4 + "ruleIndex": 8 }, { "locations": [ @@ -246,7 +479,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 3 + "ruleIndex": 7 }, { "locations": [ @@ -276,7 +509,7 @@ "level": "Medium" }, "ruleId": "acc-HelpfulControlSettingNeeded", - "ruleIndex": 5 + "ruleIndex": 9 }, { "locations": [ @@ -306,7 +539,7 @@ "level": "Medium" }, "ruleId": "acc-AccessibleLabelNeeded", - "ruleIndex": 3 + "ruleIndex": 7 }, { "locations": [ @@ -336,7 +569,67 @@ "level": "Low" }, "ruleId": "acc-TabOrderShouldBeChecked", - "ruleIndex": 4 + "ruleIndex": 8 + }, + { + "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": 10 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "App.Assi" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "App.Assi", + "relativeAddress": 0 + } + }, + "properties": { + "member": "Assi", + "module": "App", + "type": "App" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "app-UnusedVariables", + "ruleIndex": 10 }, { "locations": [ @@ -366,7 +659,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 6 + "ruleIndex": 11 } ], "tool": { @@ -374,6 +667,74 @@ "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-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": "acc-ReadableScreenNameNeeded", "messageStrings": { @@ -476,6 +837,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": { diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json index 979d2f178e5eae072d2726bd04cde68c314e9f17..9319adc272bbaef376fef53382f8afe074c38830 100644 --- a/fluentui-ard/Entropy/Entropy.json +++ b/fluentui-ard/Entropy/Entropy.json @@ -25,7 +25,7 @@ "DoesTestStepsMetadataExist": true, "FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScriptsOnInstances": {}, - "HeaderLastSavedDateTimeUTC": "01/15/2024 10:04:25", + "HeaderLastSavedDateTimeUTC": "01/15/2024 10:19:10", "IsLegacyComponentAllowGlobalScopeCase": false, "LocalConnectionIDReferences": { "14dd137e-3796-47e0-b40f-9268bee25980": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"", diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json index 9bb4ea81e33f27ddb57b79c76f1edc763c54c92f..30365a39b659b4d8e22bccd317233dbdcdcfa257 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,14 +4,14 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_B7QS9IAuh4ZQDqU9CuerBDTo+JJ6k5lRsJWHDfDdz/U=", + "AppCheckerResult.sarif": "C8_grxMLKR1lwc7oWH7tdN2FjaY2t1q3kDiPVKgp2V+/UU=", "AppTests\\2.json": "C8_omA4KVA0ye8qkU+fMWC8nSkoW42AEHM4XBnnYkUJCys=", "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_Nyyynqmquc1SZ141NYJl+W9dyZtAytdz5BgkODsIxGw=", - "Header.json": "C8_fUkyOkvorSxm+lR8J6QGHYMmUlEtPfpD1zpEdxHOLZc=", - "Properties.json": "C8_h6DSGX2t7DCVqr0W9zVgKgZm6HMHtrtLOK7dWwj62Sw=", + "Controls\\4.json": "C8_fNgSfjT04gKOmftI1TOti3/fvkly5LeqbYqGHWaQyD4=", + "Header.json": "C8_oOmMluvYWnPGqymiWf5Ly2Vu8kBqrwAvY+uPs1kBBqA=", + "Properties.json": "C8_IAgp1AvV/7gyueKvhDMWKgudEAagcQrPiRa72VAa7ME=", "References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_UMTMqs1BZIxG/WCVvgkZm/xMB/Clxy5pUBUMWVF0nQY=", @@ -19,16 +19,16 @@ "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ClientStampedChecksum": "C8_X+TSBfdcwuxi8FSRCvDuYVaL9yQrPotDgoxHj/dTy4g=", + "ClientStampedChecksum": "C8_Ex1cSbkK1yrxfUV0TkujslaGbhafQEqAc3gKf5geDEo=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_B7QS9IAuh4ZQDqU9CuerBDTo+JJ6k5lRsJWHDfDdz/U=", + "AppCheckerResult.sarif": "C8_grxMLKR1lwc7oWH7tdN2FjaY2t1q3kDiPVKgp2V+/UU=", "AppTests\\2.json": "C8_omA4KVA0ye8qkU+fMWC8nSkoW42AEHM4XBnnYkUJCys=", "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_Nyyynqmquc1SZ141NYJl+W9dyZtAytdz5BgkODsIxGw=", - "Header.json": "C8_fUkyOkvorSxm+lR8J6QGHYMmUlEtPfpD1zpEdxHOLZc=", - "Properties.json": "C8_h6DSGX2t7DCVqr0W9zVgKgZm6HMHtrtLOK7dWwj62Sw=", + "Controls\\4.json": "C8_fNgSfjT04gKOmftI1TOti3/fvkly5LeqbYqGHWaQyD4=", + "Header.json": "C8_oOmMluvYWnPGqymiWf5Ly2Vu8kBqrwAvY+uPs1kBBqA=", + "Properties.json": "C8_IAgp1AvV/7gyueKvhDMWKgudEAagcQrPiRa72VAa7ME=", "References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_UMTMqs1BZIxG/WCVvgkZm/xMB/Clxy5pUBUMWVF0nQY=", @@ -36,5 +36,5 @@ "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ServerStampedChecksum": "C8_X+TSBfdcwuxi8FSRCvDuYVaL9yQrPotDgoxHj/dTy4g=" + "ServerStampedChecksum": "C8_Ex1cSbkK1yrxfUV0TkujslaGbhafQEqAc3gKf5geDEo=" } \ No newline at end of file diff --git a/fluentui-ard/Src/EditorState/Screen1.editorstate.json b/fluentui-ard/Src/EditorState/Screen1.editorstate.json index 68f16905d5796a678784ced4914edc58ed04f53f..9fab2de9ebab9eb2400e894125f52ec723faf644 100644 --- a/fluentui-ard/Src/EditorState/Screen1.editorstate.json +++ b/fluentui-ard/Src/EditorState/Screen1.editorstate.json @@ -432,7 +432,14 @@ "PressedFill", "HoverFill", "Font", - "FontWeight", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "FontWeight", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, "Align", { "AFDDataSourceName": "", diff --git a/fluentui-ard/Src/Screen1.fx.yaml b/fluentui-ard/Src/Screen1.fx.yaml index 6251793957b671def002bafddfe90dc0cd392c4a..ef19f5e681e4bd707aa5223017d29cdcd4ee991c 100644 --- a/fluentui-ard/Src/Screen1.fx.yaml +++ b/fluentui-ard/Src/Screen1.fx.yaml @@ -259,11 +259,12 @@ Screen1 As screen: 0.9 ) ); + Set(Assi,"Assi: "); If( !IsBlank(textinput1.Text), Set( varResp, - varResp & Char(10) & textinput1.Text & Char(10) & Char(10) & "Assi: " & ConnectAzureOpenai.Run( + varResp & Char(10) & textinput1.Text & Char(10) & Char(10) &"<b>"& Assi& "</b>"&" & ConnectAzureOpenai.Run( textinput1.Text, Creativity ).assi & Char(10)