Skip to content

Conversation

@ArgoZhang
Copy link
Member

@ArgoZhang ArgoZhang commented Oct 25, 2025

Link issues

fixes #7004

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

Revamp the Install documentation to offer a streamlined, localized step-by-step guide with code samples and tabs for different .NET versions, and clean up obsolete pages, components, assets, and menu items

Enhancements:

  • Restructure the Install page into a unified, step-by-step localized guide with code-labels and tabbed snippets for different .NET targets

Documentation:

  • Remove outdated Git/NuGet/env build sections from the Install documentation and delete deprecated install subpages and related assets

Chores:

  • Cleanup navigation menu by removing individual install variant entries (webapp, server, wasm, maui)

Copilot AI review requested due to automatic review settings October 25, 2025 13:38
@bb-auto bb-auto bot added the documentation Improvements or additions to documentation label Oct 25, 2025
@bb-auto bb-auto bot added this to the 9.11.0 milestone Oct 25, 2025
@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Oct 25, 2025

Reviewer's Guide

This PR completely revamps the Install documentation by replacing the old Git-and-NuGet workflow with a localized, step-by-step guide, removes outdated install component files and assets, and cleans up redundant install menu entries.

Entity relationship diagram for removed install menu entries

erDiagram
    DemoMenuItem {
      string Text
      string Url
      NavLinkMatch Match
    }
    InstallMenuEntries {
      string Text
      string Url
      NavLinkMatch Match
    }
    DemoMenuItem ||--o| InstallMenuEntries : contains
    %% The following entries were removed from InstallMenuEntries:
    %% - WebAppBlazor (install-webapp)
    %% - ServerBlazor (install-server)
    %% - ClientBlazor (install-wasm)
    %% - MauiBlazor (install-maui)
    %% InstallMenuEntries now only contains 'Breakpoints' and 'GlobalOption'
Loading

Class diagram for removed Install component files

classDiagram
    class InstallContent {
    }
    class InstallContentRazorCs {
    }
    class Coms {
    }
    class ComsRazorCs {
    }
    class Install_Maui {
    }
    class Install_Server {
    }
    class Install_WebApp {
    }
    class Install_wasm {
    }
    InstallContent --|> InstallContentRazorCs
    Coms --|> ComsRazorCs
    %% All above classes/components were removed in this PR
Loading

Class diagram for updated Install.razor page

classDiagram
    class Install {
        - IStringLocalizer<Install> Localizer
        - IOptions<WebsiteOptions> WebsiteOption
        + Step-by-step install instructions (localized)
        + Tabbed code samples for different .NET versions
        + No longer injects PackageVersionService
        - private string Version
        - protected override async Task OnInitializedAsync()
    }
Loading

File-Level Changes

Change Details Files
Revamp Install.razor into a localized step-by-step guide
  • Removed legacy Git, NuGet, and environment setup sections
  • Introduced code-labelled Template/Manual and Steps 1–7 with localizer strings
  • Added Tab components for CSS/JS inclusion variations
src/BootstrapBlazor.Server/Components/Pages/Install.razor
Remove obsolete install component files and assets
  • Deleted standalone InstallContent and Coms component files
  • Removed individual install page variants (WebApp/Server/wasm/Maui)
  • Removed unused tortoisegit.svg asset
src/BootstrapBlazor.Server/Components/Components/InstallContent.razor
src/BootstrapBlazor.Server/Components/Components/InstallContent.razor.cs
src/BootstrapBlazor.Server/Components/Pages/Coms.razor
src/BootstrapBlazor.Server/Components/Pages/Coms.razor.cs
src/BootstrapBlazor.Server/Components/Pages/Coms.razor.css
src/BootstrapBlazor.Server/Components/Pages/Install_Maui.razor
src/BootstrapBlazor.Server/Components/Pages/Install_Server.razor
src/BootstrapBlazor.Server/Components/Pages/Install_WebApp.razor
src/BootstrapBlazor.Server/Components/Pages/Install_wasm.razor
src/BootstrapBlazor.Server/wwwroot/images/tortoisegit.svg
Clean up install menu entries
  • Removed menu items for WebApp, ServerBlazor, ClientBlazor, and MauiBlazor installations
src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs

Assessment against linked issues

Issue Objective Addressed Explanation
#7004 Update the Install documentation to provide sample code for installing and using the {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

sourcery-ai[bot]
sourcery-ai bot previously approved these changes Oct 25, 2025
Copy link
Contributor

@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 - here's some feedback:

  • Double-check that the step labels are correctly numbered and localized—there’s a duplicate “Step4” and no “Step5” in the new sequence.
  • Verify that the @@ escaping in your Pre blocks renders the intended asset URLs correctly and doesn’t introduce Razor parsing issues.
  • Make sure removing the per-platform install pages and their menu entries doesn’t break existing routes or leave dangling navigation links.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Double-check that the step labels are correctly numbered and localized—there’s a duplicate “Step4” and no “Step5” in the new sequence.
- Verify that the `@@` escaping in your Pre blocks renders the intended asset URLs correctly and doesn’t introduce Razor parsing issues.
- Make sure removing the per-platform install pages and their menu entries doesn’t break existing routes or leave dangling navigation links.

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.

Copy link
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

This PR updates the installation documentation for BootstrapBlazor. The changes consolidate multiple platform-specific installation guides into a single, streamlined installation page with simplified instructions and better organization.

Key Changes:

  • Replaced multiple platform-specific installation pages (Server, WebAssembly, MAUI) with a unified installation guide
  • Simplified the installation steps with clearer, more concise instructions
  • Removed obsolete localization entries and navigation menu items for removed pages

Reviewed Changes

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

Show a summary per file
File Description
zh-CN.json Updated Chinese localization entries for the new unified installation documentation
en-US.json Updated English localization entries for the new unified installation documentation
MenusLocalizerExtensions.cs Removed navigation menu entries for deleted platform-specific installation pages
Install_wasm.razor Deleted WebAssembly-specific installation page
Install_WebApp.razor Deleted Web App installation page
Install_Server.razor Deleted Server-specific installation page
Install_Maui.razor Deleted MAUI-specific installation page
Install.razor Replaced with new unified installation guide with tabbed content for different .NET versions
Coms.razor.css Deleted unused component styles
Coms.razor.cs Deleted unused component code-behind
Coms.razor Deleted unused component file containing SVG/image references
InstallContent.razor.cs Deleted shared installation content component code-behind
InstallContent.razor Deleted shared installation content component markup

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

@codecov
Copy link

codecov bot commented Oct 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (daa5d79) to head (76de5c5).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #7005   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          741       741           
  Lines        32397     32397           
  Branches      4485      4485           
=========================================
  Hits         32397     32397           
Flag Coverage Δ
BB 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ArgoZhang ArgoZhang merged commit 61175b0 into main Oct 25, 2025
2 of 4 checks passed
@ArgoZhang ArgoZhang deleted the doc-install branch October 25, 2025 13:43
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(Install): upate Install documentation

2 participants