aglinxinyuan opened a new pull request, #8894: URL: https://github.com/apache/texera/pull/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) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
