You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aglinxinyuan (via GitHub)" <gi...@apache.org> on 2026/10/07 05:45:33 UTC

[PR] refactor(frontend): remove the unused hub search accessLevel input [texera]

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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor(frontend): remove the unused hub accessLevel input [texera]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #8894:
URL: https://github.com/apache/texera/pull/8894#issuecomment-6031923567

   ## [Codecov](https://app.codecov.io/gh/apache/texera/pull/8894?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 92.59%. Comparing base ([`b760489`](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`8e64f12`](https://app.codecov.io/gh/apache/texera/commit/8e64f120547cdd72d979fc813f572e2fef2d3e9d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@             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              
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | *Carryforward flag |
   |---|---|---|---|
   | [access-control-service](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `77.38% <ø> (ø)` | | Carriedforward from [b760489](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [agent-service](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `99.16% <ø> (ø)` | | Carriedforward from [b760489](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [amber](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `88.07% <ø> (ø)` | | Carriedforward from [b760489](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [computing-unit-managing-service](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `60.41% <ø> (ø)` | | Carriedforward from [b760489](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [config-service](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `87.37% <ø> (ø)` | | Carriedforward from [b760489](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [file-service](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `81.53% <ø> (ø)` | | Carriedforward from [b760489](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [frontend](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `96.58% <ø> (-0.01%)` | :arrow_down: | |
   | [notebook-migration-service](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `83.73% <ø> (ø)` | | Carriedforward from [b760489](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [pyamber](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `98.58% <ø> (ø)` | | Carriedforward from [b760489](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [workflow-compiling-service](https://app.codecov.io/gh/apache/texera/pull/8894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `74.09% <ø> (ø)` | | Carriedforward from [b760489](https://app.codecov.io/gh/apache/texera/commit/b76048948b64e9aa87509c627700f5573c955508?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   
   *This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to find out more.
   </details>
   
   [:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/texera/pull/8894?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor(frontend): remove the unused hub accessLevel input [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #8894:
URL: https://github.com/apache/texera/pull/8894#issuecomment-6031811799

   <!-- texera-reviewer-suggestion -->
   ### Automated Reviewer Suggestions
   
   Based on the `git blame` history of the changed files, we recommend the following reviewers:
   
   - **Contributors with relevant context:** `@tanishqgandhi1908`
     You can notify them by mentioning `@tanishqgandhi1908` in a comment.
   


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor(frontend): remove the unused hub accessLevel input [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan merged PR #8894:
URL: https://github.com/apache/texera/pull/8894


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org