Skip to content

Feat/date range slider#209

Merged
fgilde merged 6 commits into
mainfrom
feat/date-range-slider
Jun 15, 2026
Merged

Feat/date range slider#209
fgilde merged 6 commits into
mainfrom
feat/date-range-slider

Conversation

@fgilde

@fgilde fgilde commented Jun 15, 2026

Copy link
Copy Markdown
Owner

This pull request introduces centralized package version management across the solution, modernizes test and adapter project references, improves Playwright test setup reliability, and adds a regression test for range slider auto-zoom behavior. The most important changes are summarized below:

Centralized Package Management

  • Adds a new Directory.Packages.props file to centrally manage NuGet package versions for the solution, enabling consistent dependency versions and supporting floating versions where needed. (Directory.Packages.props)

Project Reference Modernization

  • Removes explicit version numbers from <PackageReference> elements in MudBlazor.Extensions.Tests.csproj and MudBlazor.Extensions.CodeGator.Adapter.csproj, allowing them to inherit versions from central management. This reduces duplication and simplifies dependency updates. (MudBlazor.Extensions.Tests.csproj, MudBlazor.Extensions.CodeGator.Adapter.csproj) [1] [2]

Test Infrastructure Improvements

  • Updates Playwright installation logic in PlaywrightFixture.cs to treat OS dependency installation as best-effort (ignoring failures on non-Linux environments), improving cross-platform test reliability. (PlaywrightFixture.cs)

End-to-End Test Robustness

  • Refines Playwright UI tests to use more precise selectors, improving reliability against UI changes (e.g., matching exact node text for the "API" link, and adapting to the About dialog being moved into an overflow menu). (MainAppTests.cs) [1] [2]

Component Regression Testing

  • Adds a regression test to ensure the range slider's auto-zoom feature correctly clamps the range for types with bounded domains (like TimeOnly), preventing crashes. (MudExRangeSliderTests.cs)

Additionally, the .sln file was reformatted but not functionally changed. (MudBlazor.Extensions.sln)

fgilde and others added 6 commits May 11, 2026 14:05
…x tests

- Introduce NuGet Central Package Management via Directory.Packages.props
  (ManagePackageVersionsCentrally + floating versions); strip Version from
  all PackageReference entries. MAUI sample opted out (EOL net8.0).
- Update all packages to latest feasible versions (MudBlazor 9.5.0,
  Nextended 10.1.9, FluentValidation 12.1.1, AspNetCore 10.0.9, Azure SDKs).
  Keep SixLabors.ImageSharp on 3.1.12 (v4 requires a paid Six Labors license).
- Migrate solutions to the .slnx format; remove the old .sln files.
- Fix tests (190/190 green):
  - Register AddYamlLocalizer() in MainSample.ServerSide so the shared pages
    and their validators (ILanguageContainerService) resolve at host build.
  - Make Playwright install-deps non-fatal (Linux-only command, fails on Windows).
  - Update outdated E2E selectors in MainAppTests (API tree node, About moved
    into the overflow menu, force-dispatch the dialog close button).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Bump MainSample.MAUI.Moana from EOL net8.0-* to net10.0-* (android/ios/
  maccatalyst/windows), which also fixes the NU1201 incompatibility with the
  net10.0 WebAssembly project reference.
- Add the explicit MAUI workload package references (Microsoft.Maui.Controls,
  .Compatibility, Components.WebView.Maui 10.0.20) now required since .NET 8.
- Bump Microsoft.Extensions.Logging.Abstractions/Debug to 10.0.9.
- Exclude libman.json from build output/publish in the library and WASM sample
  so they no longer collide when the WASM app is hosted (NETSDK1152).

The Windows target builds. android/ios/maccatalyst still fail because the MAUI
app references the full Blazor WASM *app* (its browser-wasm/webcil pipeline is
incompatible with mobile cross-builds); fixing that needs the shared components
moved into a Razor Class Library.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mudblazor-extensions with  Cloudflare Pages  Cloudflare Pages

Latest commit: 20bc3c7
Status: ✅  Deploy successful!
Preview URL: https://5764e718.mudblazor-extensions.pages.dev
Branch Preview URL: https://feat-date-range-slider.mudblazor-extensions.pages.dev

View logs

@fgilde fgilde merged commit ca07ed0 into main Jun 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant