-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Enable full
notebook windowing mode by default
#15964
Enable full
notebook windowing mode by default
#15964
Conversation
Thanks for making a pull request to jupyterlab! |
Linking to jupyter/notebook#7231 as something we will likely want to fix if this becomes the default. Unless Notebook still defaults to |
Thanks, I added jupyter/notebook#7231 to the list in #15258. Looking at visual regression CI failures, something to consider is whether we want to pin some tests to use
|
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!).
bot please update snapshots |
as the toolbar is irrelevant for the snapshot of headings!
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.
feb6775
to
a7f363f
Compare
Documentation snapshots updated. |
Galata snapshots updated. |
@gabalafou I hope the trimming of snapshots in this PR will make you happy :) |
b48ea42
to
e55c83c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @krassowski
* 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>
References
Code changes
Enables
full
notebook windowing mode by default to gather wider user feedback during JupyterLab 4.2.0 pre-release testing. If we do not get far enough with tackling issues from #15258 before 4.2.0 we can revert this PR.User-facing changes
JupyterLab works faster when long notebooks are open.
Backwards-incompatible changes
None