developmentseed / pearl-frontend

PEARL (Planetary Computer Land Cover Mapping) Frontend
https://landcover.io
MIT License
18 stars 6 forks source link

Create mosaic "drawer" #89

Closed LanesGood closed 8 months ago

LanesGood commented 8 months ago

Users are able to select from any of their drawn/uploaded AOIs and from any saved checkpoint to toggle between different views and prediction tiles. The same should be true for Mosaics. If a user has run predictions on different mosaics, each of these is added to the drawer, following the pattern of AOI's and checkpoints. Clicking on a mosaic in the drawer will switch to the prediction tiles generated for the currently selected AOI and checkpoint. If no prediction tiles exist for that AOI/checkpoint/mosaic combination, the user will see an error toast notification informing them of the lack of prediction.

The drawer is mocked up below, where the header "Imagery Date Range" has list options including "Dec - Feb 2022" and selected "Jun - Aug 2022." A plus icon button indicates the ability to add a new mosaic for prediction.

image

cc @vgeorge @geohacker

LanesGood commented 8 months ago

Here's what happens in the production app if a user selects a combination of AOI/checkpoint that doesn't yet have a prediction. The same would be implemented with mosaic in the mix

https://github.com/developmentseed/pearl-frontend/assets/12634024/696fdb35-3b12-437a-96f1-7a3060fab0f7

LanesGood commented 8 months ago

Later enhancement if needed: