dbcodeio / public

The Power of Databases, The Convenience of VS Code: All in One Place
26 stars 1 forks source link

Better JSON input field #107

Open ChromeGG opened 3 days ago

ChromeGG commented 3 days ago

Hi Mike,

Inline edits for JSON fields have quite poor UX. Image

Can we have something more handy to use? 😄

Cheers!

mikeburgh commented 3 days ago

Agreed! I implemented the first half of my idea which is the icon at the end of the cell, taking you to full vscode editor, and all its goodness.

I just need to manage the update back from their with a virtual file system so changes are reflected and can be applied.

Do you think that UX would work, or are you looking for something in the table itself ? I have avoided that so far as you cannot get the vscode editor in there, so any editor surface is going to feel less than what you expect…. well at least that's my thinking

ChromeGG commented 2 days ago

I didn’t realize that this could be the flow. I thought that this icon was supposed to be something like 'Open in new tab to easily copy/preview.' I didn’t associate it with editing. 😅

Yeah, so this UX would work, I think. Maybe we can change the icon to a pencil and update the hover tooltip to something like 'Edit in a new tab' or similar.

Thanks!