feat: Table Column Groups Table#4482
Conversation
40c20ee to
84451af
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4482 +/- ##
==========================================
+ Coverage 97.43% 97.48% +0.05%
==========================================
Files 941 945 +4
Lines 29725 30127 +402
Branches 10804 10975 +171
==========================================
+ Hits 28962 29370 +408
+ Misses 716 710 -6
Partials 47 47 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
84451af to
e9f4fd0
Compare
d6a98cb to
5cec8c8
Compare
8da3b07 to
227f21b
Compare
… isLastChildOfGroup prop
…/rowspan handling
…er, remove inline colgroup from sticky heder
…backwards compatibility
…lization" This reverts commit 9bdb50b.
| const resizerBtn = splitGroupCell.find('button'); | ||
| if (resizerBtn) { | ||
| resizerBtn.fireEvent(new PointerEvent('pointerdown', { pointerType: 'mouse', button: 0, bubbles: true })); | ||
| document.body.dispatchEvent(new PointerEvent('pointerup', { pointerType: 'mouse', bubbles: true })); |
There was a problem hiding this comment.
why is there no assertion for these actions?
| * which makes colspan headers automatically span the correct width. | ||
| * Must be rendered inside ColumnWidthsProvider. | ||
| */ | ||
| export function TableColGroup({ |
There was a problem hiding this comment.
why do we define this component inside use-column-widths.tsx?
There was a problem hiding this comment.
It's existence is purely for width purpose mainly. Not sure where to put it, it was initially somewhere else. Moved it here for the sake of keeping it closer to why it's needed. I considered creating a separate file for it,but it's a very small component. I'm open to suggestions,
Description
Add Table Column Grouping Feature support for Table Component.
Related links, issue AWSUI-9594, if available: n/a
How has this been tested?
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md.CONTRIBUTING.md.Security
checkSafeUrlfunction.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.