-
Notifications
You must be signed in to change notification settings - Fork 484
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
Deduplicate tags for spans #375
Conversation
ce20fcb
to
7d6621a
Compare
Codecov Report
@@ Coverage Diff @@
## master #375 +/- ##
==========================================
+ Coverage 88.71% 88.72% +<.01%
==========================================
Files 157 159 +2
Lines 3518 3556 +38
Branches 802 811 +9
==========================================
+ Hits 3121 3155 +34
- Misses 362 365 +3
- Partials 35 36 +1
Continue to review full report at Codecov.
|
3b4188d
to
48d9a6c
Compare
b008e31
to
dcfa684
Compare
I like the warning icon, but we have a built-in place for warnings in the spans (below), which may contain more than one warning. So it would be better to display them as a list. Maybe we can add another expandable item below logs called |
Ahh! I haven't noticed that field in span object, in that case it makes more sense to put warnings there. I'll do the modifications and update this PR, with new screenshots also. |
28d047f
to
7469c7a
Compare
@yurishkuro WDYT? |
ac17f3f
to
a4bca89
Compare
@rubenvp8510 s/s looks good to me. I assume the Warnings will not show up if there are no warnings? @tiffon is this ready to merge? |
@yurishkuro yes, the warning accordion does not show up if there are no warning on the span |
a4bca89
to
2779121
Compare
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.
@@ -24,6 +24,7 @@ limitations under the License. | |||
color: inherit; | |||
display: block; | |||
padding: 0.25rem 0.5rem; | |||
padding-left: 0; |
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.
@@ -56,7 +56,7 @@ export default function AccordianLogs(props: AccordianLogsProps) { | |||
} | |||
|
|||
return ( | |||
<div className="AccordianLogs"> | |||
<div className="AccordianLogs ub-mb1"> |
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.
Instead of adding a util class please add the style to the .AccordianLogs
class. I try to only use util styles when the element is not already being styled via a CSS class specific to that element.
u-simple-scrollbars
is the main exception.
padding: 0.25rem 0.5rem; | ||
} | ||
|
||
.TextList-row:nth-child(2n) > td { |
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 like there is a missing second -
.TextList--row:nth-child(2n)
vertical-align: baseline; | ||
} | ||
|
||
.TextList--row > td { |
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 dupe of the style on line 37 and can be removed?
packages/jaeger-ui/src/components/TracePage/TraceTimelineViewer/SpanDetail/TextList.css
Outdated
Show resolved
Hide resolved
packages/jaeger-ui/src/components/TracePage/TraceTimelineViewer/SpanDetail/TextList.tsx
Outdated
Show resolved
Hide resolved
packages/jaeger-ui/src/components/TracePage/TraceTimelineViewer/duck.tsx
Outdated
Show resolved
Hide resolved
packages/jaeger-ui/src/components/TracePage/TraceTimelineViewer/SpanDetail/AccordianText.css
Outdated
Show resolved
Hide resolved
Signed-off-by: Ruben Vargas <[email protected]>
2779121
to
242087e
Compare
Hi @tiffon I did all requested modifications, also I modified the style according to your suggestion, I think looks better and more "inline" with the actual UI style. I attached some screen-shots of the latest modifications. Could you please review again? Thank you a lot! |
Signed-off-by: Joe Farro <[email protected]>
Signed-off-by: Joe Farro <[email protected]>
Signed-off-by: Joe Farro <[email protected]>
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 great! Awesome.
I pushed a couple of styling tweaks, mostly adding a bottom border to the warnings header, when it's open, setting its content to a light grey background, and adding a headerClassName
prop so the CSS styles aren't coupled to the AccordingText
implementation.
Let me know if anything about those changes look awry...?
Looks very good! Thanks for the improvement! |
Hey, awesome, done! 👍 |
Deduplicate tags for spans Signed-off-by: vvvprabhakar <[email protected]>
Signed-off-by: Ruben Vargas [email protected]
Which problem is this PR solving?
Short description of the changes
Screenshot of warning: