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.*'