probabl-ai / skore

Skore lets you "Own Your Data Science." It provides a user-friendly interface to track and visualize your modeling results, and perform evaluation of your machine learning models with scikit-learn.
https://probabl-ai.github.io/skore/
MIT License
70 stars 7 forks source link

Drag'n'drop works only for a couple of seconds #629

Closed MarieS-WiMLDS closed 2 weeks ago

MarieS-WiMLDS commented 3 weeks ago

Describe the bug

When I use drag and drop in the view, it works for a couple of seconds. Then the items go back to their former place.

Capture vidéo du 29-10-2024 10:52:59.webm

Steps/Code to Reproduce

python -m skore create show_cv

from skore import load
project = load("show_cv")
project.put("item", 3)
for i in range(10):
    project.put(f"item_{i}", i)
python -m skore launch show_cv

Then add all the items in the UI, and try to drag and drop.

Expected Behavior

when I change the order of the items, this new order persists in time.

Actual Behavior

It doesn't persist in time.

Environment

System:
    python: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct  4 2024, 13:27:36) [GCC 11.2.0]
executable: /home/marie/anaconda3/envs/skore/bin/python
   machine: Linux-6.8.0-47-generic-x86_64-with-glibc2.35

Python dependencies:
        skore: 0.0.0+unknown (the main branch of this morning)
          pip: 24.2
   setuptools: 75.1.0
    diskcache: 5.6.3
      fastapi: 0.115.3
 plotly<6,>=5: None
         rich: 13.9.3
        skops: 0.10.0
      uvicorn: 0.32.0