Rename remaining Disable... properties#8826
Conversation
|
FYI @BieleckiLtd |
src/MudBlazor.Docs/Pages/Components/DatePicker/Examples/DatePickerBasicUsageExample.razor
Outdated
Show resolved
Hide resolved
src/MudBlazor.Docs/Pages/Components/DatePicker/Examples/DatePickerDialogExample.razor
Outdated
Show resolved
Hide resolved
src/MudBlazor.Docs/Pages/Components/ColorPicker/Examples/ColorPickerPlaygroundExample.razor
Show resolved
Hide resolved
src/MudBlazor.Docs/Pages/Components/ColorPicker/Examples/ColorPickerPlaygroundExample.razor
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #8826 +/- ##
==========================================
+ Coverage 89.82% 90.12% +0.29%
==========================================
Files 412 421 +9
Lines 11878 12216 +338
Branches 2364 2410 +46
==========================================
+ Hits 10670 11010 +340
+ Misses 681 664 -17
- Partials 527 542 +15 ☔ View full report in Codecov by Sentry. |
jperson2000
left a comment
There was a problem hiding this comment.
The code is so much more intuitive after these renames!
src/MudBlazor.Docs/Pages/Components/ColorPicker/Examples/ColorPickerDialogExample.razor
Outdated
Show resolved
Hide resolved
src/MudBlazor.Docs/Pages/Components/ColorPicker/Examples/ColorPickerInlineExample.razor
Outdated
Show resolved
Hide resolved
src/MudBlazor.Docs/Pages/Components/ColorPicker/Examples/ColorPickerPlaygroundExample.razor
Outdated
Show resolved
Hide resolved
|
Some are ambiguous or hard to tell what it does at a glance. The problem has always been that it's easy for these properties to sound like configuration points (Alpha sounds like you can change the alpha). Some ideas:
|
|
I like |
# Conflicts: # src/MudBlazor/Components/Chart/Models/ChartOptions.cs
|
I decided to keep In ColorPicker I added Show almost everywhere, it feels better that way and is more consistent also: |
|
Ready for merge. |
# Conflicts: # src/MudBlazor/Base/MudComponentBase.cs
|
Added to v7.0.0 Migration Guide #8447 |
Description
Resolves #6131
DisableLegendwithShowLegendand invert valueDisableToolbarwithShowToolbarand invert valueDisableToolbarwithShowToolbarand invert valueToolBarClasswithToolbarClassDisableSidePaddingwithGuttersand invert valueDisableOverlaywithOverlayand invert valueDisableSliderAnimationwithSliderAnimationand invert valueDisableModifierswithModifiersand invert valueMudColorPicker
DisableSliderswithShowSlidersand invert valueDisablePreviewwithShowPreviewand invert valueDisableModeSwitchwithShowModeSwitchand invert valueDisableInputswithShowInputsand invert valueDisableDragEffectwithDragEffectand invert valueDisableColorFieldwithShowColorFieldand invert valueDisableAlphawithShowAlphaand invert valueType of Changes
Checklist
dev).