mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-10 22:41:14 +00:00
This change implements a two-phase UX for file editing operations: 1. Show "Roo is preparing to edit a file..." immediately when a file edit starts 2. Update to "Roo wants to edit this file" with the actual filename once path stabilizes The issue was that file paths arrive character-by-character during streaming, and the UI waited for path stabilization before showing anything, creating the appearance of a frozen UI. Changes: - Added preparingToEdit translation string to all 18 locale files - Modified ChatRow.tsx to show preparing message when tool.path is undefined - Updated CodeAccordian.tsx to show loading placeholder for undefined paths - Added hasSentInitialMessage flag to BaseTool.ts - Updated ApplyDiffTool, EditFileTool, WriteToFileTool, SearchAndReplaceTool, and SearchReplaceTool to send initial "preparing" message immediately - Updated writeToFileTool test to reflect new behavior Addresses issue #10855 |
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| browser-panel.html | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||