Merge pull request #22795 from overleaf/jdt-offline-survey

feat: enable temporary survey hardcoded to only non ds-nav users
GitOrigin-RevId: b96ebb64d5a92d1c2421fc828a1769f31b7d363f
This commit is contained in:
Jimmy Domagala-Tang
2025-01-09 11:05:05 -05:00
committed by Copybot
parent f8de8da7f7
commit ac8c381597

View File

@@ -21,7 +21,12 @@ export default function SurveyWidget() {
// Short-term hard-coded special case: hide the "DS nav" survey for users on
// the default variant
if (survey?.name === 'ds-nav') {
return null
// temp workaround to allow for offline survey to target specifically users not on ds-nav split test
survey.preText =
'Do you want to use Overleaf offline or do you struggle with unstable connections?'
survey.name = 'offline-mode'
survey.linkText = 'We want your feedback'
survey.url = 'https://forms.gle/CUVaduCnqAauVi9aA'
}
return (