Skip to content
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

Code copy feature includes command prompt in copy. #495

Open
obasekiosa opened this issue Apr 15, 2021 · 2 comments
Open

Code copy feature includes command prompt in copy. #495

obasekiosa opened this issue Apr 15, 2021 · 2 comments

Comments

@obasekiosa
Copy link

Requirement - what kind of business use case are you trying to solve?

This is a user experience-related issue.

Problem - what in Jaeger blocks you from solving the requirement?

Going through the getting started page, the user may simply want to directly copy and paste the written code using the copy button.
This is not possible because the command prompt symbol is also copied with the code, requiring the user to manually edit the copied text to prevent errors if directly pasted.
This defeats the purpose of the copy functionality.

Proposal - what do you suggest to solve the problem or improve the existing situation?

Separate the prompt symbol display from the actual command, so the copy works as normal.

@yurishkuro
Copy link
Member

I agree, I also found it annoying. I don't know how easy it is to display the prompt symbol via css, the simple alternative is to just remove it from the command.

@albertteoh
Copy link
Contributor

+1 to just remove the $ prompt symbol.

I think the prompt symbol is useful to differentiate the command from the stdout, but in the case of the getting started page, these are only commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants