Skip to content
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

Conversation

TimothyAsirJeyasing
Copy link
Contributor

No description provided.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 10, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 10, 2023

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@openshift-ci openshift-ci bot added the component/ceph Related to ceph-storage-plugin label Mar 10, 2023
@TimothyAsirJeyasing TimothyAsirJeyasing changed the title Bug Multiple instances of tabs under ODF dashboard Bug 2124829 Multiple instances of tabs under ODF dashboard Mar 10, 2023
@TimothyAsirJeyasing
Copy link
Contributor Author

@SanjalKatiyar Please review

@SanjalKatiyar
Copy link
Contributor

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...

@TimothyAsirJeyasing TimothyAsirJeyasing changed the title Bug 2124829 Multiple instances of tabs under ODF dashboard Bug 2124829: Multiple instances of tabs under ODF dashboard Mar 13, 2023
@openshift-ci openshift-ci bot added bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Mar 13, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 13, 2023

@TimothyAsirJeyasing: This pull request references Bugzilla bug 2124829, which is invalid:

  • expected the bug to target the "4.14.0" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Bug 2124829: Multiple instances of tabs under ODF 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.

@TimothyAsirJeyasing
Copy link
Contributor Author

/retitle OCPBUGS-10224: Multiple instances of tabs under ODF dashboard

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 14, 2023

@TimothyAsirJeyasing: Re-titling can only be requested by trusted users, like repository collaborators.

In response to this:

/retitle OCPBUGS-10224: Multiple instances of tabs under ODF 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.

@TimothyAsirJeyasing TimothyAsirJeyasing changed the title Bug 2124829: Multiple instances of tabs under ODF dashboard OCPBUGS-10224: Multiple instances of tabs under ODF dashboard Mar 14, 2023
@openshift-ci openshift-ci bot removed the bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. label Mar 14, 2023
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 14, 2023
@openshift-ci openshift-ci bot removed the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Mar 14, 2023
@openshift-ci-robot
Copy link
Contributor

@TimothyAsirJeyasing: This pull request references Jira Issue OCPBUGS-10224, which is invalid:

  • expected the bug to target the "4.14.0" version, but it targets "4.13.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 14, 2023

@TimothyAsirJeyasing: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

OCPBUGS-10224: Multiple instances of tabs under ODF 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.

@bipuladh
Copy link
Contributor

/jira refresh
/ok-to-test

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 14, 2023
@openshift-ci-robot
Copy link
Contributor

@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
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

In response to this:

/jira refresh
/ok-to-test

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 14, 2023

@bipuladh: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/jira refresh
/ok-to-test

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
Copy link
Contributor

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 14, 2023
@TimothyAsirJeyasing
Copy link
Contributor Author

@SanjalKatiyar please review

Comment on lines 60 to 65
{
type: 'ModelDefinition',
properties: {
models: _.values(models),
},
},
Copy link
Contributor

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...

Copy link
Contributor Author

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,
},
},
Copy link
Contributor

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) ??

Copy link
Contributor Author

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.

Copy link
Contributor

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 ?

Copy link
Contributor Author

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.

Copy link
Contributor

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...

Copy link
Contributor Author

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.

Copy link
Contributor Author

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 ?

Copy link
Contributor

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...

Copy link
Contributor Author

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 ...

@alfonsomthd
Copy link

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 21, 2023
@TimothyAsirJeyasing
Copy link
Contributor Author

/test frontend

2 similar comments
@TimothyAsirJeyasing
Copy link
Contributor Author

/test frontend

@TimothyAsirJeyasing
Copy link
Contributor Author

/test frontend

Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
@openshift-ci openshift-ci bot added the kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated label Apr 16, 2023
@TimothyAsirJeyasing
Copy link
Contributor Author

/test e2e-gcp-console

1 similar comment
@TimothyAsirJeyasing
Copy link
Contributor Author

/test e2e-gcp-console

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 17, 2023

@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.

@bipuladh
Copy link
Contributor

/approve
/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 18, 2023

@bipuladh: changing LGTM is restricted to collaborators

In response to this:

/approve
/lgtm

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
Copy link
Contributor Author

multi-tab.mp4

@SanjalKatiyar
Copy link
Contributor

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 19, 2023
@SanjalKatiyar
Copy link
Contributor

/approve /lgtm

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 19, 2023
Copy link
Member

@jhadvig jhadvig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 19, 2023

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 19, 2023
@openshift-merge-robot openshift-merge-robot merged commit 0ec29ae into openshift:master Apr 19, 2023
7 checks passed
@openshift-ci-robot
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. component/ceph Related to ceph-storage-plugin jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants