typedb / typedb-studio

TypeDB Studio (IDE)
https://typedb.com
Mozilla Public License 2.0
191 stars 44 forks source link

Server-side session termination is not properly handled #794

Open james-whiteside opened 11 months ago

james-whiteside commented 11 months ago

Description

If a session is terminated server-side, typically due to timeout, Studio does not currently handle it in a graceful manner. An error message pops up indicating the session has been terminated, but the UI remains partially in the in-session state as it is not designed to account for the possibility of no active session. In order to open a new session, the session or transaction button has to be cycled, which often results in further errors, hangs, or crashes.

Environment

  1. TypeDB version: Core 2.24.17
  2. OS of TypeDB server: GCP
  3. Studio version: 2.24.15
  4. OS of Studio: MacOS 14.0