Skip to content

Conversation

kimadeline
Copy link

@kimadeline kimadeline commented Jun 7, 2021

For #16102

Will lint in a separate PR.

Behavior:

not_installed_notification_720.mov

Clicking on "Do not show again":

do_not_show_again_720.mov

@kimadeline kimadeline marked this pull request as ready for review June 8, 2021 00:53
@github-actions github-actions bot requested review from karrtikr and karthiknadig June 8, 2021 00:54
@karthiknadig
Copy link
Member

For the "Do not show" case are we dropping some message in the logs when user clicks on things. I can totally see some one clicking "Do not show", and then wondering why something is not working. At least it will be in the logs.

@kimadeline
Copy link
Author

For the "Do not show" case are we dropping some message in the logs when user clicks on things. I can totally see some one clicking "Do not show", and then wondering why something is not working. At least it will be in the logs.

@karthiknadig Not at the moment. What do you think would be best (I would think option 1):

  1. Whenever a Jupyter-related entrypoint is hit, log something, no matter what the user does with the prompt? This way it would be logged for all sessions, and I'm not worried about it being too noisy since it'll be in the Python console.
  2. Whenever a Jupyter-related entrypoint is hit, log something until "Do not show again" is selected, and in that case log this and never show anything again after that?
  3. Log the "Do not show again" action when it happens, and never log anything besides that? Might be able to log something on session start.

@karthiknadig
Copy link
Member

I think Option 1 is the best.

kimadeline and others added 3 commits June 8, 2021 13:41
Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
@kimadeline kimadeline merged commit a7c4fa2 into microsoft:16102-jupyter-dependency Jun 8, 2021
@kimadeline kimadeline deleted the 16102-update-start-page branch June 8, 2021 22:28
karrtikr pushed a commit that referenced this pull request Jun 8, 2021
* Make Jupyter an optional dependency (#16267)

* News entry

* Move Jupyter to the optional dependencies step

* Update news/1 Enhancements/16102.md

Co-authored-by: Kartik Raj <karraj@microsoft.com>

Co-authored-by: Kartik Raj <karraj@microsoft.com>

* License wording update (#16278)

* Wording

* License wording

* Add a "Jupyter not installed" notification helper (#16321)

* Add telemetry info
* Use enum for the telemetry
* Add prompt as a standalone function
* Remove "Install" from the prompt
* Make it a class
* Register singleton
* Rename file to a long but descriptive name
* Unit tests
* Add to package.nls.json
* Use sinon for tests

* Use the same "Jupyter is not installed" message everywhere (#16372)

* rename to showJupyterNotInstalledPrompt

* Replace existing prompt with new prompt

* Remove Jupyter check from command manager

* Update the start page to use the prompt (#16417)

* Update copy

* Update origin key

* Show prompt if jupyter not installed & should show

* Add tests for this functionality only

* Update news entry

* Remove comments

* follow-up from the merge

* Add singletons for startpage functional tests

* Missing one symbol

* Update src/client/common/startPage/startPage.ts

Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>

* Add logging

Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>

Co-authored-by: Kartik Raj <karraj@microsoft.com>
Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants