Skip to content

Conversation

@FredLL-Avaiga
Copy link
Member

@FredLL-Avaiga FredLL-Avaiga commented Oct 7, 2024

resolves #1916

scenario_selector edit button is disabled
resolves #1948

import taipy as tp
from taipy import Config

integer_cfg = Config.configure_data_node("integer", default_data=1)

model_cfg = Config.configure_data_node("model", default_data=Config)

scenario_cfg = Config.configure_scenario(
    id="my_scenario",
    additional_data_node_configs=[integer_cfg, model_cfg],
)

data_node = None

style = {"color": "green"}

if __name__ == "__main__":
    # Run of the Core
    tp.Orchestrator().run()

    # Creation of the scenario and execution
    scenario = tp.create_scenario(scenario_cfg, name="Submitted")

    scenario_md = """
<|try this >|button|>

<|scenario_selector|>

<|{data_node}|data_node_selector|style={style}|>

<|{data_node}|data_node|>
"""

    tp.Gui(scenario_md).run(title="1916 Datanodes with unsupported types are not selected")

@FredLL-Avaiga FredLL-Avaiga added Core Related to Taipy Core 💥Malfunction Addresses an identified problem. 🟧 Priority: High Must be addressed as soon 📝Release Notes Impacts the Release Notes or the Documentation in general GUI: Front-End Gui: Back-End labels Oct 7, 2024
@FredLL-Avaiga FredLL-Avaiga self-assigned this Oct 7, 2024
Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No test?

@FredLL-Avaiga
Copy link
Member Author

No test?

no

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
19028 16461 87% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
taipy/gui_core/_adapters.py 46% 🟢
TOTAL 46% 🟢

updated for commit: 2d2a5a1 by action🐍

@FredLL-Avaiga FredLL-Avaiga merged commit a7f0a41 into develop Oct 8, 2024
@FredLL-Avaiga FredLL-Avaiga deleted the bug/#1916-unsupported-data branch October 8, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Related to Taipy Core Gui: Back-End GUI: Front-End 💥Malfunction Addresses an identified problem. 🟧 Priority: High Must be addressed as soon 📝Release Notes Impacts the Release Notes or the Documentation in general

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐛 BUG] scenario_selector visual element has inactive edit button [🐛 BUG] Datanodes with unsupported types are not selected

4 participants