Roo-Code/webview-ui/src/components/chat
Sam Hoang Van 48148e38d9
feat: Add shift-click to append suggestions to text area (#2081)
* feat: Add shift-click to append suggestions to text area

When a user shift-clicks a suggestion, the text is now appended to the current text area content instead of being sent immediately. This allows users to:
- Build complex prompts by combining multiple suggestions
- Edit suggestions before sending them
- Reuse parts of previous suggestions

The implementation passes the mouse event through the component chain and checks for the shift key before deciding whether to append or send the message.

* Tweak icon and internationalize

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-30 23:35:02 -04:00
..
__tests__ feat @-mention window path style & file with space (#1924) 2025-03-27 00:10:06 -04:00
checkpoints More chat i18n 2025-03-17 15:49:59 -04:00
Announcement.tsx v3.10 (#1850) 2025-03-20 16:00:04 -04:00
AutoApproveMenu.tsx Link to the settings page from the auto approve toolbar (#2111) 2025-03-30 12:22:53 -04:00
BrowserSessionRow.tsx Internationalize the BrowserSessionRow (#1797) 2025-03-19 01:48:59 -04:00
ChatRow.tsx feat: Add shift-click to append suggestions to text area (#2081) 2025-03-30 23:35:02 -04:00
ChatTextArea.tsx In-Editor Browser Improvements (#1601) 2025-03-29 00:46:01 -04:00
ChatView.tsx feat: Add shift-click to append suggestions to text area (#2081) 2025-03-30 23:35:02 -04:00
ContextMenu.tsx feat @-mention window path style & file with space (#1924) 2025-03-27 00:10:06 -04:00
FollowUpSuggest.tsx feat: Add shift-click to append suggestions to text area (#2081) 2025-03-30 23:35:02 -04:00
IconButton.tsx Update UX for text area (#1953) 2025-03-24 17:46:34 -04:00
ReasoningBlock.tsx Translate thinking seconds 2025-03-17 16:06:03 -04:00
TaskHeader.tsx Fix tests 2025-03-17 15:55:15 -04:00