openforis / sepal

Geographical Data Processing in the Cloud
https://sepal.io/
MIT License
207 stars 46 forks source link

When I change training data type after selecting a file, the menu does not change #170

Closed 12rambau closed 2 years ago

12rambau commented 2 years ago

step to reproduce

In the classification tool when data are added to the training data, multiple methods are available:

Let's say I want to select them from a csv file. I click csv file, then select a csv and I'm moved to panel 2 which is the column selection panel. I finally realized that I was'nt supposed to do that but instead a sample from existing classification. I go to the dropdown menu at the top of the popup window and I click on "sample from existing classificaiton". Then the view in the window remains the same wich should'nt be the case: Capture d’écran 2022-01-28 à 16 18 13

Expected behaviour:

I would expect the tool to reset my selection and go back to the first page when I select a new method (more or less the same behaviour as the cancel btn).

cdanielw commented 2 years ago

Resolved in 6569dc64b9d2ac3a3193d583a7499b5ee74e2846.