Problem

On platforms with a lot of users there can be many people with the same first and last name. There can also be users with usernames that match short first names. When mentioning a user only 10 people are shown. These factors combined could cause it to be hard or impossible for a user to mention someone without knowing their full username (which may not be displayed anywhere).

Solution

Allow mention selection to carry on past a space, this would allow to select "John Zorro" when there are already many John's on the platform. This also brings the mentioning functionality inline with how you would expect this to work on other social platforms.

Comments

Kingdutch created an issue. See original summary.

kingdutch’s picture

Given that this requires quite a bit of rework on the mention system, it could be interesting to see if this can also open up the way for allowing things like groups and content to be mentioned along with users.

We could take inspiration from Facebook which has open sourced its editor (that powers its content embedding and mentioning) in the form of Draft.js.

jaapjan credited xinyuma.

jaapjan’s picture

Status: Active » Needs review

Implemented a solution here and it is ready for review:

https://github.com/goalgorilla/open_social/pull/1116

ronaldtebrake’s picture

Status: Needs review » Reviewed & tested by the community
ronaldtebrake’s picture

Awesome work! Will land in 4.0 :)

ronaldtebrake’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.