-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Can not add user to chanel #24673
Comments
We experience the same issue with our 4.5.0 instances, with Mongo 5.0 (if that changes anything which i doubt). |
@Bengrunt a temporary workaround is to:
This works for public and private channels :) |
@redRolf Yes, that's what I told my users :) By the way, the issue affects discussions and direct messages as well. |
This should be something for 4.5.1 as this a quite basic feature which is heavily used. |
Temporary workaround for DMs: go to top menu "Directory", search for user, click on user entry - this will open a DM "channel" |
We have users in forums with the same error that sad it was fixed in 4.5.1 Can you guys confirm? |
Confirmed, working for me again with 4.5.1. |
It is working again but, when trying to add a user, I get immediately (i.e. without any latency) a list of suggested users to add, if I start typing it will first filter users from this list and when my search no longer match a user in this initial list it displays "None" briefly (but feels not that brief), then "Loading" briefly and only then I get the user I was looking for. I would say that "it is working" but user experience is not perfect. |
@amottier - that was my experience as well. It was reasonably fast to autocomplete but would be nice if there was a "Loading" message or something while it was performing the request, e.g., https://select2.org/data-sources/ajax |
Great feedback @amottier! Thanks! As you probably know, we are refactoring a lot of components, and those nasty bugs are expected. |
Description:
When trying to add a user to a channel, only a subset of 10 users is offered for selection.
Steps to reproduce:
Add
The same behavior can be observed when creating a new channel and trying to add a new user in the channel creation menue.
In both cases, the following request is sent to the server:
https://<your-endpoint>/api/v1/users.autocomplete?selector=%7B%22term%22%3A%22%22%7D
This then only returns a subset of all users. That can be reproduced with the curl command below:
I suspect, that the cause may be this merge: #24529
Expected behavior:
Actual behavior:
Server Setup Information:
Client Setup Information
Additional context
I am happy to provide any information that may be required. I have tried to limit the info here to what seemed relevant. 😇
Relevant logs:
The text was updated successfully, but these errors were encountered: