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

Clipboard Copy - add support for a title on the expandable ClipboardCopy #9712

Closed
wise-king-sullyman opened this issue Oct 5, 2023 · 7 comments · May be fixed by #9713
Closed

Clipboard Copy - add support for a title on the expandable ClipboardCopy #9712

wise-king-sullyman opened this issue Oct 5, 2023 · 7 comments · May be fixed by #9713
Assignees

Comments

@wise-king-sullyman
Copy link
Contributor

Is this a new component or an extension of an existing one?
New feature for ClipboardCopy

Describe the feature
It's been requested that we add an option to specify a title on expandable ClipboardCopy which is decoupled from the text which is shown in the expanded section and is copied.

Are there visuals for this feature? If applicable, please include examples for each state and for varying widths
image

Any other information?

@wise-king-sullyman
Copy link
Contributor Author

@andrew-ronaldson @lboehling do you all have any thoughts on this request?

@mcoker and I were talking about it and he expressed concern that UX wise it might be a bit confusing like this since it could become unclear what exactly will be copied, and proposed something like a form field with a label for the "title":

Email invitation text:
--------------------------------------------------
[ v ] You have been invited to use Red Ha... [ ▞ ]
--------------------------------------------------

Or having a variation of ClipboardCopy that's just a box without the toggle (kind of like what GitHub does for these code blocks):

Email invitation text:
------------------------------------------------
| You have been invited to use Red Hat       ▞ |
| advanced security cluster [blah blah...]     |
|                                              |
| https://www.thelink.com/                     |
------------------------------------------------

Copy link

stale bot commented Dec 6, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Dec 6, 2023
@stale stale bot closed this as completed Dec 20, 2023
@thatblindgeye thatblindgeye reopened this Jan 30, 2024
Copy link

stale bot commented Apr 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Apr 11, 2024
Copy link

false

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2024
@thatblindgeye thatblindgeye reopened this Apr 26, 2024
@github-actions github-actions bot removed the wontfix label Apr 27, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity.

@github-actions github-actions bot added the Stale label Jun 27, 2024
Copy link

github-actions bot commented Sep 6, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Copy link

This issue has been closed because it has not had activity since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants