Roo-Code/webview-ui
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
..
.storybook Additional @shadcn/ui components 2025-02-14 23:41:39 -08:00
public Remove CRA cruft 2025-01-30 14:38:41 -08:00
src feat: Add shift-click to append suggestions to text area (#2081) 2025-03-30 23:35:02 -04:00
.eslintrc.json Stabilize tests in CI 2025-02-23 02:28:10 -08:00
.gitignore PR cleanup 2025-03-12 11:23:06 -04:00
.npmrc Improved logic for auto-approving chained commands 2024-12-26 22:45:09 -08:00
components.json Remove lucide 2025-01-30 14:47:59 -08:00
index.html Roo Cline -> Roo Code 2025-01-29 21:21:20 +07:00
jest.config.cjs Add i18n 2025-03-12 11:23:06 -04:00
package-lock.json Run 'npm audit fix' on everything (#1817) 2025-03-24 14:50:53 -04:00
package.json Welcome page OAuth (#1913) 2025-03-23 10:08:16 -04:00
tsconfig.json Merged with main branch 2025-02-06 12:44:22 +05:30
vite.config.ts perf: optimize build process for parallel execution (#1801) 2025-03-19 01:15:55 -07:00