CommandCodeAI / CommandCodeAI/commandcode-status
建议 / Feature Request: 为 Markdown 内容添加「复制」按钮 / Add a "Copy" button for rendered Markdown content
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
问题描述 / Problem
目前界面中渲染的 Markdown 内容(代码块、回复文本等)没有「复制」按钮,用户只能手动鼠标拖选,长段内容或代码块选中容易不完整。
Currently, rendered Markdown content has no "Copy" button. Users must manually select text with the mouse, which is inconvenient and often incomplete for long content or code blocks.
建议 / Suggestion
-
代码块右上角添加 Copy 按钮,点击复制并显示反馈;
-
可选:消息整体提供「复制全文」按钮;
-
复制使用原始 Markdown 源文本。
-
Add a Copy button at the top-right of code blocks with "Copied!" feedback;
-
Optionally, a "Copy all" button for entire messages;
-
Copy should use the raw Markdown source.
收益 / Benefits
-
提升操作效率,减少误选漏选;
-
符合主流 AI/开发工具标配交互习惯。
-
Improves efficiency;
-
Matches standard interactions in mainstream AI/dev tools.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the component that renders Markdown and code blocks, then inspect how rendered content and raw Markdown are available to the UI. Done means code blocks have a Copy action with copied feedback, using the raw source; the whole-message action is optional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, markdown
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100