-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add user feedback integration checkbox #13959
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
Add user feedback integration checkbox #13959
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
Bundle ReportChanges will increase total bundle size by 455 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
Files in
view changes for bundle: sentry-docs-server-cjsAssets Changed:
Files in
App Routes Affected:
|
@codyde it worked!! took a few prompts to get there but it worked! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good!
We might consider in the future adding one of the AI rule snippets to the top like I did for logging and the general one to help folks quickly scaffold... but I dig this.
A "User Feedback" checkbox was added to the onboarding component, allowing users to opt-in to user feedback integration during setup.
Changes were made to
src/components/onboarding/index.tsx
:optionDetails
object was updated to include a new'user-feedback'
entry. This defines the checkbox's display name ("User Feedback") and a descriptive tooltip: "Collect user feedback from anywhere in your application with an embeddable widget that allows users to report bugs and provide insights."OPTION_IDS
array was extended to include'user-feedback'
, ensuring the new checkbox appears in the setup flow alongside existing options like tracing and session replay.This modification successfully integrates the new UI element. However, it was confirmed that the checkbox's state will not automatically update related code snippets. For code snippets to dynamically change, documentation files must explicitly wrap
feedbackIntegration()
code within<OnboardingOption optionId="user-feedback">
components or use product option markers like// ___PRODUCT_OPTION_START___ user-feedback
. This session established the checkbox's presence and interactivity, but further steps are needed for full code snippet integration.