-
-
Notifications
You must be signed in to change notification settings - Fork 363
feat(Table): add col-line-no style on Line column #5851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Reviewer's Guide by SourceryThis pull request introduces styling and class updates to the No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this 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 enhances the Table component by introducing a dedicated CSS class for line number columns to support specific styling requirements.
- Added the "col-line-no" class to the LineCellClassString property in Table.razor.cs.
- Updated the class building chain to include alignment classes alongside the new line number styling.
Files not reviewed (1)
- src/BootstrapBlazor/Components/Table/Table.razor.scss: Language not supported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ArgoZhang - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider adding a more descriptive name to the
col-line-noclass to better reflect its purpose.
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
| @@ -1,4 +1,4 @@ | |||
| .table-container { | |||
| .table-container { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick (bug_risk): Possible unintended Byte Order Mark in file.
It appears that an invisible character (likely a BOM) was introduced before .table-container. Confirm that this was intentional and that it doesn’t cause encoding problems in environments that might not expect it.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5851 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 660 660
Lines 30138 30139 +1
Branches 4257 4257
=========================================
+ Hits 30138 30139 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* refactor: 增加行号样式 * refactor: 增加 col-line-no 样式 * refactor: 增加间隙
Link issues
fixes #5850
Summary By Copilot
This pull request introduces styling and class updates to the
Tablecomponent in theBootstrapBlazorlibrary. The changes primarily focus on adding a new class for line number columns and updating related styles.Updates to the
Tablecomponent:Class Addition for Line Number Columns:
col-line-noclass to theLineCellClassStringproperty inTable.razor.csto enable specific styling for line number columns.Styling Adjustments:
.table-containerclass inTable.razor.scss(though the change appears to be a minor text encoding or formatting update)..col-line-noclass within.table-excelto adjust padding for line number cells.Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Add styling for line number columns in the Table component
New Features:
Enhancements: