feat(prompt): add shell mode UI with cancel button, custom icon, and example placeholder (#24105)

This commit is contained in:
Brendan Allan
2026-04-24 14:04:55 +08:00
committed by GitHub
parent 6c1268f3b1
commit 4712f0f3c1
21 changed files with 40 additions and 29 deletions
@@ -5,7 +5,7 @@ const dict: Record<string, string> = {
"prompt.loading": "Loading prompt...",
"prompt.placeholder.normal": "Ask anything...",
"prompt.placeholder.simple": "Ask anything...",
"prompt.placeholder.shell": "Run a shell command...",
"prompt.placeholder.shell": "Run a shell command... {{example}}",
"prompt.placeholder.summarizeComment": "Summarize this comment",
"prompt.placeholder.summarizeComments": "Summarize these comments",
"prompt.action.attachFile": "Attach files",