@@ -13,8 +13,8 @@ import { GoExtensionContext } from './context';
1313import { 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
125125export 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