Skip to content

Visualizations aren't shown (immediately) when computed! #14732

@JaroslavTulach

Description

@JaroslavTulach

Context

There are various inquiries related to visualizations (like #10525). Users often complain:

  • "we don't get widgets"
  • "we don't get arguments"
  • "we don't get visualizations"
  • "we don't get component colors"

Until everything is computed!

It is Broken!

As a sample demonstration of one kind of such problem let's use following simple project:

from Standard.Base import all
import Standard.Visualization

main =
    v = 6 * 7
    v2 = Runtime.sleep 3000 v
    v3 = Runtime.sleep 7000 v2
    v4 = Runtime.sleep 10000 v3
    v4

Here is a video of that project opening in 2025.3.1-rc1 version of Enso:

SlowVisualizations.webm

As can be seen, the visualizations for variable v, v2, v3 aren't shown until computation of the last variable v4 is finished!

Goal

  • There are many different inquiries related to visualizations
  • the focus of this issue is as narrow as possible
  • show visualizations of v, v2 and v3 variables as soon as they are computed when opening the project
  • don't wait until v4 is computed

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

⚙️ Design

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions