Skip to content

doc(Readme): update component readme doc#695

Merged
ArgoZhang merged 2 commits intomasterfrom
doc-readme
Nov 13, 2025
Merged

doc(Readme): update component readme doc#695
ArgoZhang merged 2 commits intomasterfrom
doc-readme

Conversation

@ArgoZhang
Copy link
Copy Markdown
Member

@ArgoZhang ArgoZhang commented Nov 13, 2025

Link issues

fixes #694

Summary By Copilot

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Merge the latest code from the main branch

Summary by Sourcery

Revise and modernize the component README: target .NET 6.0, reorganize installation and setup instructions, and update code snippets for imports, layout integration, service registration, and CLI template usage.

Enhancements:

  • Upgrade target framework from .NET Standard 2.1/NET5 to .NET 6.0
  • Restructure installation guide into clear sections for package installation, imports, layout integration, HTML head and script inclusion
  • Update service registration snippet to use Program.cs and consolidate CLI template install/create steps
  • Remove outdated Visual Studio wizard and legacy template instructions

Copilot AI review requested due to automatic review settings November 13, 2025 06:34
@bb-auto bb-auto Bot added the documentation Improvements or additions to documentation label Nov 13, 2025
@bb-auto bb-auto Bot added this to the v9.2.0 milestone Nov 13, 2025
@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Nov 13, 2025

Reviewer's Guide

This PR refactors the component README by updating target framework details, standardizing prerequisites, streamlining installation and usage instructions into cohesive sections, and removing outdated setup guidance.

File-Level Changes

Change Details Files
Bump framework version and update prerequisites
  • Replaced ‘.NET Standard 2.1/NET5’ line with ‘.NET 6.0’
  • Changed Visual Studio 2019 requirement to ‘Visual Studio latest’
  • Adjusted shield badge parameters
src/readme.md
Consolidate and restructure installation guide
  • Merged multiple install sections into a ‘Quick Installation Guide’
  • Added discrete headings: Install Package, Imports, Layout wrapper, Scripts, Program.cs
  • Converted commands into fenced code blocks
src/readme.md
Revise usage example and service registration
  • Moved service registration snippet from Startup.cs to Program.cs
  • Updated Razor sample to use @code block and current component tags
src/readme.md
Remove obsolete Visual Studio integration section
  • Deleted legacy Create New Project Wizard instructions and templates info
src/readme.md

Assessment against linked issues

Issue Objective Addressed Explanation
#694 Update the component readme documentation to add sample code for {Component}.

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@ArgoZhang ArgoZhang merged commit a799357 into master Nov 13, 2025
4 of 6 checks passed
@ArgoZhang ArgoZhang deleted the doc-readme branch November 13, 2025 06:34
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey there - I've reviewed your changes and they look great!

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location> `src/readme.md:28` </location>
<code_context>

 - Install .net core sdk [Official website](https://dotnet.microsoft.com/download)
-- Install Visual Studio 2019 lastest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)
+- Install Visual Studio lastest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)

 ```shell
</code_context>

<issue_to_address>
**issue (typo):** Typo: 'lastest' should be 'latest'.

Update the installation guide to use 'latest' instead of 'lastest'.

```suggestion
- Install Visual Studio latest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread src/readme.md

- Install .net core sdk [Official website](https://dotnet.microsoft.com/download)
- Install Visual Studio 2019 lastest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)
- Install Visual Studio lastest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

issue (typo): Typo: 'lastest' should be 'latest'.

Update the installation guide to use 'latest' instead of 'lastest'.

Suggested change
- Install Visual Studio lastest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)
- Install Visual Studio latest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)

Copy link
Copy Markdown

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

This PR modernizes the component README documentation by updating framework version references, simplifying installation instructions, and restructuring the quick start guide to be more user-friendly.

  • Updates .NET version references from .NET Standard 2.1/NET5 to .NET 6.0
  • Streamlines installation guide with clearer, step-by-step instructions using modern Blazor patterns (Program.cs instead of Startup.cs)
  • Reorganizes content by promoting quick installation guide and removing deprecated Visual Studio integration wizard instructions

Reviewed Changes

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

File Description
src/readme.md Updated documentation with modernized installation instructions, .NET 6.0 version references, and simplified quick start guide
BootstrapBlazor.Extensions.slnx Added docs folder references and removed src/.gitignore from solution structure

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/readme.md

- Install .net core sdk [Official website](https://dotnet.microsoft.com/download)
- Install Visual Studio 2019 lastest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)
- Install Visual Studio lastest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)
Copy link

Copilot AI Nov 13, 2025

Choose a reason for hiding this comment

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

Spelling error: "lastest" should be "latest"

Suggested change
- Install Visual Studio lastest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)
- Install Visual Studio latest [Official website](https://visualstudio.microsoft.com/vs/getting-started/)

Copilot uses AI. Check for mistakes.
Comment thread src/readme.md
{
public class Startup
@code {
private string? _text;
Copy link

Copilot AI Nov 13, 2025

Choose a reason for hiding this comment

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

[nitpick] The comment in the code example includes a nullable reference type annotation (string?), but there's no documentation explaining that this requires nullable reference types to be enabled in the project settings. Consider adding a note about this requirement or removing the ? to avoid confusion for users who may not have nullable reference types enabled.

Suggested change
private string? _text;
private string _text;

Copilot uses AI. Check for mistakes.
Comment on lines +12 to +13
<File Path="README.md" />
<File Path="README.zh-CN.md" />
Copy link

Copilot AI Nov 13, 2025

Choose a reason for hiding this comment

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

The solution file references README.md and README.zh-CN.md in the /docs/ folder, but these files do not appear to exist in the repository. This will cause build or solution loading issues. Please ensure these files are created or remove these references from the solution file.

Suggested change
<File Path="README.md" />
<File Path="README.zh-CN.md" />

Copilot uses AI. Check for mistakes.
Comment thread src/readme.md
```

### Add the following to your HTML head section
it's either **index.html** or **_Layout.cshtml/_Host.cshtml/App.razor** depending on whether you're running WebAssembly or Server
Copy link

Copilot AI Nov 13, 2025

Choose a reason for hiding this comment

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

Grammar issue: The sentence should start with a capital letter. Change "it's either" to "It's either".

Suggested change
it's either **index.html** or **_Layout.cshtml/_Host.cshtml/App.razor** depending on whether you're running WebAssembly or Server
It's either **index.html** or **_Layout.cshtml/_Host.cshtml/App.razor** depending on whether you're running WebAssembly or Server

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc(Readme): update component readme doc

2 participants