Skip to content

fix(replay): Expand replay user.geo tag if an object is found #91885

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 2 commits into from
May 20, 2025

Conversation

ryan953
Copy link
Member

@ryan953 ryan953 commented May 19, 2025

This is a followup on #91869 and #91854 to fix JAVASCRIPT-30NR

Now we're taking special care to unpack the user.geo.* fields and show them as individual tags:
SCR-20250519-kmta


I tried using flattie which is already part of our package.json but it was recursing into our arrays which we expect as the final values from the db. Dealing with that would require a manual recursive pass, which defeats the purpose.

@ryan953 ryan953 requested a review from a team as a code owner May 19, 2025 18:40
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 19, 2025
@ryan953 ryan953 merged commit 9f2b612 into master May 20, 2025
41 checks passed
@ryan953 ryan953 deleted the ryan953/replay-tag-user-geo branch May 20, 2025 20:54
andrewshie-sentry pushed a commit that referenced this pull request May 20, 2025
This is a followup on #91869 and
#91854 to fix
[JAVASCRIPT-30NR](https://sentry.io/organizations/sentry/issues/?project=11276&query=JAVASCRIPT-30NR)

Now we're taking special care to unpack the `user.geo.*` fields and show
them as individual tags:
<img width="605" alt="SCR-20250519-kmta"
src="https://github.com/user-attachments/assets/ebb74fbf-0a21-4f67-8f21-c4e6a2fcf16d"
/>

---

I tried using [`flattie`](https://www.npmjs.com/package/flattie) which
is already part of our package.json but it was recursing into our arrays
which we expect as the final values from the db. Dealing with that would
require a manual recursive pass, which defeats the purpose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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