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

Sort_by for autoconfig #157

Closed
matellis opened this issue Jan 7, 2024 · 5 comments
Closed

Sort_by for autoconfig #157

matellis opened this issue Jan 7, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@matellis
Copy link

matellis commented Jan 7, 2024

Is your feature request related to a problem? Please describe.
The autoconfig feature is tremendous; it would be even better if one could sort within each section without having to explicitly list the entities.

Describe the solution you'd like
A sort_by parameter that affects the contents of all sections the same way. Sort_by value would be fine for me.

Describe alternatives you've considered
I could print the YAML and add sort_by to each section, but that would need to be maintained when I make any changes to the Panel in the future. I tried adding sort_by in the configuration, including inside the sections: [] area, with no effect.

Additional context
Here's a pic of the autogenerated Sankey chart I've with no sorting by default.

image

@MindFreeze MindFreeze added the enhancement New feature or request label Jan 7, 2024
@MindFreeze MindFreeze self-assigned this Feb 25, 2024
@Montreal666
Copy link

I've tried the enhancement unsuccessfully; can you confirm what's wrong ?

image

@MindFreeze
Copy link
Owner

@Montreal666 Probably a cache issue. The config looks ok. I will add the options to the ui in the next release

@Montreal666
Copy link

It was indeed a cache issue, thank you.
however the sorting is done globally for all sections (using autoconfig); is it possible to sort within each section?

image

Thx

@MindFreeze
Copy link
Owner

@Montreal666 this is exactly what was requested. Sorting can be set per section but only with manual sections

@Montreal666
Copy link

Thank you, no problem.
will consider manual sections.
Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants