outerbase / studio

A lightweight SQLite graphical client on your browser. It also support connecting to LibSQL/Turso/rqlite
https://libsqlstudio.com
GNU Affero General Public License v3.0
466 stars 23 forks source link

refactor: try to display binary data (BLOB) whenever possible #146

Closed rentalhost closed 3 months ago

rentalhost commented 3 months ago

Characters that cannot be displayed legibly are transformed into \x{XX}.

I believe this change is valuable because sometimes I use BLOBs to store data that may or may not be encoded, depending on the context. And when they are not encoded, I would like to be able to read them. Additionally, it's better to be able to read as hex rather than base64.

Before:

image

After:

image

image

Important: the second commit provides the ability to create and edit BLOB fields, while the first commit only changes how they are displayed. The first commit is essential for making BLOBs more readable and easier to modify. However, you can accept the first commit without necessarily accepting the second.

vercel[bot] commented 3 months ago

@rentalhost is attempting to deploy a commit to the Mediaload Team on Vercel.

A member of the Team first needs to authorize it.