Uh oh!
There was an error while loading. Please reload this page.
Alert message when trying to delete last paragraph. - #979
Conversation
cloverhearts
commented
Jun 10, 2016
tested. |
corneadoug
commented
Jun 10, 2016
I would like to suggest a different approach: It is also quite easy to do: Since angular has both |
astroshim
commented
Jun 10, 2016
@corneadoug Thank you very much for your review and opinion. I'll follow your advice. |
minahlee
commented
Jun 10, 2016
@corneadoug I like the idea, but how do we want to handle paragraph deletion by keyboard shortcut in this case? |
corneadoug
commented
Jun 10, 2016
@minahlee Maybe then in that case it would be needed |
astroshim
commented
Jun 10, 2016
@minahlee@corneadoug Then we need two ways to solve this issue? |
corneadoug
commented
Jun 10, 2016
I guess both methods can cohabitate then |
astroshim
commented
Jun 10, 2016
Thank you for clarification. |
astroshim
commented
Jun 10, 2016
@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 |
astroshim
commented
Jun 11, 2016
@minahlee I'll take care about that you mentioned. thanks. |
astroshim
commented
Jun 13, 2016
@minahlee Could you tell me how can i get your test failure? |
corneadoug
commented
Jun 13, 2016
@astroshim She posted the test failure. The exact failing tests and the error lines: |
astroshim
commented
Jun 13, 2016
@corneadoug Thank you for your kind explanation. |
corneadoug
commented
Jun 13, 2016
You need to trigger the selenium test locally, it doesn't by default without some configuration. |
astroshim
commented
Jun 13, 2016
@corneadoug Okay. Thank you!! |
corneadoug
commented
Jun 15, 2016
Tested Selenium Tests locally from original commit: And it's working well. I will create a flacky test issue on JIRA, |
astroshim
commented
Jun 15, 2016
@corneadoug I really appreciate for your effort. Thank you. I reset my commits. |
corneadoug
commented
Jun 15, 2016
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: