vikunja icon indicating copy to clipboard operation
vikunja copied to clipboard

feat(frontend): highlight overdue tasks consistently

Open dpschen opened this issue 10 months ago • 1 comments

dpschen avatar Jun 16 '25 15:06 dpschen

why not use the class?

Good catch! I opted for a data- attribute so you can immediately see in the DOM in which state a component is; this separates state from styling, yet still allows styling based on that state. It also uses Vue’s boolean-attribute binding:

:data-is-overdue="isOverdue || undefined"

Didn’t test yet though. Because of that it’s draft

dpschen avatar Jun 16 '25 20:06 dpschen