Open ogurec-ogurec opened 3 years ago
That is confusing. At first sight it looks like I can click there to answer Pavel Ivanov. It's common to add the name of the person you are answering directly in the comment. Like here: @ogurec-ogurec.
I partially agree, I also saw the decision that @username is added automatically when you click on the "Reply" button. That is, the comment proposal already begins @useername_reply, text comment.... In any case, the final decision is yours :)
@danirus I would like to ask, how can I add the name to whom the user answers next to the nickname? In the reply.html template?)
Sorry for the late reply @ogurec-ogurec,
In the reply.html
you get the comment
as a context object. From that object you can get the name with comment.user.get_full_name()
or if it is not a registered user with comment.user_name
.
I would like to propose as a possible idea for ux. Сan add the name to whom you are answering, when replying to a comment. When you click on this name, a link to the author of the root comment in which the answer is given.
I think this might improve the visual UX for the user.