GitHub user corneadoug opened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/804

    [ZEPPELIN-772] - Improve text append when streaming

    ### What is this PR for?
    This PR is to improve the result output when having interpreter streaming 
running.
    If you navigate outside the notebook, then come back inside, the streaming 
output will append below previous result.
    
    ### What type of PR is it?
    Improvement
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-772
    
    ### How should this be tested?
    You can run this
    ```
    (1 to 40).foreach{ i=>
        Thread.sleep(1000)
        println("Hello " + i)
    }
    ```
    Then navigate to home, then back to the notebook.
    You should see the newly streamed result only.
    
    ### Screenshots
    Before:
    
![before](https://cloud.githubusercontent.com/assets/710411/14101710/2b3608f6-f5d1-11e5-9501-e9ba7b0bc16c.gif)
    
    After:
    
![after](https://cloud.githubusercontent.com/assets/710411/14101714/31aaab06-f5d1-11e5-8fc1-645a3324a65e.gif)
    
    
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/corneadoug/incubator-zeppelin 
improve/flushStreamingOutput

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-zeppelin/pull/804.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 #804
    
----
commit e871ba6b00c30a2e85c00533470887b775b748e1
Author: Damien CORNEAU <cornead...@gmail.com>
Date:   2016-03-29T08:02:24Z

    Flush on first text append event

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to