Skip to content

Conversation

@xuang7
Copy link
Contributor

@xuang7 xuang7 commented Oct 10, 2025

Purpose

This PR resolved #3844 that pending uploads cannot be removed before they start. This PR enables removing/canceling items directly from the Pending panel, improving queue control and flexibility in managing uploads.

Changes

  • Add a Remove action to Pending items; behavior and styling match the Uploading panel’s remove action.
  • Refactor cancelExistingUpload(fileName: string):
    • Uploading/Initializing → reuse the abort path to properly finalize server-side and prevent leaks.
    • Pending → front-end clean only (remove from queue, tasks) with no backend abort call.

Demonstration

remove.mov

@github-actions github-actions bot added feature frontend Changes related to the frontend GUI labels Oct 10, 2025
@xuang7 xuang7 marked this pull request as ready for review October 10, 2025 04:44
Copy link
Contributor

@aglinxinyuan aglinxinyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aglinxinyuan aglinxinyuan enabled auto-merge (squash) October 10, 2025 05:16
@aglinxinyuan aglinxinyuan merged commit bf8c942 into apache:main Oct 10, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support cancel/delete for pending uploads

2 participants