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

notebook: Select the Last Cell when deleting selected last cell #13715

Merged
merged 2 commits into from
May 16, 2024

Conversation

jonah-iden
Copy link
Contributor

What it does

This aligns more to vscodes notebook behaviour that when deleting the last cells where one of them is selected, then the last cell in the notebook is selected. Previously no cell was selected after that.

How to test

Open a notebook with at least two cells. Select the last cell and delete it. The previous cell should now be selected

Follow-ups

Review checklist

Reminder for reviewers

… larger than avaialable cells

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
@jonah-iden jonah-iden requested a review from msujew May 16, 2024 13:33
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@jonah-iden jonah-iden merged commit 44b4f27 into master May 16, 2024
14 checks passed
@jonah-iden jonah-iden deleted the jiden/notebook-select-last-cell-on-delete branch May 16, 2024 15:04
@github-actions github-actions bot added this to the 1.50.0 milestone May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants