Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a render parameter to all block elements #2340

Open
1 of 7 tasks
enarroied opened this issue Dec 16, 2024 · 0 comments
Open
1 of 7 tasks

Add a render parameter to all block elements #2340

enarroied opened this issue Dec 16, 2024 · 0 comments
Labels
🖰 GUI Related to GUI 📈 Improvement Improvement of a feature. ✨New feature 🟩 Priority: Low Low priority and doesn't need to be rushed

Comments

@enarroied
Copy link

enarroied commented Dec 16, 2024

Description

Only the part() block element has the render parameter.
If I want to render an expandable depending on a boolean variable, I have to do this:

tgb.part(render=show_this):
        tgb.expandable():
            <whatever code here>

Solution Proposed

Adding a render parameter to expandable and to pane (I don't think it makes sense to add it to layout).

Acceptance Criteria

  • If applicable, a new demo code is provided to show the new feature in action.
  • Integration tests exhibiting how the functionality works are added.
  • Any new code is covered by a unit tested.
  • Check code coverage is at least 90%.
  • Related issue(s) in taipy-doc are created for documentation and Release Notes are updated.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)
@FlorianJacta FlorianJacta added 📈 Improvement Improvement of a feature. 🖰 GUI Related to GUI 🟩 Priority: Low Low priority and doesn't need to be rushed labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖰 GUI Related to GUI 📈 Improvement Improvement of a feature. ✨New feature 🟩 Priority: Low Low priority and doesn't need to be rushed
Projects
None yet
Development

No branches or pull requests

2 participants