anomalyco / anomalyco/opencode
Version 2 Web - Mermaid Diagram - Not Copy-able
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Hi, can you please check why Mermaid diagrams are not showing copy button or even ability to see the code snippet behind it,
I have to copy the whole output , including the text before and after , when i only need the diagram
Plugins
No response
OpenCode version
opencode2 v0.0.0-beta-17823
Steps to reproduce
- Generate and mermaid diagram.
- Through Opencode2 Web, try to click on the mermaid diagram, the mermaid code does not show.
- Hover over the corners of the Mermaid diagram, no copy option.
Screenshot and/or share link
Operating System
No response
Terminal
No response
Contributor guide
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
Start in the Version 2 Web path that renders Mermaid diagrams and reproduce the missing copy action from the listed steps. Trace how the diagram is displayed and where its source code could be exposed. Done means the rendered diagram provides a way to copy the Mermaid code without copying surrounding message text; verify this in the web interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100