Repository navigation
Conversation
|
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-132777, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
|
Skipping CI for Draft Pull Request. |
|
@rhamilto: This pull request references Jira Issue OCPBUGS-132777, which is valid. 3 validation(s) were run on this bug
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. |
Pass stable details components directly to the tab factory for DaemonSets, StorageClasses, VolumeAttributesClasses, and Knative Routes. Creating the wrapper during rendering remounts the details subtree and resets local state when a parent updates. Remove the unused helper, which only forwarded props after its layout markup was removed. Fixes https://redhat.atlassian.net/browse/OCPBUGS-132777
7a6c8ea to
86ea7a4
Compare
|
/cherry-pick release-5.0 release-4.22 release-4.21 release-4.20 |
|
@rhamilto: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: logonoff, 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 |
Jira: https://redhat.atlassian.net/browse/OCPBUGS-132777
Analysis / Root cause:
The
detailsPagehelper no longer adds layout or behavior; it only forwards props. Calling it during a parent render creates a new component type and remounts the details subtree, resetting local state. This caused the Secret reveal-state bug fixed separately in #17412.Solution description:
Pass existing details components directly to
navFactory.detailsfor DaemonSets, StorageClasses, VolumeAttributesClasses, and Knative Routes. Remove the unused helper and its unused type import. The existing wildcard re-export no longer exposes the helper after its removal.Screenshots / screen recording:
Test setup:
Use a cluster with resources for the affected details pages. Knative Route validation additionally requires OpenShift Serverless.
Test cases:
yarn tsc --noEmit), ESLint for all changed files, and the Secret regression and existing DetailsPage tests (2 suites, 3 tests).Browser conformance:
Additional info:
SDK exports and shared-module declarations were checked; the removed helper is not part of the public plugin API. No translatable strings or CSS changes.
Reviewers and assignees:
/assign rhamilto
Summary by CodeRabbit
Bug Fixes
Refactor