-
Notifications
You must be signed in to change notification settings - Fork 217
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: Flamegraph tooltip improvements #2600
Conversation
@@ -50,3 +50,11 @@ export const truncateString = (str: string, num: number): string => { | |||
|
|||
return str.slice(0, num) + '...'; | |||
}; | |||
|
|||
export const truncateStringReverse = (str: string, num: number): string => { |
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 this is a good example of something that could live in the @parca/utils package once that is in place :) cc @yomete
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.
will look out for it!
Yes, I had the concern as well. Should we try listing all fields everywhere and mark that there's @brancz Let me know what do you think as well. |
I think this is a good idea. |
… into flamegraph-tooltip-improvements
… into flamegraph-tooltip-improvements
No description provided.