When the /todo quick action is used in a comment, the to-do it creates in the to-do dashboard should link to the comment
Problem to solve
I use to-dos to manage my workflow and often leave myself a /todo
in comments I want to come back to later. When I view the to-do in https://gitlab.com/dashboard/todos, it links to the issue/MR instead of the comment I used /todo
in and it can make it hard to find the comment I intended to come back to when the discussion has many comments.
Intended users
Everyone who comments on issues and MRs.
User experience goal
The user should be able to use the to-do dashboard to find which comment triggered the to-do, as it is the case for to-dos generated by @ mentions.
Proposal
When the /todo
quick action is used in a comment, create a link to that comment in the dashboard.
When the /todo
quick action is used in an "empty comment" (that contains only the quick action and no actual text message) in a thread, create a link to the last message in the thread
Further details
Use case 1: I was pinged in an issue and could only leave a partial response, I commented and said I'd come back to it and left a /todo
in my own comment. I want the dashboard to link to that comment.
Use case 2: I'm reading a discussion in an issue and want to read up on some things before I comment on a thread, I'd like to leave a /todo
"empty" comment and have the dashboard link to that thread.