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

Implement Expand and Copy functionality for Code snippets #5067

Open
minkyngkm opened this issue Apr 30, 2024 · 1 comment
Open

Implement Expand and Copy functionality for Code snippets #5067

minkyngkm opened this issue Apr 30, 2024 · 1 comment
Labels
WG: Proposal Working group proposals

Comments

@minkyngkm
Copy link
Contributor

In the support portal's comment sections, code snippets are squished and users have to scroll horizontally to read them.

image

Would it be possible to implement an "Expand Snippet" feature to view the code on a larger screen?
Something like this. This is "Expand snippet" from StackOverflow

Screen Shot 2024-04-30 at 12 47 20 PM

Additionally, would it be possible to include a "Copy Code" function to easily copy code snippets?

@minkyngkm minkyngkm added the WG: Proposal Working group proposals label Apr 30, 2024
@danielmutis
Copy link

  • Nina to explore visual solutions for this. Ideally within the toolbar that this component already has.
  • Copy buttons are something we don't do as a policy from the gods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WG: Proposal Working group proposals
Projects
None yet
Development

No branches or pull requests

2 participants