Skip to content

doc(Table): add ScrollIntoViewBehavior parameter doc#7958

Merged
ArgoZhang merged 1 commit into
mainfrom
doc-table
May 7, 2026
Merged

doc(Table): add ScrollIntoViewBehavior parameter doc#7958
ArgoZhang merged 1 commit into
mainfrom
doc-table

Conversation

@ArgoZhang
Copy link
Copy Markdown
Member

@ArgoZhang ArgoZhang commented May 7, 2026

Link issues

fixes #7957

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

Document the Table ScrollIntoViewBehavior parameter in localized resources.

Documentation:

  • Add English documentation strings describing the Table ScrollIntoViewBehavior parameter.
  • Add Chinese documentation strings describing the Table ScrollIntoViewBehavior parameter.

@bb-auto bb-auto Bot added the documentation Improvements or additions to documentation label May 7, 2026
@bb-auto bb-auto Bot added this to the v10.6.0 milestone May 7, 2026
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented May 7, 2026

🧙 Sourcery has finished reviewing your pull request!


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 1116246 into main May 7, 2026
2 of 4 checks passed
@ArgoZhang ArgoZhang deleted the doc-table branch May 7, 2026 05:13
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 reviewed your changes and they look great!


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.

Copilot AI review requested due to automatic review settings May 7, 2026 06:29
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 updates the localized demo documentation strings for the Table “selection + auto scroll into view” example to mention the ScrollIntoViewBehavior parameter (fixes #7957).

Changes:

  • Update TablesSelectionScrollDescription in zh-CN to document ScrollIntoViewBehavior and its default (Smooth).
  • Update TablesSelectionScrollDescription in en-US to document ScrollIntoViewBehavior and its default (Smooth).

Reviewed changes

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

File Description
src/BootstrapBlazor.Server/Locales/zh-CN.json Extends the Table selection scroll description to include ScrollIntoViewBehavior (default Smooth).
src/BootstrapBlazor.Server/Locales/en-US.json Extends the Table selection scroll description to include ScrollIntoViewBehavior (default Smooth).

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

"TablesSelectionNormalTitle": "Set row selection function",
"TablesSelectionScrollButtonText": "Select Last Row",
"TablesSelectionScrollDescription": "After clicking the button, select the last row and automatically scroll the selected row to the visible area of the window. This code is an example, and this function can be enabled by setting <code>AutoScrollLastSelectedRowToView=\"true\"</code>, Set the alignment via the <code>AutoScrollVerticalAlign</code> parameter",
"TablesSelectionScrollDescription": "After clicking the button, select the last row and automatically scroll the selected row to the visible area of the window. This code is an example, and this function can be enabled by setting <code>AutoScrollLastSelectedRowToView=\"true\"</code>, Set the alignment via the <code>AutoScrollVerticalAlign</code> parameter, Set the scroll behavior via the <code>ScrollIntoViewBehavior</code> parameter, default is <code>Smooth</code>",
"TablesSelectionNormalTitle": "设置选中行功能",
"TablesSelectionScrollButtonText": "选中最后一行",
"TablesSelectionScrollDescription": "点击按钮后选中最后一行,并且将选中行自动滚动到视窗可见区域内,本代码为示例,本功能可通过设置 <code>AutoScrollLastSelectedRowToView=\"true\"</code> 开启,通过 <code>AutoScrollVerticalAlign</code> 参数设置对齐方式",
"TablesSelectionScrollDescription": "点击按钮后选中最后一行,并且将选中行自动滚动到视窗可见区域内,本代码为示例,本功能可通过设置 <code>AutoScrollLastSelectedRowToView=\"true\"</code> 开启,通过 <code>AutoScrollVerticalAlign</code> 参数设置对齐方式,通过 <code>ScrollIntoViewBehavior</code> 参数设置滚动行为默认为 <code>Smooth</code>",
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): add ScrollIntoViewBehavior parameter doc

2 participants