code-kern-ai / refinery

The data scientist's open-source choice to scale, assess and maintain natural language data. Treat training data like a software artifact.
https://www.kern.ai
Apache License 2.0
1.39k stars 66 forks source link

[BUG] - Embedding Modal resets when other embedding finishes #263

Closed FelixKirschKern closed 11 months ago

FelixKirschKern commented 1 year ago

Describe the bug In a project, I have an embedding that is currently calculated. Now, I add another embedding and open the embedding creation modal. If now the embedding in the background finishes, all values in the modal are set back to default. So, if I changed the embedding platform in the modal it is set back to default.

To Reproduce Steps to reproduce the behavior:

  1. Create a project (big enough that the embedding creation takes around 30s)
  2. Create an embedding (on Settings)
  3. Open the embedding modal and change any value while the other embedding is still calculated.
  4. Wait until the other embedding is finished
  5. See that the modal fields have been set back to default

Expected behavior Modal values are not changed when another embedding finishes

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):