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

Upgrade lumino to v2024.3.25, improve CodeMirror shortcuts handling #16078

Merged
merged 8 commits into from Apr 8, 2024

Conversation

krassowski
Copy link
Member

@krassowski krassowski commented Apr 1, 2024

References

Code changes

None

User-facing changes

image

Backwards-incompatible changes

None

@krassowski krassowski added this to the 4.2.0 milestone Apr 1, 2024
Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

@krassowski
Copy link
Member Author

krassowski commented Apr 3, 2024

This also means that Ctrl+Shift+K no longer opens Table Of Contents when in edit mode (it now only deletes the current line; previously it did both: #16096).

Given the issues:

I propose that we disable these default keybindings and add proper commands for them.

@krassowski krassowski marked this pull request as ready for review April 3, 2024 14:03
@krassowski krassowski changed the title Upgrade lumino packages to v2024.3.25 Upgrade lumino to v2024.3.25, modify CodeMirror shortcuts handling Apr 3, 2024
@krassowski
Copy link
Member Author

It looks like the galata tests are failing because Escape does not leave the edit mode. I think there may be a similar CM issue with a similar solution. Also I need to change the expected shortcut for extending selection.

@krassowski krassowski changed the title Upgrade lumino to v2024.3.25, modify CodeMirror shortcuts handling Upgrade lumino to v2024.3.25, improve CodeMirror shortcuts handling Apr 5, 2024
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @krassowski

@krassowski krassowski merged commit 31e963e into jupyterlab:main Apr 8, 2024
81 of 82 checks passed
gderocher pushed a commit to gderocher/jupyterlab that referenced this pull request Apr 26, 2024
…upyterlab#16078)

* Upgrade lumino packages to v2024.3.25

* Add shortcuts/commands for CM, fix issues with new lumino version.

* Fix escape and toggle back extending selection

* Update tests for extending selection

* Add tests for delete line, comment line, and comment block commands

* Update help snapshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment