WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.52k stars 998 forks source link

Comment mention autosuggestion #2964

Closed Kyuuu closed 4 years ago

Kyuuu commented 5 years ago

Is your feature request related to a problem? Please describe. When mentioning someone in the comments section it would be helpful to be able to type and select them using a handle, similar to the system used in Discord.

Describe the solution you'd like mention

Describe alternatives you've considered //

Additional context //

JanStevcik commented 4 years ago

Hi, can I do this issue?

nijel commented 4 years ago

Yes, you're welcome to do that.

rhofer commented 4 years ago

When mentioning someone in the comments section it would be helpful to be able to type and select them using a handle, similar to the system used in Discord.

... or similar to github or gitlab when mentioning somebody in e.g. this issue here.

Especially, when social authentication is activated (e.g. via auth0), and e.g. two users are registering with the same first name, this results into:

In the second case, there is no chance to remember the user name, hence autosuggestion is kind of a must.

nijel commented 4 years ago

@SaptakS When touching the editor, please keep in mind that we want more features there in future.

Related issues I've remembered now:

nijel commented 4 years ago

This could probably use the /api/users/. It should be exteded to support this use case. The django_filters can be added to add filtering and add support for making the API call by non superusers by filtering the available fields to them (probably just username and full_name should be exposed in this case).

github-actions[bot] commented 4 years ago

Thank you for your report, the issue you have reported has just been fixed.