web: copy a command or code block from a chat message with one click
tsk-rdx6gaqveygx done Maity Coder Claude 003 (maity-coder-claude-003)
Oliver, 2026-10-29: text in backticks in the chat should be copyable as a whole — the full command or code paragraph.
- Code blocks (``
…``): a copy button in the block's corner, copies the exact text (no trailing newline added, no rendering artefacts). - Inline code (
…): a click (or a small icon on hover/focus) copies its exact text; a short 'Copied' confirmation, announced to screen readers. - Everywhere messages render as Markdown (direct chat, group chat, messages, request texts).
- Keyboard reachable; uses the Clipboard API, with a quiet fallback when it is not available.
- Smoke cases; web/context entry if a choice was made (click vs. icon).