apidash icon indicating copy to clipboard operation
apidash copied to clipboard

Make copying just the values from JSON rendered view possible

Open RuurdBijlsma opened this issue 8 months ago • 5 comments

Tell us about the task you want to perform and are unable to do so because the feature is not available

I do a little login to my api, like this:

Image

and get a token. This token i want on my clipboard obviously. Now I can't select the text to copy it, so i have to use the little copy button, which would be fine if it didnt also copy the json structure around it. When i press the little copy button i get this:

{
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJwaWQiOiJiOTFmNWZhYS05NWYzLTQ1ZDUtYmM1ZC1kMjcxNjg3NGQ0NmUiLCJleHAiOjE3NDE3ODMwNzAsImNsYWltcyI6bnVsbH0.Okfmc52W6vZzl74-Y5hxLPVefhFatdkzs3pHgEcUc1tG1RTKc2v7quV2nwoEAy-1AVme-Run3698MuX_9yc7QQ"
}

Describe the solution/feature you'd like us to add

Either make the text selectable in the rendered json view, or make the copy button give me the value of the key in the json, not a new json object with just that key.

Any other feedback you would like to provide regarding the site

I like the app, keep it up

RuurdBijlsma avatar Mar 05 '25 14:03 RuurdBijlsma

@RuurdBijlsma Thank you for your feedback. We will close this issue once the updated app is live. Thanks!

ashitaprasad avatar Mar 06 '25 17:03 ashitaprasad

is this PR is opened or get solved? @ashitaprasad @RuurdBijlsma

ifeelgarv avatar Mar 06 '25 17:03 ifeelgarv

@GSingh2432002 This issue is already solved in the main branch. It will be shipped in the upcoming release.

ashitaprasad avatar Mar 06 '25 17:03 ashitaprasad

@GSingh2432002 This issue is already solved in the main branch. It will be shipped in the upcoming release.

Thanks! Great to hear

RuurdBijlsma avatar Mar 06 '25 17:03 RuurdBijlsma

Update: Currently, the solution implemented is to make the text selectable, but a provision to copy values in 1 click will be very useful.

animator avatar Apr 20 '25 13:04 animator