New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug 1995612: Breadcrumbs link fix for block pool related pages #9772
Bug 1995612: Breadcrumbs link fix for block pool related pages #9772
Conversation
efbd098
to
507c334
Compare
507c334
to
63c3a64
Compare
63c3a64
to
0c54d13
Compare
@@ -208,7 +208,7 @@ export const FooterPrimaryActions = (t: TFunction) => ({ | |||
|
|||
export const isDefaultPool = (blockPoolConfig: StoragePoolKind): boolean => | |||
!!blockPoolConfig?.metadata.ownerReferences?.find( | |||
(ownerReference) => ownerReference.name === OCS_INTERNAL_CR_NAME, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name might change often in future release, better check with kind
0c54d13
to
37d3866
Compare
@@ -146,7 +150,10 @@ const BlockPoolTableRow: React.FC<RowFunctionArgs> = ({ obj, index, key, style, | |||
className={blockPoolColumnInfo.name.classes} | |||
columnID={blockPoolColumnInfo.name.id} | |||
> | |||
<ResourceLink kind={referenceFor(obj)} name={name} namespace={namespace} /> | |||
<ResourceIcon kind={referenceForModel(CephBlockPoolModel)} /> | |||
<Link to={to} className="co-resource-item__resource-name" data-test-operand-link={name}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Link to={to} className="co-resource-item__resource-name" data-test-operand-link={name}> | |
<Link to={to} className="co-resource-item__resource-name" data-test={name}> |
This is not an operand link. We are not in the operators page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack
}; | ||
|
||
type BlockPoolListProps = { | ||
data: StoragePoolKind[]; | ||
customData: any; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
customData: any; | |
customData: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack
1623a93
to
bce490f
Compare
@bipuladh Changes done |
f6b8614
to
1d804f8
Compare
@GowthamShanmugam: This pull request references Bugzilla bug 1995612, which is invalid:
Comment In 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/test-infra repository. |
/refresh bugzilla |
/bugzilla refresh |
@GowthamShanmugam: This pull request references Bugzilla bug 1995612, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (ratamir@redhat.com), skipping review request. In 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/test-infra repository. |
1d804f8
to
5eaf0d9
Compare
5eaf0d9
to
7b79883
Compare
@GowthamShanmugam: The following test failed, say
Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
Signed-off-by: Gowtham Shanmugasundaram <gshanmug@redhat.com>
7b79883
to
0917a17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@@ -41,8 +38,10 @@ const CreateBlockPool: React.FC<CreateBlockPoolProps> = ({ match }) => { | |||
|
|||
const cephCluster: CephClusterKind = useDeepCompareMemoize(cephClusters[0], true); | |||
|
|||
const blockPoolPageUrl = url.replace('/~new', ''); | |||
const pathName = appName || 'BlockPools'; | |||
// OCS create pool page url ends with ~new, ODF create pool page ends with /create/~new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed in 4.10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bipuladh, GowthamShanmugam The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@GowthamShanmugam: All pull requests linked via external trackers have merged: Bugzilla bug 1995612 has been moved to the MODIFIED state. In 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/test-infra repository. |
This PR is top of: #9722
Issue: https://issues.redhat.com/browse/RHSTOR-2090, https://issues.redhat.com/browse/RHSTOR-2073