You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@texera.apache.org by "xuang7 (via GitHub)" <gi...@apache.org> on 2025/08/13 21:53:31 UTC
[PR] fix(ui): improve upload behavior to prevent progress confusion [texera]
xuang7 opened a new pull request, #3658:
URL: https://github.com/apache/texera/pull/3658
### **Purpose**
This PR improves the file upload UI to prevent progress confusion and provide smoother progress bar updates. It now shows only the latest task for each file, tracks chunk progress independently, and removes canceled uploads from the list while cleaning up subscriptions.
### **Changes**
- dataset-detail.component.ts
- Before starting a new upload, cancel and remove any existing task with the same file path
- Update task list filtering to replace old entries for the same file
- dataset.service.ts
- Track chunk progress independently for smoother progress bar updates
- Cap displayed upload progress at 99% until finalization to avoid confusion from showing 100% before the process is truly complete
### **Demonstration**
**Before - same file could be displayed twice:**
<img width="388" height="512" alt="prev" src="https://github.com/user-attachments/assets/a8a27401-dcfe-43c8-b340-617f4ca8b1df" />
**After – behavior with this PR:**
1. Start uploading a file
2. Cancel midway
3. Re-upload the same file (old entry is replaced)
https://github.com/user-attachments/assets/36be1dd3-6bcf-4d16-bef7-a000bb5917be
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(ui): improve upload behavior to prevent progress confusion [texera]
Posted by "xuang7 (via GitHub)" <gi...@apache.org>.
xuang7 commented on PR #3658:
URL: https://github.com/apache/texera/pull/3658#issuecomment-3185961668
This PR is ready for review. Could you take a look and help add the label? Thanks! @aglinxinyuan
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(ui): improve upload behavior to prevent progress confusion [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan merged PR #3658:
URL: https://github.com/apache/texera/pull/3658
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org