Skip to content

feat(web): add file filter autocomplete to chat input#1264

Open
mitre88 wants to merge 1 commit intokhoj-ai:masterfrom
mitre88:feat/1182-chat-file-filter-autocomplete
Open

feat(web): add file filter autocomplete to chat input#1264
mitre88 wants to merge 1 commit intokhoj-ai:masterfrom
mitre88:feat/1182-chat-file-filter-autocomplete

Conversation

@mitre88
Copy link
Copy Markdown

@mitre88 mitre88 commented Mar 4, 2026

Summary

  • add file filter autocomplete suggestions directly in web chat input
  • detect active file: token while typing and show a suggestions popover
  • fetch synced files from /api/content/computer and rank suggestions by starts-with then contains
  • insert selected suggestion as file:"" into the current chat message

Why

Issue #1182 asks for file: autocomplete in chat so users can scope context to synced files without typing full filepaths manually.

Verification

  • bun run lint (web app)
  • bunx tsc --noEmit (web app)

Closes #1182

@mitre88
Copy link
Copy Markdown
Author

mitre88 commented Apr 17, 2026

Gentle ping — this PR is ready for review. All CI checks pass. Would appreciate a look when possible. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show autocomplete suggestions for File Query Filters in Chat on Web App

1 participant