GitHub user Leemoonsoo opened a pull request:

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

    ZEPPELIN-25 Ability to create rich gui inside of Notebook

    This PR implements https://issues.apache.org/jira/browse/ZEPPELIN-25
    
    Here's a short video demo of this feature.
    [![IMAGE ALT TEXT 
HERE](http://img.youtube.com/vi/xU5TBS_MsAs/0.jpg)](http://www.youtube.com/watch?v=xU5TBS_MsAs)
    
    for someone who want to try, here's api
    ```scala
    
    // bind 'varName' variable with 'v' value
    z.angularBind(varName: String, v: Object)
    
    // unbind 'varName'
    z.angularUnbind(varName: String)
    
    // get value of 'varName'
    z.angular(varName:String)
    
    // add watcher to 'varName' variable.
    // that is monitoring change and run 'func' when it is changed.
    z.angularWatch(varName:String, func: (Object, Object) => Unit))
    
    // remove watcher from 'varName'
    z.angularUnwatch(varName:String)
    ```
    
    
    Any paragraph's output starting with '%angular'  will be considered as 
angular code. %angular as a interpreter also available.
    
![image](https://cloud.githubusercontent.com/assets/1540981/7003457/a1e6fe2a-dc95-11e4-8272-380f11c6ae81.png)
    
    Any feedback is welcome!

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

    $ git pull https://github.com/Leemoonsoo/incubator-zeppelin angular

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

    https://github.com/apache/incubator-zeppelin/pull/27.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 #27
    
----
commit 6d7e0630935b0f0df480ae9239a3c704a78011ae
Author: Lee moon soo <[email protected]>
Date:   2015-03-30T01:55:14Z

    Add source file license header

commit a7c77b87750d88748cc99ee38bfb53f684994569
Author: Lee moon soo <[email protected]>
Date:   2015-03-30T07:19:19Z

    Update license of ScreenCaptureHtmlUnitDriver.java

commit bb52d7bf39975646ed22fd9e627d6fae3c8e407a
Author: Lee moon soo <[email protected]>
Date:   2015-04-03T05:38:37Z

    Add %angular display system

commit 67f6926c1f9a3c13cb912a5bc7a614d13365ee9e
Author: Lee moon soo <[email protected]>
Date:   2015-04-04T08:29:57Z

    ZEPPELIN-25 impelemnet JS(angular) -JVM(scala) two-way binding

commit c2881982ede75a106287dc5eb116c84527604385
Author: Lee moon soo <[email protected]>
Date:   2015-04-04T16:29:43Z

    ZEPPELIN-25 send scope variables when loading note

commit 5954e292bff5774392868f010bffe7af576e8fc4
Author: Lee moon soo <[email protected]>
Date:   2015-04-05T02:48:24Z

    ZEPPELIN-25 save/restore angular object registry snapshot to the notebook 
file

commit 6df7f23e7c95102cac4cab618babbaa45d01af08
Author: Lee moon soo <[email protected]>
Date:   2015-04-05T03:16:27Z

    ZEPPELIN-25 broadcast angular object change to related notes

commit 6ce8f364d2e2a748667c0018657d5351c2e20c7d
Author: Lee moon soo <[email protected]>
Date:   2015-04-05T08:29:37Z

    ZEPPELIN-25 implement watcher

commit d4d270e431d4a687bb7eff4b9daf6de8c964a77a
Author: Lee moon soo <[email protected]>
Date:   2015-04-05T12:36:28Z

    ZEPPELIN-25 add unittest

commit 4d32d1971bc6548b34d31128be96ec30b01a4261
Author: Lee moon soo <[email protected]>
Date:   2015-04-05T12:36:46Z

    ZEPPELIN-25 prevent watcher called multiple times

commit 42ee479fcd66c151b74208b0dc7398498fc4fccc
Author: Lee moon soo <[email protected]>
Date:   2015-04-05T17:04:54Z

    com.nflabs -> org.apache

commit 0033d326ea67ee9e5d6007c4e05d8f50a26feb3d
Author: Lee moon soo <[email protected]>
Date:   2015-04-06T03:33:33Z

    Add angular interpreter

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to