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
Focus on function in call tree #566
Conversation
8788f03
to
d161a94
Compare
Codecov Report
@@ Coverage Diff @@
## master #566 +/- ##
==========================================
+ Coverage 57% 58.29% +1.29%
==========================================
Files 131 131
Lines 7026 7076 +50
Branches 1529 1544 +15
==========================================
+ Hits 4005 4125 +120
+ Misses 2631 2573 -58
+ Partials 390 378 -12
Continue to review full report at Codecov.
|
@@ -197,6 +201,14 @@ class ProfileCallTreeContextMenu extends PureComponent { | |||
<MenuItem onClick={this.handleClick} data={{ type: 'focus-subtree' }}> | |||
Focus on subtree | |||
</MenuItem> | |||
{inverted |
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 think you could have this menu item visible in all modes. Xcode calls this "Focus on calls made by <function>", so it's clear in which direction you're going regardless of the current view mode.
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.
Looks good!
d161a94
to
be979a0
Compare
I held off on attempting to do the inverted version of this, as I wasn't sure if it was needed or made sense. Plus it's a smaller PR which is always nicer.