MudBlazor / MudBlazor

Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
http://mudblazor.com
MIT License
7.21k stars 1.18k forks source link

Docs: MudBadge/MudBreadcrumbs/MudButton: Added XML Documentation for Public Members #8776

Closed jperson2000 closed 3 weeks ago

jperson2000 commented 3 weeks ago

Description

This update adds XML documentation for the following components and classes, for all public members:

How Has This Been Tested?

This was tested by observing the XML documentation for examples, like this:

MudBadge

image image image

MudBreadcrumbs

image image image

MudBreakpointProvider

image

MudButton

image image image image

MudFab

image image

MudIconButton

image image

Type of Changes

Checklist

jperson2000 commented 3 weeks ago

Ready to review @danielchalmers @henon @ScarletKuro @mckaragoz when you get time. I'm curious what kind of XML documentation you think works best for constructors? Thanks!

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 95.83333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 90.11%. Comparing base (28bc599) to head (2060fa3). Report is 112 commits behind head on dev.

Files Patch % Lines
src/MudBlazor/Components/Button/MudButton.razor.cs 94.11% 0 Missing and 1 partial :warning:
src/MudBlazor/Components/Button/MudFab.razor.cs 87.50% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #8776 +/- ## ========================================== + Coverage 89.82% 90.11% +0.28% ========================================== Files 412 421 +9 Lines 11878 12206 +328 Branches 2364 2407 +43 ========================================== + Hits 10670 10999 +329 + Misses 681 664 -17 - Partials 527 543 +16 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

danielchalmers commented 3 weeks ago

Dunno if the code file is necessary, it's done in one file in Grid at least:

Pretty subjective though

jperson2000 commented 3 weeks ago

Dunno if the code file is necessary, it's done in one file in Grid at least:

Pretty subjective though

Thanks, Daniel! Having the codebehind helps me add XML docs for the class itself, but I can revert if needed. I think @henon preferred the codebehind files.

henon commented 3 weeks ago

Thanks Jon!