debian-mirror-gitlab/doc/workflow/todos.md

125 lines
4.6 KiB
Markdown
Raw Normal View History

2016-08-24 12:49:21 +05:30
# GitLab Todos
2016-04-02 18:10:28 +05:30
2016-09-13 17:45:13 +05:30
> [Introduced][ce-2817] in GitLab 8.5.
2016-04-02 18:10:28 +05:30
When you log into GitLab, you normally want to see where you should spend your
time and take some action, or what you need to keep an eye on. All without the
mess of a huge pile of e-mail notifications. GitLab is where you do your work,
so being able to get started quickly is very important.
Todos is a chronological list of to-dos that are waiting for your input, all
in a simple dashboard.
![Todos screenshot showing a list of items to check on](img/todos_index.png)
---
2018-12-05 23:21:45 +05:30
You can quickly access the Todos dashboard using the checkmark icon next to the
2016-08-24 12:49:21 +05:30
search bar in the upper right corner. The number in blue is the number of Todos
2017-08-17 22:00:37 +05:30
you still have open if the count is < 100, else it's 99+. The exact number
will still be shown in the body of the _To do_ tab.
2016-04-02 18:10:28 +05:30
![Todos icon](img/todos_icon.png)
## What triggers a Todo
A Todo appears in your Todos dashboard when:
2019-07-31 22:56:46 +05:30
- an issue or merge request is assigned to you
- you are `@mentioned` in the description or in a comment of an issue, merge request, or epic **[ULTIMATE]**
2018-05-09 12:01:36 +05:30
- you are `@mentioned` in a comment on a commit,
2017-08-17 22:00:37 +05:30
- a job in the CI pipeline running for your merge request failed, but this
job is not allowed to fail.
2018-11-08 19:23:39 +05:30
- an open merge request becomes unmergeable due to conflict, and you are either:
- the author, or
- have set it to automatically merge once pipeline succeeds.
2016-04-02 18:10:28 +05:30
2019-09-04 21:01:54 +05:30
Todo triggers are not affected by [GitLab Notification Email settings](notifications.md).
2019-01-03 12:48:30 +05:30
NOTE: **Note:**
When an user no longer has access to a resource related to a Todo like an issue, merge request, project or group the related Todos, for security reasons, gets deleted within the next hour. The delete is delayed to prevent data loss in case user got their access revoked by mistake.
2017-08-17 22:00:37 +05:30
### Directly addressed Todos
> [Introduced][ce-7926] in GitLab 9.0.
If you are mentioned at the start of a line, the todo you receive will be listed
as 'directly addressed'. For instance, in this comment:
```markdown
@alice What do you think? cc: @bob
- @carol can you please have a look?
>>>
@dan what do you think?
>>>
@erin @frank thank you!
```
The people receiving directly addressed todos are `@alice`, `@erin`, and
`@frank`. Directly addressed todos only differ from mention todos in their type,
for filtering; otherwise, they appear as normal.
2016-08-24 12:49:21 +05:30
### Manually creating a Todo
2019-07-31 22:56:46 +05:30
You can also add an issue, merge request or epic to your Todos dashboard by clicking
the "Add todo" button in the sidebar of the issue, merge request, or epic **[ULTIMATE]**.
2016-08-24 12:49:21 +05:30
![Adding a Todo from the issuable sidebar](img/todos_add_todo_sidebar.png)
## Marking a Todo as done
2016-04-02 18:10:28 +05:30
2019-07-31 22:56:46 +05:30
Any action to the corresponding issue, merge request or epic **[ULTIMATE]** will mark your Todo as
2016-08-24 12:49:21 +05:30
**Done**. Actions that dismiss Todos include:
2016-04-02 18:10:28 +05:30
- changing the assignee
- changing the milestone
- adding/removing a label
- commenting on the issue
---
2016-08-24 12:49:21 +05:30
Todos are personal, and they're only marked as done if the action is coming from
you. If you close the issue or merge request, your Todo will automatically
be marked as done.
2019-07-31 22:56:46 +05:30
If someone else closes, merges, or takes action on the issue, epic or merge
2016-08-24 12:49:21 +05:30
request, your Todo will remain pending. This prevents other users from closing issues without you being notified.
2016-04-02 18:10:28 +05:30
2019-07-31 22:56:46 +05:30
There is just one Todo per issue, epic or merge request, so mentioning a user a
2016-04-02 18:10:28 +05:30
hundred times in an issue will only trigger one Todo.
2016-08-24 12:49:21 +05:30
---
If no action is needed, you can manually mark the Todo as done by clicking the
corresponding **Done** button, and it will disappear from your Todo list.
![A Todo in the Todos dashboard](img/todo_list_item.png)
2019-07-31 22:56:46 +05:30
A Todo can also be marked as done from the issue, merge request or epic sidebar using
2018-10-15 14:42:47 +05:30
the "Mark todo as done" button.
2016-08-24 12:49:21 +05:30
2018-10-15 14:42:47 +05:30
![Mark todo as done from the issuable sidebar](img/todos_mark_done_sidebar.png)
2016-08-24 12:49:21 +05:30
You can mark all your Todos as done at once by clicking on the **Mark all as
done** button.
2016-04-02 18:10:28 +05:30
## Filtering your Todos
2016-08-24 12:49:21 +05:30
There are four kinds of filters you can use on your Todos dashboard.
2016-04-02 18:10:28 +05:30
2016-08-24 12:49:21 +05:30
| Filter | Description |
| ------- | ----------- |
2016-04-02 18:10:28 +05:30
| Project | Filter by project |
2018-11-18 11:00:15 +05:30
| Group | Filter by group |
2016-04-02 18:10:28 +05:30
| Author | Filter by the author that triggered the Todo |
2019-07-31 22:56:46 +05:30
| Type | Filter by issue, merge request, or epic **[ULTIMATE]** |
2017-08-17 22:00:37 +05:30
| Action | Filter by the action that triggered the Todo |
2016-04-02 18:10:28 +05:30
2017-08-17 22:00:37 +05:30
You can also filter by more than one of these at the same time. The possible Actions are `Any Action`, `Assigned`, `Mentioned`, `Added`, `Pipelines`, and `Directly Addressed`, [as described above](#what-triggers-a-todo).
2016-04-02 18:10:28 +05:30
[ce-2817]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2817
2017-08-17 22:00:37 +05:30
[ce-7926]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7926