OpenCut-app / OpenCut-app/OpenCut
[BUG] While listing the audio media list, if the API request fails, the request will be thrown in an infinite loop.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 89.8k
- Forks
- 8.9k
- PR merge metrics
- No merged PRs in 30d
Description
Platform
Win11
Browser
Chrome
Current Behavior
While listing the audio media list, if the API request fails, the request will be thrown in an infinite loop.
Expected Behavior
If this error is not resolved, the server will be subject to endless requests, which will affect server performance and increase costs.
Recurrence Probability
Always
Steps To Reproduce
-
Access the Sound panel.
-
Scroll to the bottom of the Sound list and wait for new sounds to load.
Infinite Scroll Error
Anything else?
To manage the problem, if media data does not arrive during the infinite scrolling phase, a try again button should be displayed to the user. Requests should not automatically send requests to the server.
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
Start at the Sound panel's infinite-scroll loading flow and reproduce the failure while loading more audio media. Trace what happens when the media API request fails; done means requests stop retrying automatically and the user can explicitly try again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100