Repository navigation
refactor(frontend): remove the unused hub accessLevel input - #8894
Merged
aglinxinyuan merged 1 commit intoOct 10, 2026
Merged
aglinxinyuan merged 1 commit into
aglinxinyuan merged 1 commit into
Conversation
apache#2838 copied @input() accessLevel into HubSearchResultComponent from UserWorkflowComponent, but the component is only reached through routes that never set it, and nothing reads it. Drop the input and the now-unused Input import.
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8894 +/- ##
============================================
- Coverage 92.59% 92.59% -0.01%
Complexity 5043 5043
============================================
Files 1252 1252
Lines 53583 53582 -1
Branches 6672 6672
============================================
- Hits 49615 49614 -1
Misses 2319 2319
Partials 1649 1649
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved issues were identified.
0 open findings
🧠 Review effort: Lite
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
kunwp1
approved these changes
Oct 8, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Removes the unused
@Input() public accessLevelfromHubSearchResultComponent, andInputfrom its@angular/coreimport, 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 onlyentityType. 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 readaccessLevel.History
UserWorkflowComponentIt 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