Repository navigation
DataViews: Remove table row click-to-select and hover styles #73873
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3406cec
Remove row-click behavior in DataViews table layout
jameskoster 7d18236
Update changelog.
jameskoster 5cf72da
Primary action visibility
jameskoster 6079e15
Restore ctrl/cmd click selection
jameskoster 91feed8
Changelog
jameskoster 821a446
Update tests
jameskoster f82a982
remove redundant selector
jameskoster 8e0e887
Ensure actions are visible when hovering a table row
jameskoster aca1da1
Use var to ensure background color is applied
jameskoster 405725c
Actions column bg in selected rows
jameskoster b04bdbc
Merge branch 'trunk' into update/dataviews-table-row-click
jameskoster 3dfb9aa
Update test for grid layout
jameskoster a93db3f
Merge branch 'trunk' into update/dataviews-table-row-click
jameskoster d3f9bc4
Grid tests
jameskoster File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
If we remove these hovered background styles we can end up with this:

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.
There seems to be a similar issue on trunk with unhovered rows:
But yes I see it's also broken on hover on this PR. I guess it's related to the more general background changes we made, I'll work on a fix.
Uh oh!
There was an error while loading. Please reload this page.
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.
I fixed the hover state:
But I couldn't find a great solution for the issue on trunk. I think that one probably needs a dedicated PR. I'll open an issue.
Edit: I checked how this works in 6.9 and noticed the column just has a background color:
This was my 'not great' solution 😅 So I guess it's fine to patch it this way for now, and explore a better fix separately.