developmentseed / developmentseed/bioacoustics-frontend
If a clip exists, revert to set clip rather than removing if a user cancels a re-clip
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the audio clip flow shown in the issue: create an initial clip, click "clip" again, move the segment, and cancel. Find the frontend entry points handling clip confirmation and cancellation, then verify that cancelling restores the prior clip properties instead of removing the existing clipped audio.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100