-
Notifications
You must be signed in to change notification settings - Fork 72
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
🖼 522 adding multiple design and UX fixes #545
Conversation
@@ -28,7 +28,7 @@ export const PseudoSelector = styled.div` | |||
gap: 4px; | |||
`; | |||
|
|||
export const Check = styled(Space)` | |||
export const Check = styled.div` |
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.
This was adding some unnecessary styling
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.
Nice
<S.DeleteCheckIcon | ||
onClick={() => { | ||
CreateAssertionModalAnalyticsService.onRemoveCheck(); |
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.
There will be scenarios where we will be diplaying both CTAs
@@ -46,8 +45,8 @@ const Span = ({id = '', name = '', attributes = {}, startTime = '', endTime = '' | |||
return {...map, [spanAttribute.name]: SpanAttribute(rawSpanAttribute)}; | |||
}, {}); | |||
|
|||
const duration = startTime && endTime ? differenceInSeconds(parseISO(startTime), parseISO(endTime)) + 1 : 0; | |||
|
|||
const duration = Number(attributes['tracetest.span.duration']) || 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.
Name and duration are now coming from the attributes object
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!
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
@@ -28,7 +28,7 @@ export const PseudoSelector = styled.div` | |||
gap: 4px; | |||
`; | |||
|
|||
export const Check = styled(Space)` | |||
export const Check = styled.div` |
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.
Nice
This PR adds some missing UX pieces to the assertion form and the home page.
Changes
Fixes
Checklist