-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Alert message when trying to delete last paragraph. #979
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
Conversation
|
tested. |
|
I would like to suggest a different approach: It is also quite easy to do: Since angular has both |
|
@corneadoug Thank you very much for your review and opinion. I'll follow your advice. |
|
@corneadoug I like the idea, but how do we want to handle paragraph deletion by keyboard shortcut in this case? |
|
@minahlee Maybe then in that case it would be needed |
|
@minahlee @corneadoug Then we need two ways to solve this issue? |
|
I guess both methods can cohabitate then |
|
Thank you for clarification. |
|
@corneadoug @minahlee I fixed the code to hide "Remove" menu on the last paragraph menu. please review. |
|
Tested, looks good. How about applying @corneadoug's opinion making the first paragraph not to show |
|
@minahlee I'll take care about that you mentioned. thanks. |
|
@minahlee Could you tell me how can i get your test failure? |
|
@astroshim She posted the test failure. The exact failing tests and the error lines: |
|
@corneadoug Thank you for your kind explanation. |
|
You need to trigger the selenium test locally, it doesn't by default without some configuration. |
|
@corneadoug Okay. Thank you!! |
|
Tested Selenium Tests locally from original commit: And it's working well. I will create a flacky test issue on JIRA, |
|
@corneadoug I really appreciate for your effort. Thank you. I reset my commits. |
|
Merging if there's no more discussions |

What is this PR for?
This PR is for giving proper information to users and blocking unnecessary communication with zeppelin server when trying to delete last paragraph because the last paragraph can't be deleted.
What type of PR is it?
Improvement
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-979
How should this be tested?
You can try to remove last paragraph of a notebook.
Screenshots (if appropriate)
Questions: