-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy/paste from logs UI does not preserve newlines in some editors #14019
Comments
will you fix this, or do you need me to? |
I won't fix it any time soon. @ashutosh16 might try in the next month or two. |
this is the kind of UI annoyance that really impacts a features usefulness, I will fix |
This is a bug in v2.7.2.
|
@alexec must be a line ending difference. Try pasting into an IntelliJ scratch window instead of TextEdit. Another bug: "copy logs to clipboard" fails with "Cannot read properties of undefined (reading 'getData')" on first load of the logs window. Self-resolves after a couple minutes. |
So it depends where you paste it. |
Just needs a new line:
|
Signed-off-by: Alex Collins <[email protected]>
PR created. Pls review. |
Signed-off-by: Alex Collins <[email protected]>
…4144) Signed-off-by: Alex Collins <[email protected]> Co-authored-by: Alex Collins <[email protected]>
…oproj#14103) (argoproj#14144) Signed-off-by: Alex Collins <[email protected]> Co-authored-by: Alex Collins <[email protected]> Signed-off-by: schakrad <[email protected]>
…goproj#14103) Signed-off-by: Alex Collins <[email protected]>
…goproj#14103) Signed-off-by: Alex Collins <[email protected]>
Describe the bug
When I click/drag to select logs in the logs UI, ctrl+c to copy, and then paste into an editor, newlines are gone.
Works for Mac's TextEdit, fails for IntelliJ.
To Reproduce
Do the above.
Expected behavior
Newlines are preserved.
Version
2.7.2
The text was updated successfully, but these errors were encountered: