Roo-Code/src/core/webview
Roo Code 0be1980362 feat: add saved prompts feature
Implements the Saved Prompts feature as requested in issue #11151.

Features:
- Create, edit, and delete saved prompts
- Associate prompts with specific API configurations
- Auto-switch API config when using a prompt
- Import/export saved prompts as JSON
- Bookmark icon dropdown near chat input for quick access
- Full CRUD management in Settings

Files added/modified:
- packages/types/src/saved-prompt.ts: Zod schema and types
- packages/types/src/global-settings.ts: Add savedPrompts to schema
- packages/types/src/vscode-extension-host.ts: Message types
- src/core/webview/webviewMessageHandler.ts: CRUD handlers
- webview-ui/src/components/settings/SavedPromptsSettings.tsx: Settings UI
- webview-ui/src/components/chat/SavedPromptsDropdown.tsx: Chat dropdown
- webview-ui/src/context/ExtensionStateContext.tsx: State management
- webview-ui/src/i18n/locales/en/settings.json: Translations
- webview-ui/src/i18n/locales/en/chat.json: Translations

Closes #11151
2026-02-02 15:03:06 +00:00
..
__tests__ feat: add mode dropdown to change skill mode dynamically (#10513) (#11102) 2026-01-31 00:22:49 -05:00
worktree Remove Merge button from worktrees (#10924) 2026-01-23 16:55:46 -05:00
aggregateTaskCosts.ts Feat/issue 5376 aggregate subtask costs (#10757) 2026-01-15 16:44:55 -05:00
BrowserSessionPanelManager.ts Browser Use 2.0 (#8941) 2025-11-21 17:26:15 -05:00
checkpointRestoreHandler.ts Edit/Delete User Message (#7447) 2025-09-05 14:50:18 -04:00
ClineProvider.ts Release v3.46.0 (#11121) 2026-01-30 15:17:58 -05:00
diagnosticsHandler.ts ux: add downloadable error diagnostics from chat errors (#10188) 2025-12-19 11:50:40 -08:00
generateSystemPrompt.ts refactor(read_file): Codex-inspired read_file refactor EXT-617 (#10981) 2026-01-29 15:16:32 -07:00
getNonce.ts Refactor out of utils 2024-09-24 11:36:37 -04:00
getUri.ts Refactor out of utils 2024-09-24 11:36:37 -04:00
messageEnhancer.ts feat: Add Task History Context to Prompt Enhancement (#6343) 2025-07-30 16:54:33 -04:00
skillsMessageHandler.ts feat: add mode dropdown to change skill mode dynamically (#10513) (#11102) 2026-01-31 00:22:49 -05:00
webviewMessageHandler.ts feat: add saved prompts feature 2026-02-02 15:03:06 +00:00