prisma / studio

🎙️ The easiest way to explore and manipulate your data in all of your Prisma projects.
https://www.prisma.io/studio
1.86k stars 47 forks source link

Selecting and Copying ID text values in Prisma Studio #256

Open kleydon opened 4 years ago

kleydon commented 4 years ago

In Prisma2 (preview 15) there doesn't appear to be a direct, intuitive way to copy (e.g. copy-paste) the value of an id within the browser (I'm using Chrome). The text isn't selectable in the table view, and in the tree view, text can be selected, but the selection is immediately lost on mouse-up, and so can't be copied.

sdnts commented 4 years ago

@kleydon Thanks for reporting! I agree that this should be made easier. Also, I was able to see this behaviour, and clicking anywhere on an open node in the Tree view should definitely not close the node, that's a bug. I'll fix that right now, so you should be able to copy the ID from the tree view at least, till we figure out a better way to do this!