-
Notifications
You must be signed in to change notification settings - Fork 57
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
Fix crash at loading app analytics tabs #369
Fix crash at loading app analytics tabs #369
Conversation
Signed-off-by: Joshua Li <[email protected]>
Array [ | ||
undefined, | ||
Object { | ||
"href": "#/trace_analytics/home", |
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.
is trace_analytics
in url works? I thought it was removed in earlier pr
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.
that is probably from test files
Line 39 in 544c2f5
href: '#/trace_analytics/home', |
The unit test doesn't care what it should be in reality, as long as dummy arguments are all valid it serves its purpose
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.
thanks
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.
LGTM
Signed-off-by: Joshua Li <[email protected]>
Signed-off-by: Joshua Li <[email protected]>
Signed-off-by: Joshua Li <[email protected]> (cherry picked from commit 6f13761) Signed-off-by: Peter Fitzgibbons <[email protected]>
Signed-off-by: Joshua Li <[email protected]>
Description
For future refactoring: it would be better to use core chrome service to get current breadcrumbs, then append new ones to it, rather than passing down parentBreadcrumbs as props.
Passing parent down can be inconsistent (this case breadcrumb vs array) and redundant
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.