I want to set up User Feedback for my Astro project.
I had some issues with the SDK setup due to docs/product onboarding not being clear about which one of the three config files I needed to add integrations and configurations to.
On the User Feedback docs with Astro selected it's not clear whether the integration should be added to the astro.config.mjs file or the sentry.client.config.js or whether it matters (I'm sure it does matter, as I have encountered issues with adding wrong configurations to wrong files in the past).
Suggested Solution
Please add the file name to the code snippets.
Also adding some text (perhaps in a callout/highlighted section) to reiterate the importance of putting the configurations and integrations in the correct files.
Core or SDK?
Platform/SDK
Which part? Which one?
Astro SDK
Description
I want to set up User Feedback for my Astro project.
I had some issues with the SDK setup due to docs/product onboarding not being clear about which one of the three config files I needed to add integrations and configurations to.
On the User Feedback docs with Astro selected it's not clear whether the integration should be added to the
astro.config.mjs
file or thesentry.client.config.js
or whether it matters (I'm sure it does matter, as I have encountered issues with adding wrong configurations to wrong files in the past).Suggested Solution
Please add the file name to the code snippets.
Also adding some text (perhaps in a callout/highlighted section) to reiterate the importance of putting the configurations and integrations in the correct files.