Skip to content

[MCP] Improve [Parameter] XML doc comments — Group C: Data Display#4822

Open
AClerbois wants to merge 10 commits intomicrosoft:dev-v5from
AClerbois:users/aclerbois/dev-v5/fix-mcp-docs-group-c
Open

[MCP] Improve [Parameter] XML doc comments — Group C: Data Display#4822
AClerbois wants to merge 10 commits intomicrosoft:dev-v5from
AClerbois:users/aclerbois/dev-v5/fix-mcp-docs-group-c

Conversation

@AClerbois
Copy link
Copy Markdown
Collaborator

Summary

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

Components

Component Key Fixes
FluentDataGrid 8 fixes: typos, missing "Gets or sets" prefixes, missing cross-refs
FluentList / FluentAutocomplete "binded" → "bound", ShowDismiss ambiguous
FluentTreeView HideSelection double-negative, selection props missing cross-refs
FluentPaginator Disabled imperative style → declarative
FluentOverflow VisibleOnLoad imperative style, UseTooltipService grammar

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 for [Parameter] properties across data display-related components to provide clearer, more accurate descriptions for MCP/IntelliSense consumers.

Changes:

  • Clarifies TreeView selection-related parameter docs and adds cross-references between related parameters.
  • Rewrites/normalizes several parameter summaries to “Gets or sets …” phrasing and corrects grammar/typos.
  • Improves parameter descriptions for Overflow, Paginator, Autocomplete/List, and DataGrid/Column docs.

Reviewed changes

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

Show a summary per file
File Description
src/Core/Components/TreeView/FluentTreeView.razor.cs Clarifies selection parameters and adds “See also” cross-references between related selection properties.
src/Core/Components/Pagination/FluentPaginator.razor.cs Normalizes Disabled parameter summary to declarative “Gets or sets …” phrasing.
src/Core/Components/Overflow/FluentOverflow.razor.cs Clarifies VisibleOnLoad behavior/default and improves UseTooltipService summary grammar.
src/Core/Components/List/FluentListBase.razor.cs Fixes “binded” → “bound” typo in parameter documentation.
src/Core/Components/List/FluentAutocomplete.razor.cs Disambiguates ShowDismiss behavior between dismiss button vs search icon.
src/Core/Components/DataGrid/FluentDataGrid.razor.cs Fixes typo “rid” → “grid” in data callback summary.
src/Core/Components/DataGrid/Columns/ColumnBase.razor.cs Improves multiple column parameter docs with clearer wording, examples, and cross-refs.

Comment on lines +87 to +88
/// See also <see cref="SelectedItem"/> (returns the <see cref="ITreeViewItem"/> data model)
/// and <see cref="CurrentSelected"/> (returns the <see cref="FluentTreeItem"/> component instance).
Comment on lines +100 to +102
/// Gets or sets the selected <see cref="FluentTreeItem"/> component instance.
/// See also <see cref="SelectedId"/> (returns the item id string)
/// and <see cref="SelectedItem"/> (returns the <see cref="ITreeViewItem"/> data model).
Comment on lines +114 to +116
/// Gets or sets the selected <see cref="ITreeViewItem"/> data model item.
/// See also <see cref="SelectedId"/> (returns the item id string)
/// and <see cref="CurrentSelected"/> (returns the <see cref="FluentTreeItem"/> component instance).

/// <summary>
/// If true, generates a title and aria-label attribute for the cell contents
/// Gets or sets whether each cell in this column renders a <c>title</c> and <c>aria-label</c> attribute
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