pgorod / power-todoist-card

Improved Todoist card for Home Assistant Lovelace UI.
MIT License
20 stars 7 forks source link

[FEATURE REQUEST] Sort by Priority #14

Open arretx opened 3 weeks ago

arretx commented 3 weeks ago

I've managed to modify your *.js file to include colored flags before ${item.content} based upon the priority set for the task.

I would love to be able to sort by priority...but I have no idea how you setup the sort feature as compared to the original repo's method.

Anyway, it would be cool. Thanks.

arretx commented 3 weeks ago

Screenshot 2024-06-08 at 9 50 04 PM

I also changed the icons for the tasks. It made more sense to me to have an unchecked circle represent an incomplete task, and a checked circle for a completed task.

pgorod commented 3 weeks ago

Hi

do you want to share your .js changes?

About the icon changes, there are yaml options for that customization, I think.

About the request to sort by priority, I agree it's useful, and I don't think it is hard to do; however I won't commit to anything due to being overwhelmed with other projects, sorry...