Email notifications are hard to distinguish by their subject. Currently the only way to distinguish between an issue and a merge request related notification is the “(#” or “(!” in the subject line. However, it is a the end of the subject line making it hard to find for long issue names. A suggestion would be to prefix the subject with IS and MR or something similar.
Email notifications indicating new comments only contain information about the comment. This makes it hard to follow a larger discussion in context of an issue or merge request. Adding information about the the user and time when he/she added the comment could improve this
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
@dimitrieh What do you think? Could we be doing a better job of separating email notifications concerning different types of resources in GitLab? I've gotten used to searching the subject for a # or a ! but I could see how it could be confusing
Thanks for looking into this!
This issue gitlab-ee#1954 is related to this. I accidently put it into the gitlab-ee issue tracker.
username-removed-514322changed title from Please make it easier to distinguish email notifications by subject to Please make it easier to distinguish email notifications by subject and within discussions
changed title from Please make it easier to distinguish email notifications by subject to Please make it easier to distinguish email notifications by subject and within discussions
Thanks for the ping @markglenfletcher. My first step was to look at my inbox. Here is what I see:
Two things jump out at me here. One, the 'View Issue' and 'View Merge Request' helps to differentiate between the two email types. Two, the ! and # are difficult to see and often get pushed to the end of the subject.
Moving the ! and # to the beginning of the email subject line will ensure that it is always seen. I don't believe adding IS or MR will be more effective.
Adding information about the the user and time when he/she added the comment could improve this
@sarrahvesselov: I fear that additionally depends on your email client. We are still using Outlook and in this case I miss some of the extra information like the "View Issue" link.
@sarrahvesselov: This would be a step forward for my specific case as you can identify the type directly by the subject. The notification type is really interesting. E.g., a ready-to-review merge request might have a higher priority than a commit in a branch. As this depends on the specific context, I think it could be really useful to make it easier to distinguish different notification events already by the email subject (as suggested in gitlab-foss#27299 (moved)).
Excellent @schlauch. We will handle moving the reference # up in the subject line here. Please add your thoughts and support to gitlab-foss#27299 (moved) if you have not already.
@markglenfletcher, @victorwu is still away so I am not sure how quickly this can get implemented. Thoughts on who else to approach? I have assigned myself to it so that I can keep track of the issue.
On a related note, I seem to remember the browser title being changed to display the issue reference number first (in the past) and this was reverted because with several tabs open all that was displayed was the number. In projects with a large number of issues the reference number becomes less of an identifier and the issue/mr title is actually more useful. I'm unsure whether this would have the same effect in an email client.
I think that @smcgivern would be the best person to involve in the conversation if Victor is away.
For me, I don't really care about issue numbers, so I'm not sure I'm the right person to comment on this, but I think this would be a weird change:
If we add it right at the beginning of the title, then it's before the project name, and we should use the full reference instead gitlab-org/gitlab-ce#29727, but then we probably don't need the project name as well, even though the reference is less friendly.
If we add it after the project name, then there is this odd combination of symbols in the middle: Re: GitLab Community Edition | #29727 Please make it easier to distinguish email notifications by subject and within discussions, and that doesn't match the title on the issue page itself.
The actual request isn't to expose the number - I don't think even @schlauch cares about the number, just about what the email is about.
Given that gitlab-foss#27299 (moved) is apparently a good idea, and that does not change the email's subject header at all, would it not be possible for you to filter / tag by header already, @schlauch? We already provide an X-GitLab-Issue-ID header for issues, and X-GitLab-MergeRequest-ID header for MRs, etc.
Adding information about the the user and time when he/she added the comment could improve this
@schlauch I'm sorry, I don't understand this. The user's name is the sender's name of the email, which I see visible in your screenshot. Would you want that in the subject as well? That seems redundant.
You are right. I do not care about the ID but just the notification type. Your suggestion with filtering via the mail headers is fine for me. But it was not so obivious from the documentation. In addition, in Outlook 2010, it takes you a while to find the right options. However, I think we can provide some additional docs for our users to clarify this. Thus, we should just leave the subject header as it is.
The sender email address seems to be a problem with our GitLab EE instance configuration. In that case, emails are sent from a genreric email account. Thus, we miss this information. Could you please give me a pointer to documentation which describes the setup?
You are right. I do not care about the ID but just the notification type. Your suggestion with filtering via the mail headers is fine for me. But it was not so obivious from the documentation. In addition, in Outlook 2010, it takes you a while to find the right options. However, I think we can provide some additional docs for our users to clarify this. Thus, we should just leave the subject header as it is.
I think we could include the $username commented text that we have for discussion emails for 'regular' comments
Fantastic, thanks for the input on this @smcgivern and @schlauch. Glad we could come to some easy conclusions here.