sillsdev / sillsdev/languageforge-lexbox
Delete audio files when they are removed/replaced
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9
- Forks
- 8
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
Describe the feature
Right now if I replace existing audio, or I remove the audio all together, all that does is remove the reference to a media file. The media file is left in place. We would like to also delete that media file. The main reason is that this matches FLEx, because it does not allow multiple references to the same media file it will delete them when the one reference to them is removed. Until FLEx matches how this works we should also delete media files when they are removed.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the code path that removes or replaces an audio reference and identify how its media file is stored. Verify both removal and replacement cases, including the stated single-reference behavior, and confirm the reference and media file are handled consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100