Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jupyterlab #53

Merged
merged 2,080 commits into from
Apr 5, 2024
Merged
Changes from 1 commit
Commits
Show all changes
2080 commits
Select commit Hold shift + click to select a range
4a74c81
Fix connection loop issue with standalone foreign document in LSP (#1…
trungleduc Nov 12, 2023
333954f
Update to TypeScript 5.1 (#14638)
jtpio Nov 12, 2023
1c1058c
[ci skip] Publish 4.1.0a3
krassowski Nov 12, 2023
a7d6dba
Fix completer cycling documentation (#15393)
krassowski Nov 14, 2023
388fbcc
Do not update filebrowser breadcrumbs when not needed (#15387)
krassowski Nov 14, 2023
4e8012e
Fix tab trap notebook cells (#14115)
gabalafou Nov 14, 2023
5a28ab4
Bump yarn to 3.6.4 (#15295)
fcollonval Nov 14, 2023
d59aad9
Maintenance bump lumino (#15405)
fcollonval Nov 15, 2023
4acad36
Optimized and more robust PyPIExtensionManager (#15404)
fcollonval Nov 18, 2023
a84d978
Improve cell toolbar tracker (#15314)
fcollonval Nov 18, 2023
dd7687b
Read only status notification on ctrl+s (#15317)
andrewfulton9 Nov 18, 2023
b346ac3
Scroll to the active cell when typing (in edit mode) (#15413)
brichet Nov 20, 2023
3d525a2
[Accessibility] Using arrow keys to navigate in toolbars items (#15021)
brichet Nov 20, 2023
7523d3a
Deprecates collaborative flag, with improved error message that makes…
mdengler Nov 25, 2023
54e785f
Upgrade releaser workflows for silent support (#15446)
fcollonval Nov 28, 2023
8405524
Fix Shift + L not working in stdin (#15440)
krassowski Nov 28, 2023
5d7c44b
More robust galata/UI tests (#15355)
krassowski Nov 28, 2023
937bdc3
Added alt descriptions to a few icon and images (#15265)
j264415 Nov 29, 2023
7622f44
Load custom CSS functionality and documentation (#14743)
RRosio Nov 29, 2023
eb07560
Updated light theme visited link colour to make text visible (#15406)
m158261 Nov 29, 2023
aa845bf
[ci skip] Publish 4.1.0a4
fcollonval Nov 30, 2023
84d1f86
Don't play with the focus when handling focus event (#15408)
fcollonval Dec 1, 2023
c28dfca
Bump rjsf to 5.13.4 (#15469)
mmichilot Dec 1, 2023
603b109
Bump matplotlib from 3.7.2 to 3.8.2 (#15475)
dependabot[bot] Dec 1, 2023
ce74503
Bump actions/github-script from 6 to 7 (#15470)
dependabot[bot] Dec 3, 2023
d03df9f
Bump pandas from 2.1.2 to 2.1.3 (#15473)
dependabot[bot] Dec 4, 2023
0fcd9d0
Bump dessant/lock-threads from 4 to 5 (#15472)
dependabot[bot] Dec 4, 2023
3214439
Bump tj-actions/changed-files from 40.0.2 to 40.2.0 (#15471)
dependabot[bot] Dec 4, 2023
846a7b0
Fix URLs in debugger-extension (#15462)
fcollonval Dec 4, 2023
9b3f28a
Add npm provenance issue to the list of release postmortems (#15493)
jtpio Dec 5, 2023
86f8709
Pin `actions/labeler` to v4 to fix failing CI action (#15496)
krassowski Dec 5, 2023
b20bc01
[pre-commit.ci] pre-commit autoupdate (#15491)
pre-commit-ci[bot] Dec 6, 2023
9b67ba1
Bump scipy from 1.11.3 to 1.11.4 (#15474)
dependabot[bot] Dec 7, 2023
5ec3aa4
Adopt ruff format (#15499)
jtpio Dec 7, 2023
439f48d
Clean up eslint scripts in the translation packages (#15504)
jtpio Dec 9, 2023
4ebb5fc
Update "jlpm config set registry" command in documentation (#15506)
DcWire Dec 9, 2023
57e7093
Bump ESLint dependencies (#15502)
jtpio Dec 9, 2023
6190f4c
Fix file dialog contents loading with `defaultPath`, and model dispos…
mmichilot Dec 9, 2023
1c2741f
float variable equal to math.inf should be displayed accordingly in d…
ashna1jain Dec 10, 2023
2dc294c
Fix error indicators showing with customValidate (#15464)
mmichilot Dec 12, 2023
9be3e7a
Fix search CM set up (#15459)
fcollonval Dec 12, 2023
77cc55e
Implement `level` trait for plugin/extension managers (#15512)
krassowski Dec 12, 2023
e8d547d
Update migration guide about the Toolbar selector (#15501)
brichet Dec 12, 2023
9844a6f
Custom kernel message serializer (#15254)
DonJayamanne Dec 12, 2023
746ce2d
Fix search coming back in notebook and editor (#15443)
krassowski Dec 13, 2023
c26a0e7
Fix visual tests, allow to disable termianal cursor blinking (#15524)
krassowski Dec 13, 2023
d62f842
Fix skiplink and add placeholder for additional skiplinks (#14597)
t03857785 Dec 13, 2023
68be103
Workaround/input box focus (#15479)
krassowski Dec 13, 2023
464fc04
Bump jupyterlab-language-pack-zh-cn from 4.0.post3 to 4.0.post6 (#15477)
dependabot[bot] Dec 13, 2023
7d3160d
Revert "Bump yarn to 3.6.4 (#15295)" (#15526)
jtpio Dec 14, 2023
0a49be6
Add global keyboard shortcuts for all tab bar widgets (#14799)
g547315 Dec 14, 2023
90a3c42
Ignore `ipython` in dependabot updates (#15528)
jtpio Dec 15, 2023
d89a1ae
Restore some CSS rules for backward compatibility (#15530)
brichet Dec 15, 2023
98d1e06
Improve scrolling to heading (#15386)
fcollonval Dec 15, 2023
8eb902e
Clarify labels for user inputs and link dangling labels (#15222)
m158261 Dec 15, 2023
179511b
Update `actions/upload-artifact` and `action/download-artifact` (#15536)
jtpio Dec 15, 2023
8c5aa3a
Manually trigger benchmark tests instead of running them on `pull_req…
jtpio Dec 19, 2023
cc800df
Fix WatchLabExtensionApp.aliases so `--help` works (#15542)
akx Dec 19, 2023
a2b5e71
Fix `OSTYPE` check in `ci_install.sh` (#11801)
jtpio Dec 20, 2023
6a86d8f
Add virtual scrollbar component to windowed lists. (#15533)
afshin Dec 20, 2023
9956d5c
Make status bar accessible at 400% zoom by hiding items with priority…
j264415 Dec 20, 2023
2097a5f
[ci skip] Publish 4.1.0b0
krassowski Dec 20, 2023
43b07a1
Add a title to the Plugin Manager widget (#15552)
jtpio Dec 21, 2023
e075957
Link to paths starting at Unix-style root in the tracebacks (#15548)
krassowski Dec 22, 2023
0a5e152
Show the notification center if the status bar is disabled (#15568)
jtpio Dec 27, 2023
319b74b
Accept/invoke inline completions with `Tab` (#15571)
krassowski Jan 2, 2024
07fe37e
Bump actions/labeler from 4 to 5 (#15582)
dependabot[bot] Jan 2, 2024
b6f176b
Revert "Bump actions/labeler from 4 to 5 (#15582)" (#15593)
jtpio Jan 2, 2024
7084699
Fixes the order of items in notebook toolbar (#15553)
brichet Jan 3, 2024
9604b33
fix ctrl+s rtc bug (#15597)
andrewfulton9 Jan 3, 2024
638f628
Group dependabot updates (#15592)
jtpio Jan 4, 2024
7e40410
Bump altair from 5.1.2 to 5.2.0 (#15585)
dependabot[bot] Jan 4, 2024
78ed638
Bump pandas from 2.1.3 to 2.1.4 (#15588)
dependabot[bot] Jan 4, 2024
6cd0ea0
Bump actions/stale from 8 to 9 (#15583)
dependabot[bot] Jan 4, 2024
a0ee827
Bump github/codeql-action from 2 to 3 (#15580)
dependabot[bot] Jan 4, 2024
eff7d42
Bump tj-actions/changed-files from 40.2.0 to 41.0.1 (#15581)
dependabot[bot] Jan 4, 2024
ee86951
Fix dependabot config (#15618)
fcollonval Jan 9, 2024
4f57e27
[pre-commit.ci] pre-commit autoupdate (#15591)
pre-commit-ci[bot] Jan 9, 2024
13ba4cc
Bump follow-redirects from 1.15.2 to 1.15.4 (#15622)
dependabot[bot] Jan 9, 2024
07b9339
Bump the actions group with 1 update (#15620)
dependabot[bot] Jan 11, 2024
cd1fe21
Fix syntax error in benchmark workflow (#15630)
krassowski Jan 12, 2024
f5c11cb
Show toast notification for running code cell while kernel initializi…
misterfads Jan 12, 2024
83b2ae9
Fix markdown getting un-rendered when focusing on a different cell (#…
krassowski Jan 13, 2024
b00846a
Note changes to statusbar items behaviour in extension migration guid…
j264415 Jan 15, 2024
631cb18
Restore previous Galata `page.filebrowser.refresh()` timeout logic (#…
jtpio Jan 15, 2024
ebd9131
Use `jlpm` as npm client for snapshot updates (#15641)
krassowski Jan 15, 2024
3711c95
Fix link in extension migration guide (#15640)
krassowski Jan 15, 2024
e9ccb60
Use jlpm for docs snapshots too (#15646)
krassowski Jan 16, 2024
a6f6b9d
Fix new line getting inserted when running cells with `Ctrl` + `Enter…
krassowski Jan 16, 2024
6c5cce7
Fix kernel shortcuts, add migration, fix defaults population (#15639)
krassowski Jan 16, 2024
b9d5faa
update to mermaid 10.7.0 (#15647)
bollwyvl Jan 17, 2024
0922e74
Fix outputarea package from not detecting updates (#15642)
MFA-X-AI Jan 17, 2024
aee0bac
Fixes focus indicator on input checkbox for Firefox (#15612)
alden-ilao Jan 17, 2024
0b96b80
[ci skip] Publish 4.1.0b1
krassowski Jan 17, 2024
43a4e70
User-facing changelog for 4.1 (#15648)
krassowski Jan 19, 2024
e1b3aab
Merge pull request from GHSA-4m77-cmpx-vjc4
krassowski Jan 19, 2024
f7cc20a
Fix CI on main: lint
krassowski Jan 19, 2024
19bd9b9
Merge pull request from GHSA-44cc-43rp-5947
krassowski Jan 19, 2024
f58594c
[ci skip] Publish 4.1.0b2
krassowski Jan 19, 2024
18b8367
Automated Changelog Entry - Remove 1 placeholder entries. (#15666)
Jan 20, 2024
e956d64
Bump the actions group with 2 updates (#15619)
dependabot[bot] Jan 22, 2024
f7f885e
Mention jupyter-ai pre-release in inline completer changelog section …
krassowski Jan 22, 2024
ef874a1
Issue-13794 switch from pytest-tornasync to pytest-jupyter (#15662)
KiranmaiKalla Jan 22, 2024
ae54125
Remove the add cell button from the tabbable item. It is now reachabl…
brichet Jan 23, 2024
ecd3afe
Migrate to `user` level or to none (as fallback) (#15678)
krassowski Jan 24, 2024
266d009
Bump to 0.15.2 (#15600)
fcollonval Jan 25, 2024
dafb934
Enable keyboard navigation in the statusbar (#14853)
j264415 Jan 25, 2024
cd268ce
Fix shortcut UI failing on filtering when empty command is given (#15…
krassowski Jan 26, 2024
85445cc
Bump hatchling (#15694)
fcollonval Jan 26, 2024
e38e0b8
Fix spurious "File Changed" dialogs using `hash` from `jupyter-server…
Wh1isper Jan 27, 2024
558c60f
[ci skip] Publish 4.1.0rc0
krassowski Jan 27, 2024
728c2b3
Add scroll margin to headings for better alignment (#15703)
krassowski Jan 29, 2024
b1d2858
Fix search highlights removal on clearing input box (#15690)
krassowski Jan 29, 2024
26677ad
fixed jupyterlab downgrade issue on plugin installation (#15650)
Sarthug99 Jan 30, 2024
af8d902
Removes Python 3.0, Notebook 5 mentions from contributor docs (#15710)
JasonWeill Jan 30, 2024
6554eea
Fix kernels sidepanel scrollbar (#15718)
FoSuCloud Jan 31, 2024
f843c0a
Replace `ifaxity/wait-on-action` wrapper with direct `wait-on` use (#…
krassowski Jan 31, 2024
63651b4
Fix `overrides.json` not working for shortcuts (#15716)
krassowski Jan 31, 2024
1a19d63
Run Mermaid tests on CI (#15717)
krassowski Jan 31, 2024
5ba76a8
Fix scrolling on execution and switching notebook mode (#15702)
krassowski Feb 1, 2024
7052a4c
[ci skip] Publish 4.1.0rc1
krassowski Feb 1, 2024
e51ff33
Ensure void elements have closing slash in mermaid svg (#15661)
bollwyvl Feb 2, 2024
0c8a5b0
Copy edits (#15730)
JasonWeill Feb 2, 2024
ba1a690
Bump the actions group with 3 updates (#15728)
dependabot[bot] Feb 3, 2024
2aff9e3
Fix running kernels icons issue #14962 (#15735)
paolocarinci Feb 3, 2024
b2f36ff
Fix cell toolbar getting stuck when using collapse cell (#15732)
FoSuCloud Feb 3, 2024
d9d578c
Bump the actions group with 3 updates (#15727)
dependabot[bot] Feb 4, 2024
b887949
Fix scrollbars partially blocking code completion (#15736)
phil-zxx Feb 4, 2024
82051a9
[ci skip] Publish 4.1.0
krassowski Feb 5, 2024
8990d9b
[pre-commit.ci] pre-commit autoupdate (#15750)
pre-commit-ci[bot] Feb 7, 2024
576e2d5
Catch OSError in addition to PermissionError when sys_prefix is read-…
dhml Feb 7, 2024
fc7eddd
Fix failing "Notebook Toolbar › Paste cell" test (#15720)
krassowski Feb 7, 2024
f49dc3a
Add post-mortem for 3.6.7 release (#15743)
krassowski Feb 7, 2024
4a6676b
Update maintainers affiliation (#15724)
fcollonval Feb 7, 2024
d4ab66c
Fix outputs preservation on splitting cells (#15751)
krassowski Feb 7, 2024
2c721fa
Fix migration of multiple command selectors (#15762)
krassowski Feb 8, 2024
742acd2
Disable (shift + )alt + number shortcuts on Mac (#15761)
krassowski Feb 8, 2024
d36e1ed
Update changelog to reflect jupyter-ai release, (#15775)
krassowski Feb 8, 2024
21f00fe
Update lifecycle info for JupyterLab major versions (#15626)
JasonWeill Feb 8, 2024
3cc707c
Fix completer auto-invoking on non-source changes (#15753)
krassowski Feb 9, 2024
49f6ec2
Update `jupyter-collaboration` for the Binder environment (#15767)
jtpio Feb 9, 2024
729b17d
Fix console cells not becoming read-only after execution (#15779)
krassowski Feb 12, 2024
9963b22
Add Edge, remove IE 11 (#15784)
JasonWeill Feb 12, 2024
d3d9070
Fix undo/redo in console, fix undo/redo enabled state in file editor …
krassowski Feb 12, 2024
21919ee
Correct Alt + number keyboard shortcuts command map (#15791)
g547315 Feb 12, 2024
6abcf80
catch errors attempting to access document.cookie (#15788)
minrk Feb 12, 2024
53cdf83
[ci skip] Publish 4.1.1
krassowski Feb 13, 2024
e40ed2e
Fix outdated link to mybinder.org on index page of documentation (#15…
nluetts Feb 14, 2024
51d6956
Restore notebook scrolling on dragging a cell to the viewport edge (#…
krassowski Feb 15, 2024
1a98dea
Fix typing in editable elements inside of open shadow DOM (#15774)
krassowski Feb 16, 2024
b689a68
Fix highlight sequencing when replacing text in code cells (#15803)
JasonWeill Feb 16, 2024
bb8a4ed
Windows platforms, erratic pasting of text into Markdown field (#15794)
kiliansinger Feb 16, 2024
d4c2f9f
Remove SO links, add more recent issue to FAQ (#15811)
krassowski Feb 19, 2024
d835cf3
[docker] Allow non-unique GID (#15699)
trungleduc Feb 19, 2024
cfa3f5b
[ci skip] Publish 4.1.2
krassowski Feb 19, 2024
ce4bc95
Bump ip from 2.0.0 to 2.0.1 (#15831)
dependabot[bot] Feb 21, 2024
5256396
Fix code sample (`app.services` does not exist) (#15838)
krassowski Feb 21, 2024
926a19d
Fix workspaces URL guard (#15842)
krassowski Feb 21, 2024
7ad5ce8
Fix broken link (#15851)
fcollonval Feb 22, 2024
9af95ed
Add `4.0.x` and `4.1.x` to the documentation switcher (#15850)
jtpio Feb 22, 2024
32fb8c5
Fix clean script (#15854)
krassowski Feb 22, 2024
15875f4
Adds title to close button of search and replace box (#15825)
JasonWeill Feb 22, 2024
2d68127
Dynamic title for expander/collapser button (#15826)
JasonWeill Feb 22, 2024
d582282
Check if editor exists before checking if it is disposed (#15865)
krassowski Feb 26, 2024
e779b85
When attaching only typeset after rendering is completed (#15810)
krassowski Feb 27, 2024
4b19696
Fix codemirror highlight for Python builtin (#15805)
AllanChain Feb 28, 2024
4eafeff
Bump es5-ext from 0.10.62 to 0.10.63 (#15878)
dependabot[bot] Feb 28, 2024
a0b9c86
Update docstrings to mention Jupyter Server API (#15880)
jtpio Feb 28, 2024
2af428c
Fix missing signals in file editor adapter (#15873)
krassowski Feb 28, 2024
d12925f
Adds description for disabled search filter (#15867)
JasonWeill Mar 1, 2024
ffca65d
Show outline on the full item in file browser, only when needed (#15860)
krassowski Mar 2, 2024
9f73585
Copy edits in dialog (#15875)
JasonWeill Mar 2, 2024
7f6ac2b
Enable default file browsers with different properties (aria label, t…
HaudinFlorence Mar 3, 2024
b1f6dd4
Add `metadataform` to the labeler (#15896)
jtpio Mar 4, 2024
429b618
Prevent command shortcuts from preventing user input (#15790)
krassowski Mar 4, 2024
c55a56a
Remove `child_process` dependency (#15888)
jtpio Mar 4, 2024
d2f8ab1
Bump `sanitize-html` to latest v2.12.1 (#15877)
krassowski Mar 4, 2024
3f98909
Fix saving of item positions in reactive toolbar (#15843)
brichet Mar 4, 2024
be1c486
Fix Pressing enter in console with console run keystroke set to enter…
FoSuCloud Mar 4, 2024
afeb955
Lab/NB7 extension compatibility docs (#14838)
ericsnekbytes Mar 5, 2024
fd1115f
[ci skip] Publish 4.2.0a0
krassowski Mar 5, 2024
8556afc
Add an explicit default for inline completer providers (#15899)
krassowski Mar 5, 2024
f4c011e
Fix spurious dedent when opening inspector tooltip (#15898)
krassowski Mar 5, 2024
56c7d1b
Revert "Prevent command shortcuts from preventing user input (#15790)…
krassowski Mar 7, 2024
7a7df78
fix: restore SwitchKernel ToolbarButton color (#15924)
FoSuCloud Mar 7, 2024
b6253d9
Fix creating files in custom drives, fix `ContentsManagerMock` (#15291)
jtpio Mar 7, 2024
864754e
Fixes filter for Chinese, other non-ASCII filenames (#15935)
JasonWeill Mar 7, 2024
f4ccd67
Avoid concurrency computation of the items to display in notebook too…
brichet Mar 8, 2024
ff90432
Some galata improvements (#15375)
fcollonval Mar 8, 2024
6169fc7
Disable next/previous match buttons when no text is in Find box (#15857)
JasonWeill Mar 11, 2024
cdca0a2
Ignore links to GitHub user and organisation profiles (#15959)
krassowski Mar 11, 2024
1249213
Bump the actions group with 2 updates (#15891)
dependabot[bot] Mar 12, 2024
b0fb881
Add end of maintenance date to README (#15920)
JasonWeill Mar 12, 2024
4df55ca
Allow to customise directory and notebook icon (#15828)
linlol Mar 12, 2024
910a162
Fix browser-test.js (#15892)
fcollonval Mar 12, 2024
2e2d64e
Update Release Scripts (#15973)
blink1073 Mar 13, 2024
80dd3d6
Short-circuit `selectItemByName()` if already selected (#15970)
krassowski Mar 13, 2024
946f18c
Handle drives for checkpoints in `ContentsManagerMock` (#15974)
jtpio Mar 13, 2024
783880f
Update to `@jupyter/ydoc` v2.0.1 (#15982)
jtpio Mar 14, 2024
412cb0a
Remove `node-fetch` dependency (#15969)
jtpio Mar 14, 2024
ae50922
Uses the browser window's selection as the default search query (#15834)
JasonWeill Mar 14, 2024
0bc3a8d
Fix Theme color is not applied to Toolbar Button (#15957)
FoSuCloud Mar 14, 2024
eab4af9
Update links to the Jupyter Frontends team compass (#15998)
jtpio Mar 14, 2024
a2fb9df
[ci skip] Publish 4.2.0a1
krassowski Mar 14, 2024
dda3210
Bump the actions group with 5 updates (#15893)
dependabot[bot] Mar 15, 2024
3946e3f
Remove `whatwg-fetch` polyfill (#16000)
jtpio Mar 15, 2024
9eea31b
Update CodeMirror and lezer packages (#15987)
krassowski Mar 16, 2024
98deb6f
Fix `ServerApp.token` deprecation warnings (#16011)
jtpio Mar 18, 2024
a1166c1
Fix manager isDisposed is not set (#15997)
fcollonval Mar 19, 2024
5598b3a
Adjust assertion to allow both Node 18 and 20+ (#16024)
krassowski Mar 20, 2024
f54a154
Bump ydoc in dev-mode (#16018)
trungleduc Mar 20, 2024
ee99e3c
Re-organise the kernel tree in sidebar (#15845)
krassowski Mar 20, 2024
57b5dc8
Preventing changing cell type when input is pending to avoid kernel d…
krassowski Mar 21, 2024
cd8a029
Update to Node 20 (#15996)
jtpio Mar 21, 2024
ac5bf0c
allow setting ServerConnection.appendToken via PageConfig (#16022)
minrk Mar 21, 2024
cb50196
Long items should not wrap (#15844)
mdietz94 Mar 21, 2024
b318b57
Reopen recently opened/closed files and modal navigation (#15483)
krassowski Mar 21, 2024
0f3675a
Fix scrolling on editor interactions when active cell is out of view …
krassowski Mar 21, 2024
66ed610
Fix windowed notebook and ToC getting broken on reloading from disk (…
krassowski Mar 22, 2024
f00eef9
Update mock package dependencies (#16041)
jtpio Mar 22, 2024
ef92af0
Fix inconsistent header state by specifying header node (#16026)
erkin98 Mar 22, 2024
c0050f2
Set fallback for material css properties (#15371)
fcollonval Mar 22, 2024
c586cda
Print out incompatibility errors for "outdated" extensions on `--verb…
krassowski Mar 23, 2024
2267e0f
Add devcontainer (#15909)
fcollonval Mar 25, 2024
2fc6682
Implement Workspaces GUI (#15946)
krassowski Mar 25, 2024
e1ee2d4
[ci skip] Publish 4.2.0a2
krassowski Mar 25, 2024
a5c6228
Do not require `IWorkspaceCommands` in apputils extension (#16058)
krassowski Mar 25, 2024
02a6c0a
Test on Python 3.12 on CI (#16009)
jtpio Mar 26, 2024
6450254
Measure cells out of viewport in windowing mode (#15401)
fcollonval Mar 26, 2024
424806b
Add token `ICellExecutor` providing an entry to customize cell execut…
fcollonval Mar 26, 2024
5af2cc9
Refactor shortcuts UI to fix most of the known issues (#16043)
krassowski Mar 29, 2024
74eeb13
Removes dotted outline from active code cell (#16070)
JasonWeill Mar 29, 2024
16ba221
Add `IShell.currentChanged` and notify commands based on it (#15449)
fcollonval Mar 29, 2024
7bfee81
Propagate command changed signal in semantic commands. (#14683)
fcollonval Mar 30, 2024
9231bc3
Use locale-based sorting in the table of shortcuts (#16077)
UntitledError-09 Apr 1, 2024
c5dba06
Tackle flaky readonly notification and workspaces context menu snapsh…
krassowski Apr 2, 2024
194de76
Fix missing backtick (#16083)
krassowski Apr 2, 2024
634cc3a
Fix migration script, use extras for its dependencies (#16088)
krassowski Apr 2, 2024
3d9a2f1
Enable `full` notebook windowing mode by default (#15964)
krassowski Apr 2, 2024
0ececa5
Make visual regression tests faster (#16069)
krassowski Apr 2, 2024
0673a59
Fix shutdownAll button (#16093)
fcollonval Apr 2, 2024
41be86d
[ci skip] Publish 4.2.0b0
krassowski Apr 2, 2024
d4b000f
Tests for sorting shortcut columns (#16098)
itsmevichu Apr 3, 2024
6c83ad3
Fix scrolling to output area inputs on caret movement (#16068)
krassowski Apr 3, 2024
5bb0c29
Use `dependency_type: minimum` for Minimum Versions check (#16105)
krassowski Apr 3, 2024
9aca629
Mention JupyterLab Desktop in the installation section (#16100)
krassowski Apr 3, 2024
f615d5f
Fix named temporary file usage for windows (#16064)
fcollonval Apr 3, 2024
4660d66
[pre-commit.ci] pre-commit autoupdate (#16087)
pre-commit-ci[bot] Apr 3, 2024
96c28b6
Bump the pip group with 6 updates (#16094)
dependabot[bot] Apr 4, 2024
78c6f80
Dark High Contrast Theme for JupyterLab with Improved Sidebar Focus I…
m158261 Apr 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Enable full notebook windowing mode by default (jupyterlab#15964)
* Enable `full` windowing mode by default

* Use `none` mode for mermaid snapshots tests

* Account for the windowed scrollbar button

* Do not capture the full main area in galata notebook tests

it does not make much sense, especially for cells; instead,
capture the notebook itself. Add a new test for saving,
because that was implicitly tested by `Run Cells` test
(and is not anymore). Of note, one of the tests,
`Open and run cell by cell` is still taking a snapshot
of the entire panel; this is intentional - we do want
one snapshot to be more encompassing (but not all of them!).

* Update the debugger button sizing

* Only capture notebook content in custom CSS test of headings

as the toolbar is irrelevant for the snapshot of headings!

* Only capture the main area for altair and html docs snapshots

The rest of the UI does not really matter on these snapshots
and it only makes the content small and hard to read in the docs.

* Update Playwright Snapshots

* Update Playwright Snapshots

* Fix toolbar test (account for the scrollbar button)

* Revert spurious snapshot updates

* Fix missing dot in selector

* Use `none` for collapsible headings test

* Add notebook-tab-saved snapshot

* Fix misplaced config

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
krassowski and github-actions[bot] authored Apr 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 3d9a2f1b1188144ed95139127fa8a95c09aca0d9
7 changes: 4 additions & 3 deletions galata/test/documentation/custom_css.test.ts
Original file line number Diff line number Diff line change
@@ -46,9 +46,10 @@ test.describe('Use custom CSS layout', () => {

await page.notebook.openByPath(`${tmpPath}/${fileName}`);
await page.notebook.activate(fileName);
const panel = (await page.activity.getPanelLocator())!;

expect(
await (await page.activity.getPanelLocator())?.screenshot()
).toMatchSnapshot('custom-css-notebook-markdown.png');
expect(await panel.locator('.jp-Notebook').screenshot()).toMatchSnapshot(
'custom-css-notebook-markdown.png'
);
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions galata/test/documentation/debugger.test.ts
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ test.describe('Debugger', () => {

expect(
await page.screenshot({
clip: { x: 1030, y: 62, width: 210, height: 32 }
clip: { x: 1015, y: 62, width: 225, height: 32 }
})
).toMatchSnapshot('debugger_kernel.png');
});
@@ -46,7 +46,7 @@ test.describe('Debugger', () => {
await page.sidebar.setWidth(251, 'right');

expect(
await page.screenshot({ clip: { y: 62, x: 780, width: 210, height: 32 } })
await page.screenshot({ clip: { y: 62, x: 765, width: 225, height: 32 } })
).toMatchSnapshot('debugger_activate.png');
});

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 9 additions & 13 deletions galata/test/documentation/general.test.ts
Original file line number Diff line number Diff line change
@@ -650,11 +650,6 @@ test.describe('General', () => {

test('HTML Display', async ({ page, tmpPath }) => {
await page.goto(`tree/${tmpPath}`);
await page.addStyleTag({
content: `.jp-LabShell.jp-mod-devMode {
border-top: none;
}`
});

// Hide file browser
await page.click('[title^="File Browser"]');
@@ -675,22 +670,21 @@ test.describe('General', () => {

await page.click('.jp-CodeConsole-input >> .cm-content');
await page.keyboard.type(
"from IPython.display import display, HTML\ndisplay(HTML('<h1>Hello World</h1>'))"
"from IPython.display import display, HTML\ndisplay(HTML('<h1>Hello World</h1>'))",
{
delay: 0
}
);
await page.keyboard.press('Shift+Enter');

expect(await page.screenshot()).toMatchSnapshot(
const main = page.getByRole('main');
expect(await main.screenshot()).toMatchSnapshot(
'file_formats_html_display.png'
);
});

test('Altair', async ({ page, tmpPath }) => {
await page.goto(`tree/${tmpPath}`);
await page.addStyleTag({
content: `.jp-LabShell.jp-mod-devMode {
border-top: none;
}`
});

// Hide file browser
await page.click('[title^="File Browser"]');
@@ -707,8 +701,10 @@ test.describe('General', () => {
// Need to wait for altair to update the canvas
await page.locator('summary').waitFor();

const main = page.getByRole('main');

// The menu button '...' color of Altair is flaky increase threshold tolerance
expect(await page.screenshot()).toMatchSnapshot('file_formats_altair.png', {
expect(await main.screenshot()).toMatchSnapshot('file_formats_altair.png', {
threshold: 0.3
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 26 additions & 17 deletions galata/test/galata/notebook.spec.ts
Original file line number Diff line number Diff line change
@@ -29,10 +29,7 @@ test.describe('Notebook Tests', () => {
'## This is a markdown cell'
);

// Wait for kernel to be idle
await page.locator('#jp-main-statusbar').getByText('Idle').waitFor();

expect(await page.getByRole('main').screenshot()).toMatchSnapshot(
expect(await page.locator('.jp-Notebook').screenshot()).toMatchSnapshot(
'markdown-cell.png'
);
});
@@ -45,13 +42,7 @@ test.describe('Notebook Tests', () => {
expect(await page.notebook.getCellType(1)).toBe('raw');
expect(await page.notebook.getCellTextInput(1)).toBe('This is a raw cell');

// Wait for kernel to be idle and the debug switch to appear
await Promise.all([
page.locator('#jp-main-statusbar').getByText('Idle').waitFor(),
page.locator('.jp-DebuggerBugButton').waitFor()
]);

expect(await page.getByRole('main').screenshot()).toMatchSnapshot(
expect(await page.locator('.jp-Notebook').screenshot()).toMatchSnapshot(
'raw-cell.png'
);
});
@@ -64,10 +55,7 @@ test.describe('Notebook Tests', () => {
expect(await page.notebook.getCellType(1)).toBe('code');
expect(await page.notebook.getCellTextInput(1)).toBe('2 + 2');

// Wait for kernel to be idle
await page.locator('#jp-main-statusbar').getByText('Idle').waitFor();

expect(await page.getByRole('main').screenshot()).toMatchSnapshot(
expect(await page.locator('.jp-Notebook').screenshot()).toMatchSnapshot(
'code-cell.png'
);
});
@@ -87,15 +75,31 @@ test.describe('Notebook Tests', () => {
await page.notebook.addCell('code', '2 + 2');

await page.notebook.run();
await page.notebook.save();

expect((await page.notebook.getCellTextOutput(2))![0]).toBe('4');

expect(await page.getByRole('main').screenshot()).toMatchSnapshot(
expect(await page.locator('.jp-Notebook').screenshot()).toMatchSnapshot(
'run-cells.png'
);
});

test('Save', async ({ page }) => {
await page.notebook.createNew();

await page.notebook.setCell(0, 'markdown', '## This is a markdown cell');

const tabList = page.getByRole('main').getByRole('tablist');
const notSavedIndicator = tabList.locator('.jp-mod-dirty');
await expect(notSavedIndicator).toHaveCount(1);

await page.notebook.save();
await expect(notSavedIndicator).toHaveCount(0);

expect(await tabList.screenshot()).toMatchSnapshot(
'notebook-tab-saved.png'
);
});

test('Open and run cell by cell', async ({ page, tmpPath }) => {
await page.contents.uploadDirectory(
path.resolve(__dirname, './notebooks'),
@@ -123,6 +127,11 @@ test.describe('Notebook Tests', () => {

const panel = await page.activity.getPanelLocator();

// Note: this should be the only test taking the screenshot
// of the full panel; all other tests should take snapshots
// of individual notebook parts to avoid the need to review
// multiple snapshots when some minor change is introduced
// in the UI (e.g. in the toolbar).
expect(await panel!.screenshot()).toMatchSnapshot('example-run.png');
});

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions galata/test/jupyterlab/collapsible-headings.test.ts
Original file line number Diff line number Diff line change
@@ -124,6 +124,17 @@ test.describe('Collapsible Headings; keyboard navigation', () => {
await page.notebook.run();
});

// use non-standard showHiddenCellsButton=false
test.use({
mockSettings: {
...galata.DEFAULT_SETTINGS,
'@jupyterlab/notebook-extension:tracker': {
// `ReExpand Headers 01` is flaky in full windowing mode
windowingMode: 'none'
}
}
});

test('Jump to Previous Header', async ({ page }) => {
await page.notebook.selectCells(6);
await page.keyboard.press('ArrowLeft');
12 changes: 12 additions & 0 deletions galata/test/jupyterlab/notebook-mermaid-diagrams.test.ts
Original file line number Diff line number Diff line change
@@ -7,6 +7,18 @@ import { Locator } from '@playwright/test';

const fileName = 'mermaid_diagrams.ipynb';

test.use({
mockSettings: {
...galata.DEFAULT_SETTINGS,
'@jupyterlab/notebook-extension:tracker': {
...galata.DEFAULT_SETTINGS['@jupyterlab/notebook-extension:tracker'],
// Do not use windowing as it simplifies the test as we do not
// need to scroll the notebook before calling `output.waitFor()`.
windowingMode: 'none'
}
}
});

const EXPECTED_MERMAID_ORDER = [
'flowchart',
'sequence',
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions galata/test/jupyterlab/notebook-toolbar.test.ts
Original file line number Diff line number Diff line change
@@ -206,7 +206,7 @@ test.describe('Reactive toolbar', () => {
page
}) => {
const toolbar = page.locator('.jp-NotebookPanel-toolbar');
await expect(toolbar.locator('.jp-Toolbar-item:visible')).toHaveCount(14);
await expect(toolbar.locator('.jp-Toolbar-item:visible')).toHaveCount(15);
await expect(
toolbar.locator('.jp-Toolbar-responsive-opener')
).not.toBeVisible();
@@ -236,12 +236,13 @@ test.describe('Reactive toolbar', () => {
'body > .jp-Toolbar-responsive-popup:visible'
);
const popupToolbarItems = popupToolbar.locator('.jp-Toolbar-item:visible');
await expect(popupToolbarItems).toHaveCount(3);
await expect(popupToolbarItems).toHaveCount(4);

const itemChildClasses = [
'.jp-DebuggerBugButton',
'.jp-Toolbar-kernelName',
'.jp-Notebook-ExecutionIndicator'
'.jp-Notebook-ExecutionIndicator',
'[data-command="notebook:toggle-virtual-scrollbar"]'
];

for (let i = 0; i < (await popupToolbarItems.count()); i++) {
2 changes: 1 addition & 1 deletion packages/notebook-extension/schema/tracker.json
Original file line number Diff line number Diff line change
@@ -817,7 +817,7 @@
"title": "Windowing mode",
"description": "'defer': Improve loading time - Wait for idle CPU cycles to attach out of viewport cells - 'full': Best performance with side effects - Attach to the DOM only cells in viewport - 'none': Worst performance without side effects - Attach all cells to the viewport",
"enum": ["defer", "full", "none"],
"default": "defer"
"default": "full"
},
"accessKernelHistory": {
"title": "Kernel history access",