Repository navigation
Conversation
Pass SecretDetails directly to the tab factory to retain its component identity. Recreating the detailsPage wrapper during rendering remounted the view and reset the reveal toggle. Backport openshift#17436 to release-4.22, preserving the release branch imports when resolving the secret.tsx conflict. Include the original regression coverage for page rerenders, resource updates, and hiding values. Fixes https://redhat.atlassian.net/browse/OCPBUGS-134589 (cherry picked from commit c90913e)
|
Pipeline controller notification This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration. Use |
|
@rhamilto: This pull request references Jira Issue OCPBUGS-134589, which is invalid:
Comment 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhamilto The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
@rhamilto: all tests passed! 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. |
Analysis / Root cause:
Recreating the detailsPage wrapper while rendering remounts the Secret details view and resets the reveal toggle. Revealed Secret values can therefore become hidden during page rerenders.
Solution description:
Backport #17436 to release-4.22. Pass SecretDetails directly to navFactory.details to retain component identity. Resolve the secret.tsx import conflict by preserving the release-4.22 imports and removing the unused detailsPage import.
Includes the original regression test for rerenders, resource updates, and explicitly hiding values.
Screenshots / screen recording:
Test setup:
Use an OpenShift 4.22 cluster and a Secret containing data. Open Workloads → Secrets and select the Secret.
Test cases:
Browser conformance:
Additional info:
Fixes https://redhat.atlassian.net/browse/OCPBUGS-134589
Backport of #17436 (original fix: #17412).
The installed frontend dependencies do not match release-4.22. Automated tests and lint require the release branch dependencies or CI validation. No user-facing strings or public SDK APIs changed.
Reviewers and assignees:
/assign rhamilto