thombruce / toodles

✅ A super simple todo app
https://toodles.thombruce.com/
GNU General Public License v3.0
0 stars 0 forks source link

[Feature]: Allow projects (and maybe other tags) to be color coded #107

Closed thombruce closed 2 months ago

thombruce commented 1 year ago

Feature request

If implemented, this will require that projects are internally configurable (maybe not, see note below), meaning they have some stored setting that is not present in the todo.txt document. We can look up a color value based on the project (or tag) name, and apply it as appropriate.

Note: We could automatically set project tag colors, perhaps selecting from a color palette... alphabetically? Colors would then be subject to change as new projects are introduced; not ideal. We could assign colors in the order that projects were created, but again this requires a separate store and at that point it may as well be user-configurable. I half-wonder if it's possible to programmatically and predictably convert any given string into a color hex code - sort of using the project name as a seed for a procedural function.

Honestly... seems better to just allow the user to configure it, if introduced, and we can still assign default colors in the order projects were introduced.

Code of Conduct

thombruce commented 2 months ago

I don't see an immediate need for this. It's just... kinda nice. It isn't really that useful. Can revisit in future, but this won't be worked on anytime soon.