Skip to content

MudFileUpload: Update summary for MaximumFileCount to better convey its intention (#7227)#7447

Merged
Mr-Technician merged 2 commits intoMudBlazor:devfrom
vorsprungdev:fix/update-mudfileupload-maximumfilecount-summary
Aug 31, 2023
Merged

MudFileUpload: Update summary for MaximumFileCount to better convey its intention (#7227)#7447
Mr-Technician merged 2 commits intoMudBlazor:devfrom
vorsprungdev:fix/update-mudfileupload-maximumfilecount-summary

Conversation

@vorsprungdev
Copy link
Contributor

@vorsprungdev vorsprungdev commented Aug 30, 2023

Description

Updates the summary for MaximumFileCount in the MudFileUpload component. The new summary better conveys the intention of the property when AppendMultipleFiles="true", which is that it only limits the number of files that can be selected in a file dialog instance, and does not limit the total number of files that may be uploaded by the component.

Resolves #7227

How Has This Been Tested?

Commit was tested by building and running MudBlazor.Docs.Server and confirming that the changes made are visible in the API docs for MudFileUpload. No new unit tests have been created.

Types 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)

Checklist:

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

MudFileUpload: Updated summary for MaximumFileCount to better convey its behaviour when AppendMultipleFiles="true" (MudBlazor#7227)
@github-actions github-actions bot added bug Unexpected behavior or functionality not working as intended PR: needs review labels Aug 30, 2023
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.01% 🎉

Comparison is base (0b138e4) 90.59% compared to head (5e13ff5) 90.61%.
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #7447      +/-   ##
==========================================
+ Coverage   90.59%   90.61%   +0.01%     
==========================================
  Files         427      427              
  Lines       15202    15199       -3     
==========================================
  Hits        13773    13773              
+ Misses       1429     1426       -3     
Files Changed Coverage Δ
...lazor/Components/FileUpload/MudFileUpload.razor.cs 97.14% <ø> (ø)
src/MudBlazor/Services/Popover/PopoverService.cs 97.00% <ø> (+0.88%) ⬆️

... and 1 file with indirect coverage changes

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

@vorsprungdev
Copy link
Contributor Author

@Mr-Technician requesting a review for this pull request, thank you. Please let me know if there are any changes that need to be made, and apologies if there is anything incorrect in the pull request, this is the first one that I have made.

@Mr-Technician Mr-Technician self-requested a review August 30, 2023 23:43
@Mr-Technician
Copy link
Member

@vorsprungdev I tweaked the wording slightly.

@ScarletKuro
Copy link
Member

@Mr-Technician this can be merged?

@Mr-Technician
Copy link
Member

@Mr-Technician this can be merged?

Yes, I was giving him a chance to comment if he wanted to.

@Mr-Technician Mr-Technician merged commit 06570f4 into MudBlazor:dev Aug 31, 2023
ilovepilav pushed a commit to ilovepilav/MudBlazor that referenced this pull request Nov 25, 2023
…intention (MudBlazor#7227) (MudBlazor#7447)

* Update MudFileUpload.razor.cs

MudFileUpload: Updated summary for MaximumFileCount to better convey its behaviour when AppendMultipleFiles="true" (MudBlazor#7227)

* Update MudFileUpload.razor.cs

---------

Co-authored-by: Riley Nielsen <[email protected]>
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.

FileUpload: Reconsider behavior of MaximumFileCount when AppendMultipleFiles="true"

3 participants