surrealdb / surrealist

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

Editing connection details doesn't lead to new details being used #217

Closed louisescher closed 3 months ago

louisescher commented 3 months ago

Describe the bug When using a connection profile and editing any of the details, Surrealist doesn't reset the connection or the UI.

To Reproduce Steps to reproduce the behavior:

  1. Connect to any database.
  2. Open the connection switcher, and edit your currently selected connection.
  3. Change the namespace, database or any other connection detail.
  4. The panel will close, but the connection will not reset

Expected behavior When editing connection details and saving them, the connection should be reloaded.

Environment:

Platform: Desktop
OS: Windows_NT
Architecture: x86_64
WebView: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0
Version: 2.0.2
Flags: featureFlags: false, models_view: true, apidocs_view: true, themes: false, newsfeed: true