open-webui/backend
silentoplayz e8e4dd0ead feat(search): display content snippets in chat search results
The chat search modal (Cmd+K) already searches within message content
but only displayed chat titles, giving users no indication of why a
chat matched their query.

This adds a content snippet below each search result showing the
matching text with the query term highlighted. The snippet is a ~200
char window centered on the first content match, with ellipsis for
truncated text.

Backend: extract snippet from already-loaded ChatModel objects (zero
extra DB cost). Frontend: render snippet with highlighted query via
<mark> tags with theme-aware styling.
2026-05-29 11:34:08 -04:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui feat(search): display content snippets in chat search results 2026-05-29 11:34:08 -04:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh refac 2026-03-24 19:43:30 -05:00
requirements-min.txt refac 2026-04-24 18:20:10 +09:00
requirements.txt refactor(firecrawl): use v2 API directly (#23934) 2026-04-24 18:32:08 +09:00
start.sh fix: default optional env vars used with bash ,, in start.sh (#24683) 2026-05-15 09:29:25 +09:00
start_windows.bat refac 2026-04-24 15:40:02 +09:00