Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1363

Introduce Note level dynamic form

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • None

    Description

      Currently, dynamic form is created per paragraph. Either by FormType.SIMPLE, e.g.

      select * from data where key > ${minKey=10}
      

      or FormType.NATIVE, e.g.

      val formValue = z.input("minKey", 10)
      

      And the dynamic form only update the paragraph who defined the form.

      But sometimes, updating entire note by changing single dynamic form is useful. So, how about introduce note level dynamic form?

      Note Level Dynamic Form

      Note Level Dynamic form is created on top of the Note, always. No matter which paragraph defines it. And no matter how many paragraphs define the same form, form is displayed only once. Once user updates dynamic form, all the paragraphs in the note will run.

      FormType.SIMPLE, use double $$ instead of single $ to define Note level dynamic form

      select * from data where key > $${minKey=10}
      

      FormType.NATIVE, use z.noteInput() instead of z.input() to define Note level dynamic form

      val formValue = z.noteInput("minKey", 10)
      

      Attachments

        Issue Links

          Activity

            People

              tinkoff-dwh Tinkoff DWH
              moon Lee Moon Soo
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: