Fix MudBlazor MUD0002 analyzer warnings for Title attributes #67

Merged
Copilot merged 2 commits from copilot/fix-mudblazor-analyzer-warnings into main 2026-01-19 10:07:32 +00:00
Copilot commented 2026-01-19 09:58:31 +00:00 (Migrated from github.com)

MudBlazor's analyzer flags uppercase Title attributes on MudIconButton components, requiring lowercase title per HTML attribute conventions.

Changes

  • Changed Title → title on 9 MudIconButton components across 3 files:
    • EpisodeList.razor: View/Redownload/Delete action buttons
    • Downloads.razor: Cancel/Retry/Remove queue buttons
    • FeedList.razor: View/Edit/Delete feed buttons
- <MudIconButton Icon="@Icons.Material.Filled.Edit" Title="Edit" />
+ <MudIconButton Icon="@Icons.Material.Filled.Edit" title="Edit" />

This resolves all MUD0002 warnings in the build output.

Original prompt

This section details on the original issue you should resolve

<issue_title>Fix MudBlazor analyzer warnings: Title attribute should be lowercase</issue_title>
<issue_description>## Description
The build produces MudBlazor analyzer warnings (MUD0002) about using Title attribute on MudIconButton components. MudBlazor prefers lowercase title.

Warnings

MUD0002: Illegal Attribute 'Title' on 'MudIconButton' using pattern 'LowerCase'

Affected Files

  • Components/Pages/Episodes/EpisodeList.razor (3 warnings)
  • Components/Pages/Downloads.razor (3 warnings)
  • Components/Pages/Feeds/FeedList.razor (3 warnings)

Fix

Change Title="..." to title="..." on all MudIconButton components:

<!-- Before -->
<MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small"
    OnClick="() => ViewFeed(context.Item)" Title="View Details" />

<!-- After -->
<MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small"
    OnClick="() => ViewFeed(context.Item)" title="View Details" />

Acceptance Criteria

  • All MudIconButton Title attributes changed to lowercase title
  • Build produces no MUD0002 warnings</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

MudBlazor's analyzer flags uppercase `Title` attributes on `MudIconButton` components, requiring lowercase `title` per HTML attribute conventions. ## Changes - Changed `Title` → `title` on 9 `MudIconButton` components across 3 files: - `EpisodeList.razor`: View/Redownload/Delete action buttons - `Downloads.razor`: Cancel/Retry/Remove queue buttons - `FeedList.razor`: View/Edit/Delete feed buttons ```diff - <MudIconButton Icon="@Icons.Material.Filled.Edit" Title="Edit" /> + <MudIconButton Icon="@Icons.Material.Filled.Edit" title="Edit" /> ``` This resolves all MUD0002 warnings in the build output. <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>Fix MudBlazor analyzer warnings: Title attribute should be lowercase</issue_title> > <issue_description>## Description > The build produces MudBlazor analyzer warnings (MUD0002) about using `Title` attribute on `MudIconButton` components. MudBlazor prefers lowercase `title`. > > ## Warnings > ``` > MUD0002: Illegal Attribute 'Title' on 'MudIconButton' using pattern 'LowerCase' > ``` > > ## Affected Files > - `Components/Pages/Episodes/EpisodeList.razor` (3 warnings) > - `Components/Pages/Downloads.razor` (3 warnings) > - `Components/Pages/Feeds/FeedList.razor` (3 warnings) > > ## Fix > Change `Title="..."` to `title="..."` on all MudIconButton components: > > ```razor > <!-- Before --> > <MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small" > OnClick="() => ViewFeed(context.Item)" Title="View Details" /> > > <!-- After --> > <MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small" > OnClick="() => ViewFeed(context.Item)" title="View Details" /> > ``` > > ## Acceptance Criteria > - [ ] All MudIconButton `Title` attributes changed to lowercase `title` > - [ ] Build produces no MUD0002 warnings</issue_description> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > </comments> > </details> <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes joezombie/btb_pod#56 <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
joezombie (Migrated from github.com) approved these changes 2026-01-19 10:07:25 +00:00
copilot-pull-request-reviewer[bot] (Migrated from github.com) reviewed 2026-01-19 10:08:34 +00:00
copilot-pull-request-reviewer[bot] (Migrated from github.com) left a comment

Pull request overview

This PR fixes MudBlazor analyzer warnings (MUD0002) by converting uppercase Title attributes to lowercase title on MudIconButton components, following HTML attribute conventions and MudBlazor's analyzer requirements.

Changes:

  • Changed Title to title on 9 MudIconButton components across 3 Razor files
  • All changes are HTML attribute casing fixes for tooltip text on icon buttons
  • No functional changes to the application

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
FeedList.razor Fixed title attribute casing on View/Edit/Delete feed action buttons
EpisodeList.razor Fixed title attribute casing on View/Redownload/Delete episode action buttons
Downloads.razor Fixed title attribute casing on Cancel/Retry/Remove download queue buttons
## Pull request overview This PR fixes MudBlazor analyzer warnings (MUD0002) by converting uppercase `Title` attributes to lowercase `title` on `MudIconButton` components, following HTML attribute conventions and MudBlazor's analyzer requirements. **Changes:** - Changed `Title` to `title` on 9 `MudIconButton` components across 3 Razor files - All changes are HTML attribute casing fixes for tooltip text on icon buttons - No functional changes to the application ### Reviewed changes Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments. | File | Description | | ---- | ----------- | | FeedList.razor | Fixed `title` attribute casing on View/Edit/Delete feed action buttons | | EpisodeList.razor | Fixed `title` attribute casing on View/Redownload/Delete episode action buttons | | Downloads.razor | Fixed `title` attribute casing on Cancel/Retry/Remove download queue buttons |
Sign in to join this conversation.
No description provided.