The GitHub Actions job "Required Checks" 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:
be65bf8564a32eea4196aa0190a04f73884bfe70 / Xinyuan Lin <[email protected]>
refactor(frontend): remove the unused loadFile output (#8892)

### What changes were proposed in this PR?

Removes the unused `@Output() loadFile` from
`UserDatasetFileRendererComponent`, along with `EventEmitter` and
`Output` from its `@angular/core` import, since nothing else in the file
uses them. **+1/−4 lines.** There is no behaviour change: the component
never emits `loadFile`, and its two hosts (`dataset-detail` and
`model-detail`) bind only inputs on
`<texera-user-dataset-file-renderer>`.

### History

| | |
| --- | --- |
| **Introduced by** | #2413 (2024-02-26), "Introduce Dataset GUI", with
the file renderer itself |
| **Usage removed by** | **never used**. No `(loadFile)` binding or
`.emit` has ever existed |

It has been unused for the nineteen months since it was added.

### Any related issues, documentation, discussions?

Closes #8891

### How was this PR tested?

No new tests; no spec referenced the output.

>From `frontend/`:

- `npx ng test --watch=false
--include='**/user-dataset-file-renderer.component.spec.ts'
--include='**/dataset-detail.component.spec.ts'
--include='**/model-detail.component.spec.ts'`: 3 files, 286 tests, all
pass. The last two specs cover the renderer's two hosts.
- `yarn format:ci`: clean.
- `npx ng build`: success.

To re-check:

```
git grep -n -w "loadFile" -- frontend/src   # no hits
```

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

Generated-by: Claude Code (Claude Opus 5.5)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

With regards,
GitHub Actions via GitBox

Reply via email to