-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix: Dataviews remove primary field concept from some classes. #67689
Fix: Dataviews remove primary field concept from some classes. #67689
Conversation
Size Change: -14 B (0%) Total Size: 1.83 MB
ℹ️ View Unchanged
|
@@ -86,7 +86,7 @@ function GridItem< Item >( { | |||
item, |
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.
What about the name of the variable here clickablePrimaryItemProps
.
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.
Good catch, it was updated 👍
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
I wouldn't say we removed the "primary" concept entirely, we still have a "primary column" for instance in the table view but yeah this PR is good. |
9e074df
to
750d5fc
Compare
750d5fc
to
3123d8a
Compare
…ress#67689) Co-authored-by: jorgefilipecosta <[email protected]> Co-authored-by: youknowriad <[email protected]>
On #67477 we removed the concept of primary field, but we missed the update on some CSS classes, in order to consistent with the prop/API name. This PR updates the missing classes I found.
Testing Instructions
Verified the dataviews layouts still look the same.