-
Notifications
You must be signed in to change notification settings - Fork 129
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
Rename Table's initialSortedRow to initialSortedColumn #2491
Rename Table's initialSortedRow to initialSortedColumn #2491
Conversation
🦋 Changeset detectedLatest commit: 577f712 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2491 +/- ##
=======================================
Coverage 87.68% 87.69%
=======================================
Files 198 198
Lines 21209 21221 +12
Branches 1281 1285 +4
=======================================
+ Hits 18597 18609 +12
Misses 2560 2560
Partials 52 52
|
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.
🧹🎉
Discovered during the implementation of other table-related functionalities: The language/variables sometimes confuse row for column, which... well, it's confusing. Let's fix that.
I went for a straightforward change (instead of a deprecation) in the TableHead component. While it is exposed, none of the internal projects seem to use it and our Storybook also does not showcase it as a 'proper' component.
For the Table itself, the
initialSortedRow
prop is now deprecated in lieu ofinitialSortedColumn
Definition of done