Closed vgeorge closed 6 months ago
@vgeorge I'm a bit confused. I tested with a new batch prediction - please see the below.
Some minor changes perhaps could be useful:
My batch prediction returned, but the secondary stats panel doesn't load:
Reloading the browser window, I can see the class stats should be there:
Initially when I reloaded, the secondary panel didn't appear. My screenshot for this didn't save. I'll try to reproduce.
Reloaded after new AOI:
@vgeorge I added a change to keep the land area in the compare and share pages' class analytics charts. Not sure if best practice to execute the areaFromBounds
function in the chart component, or before passing the prop through; I did it in the component. Will defer to you on the conditional check - I'm not sure if we should separate out the component logic more clearly or if the original check I had implemented is adequate.
@LanesGood I added changes on how the batch status is controlled internally. Now there is a specific machine to control its state. I haven't gotten to the issues you reported, but it would be nice if you could review this again, specifically the batch panel behaviour.
@LanesGood thanks for the review! I've incorporated some of your suggested changes and added a commit to fix the styles in the secondary panel. I'm going to merge this now. Let's track any new issues in the panel with separate tickets.
Contributes to #132.
Changes:
Class distribution metrics are not available
, hide the panel instead@LanesGood this is ready for review. To test, try opening a finished batch AOI, switch between AOIs and confirm the stats are displayed accordingly.