Here's my proposal. Every comment has a 'Reply' link after it. Clicking on this link adds the standard @UserName: to the comment edit box.
After posting, the @UserName: is converted into a javascript 'link'. By 'link' I mean that it appears to be a hyperlink, but is actually a span with the hyperlink style and javascript in its onmouseover event. When you hover over this link, the comment it references is highlighted in some fashion (background color changes, its outlined, whatever).
When the referenced comment is hidden, one of two things can happen:
- The comments section is expanded and unshown comments are revealed, or
- A hovering div appears next to the pointer containing the comment that is referenced.
No. 2 is probably easier to implement.
-
Has already been suggested in part and more or less denied.Ian Elliott– Ian Elliott2009年07月13日 17:28:26 +00:00Commented Jul 13, 2009 at 17:28
-
see also: meta.stackexchange.com/questions/1093/…Kip– Kip2009年07月13日 17:30:17 +00:00Commented Jul 13, 2009 at 17:30
-
This is a little different than Q#1093. That one wants reminders when you type the text. This one also wants a button to fill the text in for you and highlighting features within a single view.Joel Coehoorn– Joel Coehoorn Mod2009年07月13日 17:34:01 +00:00Commented Jul 13, 2009 at 17:34
-
@Ian do you have a link?Brad Gilbert– Brad Gilbert2009年07月14日 18:14:03 +00:00Commented Jul 14, 2009 at 18:14
-
11) This is not a question, but does that matter here on Meta? 2) Usernames change on SO. The whole we-love-twitter-therefore-we-use-the-at-sign system makes no sense whatsoever on SO. Your proposal could be reworked to use userIds, however...Dan Rosenstark– Dan Rosenstark2009年07月19日 11:46:42 +00:00Commented Jul 19, 2009 at 11:46
-
11) Since when is Meta question only? this is a feature request, which goes here. 2) Usernames don't change, or if they do its so infrequently to be not an issue. Besides, what shows on the screen is not relevant to what happens in javascript. Obviously, some reference to a code within a div tag (or whatever the comments are in) would be used rather than some weird text search within the actual comment. And the @username: is as much twitter as it is a shortened version of "I am speaking at yar:" or "at yar:" or "@yar:". Change it to F*yar: I don't really care. The form is not important.user1228– user12282009年07月19日 17:50:40 +00:00Commented Jul 19, 2009 at 17:50
-
@Yar: the @name convention was used in forums long before twitter was a half-baked idea. For purposes of linear posts (like the comments) it is probably the most concise way to keep the proper context.AnonJr– AnonJr2009年10月14日 14:12:38 +00:00Commented Oct 14, 2009 at 14:12
9 Answers 9
Normally, you only get notified of comments when you own the post.
You will now get notified of any comments that refer to you by @username in a comment, even if you do not own the post.
Rules:
Only applies to other people in the comments that you are commenting on, or editors of the current post.
Response must include @username that you are referring to, where "username" is a reasonable match to the user's current display name (as seen in the comments above yours).
There must be a starts-with, case insensitive match of at least THREE characters to the displayname. So @a and @ab will never match anyone or anything.
Spaces cannot be used to match, so if the person's display name is "Peter Smith" then just use @peter or @petersmith to match.
Matching is performed in reverse chronological order, so if there are five people named "John" in the comments, writing "hey @john, have you considered apples?" will match the most recent John to comment.
-
1Great changes to comments. Now, is this the feature request that spawned this, or is there another? Because its still marked as status-declined :)user1228– user12282010年01月18日 17:36:31 +00:00Commented Jan 18, 2010 at 17:36
-
@Will I guess this is declined as it is, but implemented some other wayOscarRyz– OscarRyz2010年01月18日 19:10:08 +00:00Commented Jan 18, 2010 at 19:10
-
14I realize I'm a bit late to the party, but what about the first part of the post requesting a simple link called "reply" next to a comment, automatically inserting the standard @UserName: text? Seems fairly trivial and highly useful...Randolpho– Randolpho2010年01月25日 13:10:00 +00:00Commented Jan 25, 2010 at 13:10
-
11@Jeff: I agree with Randolpho. This (the "reply" button/link) would make even more sense now. I find myself copy-pasting usernames very often because I don't want to mistype them (knowing that would make the notification mechanism fail). This is unnecessarily fiddly and could easily solved by such a feature. Plus it would make new users readily aware of the existence if an actual @reply system.Tomalak– Tomalak2010年03月25日 02:20:39 +00:00Commented Mar 25, 2010 at 2:20
-
9@Tomalak: I also agree with @Randolpho, its trivial and would be a significant improvement in usability. Co-incidentally I just notice a new SO user that has taken the name 103067513055141045393 and I've been conversing with someone who has the name user301089, its painful and fiddly.AnthonyWJones– AnthonyWJones2010年03月25日 14:14:41 +00:00Commented Mar 25, 2010 at 14:14
-
1With regards to (5), we can't use @John[3] to refer to the fourth John (assuming most programmers think 0-based).dreamlax– dreamlax2010年08月25日 07:30:46 +00:00Commented Aug 25, 2010 at 7:30
-
@dreamlax: Not sure if you are serious or not, but to me, implementing something like that is admitting that the comment reply system as-is is a failure.RedFilter– RedFilter2010年11月27日 15:32:11 +00:00Commented Nov 27, 2010 at 15:32
-
1-1: While the notification changes are great, this is an overly complex solution that doesn't really solve some fundamental issues: incorrect matching, typos by user, forgetting to type username at all, username changes, overall usabilit (even Twitter has a reply-to link). Replies should instead be linked by
UserID.RedFilter– RedFilter2010年11月27日 15:37:42 +00:00Commented Nov 27, 2010 at 15:37 -
@randolpho @tomalak if you don't already know stackapps.com/questions/2051/reply-links-on-comments works great.user1228– user12282011年06月01日 13:21:50 +00:00Commented Jun 1, 2011 at 13:21
-
1New users will not know how to use
@user, can we instead have a reply link to comment which is nothing butAdd commentbut with@userpre-populated. Makes sense ? Am sure 90% of users wont click on HelpGoodSp33d– GoodSp33d2013年05月06日 12:22:42 +00:00Commented May 6, 2013 at 12:22
I would prefer it it used the user id instead.
@[1337] Hey, look I'm talking to myself.
**@[1337]** Now I'm yelling at myself!
That would completely prevent collisions.
This would be easy to do if there was a Reply to: link on every comment.
The @[1337] would get changed to:
@<a href="http://meta.stackoverflow.com/users/1337/brad-gilbert">Brad Gilbert</a>
based on the current name associated with the userid.
This could be done browser side, perhaps as a Grease Monkey script ( hint hint ).
-
15Wow, you got user number 1337, lucky!!jjnguy– jjnguy2009年08月14日 15:34:44 +00:00Commented Aug 14, 2009 at 15:34
-
1Unfortunately I was too early on ServerFault
768, and too late on SuperUser1508. Two out of four ain't bad though.Brad Gilbert– Brad Gilbert2009年08月14日 16:14:12 +00:00Commented Aug 14, 2009 at 16:14 -
I suggested this including username change detection meta.stackexchange.com/questions/53419/auto-expand-user-namesTobias Kienzler– Tobias Kienzler2010年06月16日 09:18:03 +00:00Commented Jun 16, 2010 at 9:18
I wrote this related post: Make recent activity and responses show new comments on questions/answers I have commented on (even if I don’t own them)
However, after thinking about it some more, I really think that Twitter-style @username replies would be a better option. Here are some of the potential problems, and my solutions to them.
Usernames are not unique. You should only show notifications to users with matching names who are either: a) the owner of the post; b) active in the current comment thread; or possibly c) the owner of the question (if this is a comment on an answer). Collisions should be rare enough that this is not a big deal.
Usernames can have spaces. I think this makes simple "@username" Twitter-style replies difficult, but we could easily do a sytax which is delimited on both ends. I'd suggest
@username:, or possibly@[username]. A Twitter-style reply button (as suggested in this feature request) would fill in the comment box so the user doesn't even have to do this himself most of the time.Usernames are not permanent. That's fine. If a user changes their name, they shouldn't expect a way of tracking old comment responses to their new name. Besides, I don't think active users change their name very often because they'd lose some of their name recognition. (Anyone want to diff usernames between July and August dumps to see how many name changes there actually were, and how much rep those users had on average?)
-
2The non-permenant thing shouldn't be a problem. The link to the user should just include their number. That way, name changes wont affect where the link points. (affect correct word choice here?jjnguy– jjnguy2009年08月14日 15:09:37 +00:00Commented Aug 14, 2009 at 15:09
-
7Why do people call @username Twitter-style? I was doing it for years before I ever heard of Twitter, and I certainly didn't come up with it myself.mmyers– mmyers2009年08月14日 15:09:55 +00:00Commented Aug 14, 2009 at 15:09
-
2Well, obviously because twitter made it popular.jjnguy– jjnguy2009年08月14日 15:12:14 +00:00Commented Aug 14, 2009 at 15:12
-
1When I say popular, I mean really popular!jjnguy– jjnguy2009年08月14日 15:12:46 +00:00Commented Aug 14, 2009 at 15:12
-
but @98454 is not intuitive. you have to do work to find out who the reply is addressed at. I guess they could overwrite it with the user's name, but then new users don't realize they need to enter the user's number (after all, it looks like everyone else is using the name and it works for them!)Kip– Kip2009年08月14日 15:34:22 +00:00Commented Aug 14, 2009 at 15:34
-
3what i mean, is the markup would be like @[jjnguy] but it would get changed to a link to the user on serverside right away. Then it will always point to the correct user, even if the name changes.jjnguy– jjnguy2009年08月14日 15:42:50 +00:00Commented Aug 14, 2009 at 15:42
-
@jjnguy gotcha. good idea, although you'd need someway to handle the case when two people with the same name are active on the same thread. if there were another jjnguy who posted above, for example, you wouldn't know who @jjnguy in this post refers to.Kip– Kip2009年08月14日 19:24:22 +00:00Commented Aug 14, 2009 at 19:24
-
Instead of worrying about the problems with username clashes, why not just use the comment id of the comment being replied to? After all, this MSE post is about replying to comments- not to users.2022年11月02日 00:22:55 +00:00Commented Nov 2, 2022 at 0:22
It'd be nice if it also alerted the first Comment's User, that a reply has been left. This can be part of the Responses section.
I'd suggest to make two simple things for starters:
Make a hyperlink next to each comment with a
Replywritten on it.Say, user named
James Kiltermade a comment:Oh, I really like your answer!.Whenever I click on that hyperlink, two things happen:
The text field that allows me to type in a comment shows up (as if you clicked
add comment)Text
**@James Kilter**appears in the beginning of the text field and I can writethanks!into that field.
That will allow James Kilter to see that the comment with the word thanks is addressed to him.
I'm not an expert in making web sites, but it appears to me this is quite an easy task to do.
And this will help a lot, as many of the users as for now have to make their comments addressed to certain people manually.
-
1"I'm not an expert in making web sites, but it appears to me this is quite an easy task to do." Now that just begs the question.random– random2009年08月27日 13:08:08 +00:00Commented Aug 27, 2009 at 13:08
-
2The phrase "I'm not an expert in ___, but it appears to me this is quite easy" has started some of the biggest migraines in just about every job I've had - regardless of the field.AnonJr– AnonJr2009年10月14日 14:17:19 +00:00Commented Oct 14, 2009 at 14:17
-
Joking aside, that is a trivial feature to implement, with some clear UX benefit. This is how I wish it was done, with the additional feature that the comments are linked by
UserIDin the backend, not user name, so that subsequent user name changes would not break the comment chain. I am surprised Twitter-style replies were implemented - there are many ways the user can break that (forgetting to type name, spelling name wrong, not putting it at beginning).RedFilter– RedFilter2010年11月27日 15:28:50 +00:00Commented Nov 27, 2010 at 15:28
Here's great UserScript from balpha ♦ which does exactly the same you need
It would be nice if you could reply to a specific comment and it was threaded. For example:
This answer saved my marriage, career and 4ドル.99 - mrX I'm glad I could help - BrianG This is clearly the wrong answer, -1 and I'm not talking to you for 23 minutes - dave Infact, make that 26 minutes - dave
But do the number of questions that actually have large amounts of comments make it worth it?
-
Programmers in particular seem to have this obsession with threading messages, and for the life of me I just don't get it. (Well, I do but I don't) While it seems intuitive on paper, I've rarely seen it work out in practice - even with an audience that should theoretically "get it".AnonJr– AnonJr2009年10月14日 14:19:57 +00:00Commented Oct 14, 2009 at 14:19
-
Just a context that someone is replying to would be good. Also the fact comments are ordered by rating makes tracking the original longerChris S– Chris S2009年10月14日 15:11:44 +00:00Commented Oct 14, 2009 at 15:11
-
I think that is a bad idea. Threaded comments will change "comments" into "discussions". And that is more like wikipedia than "question and answer".seyran– seyran2011年01月20日 00:20:04 +00:00Commented Jan 20, 2011 at 0:20
Oh dear, don't let Jeff hear this...
Else he'll change those @username replies into Twitter messages.
But I like the idea
Are we losing the point of a Q & A site?
The comment system should be simple and not take anything away from the questions and answers.
If the comment system gets too complex, then it will be used instead.
-
2I spend more time than needed tracing back from a comment to try and reconstruct the conversation. What's so awful about making it a little easier?user1228– user12282009年10月14日 18:19:58 +00:00Commented Oct 14, 2009 at 18:19
-
1The suggested change is about making it simpler. Less typing, more accurate, better UX. Where is the downside?RedFilter– RedFilter2010年11月27日 15:33:53 +00:00Commented Nov 27, 2010 at 15:33