danirus / django-comments-xtd

A pluggable Django comments application with thread support, follow-up notifications, mail confirmation, like/dislike flags, moderation, a ReactJS plugin and Bootstrap 5.3.
https://django-comments-xtd.readthedocs.io
BSD 2-Clause "Simplified" License
594 stars 158 forks source link

Username on reply (UX) #266

Open ogurec-ogurec opened 3 years ago

ogurec-ogurec commented 3 years ago

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.

image

I think this might improve the visual UX for the user.

danirus commented 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.

ogurec-ogurec commented 3 years ago

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 :)

ogurec-ogurec commented 3 years ago

@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?)

danirus commented 3 years ago

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.