[release-4.18] OCPBUGS-81520: Console can only show user name instead of full name as the display name#16238
Conversation
|
@Leo6Leo: This pull request references Jira Issue OCPBUGS-81520, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Review skipped — only excluded labels are configured. (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Leo6Leo The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@Leo6Leo There is error when building the code: |
b6d85f2 to
7ca39fc
Compare
…s the display name Backport of OCPBUGS-56892 to release-4.18. Adds a centralized useUser hook that fetches user resource and provides displayName, username, and fullName. Updates the masthead toolbar to display the user's full name when available. Co-Authored-By: Claude <noreply@anthropic.com>
7ca39fc to
75656d9
Compare
|
@Leo6Leo: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Checked on cluster launched against the pr, login with openid connect idp user, the full name is shown as expected. |
|
@yanpzhan: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Summary
release-4.18useUserhook that fetches the user resource and providesdisplayName,username, andfullNameuseTelemetryto includeuserResourcein telemetry events via the newuseUserhookTest plan
kube:adminstill displays correctlyuserResourcedatayarn testpasses foruseUser.spec.tsanduseTelemetry.spec.ts🤖 Generated with Claude Code