[release-v0.42] extension/src/goDeveloperSurvey: prepare for 2024 H2 go dev survey
Fixes golang/vscode-go#3517
Change-Id: Idee1f0ace52cce9ec393f9dff5bd626280331d57
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/609277
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alice Merrick <amerrick@google.com>
(cherry picked from commit a53c220ca7e77c297076874cf1cae47c8f321161)
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/611838
Reviewed-by: Hongxiang Jiang <hxjiang@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
diff --git a/extension/src/goDeveloperSurvey.ts b/extension/src/goDeveloperSurvey.ts
index 07d6610..0e63225 100644
--- a/extension/src/goDeveloperSurvey.ts
+++ b/extension/src/goDeveloperSurvey.ts
@@ -12,8 +12,8 @@
import { GoExtensionContext } from './context';
// Start and end dates of the survey.
-export const startDate = new Date('Jan 23 2024 00:00:00 GMT');
-export const endDate = new Date('Feb 11 2024 00:00:00 GMT');
+export const startDate = new Date('Sep 9 2024 00:00:00 GMT');
+export const endDate = new Date('Sep 23 2024 00:00:00 GMT');
// DeveloperSurveyConfig is the set of global properties used to determine if
// we should prompt a user to take the gopls survey.
@@ -124,7 +124,7 @@
export async function promptForDeveloperSurvey(cfg: DeveloperSurveyConfig, now: Date): Promise<DeveloperSurveyConfig> {
const selected = await vscode.window.showInformationMessage(
`Help shape Go’s future! Would you like to help ensure that Go is meeting your needs
-by participating in this 10-minute Go Developer Survey (January 2024) before ${endDate.toDateString()}?`,
+by participating in this 10-minute Go Developer Survey (September 2024) before ${endDate.toDateString()}?`,
'Yes',
'Remind me later',
'Never'
@@ -139,7 +139,7 @@
{
cfg.lastDateAccepted = now;
cfg.prompt = true;
- const surveyURL = 'https://google.qualtrics.com/jfe/form/SV_083SVAUCji98YeO?s=p';
+ const surveyURL = 'https://google.qualtrics.com/jfe/form/SV_ei0CDV2K9qQIsp8?s=p';
await vscode.env.openExternal(vscode.Uri.parse(surveyURL));
}
break;