Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Python Language Server version in survey #2633

Merged
merged 3 commits into from
Sep 20, 2018

Conversation

d3r3kk
Copy link

@d3r3kk d3r3kk commented Sep 20, 2018

For #2630

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Has unit tests & system/integration tests
  • Any new/changed dependencies in package.json are pinned (e.g. "1.2.3", not "^1.2.3" for the specified version)
  • package-lock.json has been regenerated by running npm install (if dependencies have changed)

Copy link

@DonJayamanne DonJayamanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please encode query string arg

@@ -119,7 +122,8 @@ export class LanguageServerSurveyBanner implements IPythonExtensionBanner {

public async launchSurvey(): Promise<void> {
const launchCounter = await this.getPythonLSLaunchCounter();
this.browserService.launch(`https://www.research.net/r/LJZV9BZ?n=${launchCounter}`);
const lsVersion = await this.getPythonLSVersion();
this.browserService.launch(`https://www.research.net/r/LJZV9BZ?n=${launchCounter}&v=${lsVersion}`);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to escape the query string argument using encodeUriComponent

@d3r3kk d3r3kk changed the title [WIP] Ls version in survey Include Python Language Server version in survey Sep 20, 2018
@d3r3kk d3r3kk merged commit 56fe042 into microsoft:master Sep 20, 2018
@d3r3kk d3r3kk deleted the ls_version_in_survey branch September 20, 2018 07:19
@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants