Merged
Conversation
- Bump MudBlazor to v9.0.0 and update DataGrid usage accordingly - Update ActualLab.Fusion, QuestPDF, Serilog, and NUnit packages - Refactor ServerReload methods to accept CancellationToken - Update MainLayout for new dark mode API - Adjust MudBlazor service/snackbar config for v9 - Update MudChart and DataGrid edit APIs in Dashboard and PicklistSets - Miscellaneous code cleanups for compatibility with new library versions
Refactored MudFileUpload usage to use CustomContent and SelectedTemplate per MudBlazor recommendations. Updated UserPreference and Theme to use Tailwind-inspired color palettes and improved typography for a more modern, accessible UI. Moved file list display into SelectedTemplate in ProductFormDialog.
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.
Upgrade MudBlazor to v9
Summary
This PR upgrades MudBlazor from v6.x/v7.x to v9, along with all necessary breaking change migrations across the Blazor Server UI project. The upgrade also targets .NET 10.
Motivation
MudBlazor v9 introduces significant performance improvements, new components, a modernized API surface, and improved accessibility. This upgrade ensures the project stays current with the latest framework capabilities and security patches.
Breaking Changes Addressed
Component API Changes
IMudDialogInstance— Replaced legacyMudDialogInstancewith the newIMudDialogInstanceinterface for dialog cascading parametersMudLoadingButton— Adopted the newMudLoadingButtoncomponent (replacing manual loading state patterns onMudButton)DialogResult.Ok()— Updated dialog result API to match v9 signaturesTheme & Styling
UserPreference— Implemented custom HSL-based color brightness adjustment (AdjustBrightness) usingSystem.Drawing.ColorTranslatorforPrimaryDarken/PrimaryLightencomputed propertiesH5,H6,Body1,Body2,Button,Caption,Overline,Subtitle1,Subtitle2)Dialog System
[CascadingParameter] IMudDialogInstance MudDialoginstead of the previousMudDialogInstanceMudDialog.Close()andMudDialog.Cancel()calls to the v9 APIValidation
IValidationServicewithValidator.ValidateValue()pattern forMudFormvalidation, verified compatible with v9Package Updates
Changes Overview
IMudDialogInstanceMudLoadingButtonfor async submit buttons_Imports.razorfor v9 namespace changesTesting
Screenshots
N/A — UI behavior unchanged; theme colors may appear slightly different due to Tailwind palette alignment.
Checklist