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

The "plus" button in the view doesn't work all the time. #630

Closed MarieS-WiMLDS closed 3 weeks ago

MarieS-WiMLDS commented 3 weeks ago

Describe the bug

It doesn't happen all the time, but sometimes, clicking on the plus button doesn't do anything. I have the feeling that it occurs after deleting an item from the view sometimes. When it works with another item, it unlocks the problem.
Drag and drop from left panel to view is not affected.

Steps/Code to Reproduce

python -m skore create show_cv

from skore import load
project = load("show_cv")
project.put("item", 3)
project.put("item/new_item/subfolder_test", "lililala")
project.put("item/new_item", "bizarre, vous avez dit bizarre ? comme c'est bizarre")
python -m skore launch show_cv

then play with "+" and "Remove from view". At some point it should happen.

Expected Behavior

the plus button should indeed add something to the view all the time.

Actual Behavior

it doesn't work all the 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