-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a setting to enable the notebook to take up the full width (#7487)
* Toggle full width * settings only * enable more ways to toggle * lint * fixes * add ui test * fix snapshots * reusable waitForNotebook * more updates * fix * update
- Loading branch information
Showing
11 changed files
with
194 additions
and
25 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
packages/notebook-extension/schema/full-width-notebook.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"title": "Jupyter Notebook Full Width Notebook", | ||
"description": "Jupyter Notebook Notebook With settings", | ||
"jupyter.lab.menus": { | ||
"main": [ | ||
{ | ||
"id": "jp-mainmenu-view", | ||
"items": [ | ||
{ | ||
"command": "notebook:toggle-full-width", | ||
"rank": 4 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"properties": { | ||
"fullWidthNotebook": { | ||
"type": "boolean", | ||
"title": "Full Width Notebook", | ||
"description": "Whether to the notebook should take up the full width of the application", | ||
"default": false | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+28.4 KB
(310%)
ui-tests/test/menus.spec.ts-snapshots/opened-menu-view-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+36.7 KB
(370%)
ui-tests/test/menus.spec.ts-snapshots/opened-menu-view-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+28.4 KB
ui-tests/test/notebook.spec.ts-snapshots/notebook-full-width-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+41.3 KB
ui-tests/test/notebook.spec.ts-snapshots/notebook-full-width-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.25 KB
(120%)
ui-tests/test/settings.spec.ts-snapshots/top-visible-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters