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

Search function for file names in groups and direct messages not working #34930

Open
hallo43 opened this issue Jan 10, 2025 · 4 comments
Open
Labels
Tasked Added to the internal issue tracking type: bug

Comments

@hallo43
Copy link

hallo43 commented Jan 10, 2025

Description:

I used the file search function in groups and direct messages, but it is not working.
(The search function works fine in channels.)

Additionally, I noticed that each time a character is entered into the search box, the API is called, leading to too many API requests when the keyword consists of multiple characters.
It would be better to allow the user to complete the keyword input and press Enter before triggering the API call.

Steps to reproduce:

Expected behavior:

can search file name

Actual behavior:

Search function for file names in groups and direct messages not working

Server Setup Information:

  • Version of Rocket.Chat Server: 7.2
  • License Type: Starter
  • Number of Users: 5
  • Operating System: Ubuntu 22.0.4
  • Deployment Method: Docker image(pull from github of Rocket.chat)
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 20.18.0
  • MongoDB Version: 6.0
@Fahad-Dezloper
Copy link

we can implement debouncing, so that request will go out after 300ms after user stop giving the input or we can add the button component so that request will go out after the button is clicked.

@Fahad-Dezloper
Copy link

@reetp assign me this issue

@reetp
Copy link

reetp commented Jan 11, 2025

@reetp assign me this issue

https://gist.github.com/reetp/b0ba4e3d0ea2ff48ca9da00a5a647d42#github

Never @ anyone. I don't work here. I read when I can.

No one assigns issues.

Before starting work, ask on https://open.rocket.chat/channel/support if the team want you to try and fix it as it may already being worked on internally.

Thanks.

@reetp
Copy link

reetp commented Jan 22, 2025

Seems to exist in 7.2.1 as well

Also the 'Type' box does nothing if you select say images from the dropdown.

@reetp reetp added type: bug Tasked Added to the internal issue tracking labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tasked Added to the internal issue tracking type: bug
Projects
None yet
Development

No branches or pull requests

3 participants