You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by malayhm <gi...@git.apache.org> on 2017/09/10 19:08:21 UTC
[GitHub] zeppelin pull request #2579: Zeppelin-2922 Allow removing last paragrap
GitHub user malayhm opened a pull request:
https://github.com/apache/zeppelin/pull/2579
Zeppelin-2922 Allow removing last paragrap
### What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html
### What type of PR is it?
[Improvement]
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2922
### How should this be tested?
1. Build: mvn clean package -Denforcer.skip -DskipTests -Drat.skip
2. Create paragraphs in a notebook and try to remove it
3. You can delete any paragraphs(even last paragraphs), but when there will be only one paragraph, remove button will be hidden
### Screenshots (if appropriate)
After:

### Questions:
* Does the licenses files need an update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? May be
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/malayhm/zeppelin ZEPPELIN-2922
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2579.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2579
----
commit 73fd0659ad9aa4ca3b88c04b979349d5dddb8a77
Author: Malay Majithia <ma...@gmail.com>
Date: 2017-09-09T17:14:02Z
ZEPPELIN-2922 Allow removing last paragraph
commit 1220f13882855eda3fdd2ceced63b4bbabe1a58a
Author: Malay Majithia <ma...@gmail.com>
Date: 2017-09-09T17:15:11Z
Merge branch 'master' into ZEPPELIN-2922
commit 7c815ceaa71c8a21ca59de60fb28adb0148d1549
Author: Malay Majithia <ma...@gmail.com>
Date: 2017-09-10T18:21:21Z
Removed unwanted line
----
---
[GitHub] zeppelin issue #2579: Zeppelin-2922 Allow removing last paragrap
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the issue:
https://github.com/apache/zeppelin/pull/2579
This is correct behavior. Preventing delete 'Last paragraph' was intended to keep at least one paragraph in the notebook. but it somehow implemented in a way to prevent removal of bottom paragraph.
LGTM and merge this to master if no further discussions.
---
[GitHub] zeppelin issue #2579: Zeppelin-2922 Allow removing last paragrap
Posted by 1ambda <gi...@git.apache.org>.
Github user 1ambda commented on the issue:
https://github.com/apache/zeppelin/pull/2579
@malayhm Hi, Thanks for the contribution.
I just read the JIRA issue and have a question. Could you elaborate the situation when
> sometimes user want to delete the last empty paragraph to make the notebook interface clean.
---
[GitHub] zeppelin pull request #2579: Zeppelin-2922 Allow removing last paragrap
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/zeppelin/pull/2579
---