-
Notifications
You must be signed in to change notification settings - Fork 159
chore: new survey config #2031
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
chore: new survey config #2031
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Sounds good. No idea if there was a way to just hijack survey rendering and render nothing instead, but this is a cleaner approach either way
3839770
to
1af43f5
Compare
Size Change: +1.64 kB (+0.05%) Total Size: 3.56 MB
ℹ️ View Unchanged
|
* | ||
* @default false | ||
*/ | ||
disable_surveys_automatic_display: boolean |
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.
It's already merged, but the name and description are confusing to me.
we have disable_surveys
and disable_surveys_automatic_display
why would I chose disable_surveys_automatic_display
over disable_surveys
?
They do the same thing, I guess? I probably lack some context, and the user probably will too
Changes
Adds a new setting,
disable_surveys_automatic_display
. When this is true, no surveys will be shown automatically.Necessary for fullscreen surveys, so we don't trigger any surveys on that page.
Also fixes a small issue where we're automatically focusing the open text input even in the survey preview.