Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
12.1k stars 849 forks source link

Color outline to indicate task execution state in scenario dag #1389

Closed AlexandreSajus closed 1 month ago

AlexandreSajus commented 3 months ago

Description

The scenario dag tasks could have outline colors to indicate in which state they are in when the scenario is submitted:

image

For example, here it would mean that clean_data has ran without issue, predict is currently running and evaluate will be ran afterwards.

This is very similar to a product an INCREDIBLE engineer made (or Zerve): flow_example

Solution Proposed

No response

Impact of Solution

No response

Additional Context

No response

Code of Conduct

jrobinAV commented 3 months ago

This feature is interesting, but I believe we need to have to put it into a global context. We need to redefine global requirements for the dag.

Examples of questions that need to be answered globally:

FlorianJacta commented 3 months ago

You wanted to add features to the DAG. Who was the target of these features?

I agree that we must know what this is for and, most importantly, for whom. In my opinion, it is a better UX to show the progress of your scenario inside the DAG. It is more visual.

We could provide a selector of submissions, and when a submission on the scenario is created, the DAG represents the submission being run.

FredLL-Avaiga commented 2 months ago

This is implemented. Can you comment on the current implementation?

AlexandreSajus commented 2 months ago

What is implemented? I just ran a scenario with develop and the dag does not have color outlines: image

FredLL-Avaiga commented 2 months ago

The tasks change colors when the corresponding job change status

FabienLelaquais commented 1 month ago

@FlorianJacta @AlexandreSajus Please come up with a (SHORT) code sample.

FlorianJacta commented 1 month ago

I have not been able to reproduce the issue with different codes.

I guess it has to use the standalone mode for Core. I am closing this issue for now and we'll reopen if it comes back again.