style: simplify button labels (drop emoji, keep text)

- 🪄 AI 智能编辑 → AI
- 🚀 发送 → 发送
- ✕ 取消 → 取消

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
tao.chen
2026-07-23 17:41:38 +08:00
co-authored by Claude Fable 5
parent b6c0273ee0
commit df2f3dff95
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ export class OpenCodeInlinePrompt extends Widget {
this._textarea.rows = 3;
this._sendBtn = document.createElement('button');
this._sendBtn.className = 'opencode-btn-send';
this._sendBtn.textContent = '🚀 发送';
this._sendBtn.textContent = '发送';
this._sendBtn.disabled = options.disabled;
this._sendBtn.addEventListener('click', () => {
const text = this._textarea.value;
@@ -64,7 +64,7 @@ export class OpenCodeInlinePrompt extends Widget {
});
this._cancelBtn = document.createElement('button');
this._cancelBtn.className = 'opencode-btn-cancel';
this._cancelBtn.textContent = '取消';
this._cancelBtn.textContent = '取消';
this._cancelBtn.addEventListener('click', () => {
options.onCancel();
});