Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Issue autolink reference with title displayed #1020

Open
donquixote opened this issue Sep 14, 2017 · 12 comments
Open

Issue autolink reference with title displayed #1020

donquixote opened this issue Sep 14, 2017 · 12 comments
Labels

Comments

@donquixote
Copy link

Currently, the syntax #123 creates an issue link.
Hovering reveals the issue title. But the title is not displayed in the text.

I propose a new syntax, e.g. #123+ that will also display the issue title.

See e.g. https://stackoverflow.com/questions/31451587/is-there-a-way-to-reference-an-issue-including-title-on-github where someone asks for this.

@award28
Copy link

award28 commented Oct 5, 2019

Can we get a conversation started around this?

@ni4
Copy link

ni4 commented Oct 29, 2019

...or, at least, it would be useful to have a simpler then copy-paste way to insert issue/PR title into the text (so no need to track it and auto-update on issue's title change).

@ViRuSTriNiTy
Copy link

Other tools have this implemented and it`s a blessing. GitHub should have this too.

@leyu-wfh
Copy link

At least, can we have the title inserted during edit time?
So it won't auto update after commenting, but at least it saved some copy-pasting effort.
If title can show upon hovering, probably it can be extended to insert the tooltip at cursor location.

@bradydan
Copy link

Gets my vote too. Would be very useful when there's list ofseveral issues, i.e. no need to hover over each one to see the title

Is it that one? No
Is it that one? No
Is it that one? … etc

@ccc-dvansevenant
Copy link

Welcome to 2021, looks like this request is still outstanding. We're tossing a coin between JIRA and GitHub Issues. So far, GitHub Issues is losing.

@mprinc
Copy link

mprinc commented Apr 2, 2021

Would <3 to have this, even if it doesn't auto-update on the title change

@KyrietS
Copy link

KyrietS commented Jul 12, 2021

You mean a reference like this?

I think this feature is already implemented for lists (or I haven't discovered how it works in normal paragraphs yet).

The following Markdown:

Look at this: #1020
* Now look at this: #1020

Produces this output:

Look at this: #1020

@mprinc
Copy link

mprinc commented Jul 12, 2021

BINGO! That sounds cool but as you said, inconsistent :)

@Levi-Lesches
Copy link
Contributor

I've seen it done in a paragraph before, but I also don't know how to trigger it.

@donquixote
Copy link
Author

Interesting observation: This only seems to work when logged in!

@mhsmith
Copy link

mhsmith commented Aug 1, 2021

This is a recent change which is documented here:

If you reference an issue, pull request, or discussion in a list, the reference will unfurl to show the title and state instead.

I don't think this has been properly thought through, because now we need a way to STOP unfurling the issue ID inside a list where the result would be less readable.

This takes up about 10 times as much space, and completely destroys the flow of any sentence which the issue numbers might have been embedded in.

Please vote for community/community#4321 if you agree that this is a problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests