sindresorhus/refined-github

Linkify quote replies #4024

aureooms posted onGitHub

When an issue discussion includes more than two people it makes sense to add a link to the quoted comment. I do not think automatically adding an @-mention makes sense since you may not want this by default and it is easily added by hand. Full URL where the feature should appear: https://togithub.com/sindresorhus/refined-github/issues/4024


So do you want existing conversations to be linkified somehow or that a link should be added before leaving a comment?

posted by fregante about 4 years ago

A link should be hard-catenated to the quote.

posted by aureooms about 4 years ago

Unless this is against some existing standard...

posted by aureooms about 4 years ago

So you mean you want your own comments to include a link for everyone else to see?

posted by fregante about 4 years ago

Yes. Maybe useless if it does not become standard GitHub behavior.

posted by aureooms about 4 years ago

I'd find it useful as well, but adding this feature would mean at least one of these:

A. Hacking the native R shortcut and "Quote Reply" features to add a link B. Recreating the whole "quote text" feature C. Adding a button

They're likely impossible, heavy (due to a DOM-to-Markdown converter), inexact (i.e. different from the native converter), error-prone (we had the converter before, it required several fixes) and visually noisy.

I think the script above will have to do. It does what it does by using B and C.


Other than that, you could just right-click the comment’s time, copy its URL and paste it after quoting it.

posted by fregante about 4 years ago

Yep. That makes sense.

posted by aureooms about 4 years ago

Fund this Issue

$0.00
Funded

Pull requests