The GitHub Actions job "Direct Backport Push" on texera.git/main has succeeded.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
9ccf250d29d1cd85b78dea47c090b65c4cf30dd8 / carloea2 <[email protected]>
feat(frontend): preview xlsx dataset files (#8113)

### What changes were proposed in this PR?

Map the `.xlsx` extension to the existing Excel preview MIME type. This
lets the existing workbook parser render dataset spreadsheets instead of
rejecting them as generic binary files.

### Any related issues, documentation, discussions?

Closes #8112

### How was this PR tested?

Regression test before the fix:

`yarn test --include
src/app/dashboard/component/user/user-dataset/user-dataset-explorer/user-dataset-file-renderer/user-dataset-file-renderer.component.spec.ts`

The new assertion failed because `.xlsx` resolved to
`application/octet-stream`. The other 54 tests passed.

Verification after the fix:

`yarn test --include
src/app/dashboard/component/user/user-dataset/user-dataset-explorer/user-dataset-file-renderer/user-dataset-file-renderer.component.spec.ts`

All 55 tests passed.

`yarn format:ci`

Formatting passed.

Live verification in Chrome:

1. Started Texera locally from this worktree.
2. Created a dataset and uploaded a valid `.xlsx` workbook.
3. Confirmed current main showed the unsupported preview message.
4. Confirmed this branch rendered the same workbook as a table.

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

Generated-by: Codex

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

With regards,
GitHub Actions via GitBox

Reply via email to