Skip to content

Conversation

sfanahata
Copy link
Contributor

@sfanahata sfanahata commented Sep 2, 2025

Waiting to merge when officially goes open beta

closes https://linear.app/getsentry/issue/REPLAY-528/add-docs

DESCRIBE YOUR PR

Updating the replay details and web replay pages to add in AI summaries info.

Details page: https://sentry-docs-git-session-replay-ai-summary-ea.sentry.dev/product/explore/session-replay/replay-details/

Replay for web: https://sentry-docs-git-session-replay-ai-summary-ea.sentry.dev/product/explore/session-replay/web/

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • [] Other deadline:
  • None: Waiting on official EA (open beta) release

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Copy link

vercel bot commented Sep 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sentry-docs Ready Ready Preview Comment Sep 10, 2025 9:14pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
develop-docs Ignored Ignored Preview Sep 10, 2025 9:14pm

@codeowner-assignment codeowner-assignment bot requested review from jas-kas and a team September 2, 2025 22:34
Copy link

codecov bot commented Sep 2, 2025

Bundle Report

Changes will increase total bundle size by 12.39kB (0.05%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 9.9MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.56MB 12.39kB (0.1%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 882.71kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
static/JEnj0hzU2hWLynYcxqjBp/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/JEnj0hzU2hWLynYcxqjBp/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/fQa1wuMfn3Ls0gPtdJHVh/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/fQa1wuMfn3Ls0gPtdJHVh/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.78MB -0.0%
../instrumentation.js -3 bytes 1.1MB -0.0%
9523.js -3 bytes 1.08MB -0.0%
../app/[[...path]]/page.js.nft.json 4.13kB 789.9kB 0.53%
../app/platform-redirect/page.js.nft.json 4.13kB 789.81kB 0.53%
../app/sitemap.xml/route.js.nft.json 4.13kB 787.29kB 0.53%

@michellewzhang michellewzhang requested review from a team September 2, 2025 23:40
Copy link

linear bot commented Sep 3, 2025

REPLAY-528 Add docs

<Alert>

* **Console:** A list of debugging messages that don't belong in the breadcrumbs list will appear here. For web, this includes `console.log` statements and browser-generated messages to the developer. For React Native, custom `console.log` will appear here, and in Android, logs from [Logcat](/platforms/android/integrations/logcat/) and [Timber](/platforms/android/integrations/timber/) are also supported.
By default, the Session Replay SDK is configured to redact all text, user input, and media elements. See all privacy configuration options [here](/platform-redirect/?next=/session-replay/privacy/).
Copy link
Member

Choose a reason for hiding this comment

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

This platform-redirect link is missing so many platforms, for example, all of the JS frameworks have their own Privacy page (e.g., Angular) - I'm not sure why that is :/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll look into it. Probably start a different PR to fix that page.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So, I did some digging, and the reason why it's not rendering all the JS frameworks is because they all are proxied from the one common privacy page under JS. Because of that, it's tricky to have all of them listed on the /platform-redirect/?next=/session-replay/privacy/ page. I reformatted the platform redirect pages to pull in all the JS frameworks in the list, so they should now all show up across any /platform-redirect/ page.

I also found that there was insufficient logic to pull in Dart because it was nested under guide, and we were only checking for top level platforms. Both use cases will now be fixed. PR: #14914

@jas-kas
Copy link
Member

jas-kas commented Sep 8, 2025

I've asked @Jesse-Box to help with a new image asset for the Replay Details page so we can show off the AI summary. Using the Sentry colour palette for this would be nice, and so it can be consistent with the other visuals in the Replay product docs

Demo Replay: https://demo.sentry.io/explore/replays/6b47b0f25c0843dcaf737c055458d0f7/?project=580[…]lore%2Freplays%2F&statsPeriod=30d&t_main=ai&yAxis=count%28%29`

Let's also update the second image on this page

Edit: @michellewzhang can help out here on visuals! 😄

@michellewzhang michellewzhang force-pushed the session-replay-ai-summary-ea branch from a315080 to 0099671 Compare September 8, 2025 22:04
@semgrep-code-getsentry

This comment was marked as outdated.

@michellewzhang michellewzhang changed the title Session replay updates to add AI summary for web feat(replay): session replay updates to add AI summary for web Sep 8, 2025
@michellewzhang
Copy link
Member

Edit: @michellewzhang can help out here on visuals! 😄

assets have been updated here: https://www.figma.com/design/NNLgAJyzZno8NrBuJPVFQi/Assets--Product-Docs-v2--Copy-?node-id=3401-71&t=GxLKZGqTmNJDGh7V-0 (i had to create a copy of the original file since i didn't have edit access). all replay images have been updated in this pr (excluding mobile images, since we are hiding ai tab on mobile replays for now).

@jas-kas
Copy link
Member

jas-kas commented Sep 9, 2025

@michellewzhang assets look great! ✨

still seeing the old images on the latest vercel preview https://sentry-docs-ewbq8pkob.sentry.dev/product/explore/session-replay/web/ despite your update 🤔 , not sure why

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

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

Big lift, looks good! 🏄‍♂️

Copy link
Member

@jas-kas jas-kas left a comment

Choose a reason for hiding this comment

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

<3 latest changes look good, thanks @sfanahata!

@sfanahata
Copy link
Contributor Author

@jas-kas and @michellewzhang - I've updated with all the suggestions, except updating the privacy page, which I'll take on in a different PR shortly. LMK if there's anything more I can help with here. I'll keep this one hanging out until we're ready to release the feature.

@sfanahata sfanahata merged commit d33a360 into master Oct 2, 2025
13 checks passed
@sfanahata sfanahata deleted the session-replay-ai-summary-ea branch October 2, 2025 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants