Show issue title in GFM if `+` is appended to issue id
Currently when you type an issue id, such as "#1234"
, then the GFM (GitLab flavored markdown) will only render "#1234"
as a link to the issue.
This proposal adds the ability to also render the issue title itself. In particular, if you type #1234+
, then GitLab will render that as #1234 Tried to add SSH key and got error
as a link to the issue.
We should remove the tooltip if the +
version of the issue is being displayed.
We should considering this for merge requests and epics too, and possibly other objects like snippets and commits. We can consider that when this is being implemented.
Original description
Description
An issue number without a context is not valuable when you have thousands of issues. Having to write it out is a pain.
Proposal
We expand issue titles, but only when they're not followed by text.
If they are, we restrict it to the number with a bit of the text, which can expand on hover.
To allow the old functionality to exist (for when you just need a short id), we can add a new syntax of adding -
to the end of the id. For instance #2323-
.
Alternatively, this new functionality would be hidden behind a new syntax +
, so #2323+
, but I prefer to make the default behavior the smarter behavior.