typedb / typedb-studio

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

Opening an already open file overwrites unsaved changes #752

Closed jamesreprise closed 1 year ago

jamesreprise commented 1 year ago

Description

Opening a file that is already open saves the last saved version of that file, overwriting the changes.

Environment

  1. Studio version: 2.18.0
  2. OS of Studio: macOS

Reproducible Steps

  1. Create a new file with some contents, save it.
  2. Make additional changes to the file, but do not save them.
  3. Open the same file.

Expected Output

Nothing happens.

Actual Output

The latest saved version of the file is loaded, overwriting the unsaved changes.

james-whiteside commented 1 year ago

Superseded by https://github.com/vaticle/typedb-studio/issues/758