From df2f3dff95f9076415f57477c1acaf0a6ab9e847 Mon Sep 17 00:00:00 2001 From: "tao.chen" <93983997+taochen-ct@users.noreply.github.com> Date: Thu, 23 Jul 2026 17:41:38 +0800 Subject: [PATCH] style: simplify button labels (drop emoji, keep text) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - πŸͺ„ AI 智能编辑 β†’ AI - πŸš€ 发送 β†’ 发送 - βœ• ε–ζΆˆ β†’ ε–ζΆˆ Co-Authored-By: Claude Fable 5 --- src/components/opencode_cell_actions.ts | 2 +- src/components/opencode_inline_prompt.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/opencode_cell_actions.ts b/src/components/opencode_cell_actions.ts index 2c0f2af..14c8a4b 100644 --- a/src/components/opencode_cell_actions.ts +++ b/src/components/opencode_cell_actions.ts @@ -88,7 +88,7 @@ export class OpenCodeCellActions extends Widget { const btn = document.createElement('button'); btn.className = 'opencode-btn opencode-btn-ai'; - btn.textContent = 'πŸͺ„ AI 智能编辑'; + btn.textContent = 'AI'; btn.disabled = baseDisabled; btn.title = baseDisabled ? 'OpenCode: η­‰εΎ… cell δΈŠδΈ‹ζ–‡β€¦' diff --git a/src/components/opencode_inline_prompt.ts b/src/components/opencode_inline_prompt.ts index db06ee8..88f8c08 100644 --- a/src/components/opencode_inline_prompt.ts +++ b/src/components/opencode_inline_prompt.ts @@ -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(); });