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
OCPBUGS-10224: Multiple instances of tabs under ODF dashboard #12635
OCPBUGS-10224: Multiple instances of tabs under ODF dashboard #12635
Conversation
Hi @TimothyAsirJeyasing. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
@SanjalKatiyar Please review |
remove all the static extensions for which we have already added corresponding dynamic ones... do the same for console-extensions.json that we have for us... |
9508441
to
cd6116f
Compare
@TimothyAsirJeyasing: This pull request references Bugzilla bug 2124829, 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. |
/retitle OCPBUGS-10224: Multiple instances of tabs under ODF dashboard |
@TimothyAsirJeyasing: Re-titling can only be requested by trusted users, like repository collaborators. 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. |
@TimothyAsirJeyasing: This pull request references Jira Issue OCPBUGS-10224, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
@TimothyAsirJeyasing: No Bugzilla bug is referenced in the title of this pull 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. |
/jira refresh |
@bipuladh: This pull request references Jira Issue OCPBUGS-10224, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
@bipuladh: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
/hold |
01341cd
to
b657c9f
Compare
@SanjalKatiyar please review |
{ | ||
type: 'ModelDefinition', | ||
properties: { | ||
models: _.values(models), | ||
}, | ||
}, |
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.
we need this... we are not setting this in odf-console...
please refer to previous comments... as mentioned earlier... we only need to remove those extensions for which we do not have corresponding dynamic extensions added in odf-console...
please just don;t remove anything without checking thoroughly...
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.
Ok Sure, I do not see any failure after i remove this with our without ODF installed.
flag: OCS_MODEL_FLAG, | ||
}, | ||
}, | ||
const plugin = [ | ||
{ | ||
type: 'FeatureFlag/Model', | ||
properties: { | ||
model: models.StorageSystemModel, | ||
flag: ODF_MODEL_FLAG, | ||
}, | ||
}, |
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.
I don;t think this is needed... where is it used in odf-console (and if used, are we not setting already in odf-console) ??
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.
When i remove this ODF_MODEL_FLAG flag, i could see the "Data Foundation" link visible on the left side even when we do not have ODF operator installed.
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.
did u check whether odf-console is setting this flag or not ?
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.
odf-console is not setting the default value to false where as its setting to true only.
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.
odf-console will only be present when ODF operator is present...
once odf-console is there, it will set flag to true...
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.
Ok, but when i remove this flag from console repo, I see the ui keep failing and in some browser i could see Data Foundation link. Whereas i could see this issue going away when i set initial value to this flag in odf-console repo.
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.
So we can keep the flag for now right and can remove it once we have fix in place at odf-console ?
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.
I don;t think doing that will cause the issue which u mentioned above... plz make sure u r running local servers correctly...
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.
Found the same issue with fresh build also. In odf-console we are setting the flag value to true without checking anything (setODFFlag). I found It works by adding a (namespace) check and set the value.
Please suggest me further ...
/ok-to-test |
b657c9f
to
0e70cae
Compare
/test frontend |
2 similar comments
/test frontend |
/test frontend |
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
0e70cae
to
5a3831a
Compare
/test e2e-gcp-console |
1 similar comment
/test e2e-gcp-console |
@TimothyAsirJeyasing: all tests passed! 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. |
/approve |
@bipuladh: changing LGTM is restricted to collaborators 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. |
multi-tab.mp4 |
/hold cancel |
/approve |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bipuladh, jhadvig, SanjalKatiyar, TimothyAsirJeyasing 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 |
@TimothyAsirJeyasing: Jira Issue OCPBUGS-10224: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-10224 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. |
No description provided.