Opening a notebook for the first time shows Python core notifications that don't apply to notebooks
See original GitHub issueEnvironment data
- VS Code version: 1.48.0-insider
- Extension version (available under the Extensions sidebar): v2020.8.101144
- OS and version: macOS 10.15.6 (19G73)
- Python version (& distribution if applicable, e.g. Anaconda): Python 2.7.17 64-bit
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda
- Relevant/affected Python packages and their versions: N/A
- Relevant/affected Python-related VS Code extensions and their versions: N/A
- Value of the
python.languageServer
setting: Jedi
Expected behaviour
I get that I need to have some things appear for things to work, but we should do it in a graceful way.
Actual behaviour
Multiple notifications appear at the same time:
- Trusting notebook (can be deferred until you try to run a notebook)
- Survey (should be deferred until a later time)
- Conda env for integrated terminal (should be deferred until user opens terminal)
- Tip for python interpreter (can either be deferred until later or surfaced in the welcome page)
Steps to reproduce:
- Install Python extension for the first time (fresh user data directory)
- Open a
.ipynb
file - 🐛 a large amount of notifications appear
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to Enable Jupyter Notebook Notifications
First, we'll look at how we can enable notifications in Jupyter Notebooks. Enter the following text in the first cell of the notebook:...
Read more >Enabling notifications in your Jupyter notebooks for cell ...
In this article, we'll see how to enable notifications both in Jupyter Notebook as well as Jupyter Lab using notify. Notify: A Jupyter...
Read more >Jupyter notebook does not launch · Issue #2130
After the conda installation, the Jupyter notebook does not start. There is a command window, which shows up for 1-2 seconds but disappears....
Read more >Using IPython / Jupyter Notebooks Under Version Control
Open the notebook that you want to version control, and pair it to a Markdown file (or a Script) using the Jupytext Menu...
Read more >Jupyter Notebook Enhancements, Tips And Tricks
This thread is dedicated to Jupyter Notebook enhancements and related goodies. Please contribute your tips and improvements that make our lives easier.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the feedback! Few things. First, a user will not receive the survey on first opening of a notebook. Second, we must show the Trust popup. We can’t wait for the user to press Run because the user may just want to see the outputs. The third and fourth problems are in the core Python code. So I’m going to tag this for them to see.
Definitely agree on the survey. And the trust notebook is a good idea, I’ll make sure to go over it on the meeting.