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

Better experience after deleting the only cell of a new notebook #3140

Open
ggggggggg opened this issue Feb 7, 2025 · 3 comments
Open

Better experience after deleting the only cell of a new notebook #3140

ggggggggg opened this issue Feb 7, 2025 · 3 comments
Labels
bug Something isn't working frontend Concerning the HTML editor

Comments

@ggggggggg
Copy link

What happened

I created a new notebook, clicked in the only cell, then hit backspace by accident. I was left with a blank notebook with no UI element I could see to create a new cell. Also the shortcut I usually use to create a new cell (ctrl+enter) did not work. So I was left with a seemingly useless notebook. I was able to click the pluto symbol and make a new notebook to proceed. I think it would be better if getting to the useless notebook state was impossible. Either don't allow deletion of the only cell, or when there are 0 cells add a ui element to create a cell where the cells would be.

video of deleting the only cell

https://share.vidyard.com/watch/i5DLaA8UwWMV7sth8Ydd35?

@fonsp
Copy link
Owner

fonsp commented Feb 13, 2025

Strange! Pluto automatically creates a new cell when you delete the last one. See #444 for previous discussion

How do you delete the cell?

Do you see any error messages in the terminal where you launched Pluto?

Do you see any error messages in the browser dev console?

@fonsp fonsp added bug Something isn't working frontend Concerning the HTML editor labels Feb 13, 2025
@ggggggggg
Copy link
Author

ggggggggg commented Feb 13, 2025

How do you delete the cell? Click in it, hit backspace.
Do you see any error messages in the terminal where you launched Pluto? No.
Do you see any error messages in the browser dev console? No.

Another observation: When I first delete the cell, then leave the tab and come back, then there is a cell.

@fonsp
Copy link
Owner

fonsp commented Feb 14, 2025

Can you share a screenshot of the browser dev console after deleting a cell?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Concerning the HTML editor
Projects
None yet
Development

No branches or pull requests

2 participants