Todo for a mention should be "bumpable"
When you create a todo for someone, they won't get another todo on the same issue / MR for any subsequent mentions. That also makes it hard to see when the latest mention on a particular todo was.
We can fix this in a multi-step process:
- When a new mention occurs and there's an existing todo, bump the
updated_atof that todo.
- Allow sorting todos by updated at, both ascending and descending.
- When sorting by updated at, show the text from the most recent note that created a todo, not the first note that created a todo.
Right now, if you mention a user on an issue or MR, it creates a todo for them. But if some time passes, and they don't get to the todo right away, you might want to ping them again to get their attention.
Hey @soandso, I still need your feedback on this!. But because there's already an existing todo for that issue or MR, nothing happens.
I think it would be good to let the latest mention take precedence for the todo.
One counter-argument might be that people address their oldest todos first and this would interrupt that workflow. But I think because we show the most recent todos first, this is unlikely.
A happy medium might be to allow todos to have a "count". "You were mentioned on this issue. You've also been mentioned an additional 5 times."