mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 11:36:05 +08:00
3bf5692c72
Our @mention user search prioritized users based on prefix matches. So if searching for `sa` we will display `sam`, `asam` in that order Previously, we did not prioritize group matches based on prefix. This change ensures better parity. Implementation notes: 1. User search only prioritizes based on username prefix, not name prefix. TBD if we want to change that. 2. @mention on client side will show 0 group matches if we fill up all the spots with user matches. TBD if we want to unconditionally show the first / second group match. Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com> |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |