developmentseed / bioacoustics-frontend

Frontend code for the Google Bioacoustics project that's used by A2O Search
https://search.acousticobservatory.org/
MIT License
1 stars 0 forks source link

If a clip exists, revert to set clip rather than removing if a user cancels a re-clip #63

Open LanesGood opened 1 year ago

LanesGood commented 1 year ago

If I have already clipped my audio file, I can still click "clip" to re-set my clip. If I move my clip and click "confirm" this new clip will be set on the uploaded audio.

However, if I click "Cancel," the clipped segment disappears. Rather than removing any clipped audio, the "cancel" button should revert back to whatever the clip's properties were before the user clicked on "clip"

https://github.com/developmentseed/bioacoustics-frontend/assets/12634024/9ee2f11a-f6a8-4bb4-a1ff-e442370157cd