mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Implements an indexing status badge in the chat view that displays the current status of codebase indexing.
The badge provides you with real-time feedback on indexing progress and errors without needing to navigate to the settings page.
Key changes:
- Created `IndexingStatusBadge.tsx`: A new component to display the badge.
- Shows "Indexing X%" with a yellow pulsing dot for active indexing.
- Shows "Indexing Error" with a red dot for errors.
- Hidden for "Standby" or successful "Indexed" states.
- Clicking the badge navigates you to the Codebase Indexing settings.
- Integrated `IndexingStatusBadge` into `ChatView.tsx`:
- `ChatView` now listens for `indexingStatusUpdate` messages from the extension.
- The badge is rendered in the bottom-right corner of the chat view.
- Added i18n translations for new badge text.
- Added unit tests for `IndexingStatusBadge` and integration tests in `ChatView.test.tsx` to ensure correct behavior and visibility based on indexing status.
|
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| jest.config.cjs | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||