todos.md 4.1 KB
Newer Older
1
# GitLab Todos
A
Achilleas Pipinellis 已提交
2

3
> [Introduced][ce-2817] in GitLab 8.5.
A
Achilleas Pipinellis 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16

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)

---

17 18
You can quickly access the Todos dashboard using the bell icon next to the
search bar in the upper right corner. The number in blue is the number of Todos
19 20
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.
A
Achilleas Pipinellis 已提交
21 22 23 24 25 26 27

![Todos icon](img/todos_icon.png)

## What triggers a Todo

A Todo appears in your Todos dashboard when:

28
- an issue or merge request is assigned to you,
A
Achilleas Pipinellis 已提交
29
- you are `@mentioned` in an issue or merge request, be it the description of
30
  the issue/merge request or in a comment,
31
- you are `@mentioned` in a comment on a commit,
32 33
- a job in the CI pipeline running for your merge request failed, but this
  job is not allowed to fail.
34
- an open merge request becomes unmergeable due to conflict, and you are either:
35 36
  - the author, or
  - have set it to automatically merge once pipeline succeeds.
A
Achilleas Pipinellis 已提交
37

38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
### 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.

61 62 63
### Manually creating a Todo

You can also add an issue or merge request to your Todos dashboard by clicking
64
the "Add todo" button in the issue or merge request sidebar.
65 66 67 68

![Adding a Todo from the issuable sidebar](img/todos_add_todo_sidebar.png)

## Marking a Todo as done
A
Achilleas Pipinellis 已提交
69 70

Any action to the corresponding issue or merge request will mark your Todo as
71
**Done**. Actions that dismiss Todos include:
A
Achilleas Pipinellis 已提交
72 73 74 75 76 77 78 79

- changing the assignee
- changing the milestone
- adding/removing a label
- commenting on the issue

---

80 81 82 83 84
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.

If someone else closes, merges, or takes action on the issue or merge
C
Connor Shea 已提交
85
request, your Todo will remain pending. This prevents other users from closing issues without you being notified.
A
Achilleas Pipinellis 已提交
86 87 88 89

There is just one Todo per issue or merge request, so mentioning a user a
hundred times in an issue will only trigger one Todo.

90 91 92 93 94 95 96 97
---

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)

A Todo can also be marked as done from the issue or merge request sidebar using
98
the "Mark todo as done" button.
99

100
![Mark todo as done from the issuable sidebar](img/todos_mark_done_sidebar.png)
101 102 103 104

You can mark all your Todos as done at once by clicking on the **Mark all as
done** button.

A
Achilleas Pipinellis 已提交
105 106
## Filtering your Todos

107
There are four kinds of filters you can use on your Todos dashboard.
A
Achilleas Pipinellis 已提交
108

109 110
| Filter  | Description |
| ------- | ----------- |
A
Achilleas Pipinellis 已提交
111 112 113
| Project | Filter by project |
| Author  | Filter by the author that triggered the Todo |
| Type    | Filter by issue or merge request |
114
| Action  | Filter by the action that triggered the Todo |
A
Achilleas Pipinellis 已提交
115

V
Victor Wu 已提交
116
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).
A
Achilleas Pipinellis 已提交
117 118

[ce-2817]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2817
119
[ce-7926]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7926