surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.06k stars 81 forks source link

Close a Connection #200

Closed dvanmali closed 4 months ago

dvanmali commented 4 months ago

Describe your feature request Need ability to close a connection, specifically for connections that are not the sandbox connection type. Clicking the green connection button could either close the connection or open the connection editor to close the connection. Switching between connection should also close the previous connection and start the next connection.

Screenshot 2024-04-23 at 10 02 31 AM

Side note: hovering shows the protocol, not sure how valuable knowing the connection type is. Intuitively when hovering, it should probably consist of the meaning of that hover. Possibly it could be the status of 'connected', 'warning', 'failed', or something else entirely. Love that the version is displayed here, but it is currently empty, maybe because we can't query for the database version via surql.

dvanmali commented 4 months ago

Fixed in v2.0.1