Todos `Mark all as done` too aggressive
Clicking Mark all as done redirects the user to /dashboard/todos/destroy_all, which calls TodoService#mark_todos_as_done(todos) where todos is a newly queried collection of todos.
This means I can mark todos as done that I haven't yet seen because the todos page does not update in realtime.
Demo:
- Have 0 todos
- Click
Add todoon an issuable - Visit todos page, it should show the 1 todo
- In another tab, click
Add todoon a different issuable - In the original tab, without refreshing, click the
Mark all as done - See that all todos are marked as
done, including the one you never saw on the original tab