From ac8c381597d58ed1fcd035f5f2823f7bf548d9fa Mon Sep 17 00:00:00 2001 From: Jimmy Domagala-Tang Date: Thu, 9 Jan 2025 11:05:05 -0500 Subject: [PATCH] Merge pull request #22795 from overleaf/jdt-offline-survey feat: enable temporary survey hardcoded to only non ds-nav users GitOrigin-RevId: b96ebb64d5a92d1c2421fc828a1769f31b7d363f --- .../js/features/project-list/components/survey-widget.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/js/features/project-list/components/survey-widget.tsx b/services/web/frontend/js/features/project-list/components/survey-widget.tsx index a5604d6b01..9252edd246 100644 --- a/services/web/frontend/js/features/project-list/components/survey-widget.tsx +++ b/services/web/frontend/js/features/project-list/components/survey-widget.tsx @@ -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 (