Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9024

In Groovy console, group multiple values from _c and hide until action taken

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-alpha-4
    • Fix Version/s: None
    • Component/s: Groovy Console
    • Labels:
      None

      Description

      Group multiple values and don't display until a button is clicked or similar. Large output, such as images, shows in a new window/frame.

      For example, given this loop:

      for (i in 1..1000) { _c.i = i }                output is: i = [1,000 values]

      for (img in images) { _c.image = img } output is: image = [10 Images] assuming "images" contained 10 images.

      where clicking [1,000] values would bring up a viz of those values (viz would use existing OutputTransformers code). Clicking "10 images" would likewise popup a window.

      There are a lot of questions to be resolved before implementing such as how many values should trigger them being "hidden" (I propose 10 for simple values like ints, for Strings if length exceeds 10, and 2 for everything else).

      Must come after GROOVY-9023 issue.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adamldavis Adam L. Davis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: