CommandCodeAI / CommandCodeAI/commandcode-status

建议 / Feature Request: 为 Markdown 内容添加「复制」按钮 / Add a "Copy" button for rendered Markdown content

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

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
  1. 代码块右上角添加 Copy 按钮,点击复制并显示反馈;

  2. 可选:消息整体提供「复制全文」按钮;

  3. 复制使用原始 Markdown 源文本。

  4. Add a Copy button at the top-right of code blocks with "Copied!" feedback;

  5. Optionally, a "Copy all" button for entire messages;

  6. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.