mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-20 00:11:18 +00:00
* feat: add Cmd+Shift+. keyboard shortcut for previous mode switching - Add switchToPreviousMode function that cycles backwards through modes array - Update handleKeyDown to detect Cmd+Shift+. keyboard combination - Update modeShortcutText to display both next and previous mode shortcuts - Add forPreviousMode translation key to all 18 language files - Implements backwards mode cycling using modulo arithmetic for proper array wrapping Fixes #5692 * fix: correct keyboard shortcut detection for Cmd+Shift+. (previous mode) When Shift is pressed with the period key, event.key becomes ">" instead of ".". Fixed line 1576 to check for event.key === ">" for proper Cmd+Shift+. detection. Fixes keyboard shortcut issue reported in PR comment. * fix: use event.code for cross-platform keyboard shortcut compatibility - Replace event.key checks with event.code === "Period" for both shortcuts - Fixes keyboard layout compatibility issue where Shift+Period produces different characters on non-US layouts - Consolidates both shortcuts into a single conditional block for better maintainability - Addresses feedback from @daniel-lxs in PR #5695 |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| checkpoints | ||
| hooks | ||
| Announcement.tsx | ||
| AutoApprovedRequestLimitWarning.tsx | ||
| AutoApproveMenu.tsx | ||
| BatchDiffApproval.tsx | ||
| BatchFilePermission.tsx | ||
| BrowserSessionRow.tsx | ||
| ChatRow.tsx | ||
| ChatTextArea.tsx | ||
| ChatView.tsx | ||
| CheckpointWarning.tsx | ||
| CodebaseSearchResult.tsx | ||
| CodebaseSearchResultsDisplay.tsx | ||
| CodeIndexPopover.tsx | ||
| CommandExecution.tsx | ||
| CommandExecutionError.tsx | ||
| ContextCondenseRow.tsx | ||
| ContextMenu.tsx | ||
| ContextWindowProgress.tsx | ||
| FollowUpSuggest.tsx | ||
| IconButton.tsx | ||
| IndexingStatusBadge.tsx | ||
| Markdown.tsx | ||
| McpExecution.tsx | ||
| Mention.tsx | ||
| ModeSelector.tsx | ||
| ProfileViolationWarning.tsx | ||
| ProgressIndicator.tsx | ||
| ReasoningBlock.tsx | ||
| ShareButton.tsx | ||
| SystemPromptWarning.tsx | ||
| TaskActions.tsx | ||
| TaskHeader.tsx | ||
| TodoListDisplay.tsx | ||
| UpdateTodoListToolBlock.tsx | ||