Skip to content

[MCP] Improve [Parameter] XML doc comments — Group D: Layout Containers#4823

Open
AClerbois wants to merge 8 commits into
microsoft:dev-v5from
AClerbois:users/aclerbois/dev-v5/fix-mcp-docs-group-d
Open

[MCP] Improve [Parameter] XML doc comments — Group D: Layout Containers#4823
AClerbois wants to merge 8 commits into
microsoft:dev-v5from
AClerbois:users/aclerbois/dev-v5/fix-mcp-docs-group-d

Conversation

@AClerbois
Copy link
Copy Markdown
Collaborator

Summary

Improves XML doc comments on [Parameter] properties in layout container components so the MCP server serves accurate descriptions to AI models.

Components

Component Key Fixes
FluentTabs ActiveTabId/ActiveTab double "the" + missing cross-refs between the two
FluentWizard Missing "Gets or sets" x3, Label/Summary missing usage examples
FluentAccordion Owner wrong type name, Header malformed XML
FluentSplitter Collapsed/Collapsible/Resizable broken grammar, Min/Max nonsensical descriptions

Part of

Part of #4777

Copilot AI review requested due to automatic review settings May 5, 2026 19:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Improves XML doc comments on [Parameter] properties across several layout container components so the MCP server surfaces clearer, more accurate descriptions to AI consumers.

Changes:

  • Refines wizard step docs (deferred loading, label/summary descriptions, and per-step numbering docs).
  • Clarifies tabs selection parameters (ActiveTabId / ActiveTab) and adds cross-references + binding hints.
  • Fixes/rewrites accordion and splitter pane parameter docs to correct malformed or misleading descriptions.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/Core/Components/Wizard/FluentWizardStep.razor.cs Updates step parameter docs for deferred loading and indicator text (Label/Summary).
src/Core/Components/Wizard/FluentWizard.razor.cs Clarifies Border and DisplayStepNumber parameter documentation.
src/Core/Components/Tabs/FluentTabs.razor.cs Improves Appearance, ActiveTabId, and ActiveTab docs with examples and cross-refs.
src/Core/Components/Splitter/FluentMultiSplitterPane.razor.cs Rewrites collapsed/collapsible/resizable and sizing constraint docs.
src/Core/Components/Accordion/FluentAccordionItem.razor.cs Fixes owning type reference and malformed XML; improves Header and Block docs.
src/Core/Components/Accordion/FluentAccordion.razor.cs Aligns Block parameter docs with intended behavior.


/// <summary>
/// Gets or sets the owning FluentTreeView.
/// Gets or sets the parent <see cref="FluentAccordion"/> that owns this item.

/// <summary>
/// Gets or sets the width of the focus state
/// Gets or sets whether this accordion item expands to fill the full available width (block-level display).

/// <summary>
/// Gets or sets the width of the focus state
/// Gets or sets whether accordion items expand to fill the full available width (block-level display).
Comment on lines +57 to 66
/// Gets or sets the maximum size of the pane as a CSS value (e.g., <c>Max="80%"</c>).
/// </summary>
[Parameter]
public string Max { get; set; } = string.Empty;

/// <summary>
/// Determines the minimum collapsed.
/// Gets or sets the minimum size of the pane as a CSS value (e.g., <c>Min="100px"</c>).
/// </summary>
[Parameter]
public string Min { get; set; } = string.Empty;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants