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

User should able to mention themself #4184

Open
Rash419 opened this issue Oct 30, 2024 · 2 comments
Open

User should able to mention themself #4184

Rash419 opened this issue Oct 30, 2024 · 2 comments
Assignees
Labels
1. to develop Waiting for a developer

Comments

@Rash419
Copy link
Contributor

Rash419 commented Oct 30, 2024

Describe the bug
The autocomplete list the COOL gets from richdocuments doesn't have username of user typing the mention. Therefore, they can't mention themselves

To Reproduce
Try to mention yourself in the document

Expected behavior
User should able to mention themself

@elzody elzody added the 1. to develop Waiting for a developer label Nov 5, 2024
@juliusknorr
Copy link
Member

@elzody Maybe a quick one to fix if you are working in that area anyways right now?

@elzody elzody self-assigned this Feb 3, 2025
@elzody
Copy link
Contributor

elzody commented Feb 3, 2025

I've discovered that the currently logged-in user is removed from the search results from the autocomplete API, unless you specifically search for the entire UID. For example, if logged-in as user Jane, and you hit the autocomplete API with jan, you will receive nothing. But, if you search for the entire name jane you will get Jane's user. But, if logged-in as another user, say Bob, he can search for jan just fine and receive jane as a result.

Not sure how to bypass this, but for now, entering your entire username should work.

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

No branches or pull requests

3 participants