Skip to content

Conversation

@ryan953
Copy link
Member

@ryan953 ryan953 commented Dec 21, 2022

This change adds logic to render isCurrent and isHovered lines in the DOM and Network tabs on the Replay Details page.

There's also some cleanup of internal variables and things to make each tab more similar to each other.

The DOM tab has subtle ui changes, when you're hovering something the gray200 line appears. The network tab has some other changes to match what's in the latest figma: https://www.figma.com/file/OPFnT04z0uy8BEUms9OU4f/Specs%3A-Details-v3?node-id=604%3A17755&t=372r9SfA2ONS8RXR-0

Before After
SCR-20221221-ikg SCR-20221221-ijy
SCR-20221221-in2 SCR-20221221-imy

Relates to #38948

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
src/sentry/static/sentry/dist/entrypoints/app.js 19.84 KB (-0.02% 🔽)
src/sentry/static/sentry/dist/entrypoints/sentry.css 33.05 KB (0%)

(item: Crumb) => {
(item: Crumb | NetworkSpan) => {
if (startTimestampMs) {
setCurrentHoverTime(relativeTimeInMs(item.timestamp ?? '', startTimestampMs));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double-checked and the timestamps are in the same format, so no conversion is needed here.

@ryan953 ryan953 merged commit c482b2c into master Jan 3, 2023
@ryan953 ryan953 deleted the ryan953/replay-isHovered-dom-network branch January 3, 2023 21:45
@JonasBa JonasBa mentioned this pull request Jan 4, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants