Add or resolve a to-do on tasks, objectives and key results
### Release notes We know that GitLab [to-dos](https://docs.gitlab.com/ee/user/todos.html#to-do-list) are a widely adopted feature but were not available on tasks, objectives and key results. With this work, we will introduce the ability to toggle a to-do on/off from a work item record. ![Screenshot_2023-05-05_at_10.44.00_AM](/uploads/6c0cd14bbdcf7c9772505d6ab42faf61/Screenshot_2023-05-05_at_10.44.00_AM.png) ## Problem You can't resolve a todo or add a todo manually within a work item. ## Proposal Provide a mechanism to add or resolve a todo within the work item detail view. ## Design #### Record view |No to-do selected |to-do selected | |---|---| |![Screenshot_2023-05-05_at_9.46.48_AM](/uploads/ad58755c8c02c0cfec16ad98ca72f95a/Screenshot_2023-05-05_at_9.46.48_AM.png)|![Screenshot_2023-05-05_at_9.47.05_AM](/uploads/73ce05e657ffecbc60a7584b04fbcfee/Screenshot_2023-05-05_at_9.47.05_AM.png)| #### Modal view |No to-do selected |to-do selected | |---|---| |![Screenshot_2023-05-05_at_10.42.02_AM](/uploads/1e54add06922d857ff6b334bb89b0bab/Screenshot_2023-05-05_at_10.42.02_AM.png)|![Screenshot_2023-05-05_at_9.46.30_AM](/uploads/7f9e92600c668f1383b826b5d39c68f9/Screenshot_2023-05-05_at_9.46.30_AM.png)| ## Acceptance - [x] Add Todo - [x] Mark Todo as resolved - [ ] Redis counter - [ ] Todos update in real-time ## Redis Counter <details> <summary>create internal note:</summary> * **name:** `users_resolving_todo` * **category:** `work_items` * **redis_slot:** `users` * **include in the following aggregation counters:** * [x] `xmau_plan` * [x] `xmau_project_management` * [ ] `xmau_product_planning` * [ ] `xmau_certify` * [x] `users_work_items` * **documentation:** [Service Ping Implementation](https://docs.gitlab.com/ee/development/service_ping/implement.html), [Redis HLL Counters](https://docs.gitlab.com/ee/development/service_ping/implement.html#redis-hll-counters), [Plan's Redis HLL Schema / Approach](https://gitlab.com/gitlab-org/gitlab/-/issues/346046) </details>
epic