The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-8894-be65bf8564a32eea4196aa0190a04f73884bfe70
 has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
148c334d457462d41ee0f7ba202cd6bd2dea9a38 / Xinyuan Lin <[email protected]>
refactor(frontend): remove the unused hub accessLevel input (#8894)

### What changes were proposed in this PR?

Removes the unused `@Input() public accessLevel` from
`HubSearchResultComponent`, and `Input` from its `@angular/core` import,
since that was the file's only input. **+1/−2 lines.** There is no
behaviour change. The component is only reached through the three hub
routes, whose data carries only `entityType`. Router input binding
(`withComponentInputBinding`) is not enabled, no template uses the
component's selector, and nothing creates it dynamically. Its own
template and code never read `accessLevel`.

### History

| | |
| --- | --- |
| **Introduced by** | #2838 (2024-09-25), "Refactor Hub Workflow Search
Results and Permission-Based Redirection", copied along with other
inputs from `UserWorkflowComponent` |
| **Usage removed by** | **never used**. Nothing has ever bound,
assigned or read it |

It has been unused for the year since it was added.

### Any related issues, documentation, discussions?

Closes #8893

### How was this PR tested?

No new tests; no spec referenced the input.

>From `frontend/`:

- `npx ng test --watch=false
--include='**/hub-search-result.component.spec.ts'`: 31 tests, all pass.
No other spec renders this component.
- `yarn format:ci`: clean.
- `npx ng build`: success.

### 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/37749866544

With regards,
GitHub Actions via GitBox

Reply via email to