Skip to content

Commit ba9298c

Browse files
author
David Kutugata
authored
start page experiment and fixes (#12339)
* move EnableStartPage enum to groups.ts * - remove the command from the experiment - fix the start page not loading when you go back to a priviews version and then updating again - update some labels in the start page - update the sample notebook to include run by line - the sample notebook now has a title - updated the images from the sample notebook * oops * oops * -add messages to open folder and workspace -add telemetry to measure if the webview error happens -give space between bullet points -add link to enable experiments to the sample notebook -get the release notes from a different file -fix bullet points in the sample notebook -sample notebook now opens with a counter in the title * fix a unit test * final changes * final final changes * final^3 changes * removed run by line from the sample notebook
1 parent b5332bc commit ba9298c

30 files changed

+385
-549
lines changed

StartPageReleaseNotes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Added a start page for the extension. Launched in experimental mode such that it opens to new users or when there is a new release. It can be disabled with the setting 'Python: Show Start Page' and it can be opened at any time with the command 'Python: Open Start Page'.
2+
Removed `python.jediEnabled` setting in favor of `python.languageServer`. Instead of `"python.jediEnabled": true` please use `"python.languageServer": "Jedi"`.
3+
Made the variable explorer in the Notebook editor resizable.

images/dataviewer.gif

47.7 KB
Loading

images/kernelchange.gif

347 KB
Loading

images/plotviewer.gif

119 KB
Loading

images/remoteserver.gif

106 KB
Loading

images/runbyline.gif

302 KB
Loading

images/savetopythonfile.png

20.3 KB
Loading

images/variableexplorer.png

-149 KB
Loading

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,8 +1159,7 @@
11591159
{
11601160
"command": "python.startPage.open",
11611161
"title": "%python.command.python.startPage.open.title%",
1162-
"category": "Python",
1163-
"when": "python.datascience.startpageenabled"
1162+
"category": "Python"
11641163
},
11651164
{
11661165
"command": "python.datascience.runtoline",

package.nls.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@
110110
"DataScience.exportDialogFailed": "Failed to export notebook. {0}",
111111
"DataScience.exportOpenQuestion": "Open in browser",
112112
"DataScience.exportOpenQuestion1": "Open in editor",
113-
"DataScience.notebookExportAs" : "Convert and save to a python script",
114-
"DataScience.exportAsQuickPickPlaceholder" : "Export As...",
115-
"DataScience.exportPythonQuickPickLabel" : "Python Script",
113+
"DataScience.notebookExportAs": "Convert and save to a python script",
114+
"DataScience.exportAsQuickPickPlaceholder": "Export As...",
115+
"DataScience.exportPythonQuickPickLabel": "Python Script",
116116
"DataScience.collapseInputTooltip": "Collapse input block",
117117
"DataScience.collapseVariableExplorerTooltip": "Hide variables active in jupyter kernel",
118118
"DataScience.collapseVariableExplorerLabel": "Variables",
@@ -501,16 +501,18 @@
501501
"StartPage.getStarted": "Python - Get Started",
502502
"StartPage.pythonExtensionTitle": "Python Extension",
503503
"StartPage.createJupyterNotebook": "Create a Jupyter Notebook",
504-
"StartPage.notebookDescription": "- Use \"<div class=\"italics\">Shift + Command + P</div> \" to open the <div class=\"link\" role=\"button\" onclick={0}>Command Palette</div><br />- Type \"<div class=\"link italics\" role=\"button\" onclick={1}>Create New Blank Jupyter Notebook</div> \"<br />- Explore our <div class=\"link\" role=\"button\" onclick={2}>sample notebook</div> to learn about notebook features",
504+
"StartPage.notebookDescription": "- Run \"<div class=\"link italics\" role=\"button\" onclick={0}>Create New Blank Jupyter Notebook</div>\" in the Command Palette (<div class=\"italics\">Shift + Command + P</div>)<br />- Explore our <div class=\"link\" role=\"button\" onclick={1}>sample notebook</div> to learn about notebook features",
505505
"StartPage.createAPythonFile": "Create a Python File",
506-
"StartPage.pythonFileDescription": "- Create a new file and use the .py extension<br />- <div class=\"link\" role=\"button\" onclick={0}>Open a file or workspace</div> to continue work",
507-
"StartPage.openInteractiveWindow": "Open the Interactive Window",
506+
"StartPage.pythonFileDescription": "- Create a <div class=\"link\" role=\"button\" onclick={0}>new file</div> with a .py extension",
507+
"StartPage.openInteractiveWindow": "Use the Interactive Window to develop Python Scripts",
508508
"StartPage.interactiveWindowDesc": "- You can create cells on a Python file by typing \"#%%\" <br /> - Use \"<div class=\"italics\">Shift + Enter</div> \" to run a cell, the output will be shown in the interactive window",
509509
"StartPage.releaseNotes": "Take a look at our <a class=\"link\" href={0}>Release Notes</a> to learn more about the latest features",
510510
"StartPage.tutorialAndDoc": "Explore more features in our <a class=\"link\" href={0}>Tutorials</a> or check <a class=\"link\" href={1}>Documentation</a> for tips and troubleshooting.",
511511
"StartPage.dontShowAgain": "Don't show this page again",
512512
"StartPage.helloWorld": "Hello world",
513-
"StartPage.sampleNotebook": "Welcome_To_VSCode_Notebooks.ipynb",
513+
"StartPage.sampleNotebook": "Notebooks intro",
514+
"StartPage.openFolder": "Open a Folder or Workspace",
515+
"StartPage.folderDesc": "- Open a <div class=\"link\" role=\"button\" onclick={0}>Folder</div><br /> - Open a <div class=\"link\" role=\"button\" onclick={1}>Workspace</div>",
514516
"DataScience.libraryRequiredToLaunchJupyterKernelNotInstalledInterpreter": "{0} requires {1} to be installed.",
515517
"DataScience.runByLine": "Run by line (F10)",
516518
"DataScience.stopRunByLine": "Stop",

0 commit comments

Comments
 (0)