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

Improve copy to clipboard interface #33644

Open
javierarce opened this issue Jul 23, 2021 · 3 comments
Open

Improve copy to clipboard interface #33644

javierarce opened this issue Jul 23, 2021 · 3 comments
Labels
Needs Design Feedback Needs general design feedback. Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.

Comments

@javierarce
Copy link
Contributor

javierarce commented Jul 23, 2021

While working on this issue related to the publish panel, I thought we could improve the interface we use to copy text to the clipboard to avoid the problem mentioned by @gwwar and make our interface less dependent on the selected locale (plus reducing the element footprint).

Here's what happens in Japanese. The first field shows the "Copy" state, the second one, the "Copied!" state.

image

The solution I propose is simply using an icon that could be attached to any input field. The confirmation of the successful action would be revealed with an icon and a tooltip.

image

Here's a Figma file with the design and a simple prototype.

PS: I'm not sure if we use the copy button in other places besides the publish panel, but please let me know so I can update the design with more examples.

@getdave getdave added the Needs Dev Ready for, and needs developer efforts label Jul 23, 2021
@thisissandip
Copy link
Contributor

thisissandip commented Jul 23, 2021

Hey @javierarce, I cannot access the Figma file. Can you make it public?

@javierarce
Copy link
Contributor Author

Sorry about that, @thisissandip! It's public now.

@thisissandip
Copy link
Contributor

Thanks @javierarce!

@javierarce javierarce added [Type] Enhancement A suggestion for improvement. Needs Design Feedback Needs general design feedback. labels Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Feedback Needs general design feedback. Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants