Closed AlexandreSajus closed 4 months ago
Today, the is_submitable
taipy API called with a scenario or a sequence returns a simple boolean value. We can imagine returning a reason as well.
Two missing pieces at this stage:
is_submittable
function changes value.We will propose a design for a Reason object to be returned by is_submittable
and a mechanism to publish appropriate events.
is_submittable
changes (for a scenario, a sequence, or a task), Taipy should publish the appropriate events without degrading the performances. Since the value does not persist and is dynamically computed. Multiple solutions have been discussed to be able to publish events.
ready-for-reading
Taipy must search for all parents who should be the subject of an event.ready-for-reading
we can easily retrieve them to publish events.is_submittable
is called. Question: When old entries should be deleted?This has been fixed on the UI side while integrating the necessary changes in visual elements for supporting is_submittable(): Reason! PR
The scenario visual element can display a grey send icon with "Cannot submit scenario" without an explanation:
This bug gets triggered in the Scenario Management Overview tutorial when the user creates a new scenario and tries to run it
How to reproduce:
Run the app and create a new scenario
The scenario visual element won't let you run the new scenario