From 3e928010779183e7e4357eeb1414486c99597f76 Mon Sep 17 00:00:00 2001 From: Michael Bond Date: Wed, 21 Jan 2026 14:50:37 -0500 Subject: [PATCH 1/4] Update setup-dotnet action to v5.1.0 in workflows Bump actions/setup-dotnet from v5.0.1 to v5.1.0 in buildandtest.yml and main_aboutcodemonkey85.yml for improved compatibility and latest features. --- .github/workflows/buildandtest.yml | 2 +- .github/workflows/main_aboutcodemonkey85.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildandtest.yml b/.github/workflows/buildandtest.yml index 6c2243a8..5d9d9f6e 100644 --- a/.github/workflows/buildandtest.yml +++ b/.github/workflows/buildandtest.yml @@ -28,7 +28,7 @@ jobs: # sets up .NET SDK - name: Setup .NET - uses: actions/setup-dotnet@v5.0.1 + uses: actions/setup-dotnet@v5.1.0 with: global-json-file: ./global.json diff --git a/.github/workflows/main_aboutcodemonkey85.yml b/.github/workflows/main_aboutcodemonkey85.yml index 73109db7..cf653d90 100644 --- a/.github/workflows/main_aboutcodemonkey85.yml +++ b/.github/workflows/main_aboutcodemonkey85.yml @@ -25,7 +25,7 @@ jobs: # sets up .NET SDK - name: Setup .NET - uses: actions/setup-dotnet@v5.0.1 + uses: actions/setup-dotnet@v5.1.0 with: global-json-file: ./global.json From 9e8ce90d20f495e23f6ca9022098dced523f25fe Mon Sep 17 00:00:00 2001 From: Michael Bond Date: Wed, 21 Jan 2026 14:51:46 -0500 Subject: [PATCH 2/4] Rename Screenshots to Thumbnails in Projects page Updated the Projects page to use 'Thumbnails' instead of 'Screenshots' for project images. Renamed the related data structure from ProductImage to ProjectThumbnails for consistency. --- AboutMe/Wasm/Pages/Projects.razor | 4 ++-- AboutMe/Wasm/Pages/Projects.razor.cs | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/AboutMe/Wasm/Pages/Projects.razor b/AboutMe/Wasm/Pages/Projects.razor index f4427330..281b40b9 100644 --- a/AboutMe/Wasm/Pages/Projects.razor +++ b/AboutMe/Wasm/Pages/Projects.razor @@ -38,10 +38,10 @@ } - @if (project.Screenshots is { Count: > 0 }) + @if (project.Thumbnails is { Count: > 0 }) { + ItemsSource="@project.Thumbnails"> diff --git a/AboutMe/Wasm/Pages/Projects.razor.cs b/AboutMe/Wasm/Pages/Projects.razor.cs index 457f36dc..0701a001 100644 --- a/AboutMe/Wasm/Pages/Projects.razor.cs +++ b/AboutMe/Wasm/Pages/Projects.razor.cs @@ -14,7 +14,7 @@ public partial class Projects Description = "A port of PKHeX for web, built wih Blazor", Url = "https://www.pkmds.app/", GitHubUrl = $"{Constants.MyGitHubBaseUrl}/PKMDS-Blazor", - Screenshots = [] + Thumbnails = [] }, // PKMDS for Web new() { @@ -22,7 +22,7 @@ public partial class Projects Description = "Messing around with the JavaScript tone APIs in Blazor", Url = $"{GitHubPagesBaseUrl}/SoundTest/", GitHubUrl = $"{Constants.MyGitHubBaseUrl}/SoundTest", - Screenshots = [] + Thumbnails = [] }, // Sound Test new() { @@ -30,7 +30,7 @@ public partial class Projects Description = "A Tic Tac Toe game for web, built with Blazor", Url = $"{GitHubPagesBaseUrl}/TicTacToeBlazor/", GitHubUrl = $"{Constants.MyGitHubBaseUrl}/TicTacToeBlazor", - Screenshots = [] + Thumbnails = [] }, // Tic Tac Toe Blazor new() { @@ -38,7 +38,7 @@ public partial class Projects Description = "A neat party trick, built with Blazor", Url = $"{GitHubPagesBaseUrl}/FourMagicNumberGame/", GitHubUrl = $"{Constants.MyGitHubBaseUrl}/FourMagicNumberGame", - Screenshots = [] + Thumbnails = [] }, // Four Is The Magic Number! new() { @@ -46,7 +46,7 @@ public partial class Projects Description = "Solve the missing digit in a UPC-12, built with Blazor", Url = $"{GitHubPagesBaseUrl}/BarcodeHelper/", GitHubUrl = $"{Constants.MyGitHubBaseUrl}/BarcodeHelper", - Screenshots = [] + Thumbnails = [] }, // Barcode Helper new() { @@ -54,7 +54,7 @@ public partial class Projects Description = "Doctor Manhattan is tired of stuff, built with Blazor", Url = $"{GitHubPagesBaseUrl}/TiredDoctorManhattan/", GitHubUrl = $"{Constants.MyGitHubBaseUrl}/TiredDoctorManhattan", - Screenshots = [] + Thumbnails = [] }, // Tired Doctor Manhattan new() { @@ -62,7 +62,7 @@ public partial class Projects Description = "A tool to help build Minecraft commands, built with Blazor", Url = $"{GitHubPagesBaseUrl}/MinecraftCommandBuilder/", GitHubUrl = $"{Constants.MyGitHubBaseUrl}/MinecraftCommandBuilder", - Screenshots = [] + Thumbnails = [] }, // Minecraft Command Builder new() { @@ -70,7 +70,7 @@ public partial class Projects Description = "Honestly, this is just for me and my D&D friends.", Url = $"{GitHubPagesBaseUrl}/DnDCritCalculator/", GitHubUrl = $"{Constants.MyGitHubBaseUrl}/DnDCritCalculator", - Screenshots = [] + Thumbnails = [] } // D&D Critical Hit Calculator ]; @@ -85,11 +85,11 @@ private readonly record struct Project public string? GitHubUrl { get; init; } // ReSharper disable once CollectionNeverUpdated.Local - public List Screenshots { get; init; } + public List Thumbnails { get; init; } } [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Local")] - private readonly record struct ProductImage + private readonly record struct ProjectThumbnails { public required string Url { get; init; } From 3e7328aee174c8976a9df19d03f579d31bcb5350 Mon Sep 17 00:00:00 2001 From: Michael Bond Date: Wed, 21 Jan 2026 14:53:03 -0500 Subject: [PATCH 3/4] Minor formatting updates across project files Standardized whitespace and formatting in .editorconfig, csproj, Blog.razor.cs, and solution file for improved consistency. No functional changes were made. --- .editorconfig | 1 + AboutMe/Wasm/AboutMe.Wasm.csproj | 8 ++++---- AboutMe/Wasm/Pages/Blog.razor.cs | 4 ++-- aboutme.slnx | 10 +++++----- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.editorconfig b/.editorconfig index c8d56ad2..e5168435 100644 --- a/.editorconfig +++ b/.editorconfig @@ -23,6 +23,7 @@ dotnet_sort_system_directives_first = false file_header_template = # this. and Me. preferences + dotnet_style_qualification_for_event = false:suggestion dotnet_style_qualification_for_field = false:suggestion dotnet_style_qualification_for_method = false:suggestion diff --git a/AboutMe/Wasm/AboutMe.Wasm.csproj b/AboutMe/Wasm/AboutMe.Wasm.csproj index bf51843b..57dc9220 100644 --- a/AboutMe/Wasm/AboutMe.Wasm.csproj +++ b/AboutMe/Wasm/AboutMe.Wasm.csproj @@ -12,10 +12,10 @@ - - - - + + + + diff --git a/AboutMe/Wasm/Pages/Blog.razor.cs b/AboutMe/Wasm/Pages/Blog.razor.cs index 6d949ae2..d590a43c 100644 --- a/AboutMe/Wasm/Pages/Blog.razor.cs +++ b/AboutMe/Wasm/Pages/Blog.razor.cs @@ -44,10 +44,10 @@ protected override async Task OnInitializedAsync() protected override async Task OnAfterRenderAsync(bool firstRender) { await base.OnAfterRenderAsync(firstRender); - + if (!IsLoading && Posts.Count > 0) { - await jsRuntime.InvokeVoidAsync("eval", + await jsRuntime.InvokeVoidAsync("eval", "document.querySelectorAll('.content-wrapper a').forEach(a => { a.target = '_blank'; a.rel = 'noopener noreferrer'; });"); } } diff --git a/aboutme.slnx b/aboutme.slnx index 1d3f22c1..aa50684a 100644 --- a/aboutme.slnx +++ b/aboutme.slnx @@ -1,7 +1,7 @@ - - - - - + + + + + From 14ec7c470608af72486c516909ea0ce6a886e766 Mon Sep 17 00:00:00 2001 From: Michael Bond Date: Wed, 21 Jan 2026 14:54:46 -0500 Subject: [PATCH 4/4] Suppress CSS unresolved custom property warning Added a comment to suppress the 'CssUnresolvedCustomProperty' warning in Blog.razor to avoid unnecessary IDE alerts. --- AboutMe/Wasm/Pages/Blog.razor | 1 + 1 file changed, 1 insertion(+) diff --git a/AboutMe/Wasm/Pages/Blog.razor b/AboutMe/Wasm/Pages/Blog.razor index c0017c12..933c730a 100644 --- a/AboutMe/Wasm/Pages/Blog.razor +++ b/AboutMe/Wasm/Pages/Blog.razor @@ -1,5 +1,6 @@ @page "/Blog" + @Constants.SiteName - Blog