MudDataGrid: Remove redundant column menu (#7566)#7627
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #7627 +/- ##
==========================================
- Coverage 90.60% 90.57% -0.03%
==========================================
Files 427 427
Lines 15218 15225 +7
==========================================
+ Hits 13788 13790 +2
- Misses 1430 1435 +5
☔ View full report in Codecov by Sentry. |
|
I don't see the |
|
@henon @tjscience I don't think this is breaking change? As I understand the 3 dots are just visually redundant? |
Yes, they are. So is it a bug fix or feature? |
Ok, I will. |
done @ScarletKuro. |
|
Thanks. Now I will leave the review to @tjscience |
|
This looks good. Thanks, @MohamedYassin-J! |
|
@henon do we merge this? This doesn't look like as a breaking chance to me, but I need second opinion. |
|
Thanks @MohamedYassin-J |
…#7627) * MudDataGrid: Remove redundant column menu (MudBlazor#7566)
Description
In the
MudDataGridcomponent, I observed a redundant "⋮" menu being rendered whenFilterModeis set toDataGridFilterMode.ColumnFilterRowandSortModeis set toSortMode.None.This update rectifies this oversight by ensuring the column menu is not rendered with the aforementioned combination of properties.
Linked Issue:
How Has This Been Tested?
Automated Testing:
- Executed all relevant unit tests, all of which passed successfully.
- Introduced tests within
DataGridRedundantMenuTest.razorto validate the removal of the redundant menu based on specificFilterModeandSortModecombinations.Manual Testing:
- Interacted with the
MudDataGridon theDataGridRedundantMenuTest.razorpage, confirming the removal of the redundant menu with the specified conditions.Types of changes
Visual Demonstrations
To visually highlight the addressed issue and its resolution:
Before the Fix:
After the Fix:
Checklist:
dev).