lbryio / lbryio/lbry-desktop

Add ability to cancel a pending content request

Open
#7,199 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

consider soon
Dominant language
JavaScript
Stars
3.5k
Forks
409
PR merge metrics
No merged PRs in 30d

Description

1. Start playing a video
1. While the video is loading, there is no way to cancel the pending load.

This is contrary to good UX. Whenever possible, a user should be able to undo what they just did.

This may require a change to the daemon itself, if a pending `get` call cannot be cancelled. Otherwise, the answer would be to add a cancel UI element that calls `file_set_status` or `file_delete`.

Contributor guide

Open the contributing guide

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 by tracing the video-loading flow and the pending daemon `get` call, then inspect how `file_set_status` and `file_delete` are used. Determine whether the pending request can be cancelled at the daemon level or needs a UI control; done means a user can cancel a loading video request without leaving it pending.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, react
Domain
backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.