Skip to content

DataGrid: GroupingByOrder / Style Fix / Expansion StateHasChanged#11302

Merged
ScarletKuro merged 10 commits intoMudBlazor:devfrom
versile2:fix/datagridgrouping
May 21, 2025
Merged

DataGrid: GroupingByOrder / Style Fix / Expansion StateHasChanged#11302
ScarletKuro merged 10 commits intoMudBlazor:devfrom
versile2:fix/datagridgrouping

Conversation

@versile2
Copy link
Contributor

@versile2 versile2 commented May 6, 2025

Description

Moved Expansion logic to MudDataGrid since it needs to refresh grid and the logic needed to set the _groupExpansionsDict is in the grid.
Setup a proper GroupByOrder when items are grouped manually.
Fixed a class mismatch on Group Expander Icon
Resolves #11290
Resolves #11300

How Has This Been Tested?

Updated two unit tests, one for my changes, and one was not testing the right thing highlighted by my changes
Added a unit test for GroupByOrder

Type of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation (fix or improvement to the website or code docs)

Checklist

  • The PR is submitted to the correct branch (dev).
  • My code follows the code style of this project.
  • I've added relevant tests.

@github-actions github-actions bot added bug Unexpected behavior or functionality not working as intended PR: needs review labels May 6, 2025
@codecov
Copy link

codecov bot commented May 6, 2025

Codecov Report

Attention: Patch coverage is 82.35294% with 3 lines in your changes missing coverage. Please review.

Project coverage is 91.11%. Comparing base (bbb7333) to head (5ac1aaf).
Report is 23 commits behind head on dev.

Files with missing lines Patch % Lines
src/MudBlazor/Components/DataGrid/Column.razor.cs 0.00% 0 Missing and 3 partials ⚠️

❌ Your patch check has failed because the patch coverage (82.35%) is below the target coverage (100.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #11302      +/-   ##
==========================================
- Coverage   91.14%   91.11%   -0.03%     
==========================================
  Files         439      465      +26     
  Lines       14238    14406     +168     
  Branches     2759     2787      +28     
==========================================
+ Hits        12977    13126     +149     
- Misses        635      642       +7     
- Partials      626      638      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@versile2 versile2 mentioned this pull request May 19, 2025
4 tasks
@sonarqubecloud
Copy link

@ScarletKuro
Copy link
Member

Is this good to go now?

@versile2
Copy link
Contributor Author

Yes

@ScarletKuro ScarletKuro changed the title DataGrid - GroupingByOrder / StyleFix / Expansion StateHasChanged DataGrid: GroupingByOrder / Style Fix / Expansion StateHasChanged May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Unexpected behavior or functionality not working as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MudDataGrid MultiLevel Grouping Order Can't be Changed MudDataGrid issues since 8.6

2 participants