Skip to content

Commit 65fd893

Browse files
committed
[release] src/goDeveloperSurvey: prepare for 2023 Winter developer survey
Fixes #2603 Change-Id: I27bbb61bdc1b5253c4e90d8484507d4ad95ba8e3 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/461257 Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Todd Kulesza <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Alice Merrick <[email protected]> Auto-Submit: Hyang-Ah Hana Kim <[email protected]> Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/462377 Reviewed-by: Robert Findley <[email protected]>
1 parent 9caf3e3 commit 65fd893

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/goDeveloperSurvey.ts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import { GoExtensionContext } from './context';
1313
import { getGoVersion } from './util';
1414

1515
// Start and end dates of the survey.
16-
export const startDate = new Date('May 31 2022 00:00:00 GMT');
17-
export const endDate = new Date('June 21 2022 00:00:00 GMT');
16+
export const startDate = new Date('Jan 18 2023 00:00:00 GMT');
17+
export const endDate = new Date('Feb 8 2023 00:00:00 GMT');
1818

1919
// DeveloperSurveyConfig is the set of global properties used to determine if
2020
// we should prompt a user to take the gopls survey.
@@ -124,9 +124,8 @@ export function shouldPromptForSurvey(now: Date, cfg: DeveloperSurveyConfig): De
124124

125125
export async function promptForDeveloperSurvey(cfg: DeveloperSurveyConfig, now: Date): Promise<DeveloperSurveyConfig> {
126126
const selected = await vscode.window.showInformationMessage(
127-
// TODO(rstambler): Figure out how to phrase this.
128-
`Looks like you are coding in Go! Would you like to help ensure that Go is meeting your needs
129-
by participating in this 10-minute survey before ${endDate.toDateString()}?`,
127+
`"Help shape Go’s future! Would you like to help ensure that Go is meeting your needs
128+
by participating in this 10-minute Go Developer Survey (2023 Winter) before ${endDate.toDateString()}?`,
130129
'Yes',
131130
'Remind me later',
132131
'Never'
@@ -141,10 +140,7 @@ by participating in this 10-minute survey before ${endDate.toDateString()}?`,
141140
{
142141
cfg.lastDateAccepted = now;
143142
cfg.prompt = true;
144-
const goV = await getGoVersion();
145-
const goVersion = goV ? goV.format(true) : 'na';
146-
const useGopls = getGoConfig()?.get('useLanguageServer') === true ? 'true' : 'false';
147-
const surveyURL = `https://google.qualtrics.com/jfe/form/SV_7O3x4IZKiUn0QCO?s=p&go=${goVersion}&gopls=${useGopls}`;
143+
const surveyURL = `https://google.qualtrics.com/jfe/form/SV_bNnbAtFZ0vfRTH8?s=p`;
148144
await vscode.env.openExternal(vscode.Uri.parse(surveyURL));
149145
}
150146
break;

0 commit comments

Comments
 (0)