Skip to content

ref(replay): Convert Errors Tab to use *Frame types #51559

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

Merged
merged 4 commits into from
Jul 5, 2023

Conversation

ryan953
Copy link
Member

@ryan953 ryan953 commented Jun 23, 2023

Relates to #47991

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 23, 2023
[crumb.timestamp, startTimestampMs]
);
const hasOccurred = currentTime >= crumbTime;
const isBeforeHover = currentHoverTime === undefined || currentHoverTime >= crumbTime;
Copy link
Member Author

Choose a reason for hiding this comment

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

yay, simplify things with the new types and their extra fields.

searchTerm: (item: ErrorFrame, searchTerm: string) =>
[item.message, ...item.data.labels].some(str =>
str.toLowerCase().includes(searchTerm)
),
Copy link
Member Author

Choose a reason for hiding this comment

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

changed to remove the JSON.stringify business, instead look at message and labels on their own

@ryan953 ryan953 marked this pull request as ready for review June 28, 2023 21:51
@ryan953 ryan953 requested a review from a team as a code owner June 28, 2023 21:51
@ryan953 ryan953 changed the title WIP - errors table uses frames ref(replay): Convert Errors Tab to use *Frame types Jun 28, 2023
@ryan953 ryan953 merged commit 7aea79c into master Jul 5, 2023
@ryan953 ryan953 deleted the ryan953/ref-replay-errors-uses-frames branch July 5, 2023 16:29
@github-actions github-actions bot locked and limited conversation to collaborators Jul 21, 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.

2 participants