From 4407dd53afa7775e8304d73a650c009c30ee2e9c Mon Sep 17 00:00:00 2001 From: Timothy Date: Sat, 11 Jul 2026 21:09:26 +0200 Subject: [PATCH] fix(91b): delete orphaned Blazor NavigationManagerExtensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cold-review Low-1: ErsatzTV/Extensions/NavigationManagerExtensions.cs survived the removal — the last non-deleted .cs still importing Microsoft.AspNetCore.Components/JSInterop and calling the deleted blazorHelpers.scrollToFragment JS. Fully unreferenced (compiled only via the shared framework). Removing it completes the Blazor deletion. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../Extensions/NavigationManagerExtensions.cs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 ErsatzTV/Extensions/NavigationManagerExtensions.cs diff --git a/ErsatzTV/Extensions/NavigationManagerExtensions.cs b/ErsatzTV/Extensions/NavigationManagerExtensions.cs deleted file mode 100644 index 43abebe98..000000000 --- a/ErsatzTV/Extensions/NavigationManagerExtensions.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Microsoft.AspNetCore.Components; -using Microsoft.JSInterop; - -namespace ErsatzTV.Extensions; - -public static class NavigationManagerExtensions -{ - public static async Task NavigateToFragmentAsync(this NavigationManager navigationManager, IJSRuntime jSRuntime) - { - Uri uri = navigationManager.ToAbsoluteUri(navigationManager.Uri); - - if (uri.Fragment.Length > 0) - { - await Task.Delay(250); - await jSRuntime.InvokeVoidAsync("blazorHelpers.scrollToFragment", uri.Fragment.Substring(1)); - } - } -}