mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-28 06:32:08 +08:00
* feat: Highlighted search in chat page * Bug fixes and added a temporary F3 shortcut * Bug fixes * Bug fixes * feat: Implement content search functionality with keyboard shortcuts - Added a new `ContentSearch` component for searching text within a specified target. - Integrated search functionality with keyboard shortcuts, allowing users to enable search via a new shortcut key. - Updated internationalization files to include new search-related messages in multiple languages. - Enhanced shortcut management to accommodate the new search feature, including a migration for shortcut updates. - Refactored the `Chat` component to utilize the new content search capabilities. * fix(ContentSearch): Update search index check and enhance container styling * feat(ContentSearch): Enhance search functionality with case sensitivity and whole word options - Added options for case sensitivity and whole word matching in the search feature. - Updated the highlightText function to accommodate new search parameters. - Improved styling and layout of the search input and buttons for better user experience. - Refactored related components to support the new search options. * refactor(useShortcuts): Remove console log for shortcut invocation * feat: Add user filter and initial text to search - Improve ContentSearch UI: - Add tooltips for search options - Enhance result display (e.g., "No results", "0/0") - Disable navigation buttons when no matches - Relocate search bar to the top of the chat view - Apply case-sensitivity logic only to Latin characters - Add translations for new options * i18n: Translate "No results" message * Add in-chat search shortcut, update global search to Cmd/Ctrl+Shift+F. * feat: Allow users to scroll during input and optimize the search result index update logic * feat: Update search message shortcut to include Shift for improved accessibility * feat: Refactor search component layout and update highlight color variables * fix: Adjust margin-bottom for SearchBarContainer --------- Co-authored-by: suyao <sy20010504@gmail.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| src | ||
| index.html | ||
| miniWindow.html | ||