The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-6306-1b4255827a08fc5904e092205b7163c45c272989
 has succeeded.
Run started by GitHub user kunwp1 (triggered by kunwp1).

Head commit for run:
45c82a59a3efc3501e5b9edcb5c5cc7b9d6b02b1 / Kunwoo (Chris) 
<[email protected]>
fix(frontend): speed up dataset bulk upload with many files (#6306)

### What changes were proposed in this PR?

Bulk-uploading many files to a dataset was extremely slow (~1,100 files
took ~12 minutes) because the Pending and Finished lists fully
re-rendered on every change-detection pass, on the same thread driving
the uploads (root cause detailed in #5586).

As proposed in the issue: replace the `queuedFileNames` getter with a
cached field refreshed only when the queue changes, virtualize the
Pending and Finished lists with `cdk-virtual-scroll` so only visible
rows are in the DOM, and add `trackBy` to both lists.

### Any related issues, documentation, discussions?

Closes #5586.

### How was this PR tested?

Screen recording of a successful 1,100-file upload with the fix:


https://github.com/user-attachments/assets/c23d7612-0317-4d18-970b-c98540005eed

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code, Claude Fable 5

Report URL: https://github.com/apache/texera/actions/runs/29071019738

With regards,
GitHub Actions via GitBox

Reply via email to