-
Notifications
You must be signed in to change notification settings - Fork 521
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
Add error icon to errored services in trace list view #927
Add error icon to errored services in trace list view #927
Conversation
…actor existing constants to state. Signed-off-by: Jono Yan <[email protected]>
Signed-off-by: Jono Yan <[email protected]>
Signed-off-by: Jono Yan <[email protected]>
packages/jaeger-ui/src/components/SearchTracePage/SearchResults/ResultItem.tsx
Show resolved
Hide resolved
return hasError; | ||
}).length; | ||
|
||
this.state = { |
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.
just curious, how/where is this .state
field associated with the State
type?
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.
export default class ResultItem extends React.PureComponent<Props, State> {
It is associated here :)
Codecov Report
@@ Coverage Diff @@
## main #927 +/- ##
==========================================
+ Coverage 95.25% 95.43% +0.17%
==========================================
Files 240 240
Lines 7510 7518 +8
Branches 1883 1886 +3
==========================================
+ Hits 7154 7175 +21
+ Misses 350 337 -13
Partials 6 6
Continue to review full report at Codecov.
|
Could you please add or modify a unit test to add coverage the new conditional code? |
Signed-off-by: Jono Yan <[email protected]>
Signed-off-by: Jono Yan <[email protected]>
Which problem is this PR solving?
Resolves #925
Short description of the changes
ResultItem.tsx
.