diff --git a/CHANGELOG.md b/CHANGELOG.md index 25cf789..6a8fa03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,7 @@ -# [1.6.0](https://github.com/TechnologyEnhancedLearning/TELBlazor/compare/v1.5.0...v1.6.0) (2025-06-06) +# [1.7.0-feat-button-for-cicd-testing.1](https://github.com/TechnologyEnhancedLearning/TELBlazor/compare/v1.6.0...v1.7.0-feat-button-for-cicd-testing.1) (2025-06-09) ### Features -* **button:** nav ([075d01f](https://github.com/TechnologyEnhancedLearning/TELBlazor/commit/075d01f3aa5a60afd55ac96f6fd1d257a344c302)) - -# [1.6.0-feat-button-for-cicd-testing.1](https://github.com/TechnologyEnhancedLearning/TELBlazor/compare/v1.5.0...v1.6.0-feat-button-for-cicd-testing.1) (2025-06-06) - - -### Features - -* **button:** nav ([075d01f](https://github.com/TechnologyEnhancedLearning/TELBlazor/commit/075d01f3aa5a60afd55ac96f6fd1d257a344c302)) +* **button:** lower testing threshold ([63ded2c](https://github.com/TechnologyEnhancedLearning/TELBlazor/commit/63ded2c82e656cdb94b9f98a6d38eeda9c7bc0ba)) +* **button:** optional implementation ([9a12d3c](https://github.com/TechnologyEnhancedLearning/TELBlazor/commit/9a12d3ce6ec6196c536958ab554f20a307c8096f)) diff --git a/Directory.Build.props b/Directory.Build.props index ec1be6a..2470b1c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,11 +7,11 @@ true cobertura - 50 + 30 line total - 50 - 50 + 30 + 30 [TELBlazor.Components]* diff --git a/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/Program.cs b/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/Program.cs index f49113f..cfc795d 100644 --- a/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/Program.cs +++ b/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/Program.cs @@ -67,7 +67,7 @@ { return new TELBlazorBaseComponentConfiguration { - JSEnabled = true, //if we are inject the client then it is true + JSEnabled = true, //See mvcblazor logic for proper implementation HostType = $"{builder.Configuration["Properties:Environment"]} {builder.Configuration["Properties:Application"]}" }; }); diff --git a/TELBlazor.Components.ShowCase.E2ETests/Helpers/BrowserHelper.cs b/TELBlazor.Components.ShowCase.E2ETests/Helpers/BrowserHelper.cs index a43a960..2c6ee15 100644 --- a/TELBlazor.Components.ShowCase.E2ETests/Helpers/BrowserHelper.cs +++ b/TELBlazor.Components.ShowCase.E2ETests/Helpers/BrowserHelper.cs @@ -9,7 +9,7 @@ namespace TELBlazor.Components.ShowCase.E2ETests.Helpers { public static class BrowserHelper { - // Setting value using PackageSetting.props potentially replace appsettings.Test.json in future especially if apis + // qqqq Setting value using PackageSetting.props potentially replace appsettings.Test.json in future especially if using apis during testing static bool headless => #if HEADLESS_TESTING true; @@ -22,7 +22,6 @@ public static async Task CreateBrowserContextAsync(IPlaywright IBrowser browser; - bool headless = (bool.TryParse(Environment.GetEnvironmentVariable("HEADLESS_TESTING"), out var result) && result); switch (browserType.ToLower()) { case "chromium": diff --git a/TELBlazor.Components.ShowCase.Shared/Services/HelperServices/gitinclude.txt b/TELBlazor.Components.ShowCase.Shared/Services/HelperServices/gitinclude.txt new file mode 100644 index 0000000..e3a3b5f --- /dev/null +++ b/TELBlazor.Components.ShowCase.Shared/Services/HelperServices/gitinclude.txt @@ -0,0 +1 @@ +gitinclude \ No newline at end of file diff --git a/TELBlazor.Components.ShowCase.Shared/TELBlazor.Components.ShowCase.Shared.csproj b/TELBlazor.Components.ShowCase.Shared/TELBlazor.Components.ShowCase.Shared.csproj index b142da5..46dc96c 100644 --- a/TELBlazor.Components.ShowCase.Shared/TELBlazor.Components.ShowCase.Shared.csproj +++ b/TELBlazor.Components.ShowCase.Shared/TELBlazor.Components.ShowCase.Shared.csproj @@ -17,6 +17,12 @@ + + + + + + diff --git a/TELBlazor.Components/Core/DI/gitinclude.txt b/TELBlazor.Components/Core/DI/gitinclude.txt new file mode 100644 index 0000000..e3a3b5f --- /dev/null +++ b/TELBlazor.Components/Core/DI/gitinclude.txt @@ -0,0 +1 @@ +gitinclude \ No newline at end of file diff --git a/TELBlazor.Components/Core/DI/DI.cs b/TELBlazor.Components/OptionalImplementations/Core/DI/DI.cs similarity index 92% rename from TELBlazor.Components/Core/DI/DI.cs rename to TELBlazor.Components/OptionalImplementations/Core/DI/DI.cs index df730ba..d20af1d 100644 --- a/TELBlazor.Components/Core/DI/DI.cs +++ b/TELBlazor.Components/OptionalImplementations/Core/DI/DI.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; using TELBlazor.Components.Core.Configuration; -namespace TELBlazor.Components.Core.DI +namespace TELBlazor.Components.OptionalImplementations.Core.DI { public static class DI { diff --git a/TELBlazor.Components.ShowCase.Shared/Services/HelperServices/SerilogLogLevelSwitcher.cs b/TELBlazor.Components/OptionalImplementations/Core/Services/HelperServices/SerilogLogLevelSwitcher.cs similarity index 100% rename from TELBlazor.Components.ShowCase.Shared/Services/HelperServices/SerilogLogLevelSwitcher.cs rename to TELBlazor.Components/OptionalImplementations/Core/Services/HelperServices/SerilogLogLevelSwitcher.cs diff --git a/TELBlazor.Components/TELBlazor.Components.csproj b/TELBlazor.Components/TELBlazor.Components.csproj index 813159a..1c62e67 100644 --- a/TELBlazor.Components/TELBlazor.Components.csproj +++ b/TELBlazor.Components/TELBlazor.Components.csproj @@ -34,6 +34,9 @@ + + + @@ -45,6 +48,9 @@ + + + @@ -68,9 +74,7 @@ 2) Tell gulp to run the gulpfile in this project directory 3) Gulp to add the TELFrontend css version to version info file --> - + diff --git a/TELBlazor.Components/packages.lock.json b/TELBlazor.Components/packages.lock.json index 1889420..51a3110 100644 --- a/TELBlazor.Components/packages.lock.json +++ b/TELBlazor.Components/packages.lock.json @@ -2,6 +2,15 @@ "version": 2, "dependencies": { "net8.0": { + "Blazored.LocalStorage": { + "type": "Direct", + "requested": "[4.5.0, )", + "resolved": "4.5.0", + "contentHash": "6nZuJwA7zNIKx83IsObiHXZb09ponJOpCClU3en+hI8ZFvrOKXeOw+H7TegQZQrvdR1n9fkrVkEBQZg8vx6ZTw==", + "dependencies": { + "Microsoft.AspNetCore.Components.Web": "8.0.0" + } + }, "Microsoft.AspNetCore.Components.Web": { "type": "Direct", "requested": "[8.0.14, )", @@ -30,6 +39,12 @@ "Microsoft.Extensions.Options": "8.0.2" } }, + "Serilog": { + "type": "Direct", + "requested": "[4.2.0, )", + "resolved": "4.2.0", + "contentHash": "gmoWVOvKgbME8TYR+gwMf7osROiWAURterc6Rt2dQyX7wtjZYpqFiA/pY6ztjGQKKV62GGCyOcmtP1UKMHgSmA==" + }, "Microsoft.AspNetCore.Authorization": { "type": "Transitive", "resolved": "8.0.14",