todos.md 4.7 KB
Newer Older
C
Christie Lenneville 已提交
1
# GitLab To-Do List
A
Achilleas Pipinellis 已提交
2

3
> [Introduced][ce-2817] in GitLab 8.5.
A
Achilleas Pipinellis 已提交
4 5

When you log into GitLab, you normally want to see where you should spend your
C
Christie Lenneville 已提交
6 7 8
time, take some action, or know what you need to keep an eye on without
a huge pile of e-mail notifications. GitLab is where you do your work,
so being able to get started quickly is important.
A
Achilleas Pipinellis 已提交
9

C
Christie Lenneville 已提交
10
Your To-Do List offers a chronological list of items that are waiting for your input, all
A
Achilleas Pipinellis 已提交
11 12
in a simple dashboard.

C
Christie Lenneville 已提交
13
![To Do screenshot showing a list of items to check on](img/todos_index.png)
A
Achilleas Pipinellis 已提交
14

C
Christie Lenneville 已提交
15 16
You can quickly access your To-Do List by clicking the checkmark icon next to the
search bar in the top navigation. If the count is:
A
Achilleas Pipinellis 已提交
17

C
Christie Lenneville 已提交
18 19 20 21 22
- Less than 100, the number in blue is the number of To-Do items.
- 100 or more, the number displays as 99+. The exact number displays
  on the To-Do List.
you still have open. Otherwise, the number displays as 99+. The exact number
displays on the To-Do List.
A
Achilleas Pipinellis 已提交
23

C
Christie Lenneville 已提交
24
![To Do icon](img/todos_icon.png)
A
Achilleas Pipinellis 已提交
25

C
Christie Lenneville 已提交
26
## What triggers a To Do
A
Achilleas Pipinellis 已提交
27

C
Christie Lenneville 已提交
28
A To Do displays on your To-Do List when:
A
Achilleas Pipinellis 已提交
29

C
Christie Lenneville 已提交
30 31
- An issue or merge request is assigned to you
- You are `@mentioned` in the description or comment of an:
32 33 34
  - Issue
  - Merge Request
  - Epic **(ULTIMATE)**
C
Christie Lenneville 已提交
35 36 37 38
- You are `@mentioned` in a comment on a commit
- A job in the CI pipeline running for your merge request failed, but this
  job is not allowed to fail
- An open merge request becomes unmergeable due to conflict, and you are either: 
39 40
  - The author 
  - Have set it to automatically merge once the pipeline succeeds
C
Christie Lenneville 已提交
41 42

To-do triggers are not affected by [GitLab Notification Email settings](notifications.md).
43

44
NOTE: **Note:**
C
Christie Lenneville 已提交
45
When a user no longer has access to a resource related to a To Do (like an issue, merge request, project, or group) the related To-Do items are deleted within the next hour for security reasons. The delete is delayed to prevent data loss, in case the user's access was revoked by mistake.
46

C
Christie Lenneville 已提交
47
### Directly addressing a To Do
48 49 50

> [Introduced][ce-7926] in GitLab 9.0.

C
Christie Lenneville 已提交
51 52
If you are mentioned at the start of a line, the To Do you receive will be listed
as 'directly addressed'. For example, in this comment:
53 54 55 56 57 58 59 60 61 62 63 64 65

```markdown
@alice What do you think? cc: @bob

- @carol can you please have a look?

>>>
@dan what do you think?
>>>

@erin @frank thank you!
```

C
Christie Lenneville 已提交
66 67 68 69 70 71 72
The people receiving directly addressed To-Do items are `@alice`, `@erin`, and
`@frank`. Directly addressed To-Do items only differ from mentions in their type
for filtering purposes; otherwise, they appear as normal.

### Manually creating a To Do

You can also add the following to your To-Do List by clicking the **Add a To Do** button on an:
73

C
Christie Lenneville 已提交
74 75
- Issue
- Merge Request
76
- Epic **(ULTIMATE)**
77

C
Christie Lenneville 已提交
78
![Adding a To Do from the issuable sidebar](img/todos_add_todo_sidebar.png)
79

C
Christie Lenneville 已提交
80
## Marking a To Do as done
81

C
Christie Lenneville 已提交
82
Any action to the following will mark the corresponding To Do as done:
A
Achilleas Pipinellis 已提交
83

C
Christie Lenneville 已提交
84 85
- Issue
- Merge Request
86
- Epic **(ULTIMATE)**
A
Achilleas Pipinellis 已提交
87

C
Christie Lenneville 已提交
88 89 90 91 92 93
Actions that dismiss To-Do items include:

- Changing the assignee
- Changing the milestone
- Adding/removing a label
- Commenting on the issue
A
Achilleas Pipinellis 已提交
94

C
Christie Lenneville 已提交
95 96 97 98 99
Your To-Do List is personal, and items are only marked as done if the action comes from
you. If you close the issue or merge request, your To Do is automatically
marked as done.

To prevent other users from closing issues without you being notified, if someone else closes, merges, or takes action on the any of the following, your To Do will remain pending:
100

C
Christie Lenneville 已提交
101 102
- Issue
- Merge request
103
- Epic **(ULTIMATE)**
A
Achilleas Pipinellis 已提交
104

C
Christie Lenneville 已提交
105
There is just one To Do for each of these, so mentioning a user a hundred times in an issue will only trigger one To Do.
A
Achilleas Pipinellis 已提交
106

C
Christie Lenneville 已提交
107 108 109 110
If no action is needed, you can manually mark the To Do as done by clicking the
corresponding **Done** button, and it will disappear from your To-Do List.

![A To Do in the To-Do List](img/todo_list_item.png)
111

C
Christie Lenneville 已提交
112
You can also mark a To Do as done by clicking the **Mark as done** button in the sidebar of the following:
113

C
Christie Lenneville 已提交
114 115
- Issue
- Merge Request
116
- Epic **(ULTIMATE)**
117

C
Christie Lenneville 已提交
118
![Mark as done from the issuable sidebar](img/todos_mark_done_sidebar.png)
119

C
Christie Lenneville 已提交
120
You can mark all your To-Do items as done at once by clicking the **Mark all as
121 122
done** button.

C
Christie Lenneville 已提交
123
## Filtering your To-Do List
A
Achilleas Pipinellis 已提交
124

C
Christie Lenneville 已提交
125
There are four kinds of filters you can use on your To-Do List.
A
Achilleas Pipinellis 已提交
126

127 128
| Filter  | Description |
| ------- | ----------- |
A
Achilleas Pipinellis 已提交
129
| Project | Filter by project |
130
| Group   | Filter by group |
C
Christie Lenneville 已提交
131
| Author  | Filter by the author that triggered the To Do |
132
| Type    | Filter by issue, merge request, or epic **(ULTIMATE)** |
C
Christie Lenneville 已提交
133
| Action  | Filter by the action that triggered the To Do |
A
Achilleas Pipinellis 已提交
134

C
Christie Lenneville 已提交
135
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-to-do).
A
Achilleas Pipinellis 已提交
136 137

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