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/07/10 00:12:19 UTC

[PR] fix(frontend, v1.2): highlight active About sidebar item [texera]

aglinxinyuan opened a new pull request, #6303:
URL: https://github.com/apache/texera/pull/6303

   ### What changes were proposed in this PR?
   
   Backport of apache/texera#6292 to `release/v1.2` (source commit `04838a1ce7`; the original PR is still open on `main`).
   
   Sidebar active-route highlighting (#3490): the **About** item is a plain `nz-menu-item` with a `[routerLink]` but **no `nzMatchRouter`**, so — unlike Your Work / Admin — it never enters ng-zorro's `.ant-menu-item-selected` state and isn't highlighted when `/about` is active. This adds `nzMatchRouter="true"` to it.
   
   Not a clean cherry-pick — adapted to `release/v1.2`:
   
   | main (#6292) | this backport |
   | --- | --- |
   | About item: add `nzMatchRouter="true"` | same |
   | Feedback item: add `nzMatchRouter="true"` | dropped — `release/v1.2` has no Feedback sidebar item |
   | spec: About + Feedback + reference (Your Work) cases | Feedback case dropped along with it |
   
   ### Any related issues, documentation, or discussions?
   
   Backport of #6292 (which closes #3490 on `main`).
   
   ### How was this PR tested?
   
   Unit tests (Vitest), run on `release/v1.2`:
   
   ```
   corepack yarn ng test --watch=false --include="**/dashboard.component.spec.ts"
   ```
   
   → **13/13 passing** (11 baseline + 2 new). Re-ran with the HTML fix reverted: the new About case fails, so the spec pins the fix. Prettier check clean on both files.
   
   No `release/*` label is added — this PR *is* the backport.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Fable 5)
   


-- 
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] fix(frontend, v1.2): highlight active About sidebar item [texera]

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

   <!-- 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:** `@Ma77Ball`
     You can notify them by mentioning `@Ma77Ball` 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] fix(frontend, v1.2): highlight active About sidebar item [texera]

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

   ## [Codecov](https://app.codecov.io/gh/apache/texera/pull/6303?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 52.19%. Comparing base ([`dd0de8c`](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`bb7d758`](https://app.codecov.io/gh/apache/texera/commit/bb7d7586efcad847397b3f766e6459b6b235c96d?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               @@
   ##             release/v1.2    #6303   +/-   ##
   ===============================================
     Coverage           52.19%   52.19%           
     Complexity           2491     2491           
   ===============================================
     Files                1066     1066           
     Lines               41343    41343           
     Branches             4427     4427           
   ===============================================
     Hits                21577    21577           
     Misses              18502    18502           
     Partials             1264     1264           
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/texera/pull/6303/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/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `64.61% <ø> (ø)` | | Carriedforward from [dd0de8c](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?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/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `34.36% <ø> (ø)` | | Carriedforward from [dd0de8c](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?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/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `52.50% <ø> (ø)` | | Carriedforward from [dd0de8c](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?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/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `1.65% <ø> (ø)` | | Carriedforward from [dd0de8c](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?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/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `56.06% <ø> (ø)` | | Carriedforward from [dd0de8c](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?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/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `58.59% <ø> (ø)` | | Carriedforward from [dd0de8c](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?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/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `46.52% <ø> (ø)` | | |
   | [pyamber](https://app.codecov.io/gh/apache/texera/pull/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `90.81% <ø> (ø)` | | Carriedforward from [dd0de8c](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [python](https://app.codecov.io/gh/apache/texera/pull/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `90.74% <ø> (ø)` | | Carriedforward from [dd0de8c](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?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/6303/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `58.69% <ø> (ø)` | | Carriedforward from [dd0de8c](https://app.codecov.io/gh/apache/texera/commit/dd0de8c9facf40d4fa36e92acb62a3c3772ea863?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/6303?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] fix(frontend, v1.2): highlight active About sidebar item [texera]

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

   I'm trying to assign this PR to @Raja-Hamid, but it doesn't work.


-- 
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] fix(frontend, v1.2): highlight active About sidebar item [texera]

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


-- 
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