`@mention` not working

Recently after upgrading to 2.5.0.beta6, we noticed some problems with the @mentions feature.

The popup list of users does not always show. I had this reproduce consistently by typing a single character. I have to hit back space and type the same letter(s) to get a list to appear, e.g.

@b<backspace>b

This gave me a list of 6 users.

I am not sure if this is related, I also noticed that if I queried the users with curl and grep’d for username, I found 8 users starting with b, more than 6 in the UI. Example query:

curl -s -X GET "https://discuss.dgraph.io/admin/users/list/users.json" \
   -H "Api-Key: $API_KEY" \
   -H "Api-Username: $API_USR" | jq '.[].username' -r | grep -i '^b.*'
2 Likes

Are you seeing any errors in the browser console?

I believe six is the limit, at least on mobile. Even here on meta autocomplete only shows me six choices.

1 Like

There was a temporary regression on mention pop ups related to debouncing changes so be sure you update to latest.

5 Likes