Conversation
Contributor
|
🧙 Sourcery has finished reviewing your pull request! Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
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
TablesSelectionScrollDescriptionin zh-CN to documentScrollIntoViewBehaviorand its default (Smooth). - Update
TablesSelectionScrollDescriptionin en-US to documentScrollIntoViewBehaviorand 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>", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link issues
fixes #7957
Summary By Copilot
Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Document the Table ScrollIntoViewBehavior parameter in localized resources.
Documentation: