You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to copy multiple lines of output from a actions step it will include line numbers.
This is especially annoying if actions produce user readable output that needs to be preserved and executed as given (e.g. a lint job outputing a git patch command), because you need to first copy it to a text editor, remove the line numbers and then apply it. This adds an extra, really annoying step.
Instead it should only copy the content, not including the line numbers, like it does in diff/code view.
For my own actions I can work around this by putting everything on a single line and relying on gitea's line wrapping, but this should probably be changed none the less.
The easy way to achieve this (and the way I did it for the below screenshot) would be to add the following css, however this prevents selection of the numbers entirely, which might not be what everyone wants. It might be better to have a gui config and let people select.
Description
When trying to copy multiple lines of output from a actions step it will include line numbers.
This is especially annoying if actions produce user readable output that needs to be preserved and executed as given (e.g. a lint job outputing a git patch command), because you need to first copy it to a text editor, remove the line numbers and then apply it. This adds an extra, really annoying step.
Instead it should only copy the content, not including the line numbers, like it does in diff/code view.
For my own actions I can work around this by putting everything on a single line and relying on gitea's line wrapping, but this should probably be changed none the less.
The easy way to achieve this (and the way I did it for the below screenshot) would be to add the following css, however this prevents selection of the numbers entirely, which might not be what everyone wants. It might be better to have a gui config and let people select.
Screenshots
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Operating System
Linux (Google Chrome)
Browser Version
Version 114.0.5735.106
The text was updated successfully, but these errors were encountered: