Vscode-jupyter: I want an option to disable all surveys

Created on 12 Oct 2020  路  15Comments  路  Source: microsoft/vscode-jupyter

Environment data

  • VS Code version: 1.49.3
  • Extension version (available under the Extensions sidebar): 2020.9.114305
  • OS and version: Ubuntu 18.04

Expected behaviour

There should be a setting to disable all surveys. On the "Python Data Science features" survey notification, there should be a button to never show a survey again.

Actual behaviour

The "Python Data Science features" survey notification showed up without a button to disable surveys. A search in the settings revealed no setting to disable all surveys.

If every VSCode extension shows multiple different surveys without a way to disable them all, this editor is going to become cluttered very quickly.

Steps to reproduce:

  1. Use the python extension and wait for the survey notification
bug info-needed

Most helpful comment

Execution of any cell in a Jupyter notebook triggers the survey notification.
Peek 2020-11-25 11-37
image

All 15 comments

Thanks for reporting this @alexschlueter, we'll discuss the prioritization for getting this fixed at our weekly triage meeting 馃槉

I'm getting survey notifications about the language server which I find incredibly annoying and spammy. I even went through the trouble of investigating this more deeply in an attempt to disable it. After dismissing the dialog, in my global.json inside of the ms-python.python escaped JSON string, the following keypars are added

\"LSSurveyShowAttempt\":155,\"LSSurveyShowCount\":153.04036011291677

but I don't know what these numbers are supposed to mean. Thus I wanted to look at the corresponding source code, but wasn't able to find any hits for either key name on Google search or GitHub. Are these notifications originating from some closed-source component, or am I missing something?

After the next dismissal of the dialog, I found the new key ShowLSSurveyBanner set to false.

I'm now attempting to disable surveys in my containerized dev environment with the following keys:

\"ShowDSSurveyBanner\":false,\"ShowLSSurveyBanner\":false

It would of course be much nicer to have an option to disable these surveys instead of hacking around with string-encoded JSON.

Theoretically once you dismiss the survey banner it won't show up again (hence the writing to the global.json). However the surveys don't share the same key. So even if you dismiss one, you may get asked for another.

@rchiodo I don't believe it's true that the Language Server survey banner will not show up again after it's dismissed. In my case, after the first dismissal, LSSurveyShowAttempt and LSSurveyShowCount were written to global.json, but "ShowLSSurveyBanner":false was added only after the second dismissal.

Is anyone willing to link to the relevant source code so that we can definitively see what's going on?

The Language server banner is actually written by the Pylance extension I believe. Not by the python extension. However we have similar code here:
https://github.com/microsoft/vscode-python/blob/1370b6de25c9e04c7d67d8b9c8069e601e16e8c8/src/client/datascience/dataScienceSurveyBanner.ts#L102

Thanks for the reference @rchiodo! Since I don't see any analog of the LSSurveyShowAttempt or LSSurveyShowCount variables there, I suspect the LS survey logic is different.

Moreover, I do not have Pylance installed, only Pyright.

I was under the impression that both MSPyLS and Pyright were open-source, which is why I'm so baffled that I can't find these variables anywhere.

Theoretically once you dismiss the survey banner it won't show up again (hence the writing to the global.json). However the surveys don't share the same key. So even if you dismiss one, you may get asked for another.

In the jupyter notebook / data science environment this keeps coming up and it is so annoying.. even after actually responding and submitting the survey comes up continuosly... close to ditch VSC for this really..

Hi @marchmallow very sorry for the trouble. Are you seeing the same survey prompt appear multiple times? If so that would be a bug.

Does clicking 'no' on the prompt stop it from reappearing, is it the same survey each time, and are you on the stable or insider version of VS Code?

@marchmallow Could you please provide a screenshot or text of the survey that keeps popping up? This seems like a bug and in order to troubleshoot it would be very helpful to have the specific survey, we will get this fixed up for you!

@marchmallow
Please could you provide a screenshot of the prompt or provide the exact message displayed.
I believe we have you are experiencing the same issue reported here #4002

Execution of any cell in a Jupyter notebook triggers the survey notification.
Peek 2020-11-25 11-37
image

@surajx Thanks for the additional info, we believe to have found the bug. Fix coming soon!

Confirming survey pops up any time I do something, irrespective of filling out survey or hitting no thanks. Specifically using Jupyter in this instance.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BCArg picture BCArg  路  3Comments

jediyoda36 picture jediyoda36  路  4Comments

PolishShatter picture PolishShatter  路  4Comments

qdlmcfresh picture qdlmcfresh  路  3Comments

AlbertDeFusco picture AlbertDeFusco  路  4Comments