Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR reverts template changes that were made to the DeveloperBalance template in the samples repository. The PR author is reverting these changes until the team is satisfied with the DeveloperBalance template implementation.
- Reverts template-related changes to maintain consistency until final approval
- Fixes a typo in logging method name from "ReponseContentNotFound" to "ResponseContentNotFound"
- Removes a project reference and updates various BlazorWebView implementation files
Reviewed Changes
Copilot reviewed 289 out of 2567 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| BlazorWebViewTests.Components.cs | Adds new test file for Blazor component functionality |
| BlazorWebViewTests.Behaviors.cs | Adds new test file for iOS/Mac Catalyst scroll behavior testing |
| _Imports.razor | Adds new Razor imports file for test components |
| WebView2WebViewManager.cs | Updates web resource filter and fixes typo in logging method |
| Log.cs | Fixes typo in logging method name from "ReponseContentNotFound" to "ResponseContentNotFound" |
| IOSWebViewManager.cs | Adds comprehensive updates for iOS WebView implementation |
| BlazorWebViewHandler.iOS.cs | Updates iOS handler with scroll behavior and request interception |
| WinUIWebViewManager.cs | Adds request interception logic for Windows platform |
| Multiple PublicAPI files | Updates public API surface with WebResourceRequested event |
| IBlazorWebView.cs | Adds interface inheritance for web request interception |
| BlazorWebView.cs | Implements web resource request event handling |
| Multiple Android files | Updates Android WebView implementation with request interception |
| BlazorWinFormsApp.csproj | Removes IsTestProject property |
| Multiple localization files | Updates various template translations |
|
|
||
| [LoggerMessage(EventId = 6, Level = LogLevel.Debug, Message = "Response content was not found for web request to URI '{requestUri}'.")] | ||
| public static partial void ReponseContentNotFound(this ILogger logger, string requestUri); | ||
| public static partial void ResponseContentNotFound(this ILogger logger, string requestUri); |
There was a problem hiding this comment.
This method name was corrected from 'ReponseContentNotFound' to 'ResponseContentNotFound' which is a good fix for the typo.
| @@ -1 +1,2 @@ | |||
| #nullable enable | |||
| Microsoft.AspNetCore.Components.WebView.Maui.BlazorWebView.WebResourceRequested -> System.EventHandler<Microsoft.Maui.Controls.WebViewWebResourceRequestedEventArgs!>? | |||
There was a problem hiding this comment.
This addition of a public API event 'WebResourceRequested' represents a potentially breaking change to the public API surface. Per coding guideline 256, breaking changes should not be made in minor versions or service releases.
3a03582 to
9e0202c
Compare
Description of Change
Reverting this until we are all happy with the DeveloperBalance template in the samples repository