Modernize frontend: update WPF packages, Angular dependencies, and sy…#1202
Open
Symlink420 wants to merge 1 commit intoopenbullet:masterfrom
Open
Modernize frontend: update WPF packages, Angular dependencies, and sy…#1202Symlink420 wants to merge 1 commit intoopenbullet:masterfrom
Symlink420 wants to merge 1 commit intoopenbullet:masterfrom
Conversation
…nc NuGet extensions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR modernizes the frontend components for both the WPF (Native) client and the Angular Web UI. It addresses technical debt, improves UI library performance, and resolves several dependency vulnerabilities.
Key Changes
WPF (Native) Modernization
MahApps.Metro.IconPacks: Upgraded from 4.8.0 to 5.1.0.
Markdig: Upgraded from 0.37.0 to 0.40.0 for improved Markdown rendering.
HtmlSanitizer: Upgraded to 9.0.835 (stable) to fix security vulnerabilities and modernization overhead.
Standardized Extensions: Synced Microsoft.Extensions.* and EF Core libraries to 8.0.12/8.0.2 across all projects to ensure a consistent dependency tree.
Angular Client (Web UI) Modernization
Angular Framework: Re-platformed from 17.3.5 to a stable 17.3.10 baseline.
PrimeNG: Upgraded from 17.14.1 to 17.18.0.
Angular CDK: Integrated @angular/cdk (17.3.10) to provide low-level utilities required by modern PrimeNG components.
CSS Frameworks: Updated Bootstrap to 4.6.2 and Moment.js to 2.30.1.
Dependency Resolution: Used --legacy-peer-deps to stabilize the upgrade path for legacy components.
Verification Results
C# / .NET Build
Status: SUCCESS ✅
Verified that all projects (Native, Web, Core, RuriLib) compile without errors after the package upgrades.
Standardized Microsoft.Extensions.DependencyInjection to 8.0.1 to resolve restore conflicts.
Angular / Web Build
Command: npm run build
Status: SUCCESS ✅
Verified that the production bundle generates correctly, resolving the previous DragDropModule symbol error by adding the missing CDK dependency.