feat(chat): enhance search functionality and message highlighting
- Added search match navigation to allow users to cycle through search results in chat sessions. - Implemented highlighting of search terms in chat messages for better visibility. - Updated sidebar to display match counts for sessions based on search results. - Enhanced session search logic in the database to include match counts for improved user experience. - Refactored chat message component to support dynamic highlighting of search terms.
This commit is contained in:
1 parent
1a64f5aa18
commit
ba03131a78
7 files changed
+395
-116
No files matched your search
@@ -10,6 +10,7 @@ export interface SessionSummary {
|
||||
updated_at: string;
|
||||
preview: string;
|
||||
platform: string;
|
||||
match_count?: number;
|
||||
}
|
||||
|
||||
const TITLE_MODEL = "qwen2.5:0.5b";
|
||||
|
||||
Reference in new issue
Block a user