RocketChat / RocketChat/Rocket.Chat

[NEW] Chatpal: Search for uploaded files

Open
#13,888 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Currently it is not possible to search for uploaded files (neither for filename nor for textual content within files). To achieve this, we need to:

  • Enable indexing for uploaded files by extending the indexing method
  • Enable file indexing in the backend
  • Enable file search in the backend (for filename and textual content)
  • Enable file search by adding a new search tab to the Chatpal frontend

Note: This will be a premium feature of Chatpal and won't be supported by the open source Chatpal-API backend. The code should also handle missing file search support depending on Chatpal-API features.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing Chatpal's uploaded-file indexing method and the backend capabilities for filename and textual-content search, then inspect how the frontend adds search tabs. Confirm how missing Chatpal-API file-search support is represented before defining the integration points. Done means uploaded files are indexed and searchable when supported, with a frontend tab and graceful handling when the premium capability is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, frontend, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.