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 scenario tags in the scenario selector #1235

Open
3 tasks
rohan011001 opened this issue Apr 25, 2024 · 3 comments
Open
3 tasks

Add scenario tags in the scenario selector #1235

rohan011001 opened this issue Apr 25, 2024 · 3 comments
Labels
Core Related to Taipy Core 💬 Discussion Requires some discussion and decision 🖰 GUI Related to GUI 📈 Improvement Improvement of a feature. 🟨 Priority: Medium Not blocking but should be addressed

Comments

@rohan011001
Copy link

Description
having scenario tags displayed in the scenaro slector help spotting a specific scenario. Can be hard.
Each tag value must have one color. Like github labels
image
In particular when they are defined as authorized_tags as specified in the documentaion.

A similar improvement also for generic labels and not only tags. If scenario has label key in the property dictionary with a set of strings as value, the selector will display.

For tags we should provide a noolean to activate the property

import taipy.gui.builder as tgb
 
tgb.scenario_selector("{scenario}", tags=True)

For generic labels we should provide the dict key

import taipy.gui.builder as tgb
 
tgb.scenario_selector("{scenario}", label=label)

I can help on python only. Please.

Acceptance Criteria

  • Ensure new code is unit tested, and check code coverage is at least 90%
  • Propagate any change on the demos and run all of them to ensure there is no breaking change
  • Ensure any change is well documented
@rohan011001 rohan011001 added the 📈 Improvement Improvement of a feature. label Apr 25, 2024
@FlorianJacta FlorianJacta added 🖰 GUI Related to GUI 🟨 Priority: Medium Not blocking but should be addressed 💬 Discussion Requires some discussion and decision labels Apr 26, 2024
@FlorianJacta
Copy link
Member

I like this idea. It makes the scenario selector a lot more practical and with a better UX. We should find a way to design it

@jrobinAV
Copy link
Member

Hello @rohan011001

Thank you for your proposal.

Can you have a look to the issue #1075. This is somehow related to improve user experience and to make it easier to select one scenario in a long list.
Do you believe it can solve your issue as well?

@jrobinAV jrobinAV added the Core Related to Taipy Core label Apr 26, 2024
@rohan011001
Copy link
Author

@jrobinAV
Yes I think filter and sort is better than display tags. Not exclusive. If I have filter, I don't need tags.

But can you show me the documentation? I can't find it. How can I use filters and sort?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Related to Taipy Core 💬 Discussion Requires some discussion and decision 🖰 GUI Related to GUI 📈 Improvement Improvement of a feature. 🟨 Priority: Medium Not blocking but should be addressed
Projects
None yet
Development

No branches or pull requests

3 participants