-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support twitter-style @username mentions #149
Comments
@umputun what do you think about this solution:
Next steps is about ability to mention (not about showing user info)
|
some suggestions:
|
@akosourov see also #155 Maybe we should postpone mentions implementation until bolt part switched to storm? It will simplify new index creation significantly. |
What do you think about the situation when several users have one name? I mean how server should guess what user was selected to be mentioned if UI only send
But maybe "site" context instead of "post" context might be helpful for customers like radio-t site. For example with "site" context each regular user will be able to post comment refering it to announcer (to leader of show). Like direct question, for example to ask something, referring to this episode (post). But maybe it can be done adding predefined list of vip
Of course but if you have something that I can deal - I will be glad :) |
I don't see how moving this responsibility to the frontend will help. The user will type
good idea. We can also collect the latest mentions in some sort of cache (on the server side) and keep smth like 100 latest and mix them into PostInfo mentions. |
@umputun I'd like to deal with something in remark where I could be helpful. I can deal with something relative to this issue (start to switching to storm, or start implementing mentions without it) or something other. So If you need help - let me know :) |
@akosourov sorry, missed your message. There is a ticket you may want to take a look #488 |
if every
@username
in the comment's text translated to user info and returned back by API as a list ofmentions []store.User
we could do some nice things with this, like:@username
can show user infoThe biggest problem here - the server doesn't know anything about
@username
until user posted at least one comment. Even for such users, we don't have any method to translate username to ID directly.The text was updated successfully, but these errors were encountered: