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.

Open
#549 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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.

Image
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
  1. Access the Sound panel.

  2. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.