GitHub user tinkoff-dwh reopened a pull request:

    https://github.com/apache/zeppelin/pull/2641

    [ZEPPELIN-1363] Note level dynamic form

    ### What is this PR for?
    Added dynamic forms for Note. All paragraphs has access to note forms. 
    
    ### What type of PR is it?
    [Feature]
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-1363
    
    ### How should this be tested?
    Create global interpreter JDBC and Spark. Create note with 2 paragraphs
    ```
    %pyspark
    
    print("Textbox paragraph " + z.textbox('input', 'default'))
    print("Textbox note " + z.noteTextbox('note_input', 'default_note'))
    
    print("Select paragraph " +  z.select("sel", [("1","opt1"), ("2","opt2"), 
("3","opt3")]))
    print("Select note " +  z.noteSelect("sel_note", [("1","noteOpt1"), 
("2","noteOpt2"), ("3","noteOpt3")]))
    
    options = [("key1","Name1"), ("key2","Name2")]
    print("Checkbox paragraph "+ " and ".join(z.checkbox("chk", options, 
["key1"])))
    print("Checkbox note "+ " and ".join(z.noteCheckbox("chk_note", options, 
["key1","key2"])))
    ```
    ```
    %jdbc
    
    select '$${checkbox:chk_note=key1|key2,key1|key2}   $${note_input} 
${note_input=sameName}'
    ```
    
    ### Screenshots (if appropriate)
    1) native forms
    
![1](https://user-images.githubusercontent.com/25951039/32273062-b4d02526-bf22-11e7-9c95-f5aa3b41b8a0.gif)
    2) remove 
    
![2](https://user-images.githubusercontent.com/25951039/32273061-b4b0a926-bf22-11e7-8e5c-b26f37da7f61.gif)
    3) simple forms
    
![3](https://user-images.githubusercontent.com/25951039/32273060-b48fff78-bf22-11e7-81be-e1afac00b709.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/tinkoff-dwh/zeppelin ZEPPELIN-1363

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

    https://github.com/apache/zeppelin/pull/2641.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 #2641
    
----
commit c566462a5f8b25f33d363e311ffbcc5bd0bd4a4b
Author: tinkoff-dwh <tinkoff....@gmail.com>
Date:   2017-10-26T07:09:27Z

    [ZEPPELIN-1363] note dynamic forms (simple; native: spark, python)

commit 9b2f3e9baefd68bb3fef918124d2f4ca09d195e1
Author: tinkoff-dwh <tinkoff....@gmail.com>
Date:   2017-10-31T19:45:58Z

    [ZEPPELIN-1363] button to remove form

commit bf8194e6f4493774e13e285dab44a4cef115ccd6
Author: tinkoff-dwh <tinkoff....@gmail.com>
Date:   2017-11-01T06:21:43Z

    Merge remote-tracking branch 'upstream/master' into ZEPPELIN-1363
    
    # Conflicts:
    #   
zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreter.java

commit 29eaca241cd6a2c24705b4215f7701a69a3ef29d
Author: tinkoff-dwh <tinkoff....@gmail.com>
Date:   2017-11-01T06:56:13Z

    [ZEPPELIN-1363] fix tests

commit f30033a16e84e97dd94f4e33dafe16553f2e0264
Author: tinkoff-dwh <tinkoff....@gmail.com>
Date:   2017-11-01T11:50:58Z

    Merge remote-tracking branch 'upstream/master' into ZEPPELIN-1363
    
    # Conflicts:
    #   
zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java

----


---

Reply via email to