Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mentions strange sort with groups #117

Open
alfazaz opened this issue Dec 12, 2019 · 3 comments
Open

Mentions strange sort with groups #117

alfazaz opened this issue Dec 12, 2019 · 3 comments
Assignees

Comments

@alfazaz
Copy link

alfazaz commented Dec 12, 2019

Hello !

I don't understand sort of mentions autocomplete list. For example, when I begin to type @a

in composer on nodebb community forum, it gives
image

Is it possible to have a greatest sorting ? If @a is typed, only propositions beginning with the a letter should be proposed at first (in alphabetical order), for groups and users. No ?

It's annoying if there are many many mentions possibles because the dropdown has only ten items in it... Bad items are showing first and we can't see good items...

@julianlam
Copy link
Owner

You're correct, it's bugged out, and has been for quite some time. What's supposed to happen is a list of matching users and groups are returned. It doesn't seem like the groups are filtered properly (or at all!) 😄

@julianlam julianlam self-assigned this Jan 15, 2020
@barisusakli
Copy link
Collaborator

Looks like it's matching anything that contains a instead of those starting with a. Might be intentional.

@alfazaz
Copy link
Author

alfazaz commented Jan 15, 2020

If it is intentional, it's not great because of the limitation to ten items in the dropdown...

For example, if I have many groups with close names (promo-00-01, promo-01-02, etc...), we can't see all of these (see #118) and there can be unshowed items in dropdown also by a replacement by other terms which don't begin with p letter...

I think the dropdown selector could be improved (see also #119).

;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants