Skip to content

doc(Table): remove admin.blazor.zone sample#7425

Merged
ArgoZhang merged 2 commits intomainfrom
feat-table
Dec 26, 2025
Merged

doc(Table): remove admin.blazor.zone sample#7425
ArgoZhang merged 2 commits intomainfrom
feat-table

Conversation

@ArgoZhang
Copy link
Copy Markdown
Member

@ArgoZhang ArgoZhang commented Dec 26, 2025

Link issues

fixes #7424

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

Remove references to the deprecated admin.blazor.zone sample from the documentation pages.

Documentation:

  • Remove the admin.blazor.zone tutorial card from the admin tutorial sample page.
  • Remove the admin site URL link from the introduction documentation page.

Copilot AI review requested due to automatic review settings December 26, 2025 02:49
@bb-auto bb-auto Bot added the documentation Improvements or additions to documentation label Dec 26, 2025
@bb-auto bb-auto Bot added this to the v10.1.0 milestone Dec 26, 2025
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Dec 26, 2025

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Removes references to the deprecated admin.blazor.zone / AdminUrl demo from the tutorials and introduction documentation, keeping only the current AdminPro sample and cleaning up related localized strings and links.

Flow diagram for Introduction and Admin tutorial pages linking to AdminPro demo

flowchart LR
  DocsPage_Introduction[/Introduction_page_docs_introduction_components/]
  TutorialPage_Admin[/Tutorials_page_admin/]
  AdminProDemo["AdminPro_demo_site_(WebsiteOption_AdminProUrl)"]

  DocsPage_Introduction -->|AdminPro_link| AdminProDemo
  TutorialPage_Admin -->|AdminPro_card_link| AdminProDemo
Loading

File-Level Changes

Change Details Files
Remove the Admin MVC & Blazor hybrid demo card from the tutorials Admin sample page.
  • Delete the anchor block that linked to https://admin.blazor.zone from the tutorials Admin page layout
  • Keep the second column layout but leave it empty to no longer advertise the removed demo
src/BootstrapBlazor.Server/Components/Samples/Tutorials/Admin.razor
Stop advertising the legacy AdminUrl site in the introduction docs and rely only on AdminProUrl.
  • Remove the localized paragraph that renders ShowWebSiteTitle1 with a link based on WebsiteOption.Value.AdminUrl
  • Leave the AdminProUrl paragraph and other introduction content unchanged
src/BootstrapBlazor.Server/Components/Pages/Introduction.razor
Clean up localization entries associated with the removed AdminUrl documentation content.
  • Delete or adjust the en-US resource(s) tied to the removed ShowWebSiteTitle1/AdminUrl paragraph
  • Delete or adjust the zh-CN resource(s) tied to the removed ShowWebSiteTitle1/AdminUrl paragraph
src/BootstrapBlazor.Server/Locales/en-US.json
src/BootstrapBlazor.Server/Locales/zh-CN.json

Assessment against linked issues

Issue Objective Addressed Explanation
#7424 Remove the admin.blazor.zone sample (links/references) from the Table-related documentation/demo pages.

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 9481475 into main Dec 26, 2025
7 of 8 checks passed
@ArgoZhang ArgoZhang deleted the feat-table branch December 26, 2025 02:49
Copy link
Copy Markdown
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 - I've found 1 issue, and left some high level feedback:

  • In Tutorials/Admin.razor, the second .col-12 col-sm-6 column is now empty; consider removing the column or adjusting the layout to avoid rendering unnecessary empty grid elements.
  • Since the ShowWebSiteTitle1-related content was removed from Introduction.razor, check whether the corresponding localization keys are now unused and can be pruned from the locale JSON files to avoid dead strings.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- In `Tutorials/Admin.razor`, the second `.col-12 col-sm-6` column is now empty; consider removing the column or adjusting the layout to avoid rendering unnecessary empty grid elements.
- Since the `ShowWebSiteTitle1`-related content was removed from `Introduction.razor`, check whether the corresponding localization keys are now unused and can be pruned from the locale JSON files to avoid dead strings.

## Individual Comments

### Comment 1
<location> `src/BootstrapBlazor.Server/Components/Samples/Tutorials/Admin.razor:17-16` </location>
<code_context>
         </a>
     </div>
     <div class="col-12 col-sm-6">
-        <a href="https://admin.blazor.zone" target="_blank">
-            <div class="card">
-                <div class="card-header">MVC & Blazor 混合实现</div>
-                <div class="card-body">
-                    <img src="@WebsiteOption.Value.GetAssetUrl("images/tutorials/admin.jpg")" class="w-100" />
-                </div>
-            </div>
-        </a>
</code_context>

<issue_to_address>
**suggestion:** Avoid rendering an empty grid column to prevent awkward layout gaps.

With the inner card/link removed, this column now renders empty on larger screens, leaving an awkward gap. Consider removing this column or updating the grid so the remaining content spans the full width instead of leaving an empty cell.
</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.

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

This PR removes references to the admin.blazor.zone sample site (the mixed MVC & Blazor version) from the documentation and demo pages, keeping only the pure Blazor version reference (pro.blazor.zone).

Key Changes

  • Removed "ShowWebSiteTitle1" localization entries for the mixed version demo site
  • Removed the admin.blazor.zone card display from the Admin tutorial page
  • Removed the admin.blazor.zone link from the Introduction page

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/BootstrapBlazor.Server/Locales/zh-CN.json Removed Chinese localization entry for "ShowWebSiteTitle1"
src/BootstrapBlazor.Server/Locales/en-US.json Removed English localization entry for "ShowWebSiteTitle1"
src/BootstrapBlazor.Server/Components/Samples/Tutorials/Admin.razor Removed the card section displaying the admin.blazor.zone mixed version demo
src/BootstrapBlazor.Server/Components/Pages/Introduction.razor Removed the paragraph linking to admin.blazor.zone
src/BootstrapBlazor.Server/wwwroot/images/tutorials/admin.jpg Image file deleted (no longer referenced)

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

Comment on lines 17 to 18
<div class="col-12 col-sm-6">
<a href="https://admin.blazor.zone" target="_blank">
<div class="card">
<div class="card-header">MVC & Blazor 混合实现</div>
<div class="card-body">
<img src="@WebsiteOption.Value.GetAssetUrl("images/tutorials/admin.jpg")" class="w-100" />
</div>
</div>
</a>
</div>
Copy link

Copilot AI Dec 26, 2025

Choose a reason for hiding this comment

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

The empty column div serves no purpose after removing the admin.blazor.zone card. Consider removing this empty column div to maintain cleaner markup, or add content to balance the layout.

Copilot uses AI. Check for mistakes.
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 26, 2025

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #7425   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          748       748           
  Lines        32798     32798           
  Branches      4551      4551           
=========================================
  Hits         32798     32798           
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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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(Table): remove admin.blazor.zone sample

2 participants