Skip to content

Commit

Permalink
[release-v0.42] extension/src/goDeveloperSurvey: prepare for 2024 H2 …
Browse files Browse the repository at this point in the history
…go dev survey

Fixes #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 a53c220)
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>
  • Loading branch information
hyangah committed Sep 9, 2024
1 parent 23f4ad3 commit a1e69af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extension/src/goDeveloperSurvey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { daysBetween, flushSurveyConfig, getStateConfig, minutesBetween, timeMin
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.
Expand Down Expand Up @@ -124,7 +124,7 @@ export function shouldPromptForSurvey(now: Date, cfg: DeveloperSurveyConfig): De
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'
Expand All @@ -139,7 +139,7 @@ by participating in this 10-minute Go Developer Survey (January 2024) before ${e
{
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;
Expand Down

0 comments on commit a1e69af

Please sign in to comment.