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
336 stars 20 forks source link

Reload/refresh local SQLite DB with a new 'refresh button' #125

Closed Chinoman10 closed 2 months ago

Chinoman10 commented 2 months ago

So I loaded a local SQLite DB into LibSQL Studio, make some changes, committed and saved the file. Then I ran a program that made changes to it, but they weren't reflected on the browser, so I assume the browser is only showing the loaded file in memory (which would make sense).

Can we have a refresh button that reloads the file?

When I dragged the file into Studio a second time (to 'refresh'), I lost all my open tabs and sorts, etc. So if we could have a refresh button so these settings remain set, it would be pretty good UX.

invisal commented 2 months ago

We can do it. Let me add this during this Sunday :)

invisal commented 2 months ago

This has been addressed https://github.com/invisal/libsql-studio/commit/d72b787610f0774efd676d735b62eeb8581fcc95

I have added the refresh button. It will reload the data.

Chinoman10 commented 2 months ago

You work fast man 🔥 thank you!

PS: if you ever consider having a Discord server dedicated to LibSQL Studio, hit me up (preferably before you start wasting time on it, to avoid common pitfalls). If you are unsure why you'd want it, here's a great short (although it's talking about game dev. companies, you have small & large dev. companies such as Cloudflare, Astro, Strapi, Bun, Midjourney, etc. using it for non-game related dev. too). I'll help you out fam :)

PPS: I have only checked the button, I haven't fully tested it, but I think the issue can be closed :)