Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Dec 16, 2024

Closes #12138

We did not really document well how to use user feedback with the loader. So I expanded this section in the docs to properly explain how it can be used.

@mydea mydea self-assigned this Dec 16, 2024
@vercel
Copy link

vercel bot commented Dec 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 9:31am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview Dec 17, 2024 9:31am
develop-docs ⬜️ Ignored (Inspect) Visit Preview Dec 17, 2024 9:31am

@mydea mydea changed the title fix(js): Fix feedback for using feedback with the Loader fix(js): Fix docs for using feedback with the Loader Dec 16, 2024
@codecov
Copy link

codecov bot commented Dec 16, 2024

Bundle Report

Changes will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 10.34MB 9 bytes (-0.0%) ⬇️
sentry-docs-client-array-push 9.27MB 6 bytes (-0.0%) ⬇️

};
```

If you're using CDN bundles instead of NPM packages, you need to load the User Feedback integration CDN bundle in addition to your browser bundle:
Copy link
Member

Choose a reason for hiding this comment

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

"in addition" seems like it should go away. People should pick one CDN script with the combination of integrations that they want to have.

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, good point, we call this out in the snippet anyhow!

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.

Thanks for the update! LGTM

@mydea mydea merged commit 4b3f6f6 into master Dec 17, 2024
11 checks passed
@mydea mydea deleted the fn/lazy-load-feedback branch December 17, 2024 12:01
matejminar added a commit to getsentry/sentry that referenced this pull request Dec 17, 2024
evanh pushed a commit to getsentry/sentry that referenced this pull request Dec 17, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unclear that the JavaScript loader does not support User Feedback

7 participants