We could add a button to quickly mention someone. It can either go by the "Edit comment" button or near/below the user/avatar, as such: <img width="359" alt="" src="https://user-images.githubusercontent.com/1402241/68647928-aeb7ea80-0551-11ea-8e91-5d5f1ff7b128.png"> Clicking it would instantly `@mention` the user and focus the comment field, like the <kbd>r</kbd> key does when quoting the selection. This would also be a solution/replacement for https://github.com/sindresorhus/refined-github/issues/1003 and fix the _annoyance_ caused by [`show-names`](https://github.com/sindresorhus/refined-github/issues/2165) (it makes it harder to copy-paste usernames)
Activity
jerone commentedon Nov 12, 2019
If anyone is interested, I maintaining the Github Reply Comments userscript.
fregante commentedon Nov 12, 2019
jerone commentedon Nov 12, 2019
@fregante commented on Nov 12, 2019, 1:17 PM GMT+1:
It adds the content above ⬆. The Markdown parser is there to support (most) Markdown syntax.
fregante commentedon Nov 12, 2019
You should probably include that in the readme or screenshot.
Anyway the feature I’m suggesting only includes the username, e.g.
@jerone
Tiramisu77 commentedon Nov 19, 2019
Maybe add this behavior to alt click on username instead of making it a button?
fregante commentedon Nov 19, 2019
Currently we use only such shortcut to mean "click this and all the buttons like this," it's not great for discoverability.
I'd rather show the button on hover rather than hide it under a click modifier.