fusionauth-issues icon indicating copy to clipboard operation
fusionauth-issues copied to clipboard

Add A Handy Copy/Paste To Clipboard Button in the Admin UI

Open jobannon opened this issue 4 years ago • 1 comments

Add A Handy Copy/Paste To Clipboard Button in the Admin UI

Problem

Sometimes, if the logs are especially long, selecting the entire affected log, clicking copy, and pasting it into an email or other source is a frustrating or cumbersome user experience.

Solution

Adding simple copy/paste UI helper buttons to certain fields (logs, API keys, ID's, etc) might make it easier to pull specific information from FusionAuth.

Alternatives/workarounds

Manually --> Control A and then Control C and then Control V. Or use a mouse and right click

Additional context

Optionally, it might be cool (or a good way to over-engineer 🙂 ) to have a "third" button that copies, but adds a code block wrapper.

so if I have the following in the UI:


API key = "34123rsdfasdfq3412435asdfzx1"                       | [📋] copy to clip | [💻] copy to clip as code block | [🍝] paste |


if I hit the second button, I would get

34123rsdfasdfq3412435asdfzx1

on my clipboard. Essentially a nice wrapper command for ```````

Suggestion for button placement on the logs, for instance.

image

Related

  • https://github.com/FusionAuth/fusionauth-issues/issues/684
  • https://github.com/FusionAuth/fusionauth-issues/issues/1866
  • https://github.com/FusionAuth/fusionauth-issues/issues/1867
  • https://github.com/FusionAuth/fusionauth-issues/issues/2773

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

jobannon avatar Jul 09 '21 18:07 jobannon

Related https://github.com/FusionAuth/fusionauth-issues/issues/684

robotdan avatar Jul 12 '21 14:07 robotdan