mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
* feat: add configurable max search results for codebase indexing (#5149) - Add codebaseIndexSearchMaxResults to configuration schema with validation (10-1000) - Update Qdrant client to accept maxResults parameter in search method - Add UI slider in Experimental Settings to configure max search results - Rename constants to DEFAULT_MAX_SEARCH_RESULTS and DEFAULT_SEARCH_MIN_SCORE for clarity - Add translations for new setting across all 17 supported languages - Add comprehensive test coverage for config manager, Qdrant client, and UI components fix: settings persistence for codebase index configuration - Add new updateCodebaseIndexConfig message type to properly merge config updates - Update SettingsView to send entire codebaseIndexConfig object instead of just enabled flag - Add backend handler to merge configuration updates instead of overwriting - Add tests for the new message handler functionality This ensures the max search results setting persists correctly when saved. * fix: correct property name in updateCodebaseIndexConfig message The frontend was sending 'config' but the backend expects 'codebaseIndexConfig'. This mismatch was preventing the max search results setting from persisting. * feat: refactor codebase index constants and update search result defaults * feat(chat): add advanced settings for maximum search results configuration * refactor: remove updateCodebaseIndexConfig and integrate max search results into saveCodeIndexSettingsAtomic - Removed updateCodebaseIndexConfig message type and handler as per PR feedback - Added codebaseIndexSearchMaxResults to codeIndexSettings type in WebviewMessage.ts - Updated saveCodeIndexSettingsAtomic to save codebaseIndexSearchMaxResults - Fixed SettingsView.tsx to use codebaseIndexEnabled message instead of updateCodebaseIndexConfig * Delete webview-ui/src/components/settings/__tests__/ExperimentalSettings.spec.tsx * refactor: remove updateCodebaseIndexConfig tests to streamline codebase indexing logic * revert this --------- Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com> Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| __tests__ | ||
| activate | ||
| api | ||
| assets | ||
| core | ||
| extension | ||
| i18n | ||
| integrations | ||
| services | ||
| shared | ||
| utils | ||
| workers | ||
| .gitignore | ||
| .prettierignore | ||
| .vscodeignore | ||
| esbuild.mjs | ||
| eslint.config.mjs | ||
| extension.ts | ||
| package.json | ||
| package.nls.ca.json | ||
| package.nls.de.json | ||
| package.nls.es.json | ||
| package.nls.fr.json | ||
| package.nls.hi.json | ||
| package.nls.id.json | ||
| package.nls.it.json | ||
| package.nls.ja.json | ||
| package.nls.json | ||
| package.nls.ko.json | ||
| package.nls.nl.json | ||
| package.nls.pl.json | ||
| package.nls.pt-BR.json | ||
| package.nls.ru.json | ||
| package.nls.tr.json | ||
| package.nls.vi.json | ||
| package.nls.zh-CN.json | ||
| package.nls.zh-TW.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||