-
Notifications
You must be signed in to change notification settings - Fork 478
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
UI – Add on-hover shadow and on row click functionality to script list items #25995
UI – Add on-hover shadow and on row click functionality to script list items #25995
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #25995 +/- ##
=======================================
Coverage 63.65% 63.65%
=======================================
Files 1631 1631
Lines 156250 156256 +6
Branches 4027 4027
=======================================
+ Hits 99454 99459 +5
- Misses 48958 48959 +1
Partials 7838 7838
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
b0acbe3
to
5603d92
Compare
5603d92
to
035f9bb
Compare
@@ -80,15 +80,16 @@ const ScriptListItem = ({ | |||
|
|||
const { graphicName, platform } = getFileRenderDetails(script.name); | |||
|
|||
const onClickEdit = (evt: React.MouseEvent | React.KeyboardEvent) => { | |||
evt.stopPropagation(); |
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.
Ensures that clicking the edit icon opens the edit script modal instead of script details modal, while preserving the latter functionality when clicking anywhere else in the script list 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.
Same for other 2 action handlers
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.
nice tests on this file
@@ -119,6 +119,7 @@ const ProfileListItem = ({ | |||
}; | |||
|
|||
return ( | |||
// TODO - refactor to use ListItem |
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.
Id agree. would be good to do this at some point.
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.
tested 👍
For #24341