-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Option to sort todo lists #23579
base: dev
Are you sure you want to change the base?
Option to sort todo lists #23579
Conversation
This is a card only change right? |
Yes it just affects the display of the list, it doesn't modify the todo entity itself.
Don't we often have cards that have more options than their respective panel? The map card can behave differently than the map panel, the calendar card can show a different view than the calendar panel. This didn't seem too far from that precedent. Or if you have an alternative idea I'm open to hear it. I think especially for todo tracking lists there really should be a way to show the soonest due at the top of the list, or else it is harder to use it to see what needs to be done. |
It just can lead to confusion because the data shows differnet on the same lists. We have an idea. What about adding sort actions in the overflow which actually manipulate the list everywhere. So you add new items and then sort it by alphabeth afterwards. This actions can be in the panel and in the card. |
Hmm, I do still need dynamic sort for my usecase. I am building out a recurring chore tracker, (Currently use Grocy but I'm trying to see if what we have natively is feature-rich enough to replicate it). I have items that are changing due-dates dynamically. I just want to see the soonest due at the top of the list always, I don't want to have to manually trigger re-sort over and over in the UI every time the due dates change. I could agree to add sort options in the overflow menu on the card (but still dynamic sort), but if I proceed here I would still want to have a default dynamic sort available as an option in the config. |
Also I will point out that not all Dynamic sort will allow us to show these lists as sorted, even when the integration itself does not allow remote sorting. |
Ok I understand your point. We'll discuss it with the UX team |
Hello @karwosts,
|
Proposed change
Add an option to todo card to automatically sort items either by alphabetical order, or sort by due date.
Default/None is the current behavior that allows manual sorting and displays items in the order returned by the integration.
Type of change
Example configuration
Additional information
https://community.home-assistant.io/t/wth-cant-we-get-better-ways-to-view-and-manipulate-to-do-lists/804245
Checklist
If user exposed functionality or configuration variables are added/changed: