You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Adam L. Davis (JIRA)" <ji...@apache.org> on 2019/03/07 20:16:00 UTC

[jira] [Updated] (GROOVY-9024) In Groovy console, group multiple values from _c and hide until action taken

     [ https://issues.apache.org/jira/browse/GROOVY-9024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam L. Davis updated GROOVY-9024:
----------------------------------
    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.

  was:
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 _c issue.


> In Groovy console, group multiple values from _c and hide until action taken
> ----------------------------------------------------------------------------
>
>                 Key: GROOVY-9024
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9024
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Groovy Console
>    Affects Versions: 3.0.0-alpha-4
>            Reporter: Adam L. Davis
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)