Skip to content
Closed
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/khaki-items-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"roo-cline": patch
---

This change fixes a bug where file paths containing spaces or special characters were not properly escaped, leading to failures in mention highlighting and file access. The problem affects utility functions like `convertToMentionPath` and `insertMention`, causing inconsistent behavior across different operating systems. Resolving this ensures better reliability for users dealing with common file naming conventions, improving overall user experience in path referencing.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,15 @@ logs

# Vite development
.vite-port

# Compiled files
.cursor/
Roo-Code/
extension.js
extension.js.map
*.wasm
i18n/

# CodeQL local analysis artifacts
/webview-ui/codeql-db/
/codeql-results.sarif
10 changes: 10 additions & 0 deletions src/__mocks__/react-i18next.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
useTranslation: () => ({
t: (key) => key, // Return key itself for simplicity
i18n: {
changeLanguage: () => new Promise(() => {}),
// Add other i18n properties/methods if needed by the component
},
}),
// Mock other exports from react-i18next if necessary
}
Loading
Loading