-
Man, I would so love to be part of OneDev's future.
-
Name Previous Value Current Value Assignee
robin
zaakiy
-
Name Previous Value Current Value Assignee
zaakiy
wh
-
-
Implemented click-to-copy for inline code spans in rendered markdown (issues, PRs, comments, etc.):
- Hover shows a pointer cursor
- Click copies the span text to the clipboard (drag-to-select is left alone)
- Background flashes briefly on successful copy
See pr #83.
-
State changed as build OD-7687 (16.0.8) is successful
-
OneDev
changed state to 'Closed' 2 days ago
Previous Value Current Value Open
Closed
-
Thanks @robin
-
-
@zaakiy they are actually AI user, and under the hood calls coding agents (work horse calls cursor cli, and chief work horse calls codex cli). For each PR submitted by work horse, there is a branch protection rule to force chief work horse to review it automatically and work horse will act on the code change requests, until both parties agreed upon the change. I can also join in the discussion to ask questions or provide suggestions.
Check the tutorial on how to set up AI user: https://docs.onedev.io/tutorials/ai/working-with-ai-user
| Type |
New Feature
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Currently, users can copy the contents of a code block by clicking the copy button on the top right of the code block.
This is when viewing (not editing):
However, no such functionality exists for a code span.
Code spans are just as important to be able to copy because they contain highly specific words that are important to duplicate exactly. The ability to click on the code span and have it copied to the clipboard provides the user with an immediate way to reuse that code span.
I can't be copied in view modeProposal
When the mouse hovers over a code span:
When the mouse clicks on a code span (without dragging):