-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
feature: click row to view record #2825
Conversation
Code Climate has analyzed commit 3a090c2 and detected 0 issues on this pull request. View more on Code Climate. |
export default class extends Controller { | ||
visitRecord(event) { | ||
if (event.type === 'click') { | ||
const isLinkOrButton = event.target.closest('a, button, svg') |
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.
We need to see how the support is for svg
s that need to be clicked (status field x icon).
…to feature/make-row-clickable
This PR has been merged into Please check the release guide for more information. |
Description
Adds the ability to enable clickable rows on Avo's tables.
TO-DO
Checklist:
Screenshots & recording
CleanShot.2024-05-31.at.18.04.19.mp4
Manual review steps
click_row_to_view_record
in the initializerManual reviewer: please leave a comment with output from the test if that's the case.