-
Notifications
You must be signed in to change notification settings - Fork 29
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
Improve naming in experiment row context menu component #3346
Conversation
@@ -175,7 +175,7 @@ const getSingleSelectMenuOptions = ( | |||
|
|||
const notExperiment = depth !== 1 | |||
|
|||
const withId = ( | |||
const notRunningWithId = ( |
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 have now been caught out by this POS a few times. It silently added || hasRunningExperiment
to the hidden options which leads to plenty of head scratching. Name is updated to reflect what it is actually doing.
'Share to Studio', | ||
MessageFromWebviewType.SHARE_EXPERIMENT_TO_STUDIO, | ||
notExperiment || hasRunningExperiment, | ||
notExperiment, |
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.
[F] Should be no behaviour change here.
5b2de94
to
ae65ab8
Compare
ae65ab8
to
461bf31
Compare
Code Climate has analyzed commit 461bf31 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (85% is the threshold). This pull request will bring the total coverage in the repository to 96.0%. View more on Code Climate. |
Comments inline