@@ -13,8 +13,8 @@ import { GoExtensionContext } from './context';
13
13
import { getGoVersion } from './util' ;
14
14
15
15
// 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' ) ;
18
18
19
19
// DeveloperSurveyConfig is the set of global properties used to determine if
20
20
// we should prompt a user to take the gopls survey.
@@ -124,9 +124,8 @@ export function shouldPromptForSurvey(now: Date, cfg: DeveloperSurveyConfig): De
124
124
125
125
export async function promptForDeveloperSurvey ( cfg : DeveloperSurveyConfig , now : Date ) : Promise < DeveloperSurveyConfig > {
126
126
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 ( ) } ?` ,
130
129
'Yes' ,
131
130
'Remind me later' ,
132
131
'Never'
@@ -141,10 +140,7 @@ by participating in this 10-minute survey before ${endDate.toDateString()}?`,
141
140
{
142
141
cfg . lastDateAccepted = now ;
143
142
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` ;
148
144
await vscode . env . openExternal ( vscode . Uri . parse ( surveyURL ) ) ;
149
145
}
150
146
break ;
0 commit comments