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

CONSOLE-4484: Replace custom tabs with PF6 Tabs component #14760

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

logonoff
Copy link
Member

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 12, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 12, 2025

@logonoff: This pull request references CONSOLE-4484 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

In response to this:

fixes https://issues.redhat.com/browse/CONSOLE-4484

before/after:
image
image
image

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.

@logonoff
Copy link
Member Author

/label acknowledge-critical-fixes-only

code review:
/assign @rhamilto

QE review:
/assign @yapei

Adding labels for PF6 follow on
/label docs-approved
/label px-approved

@openshift-ci openshift-ci bot added acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. docs-approved Signifies that Docs has signed off on this PR px-approved Signifies that Product Support has signed off on this PR labels Feb 12, 2025
@openshift-ci openshift-ci bot requested review from cajieh and kyoto February 12, 2025 17:05
@logonoff logonoff changed the title CONSOLE-4484: Replaec custom tabs with PF6 Tabs component CONSOLE-4484: Replace custom tabs with PF6 Tabs component Feb 12, 2025
@openshift-ci openshift-ci bot added component/core Related to console core functionality component/dev-console Related to dev-console component/helm Related to helm-plugin component/knative Related to knative-plugin component/monitoring Related to monitoring component/pipelines Related to pipelines-plugin component/topology Related to topology kind/cypress Related to Cypress e2e integration testing labels Feb 12, 2025
Copy link
Member Author

Choose a reason for hiding this comment

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

this is another orphaned file, so I removed it

@logonoff
Copy link
Member Author

ccing PatternFly team as well if they want to take a look

/cc nicolethoen kmcfaul

@openshift-ci openshift-ci bot requested a review from nicolethoen February 12, 2025 17:25
Copy link
Contributor

openshift-ci bot commented Feb 12, 2025

@logonoff: GitHub didn't allow me to request PR reviews from the following users: kmcfaul.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

ccing PatternFly team as well if they want to take a look

/cc nicolethoen kmcfaul

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.

@yapei
Copy link
Contributor

yapei commented Feb 14, 2025

  • We also need some changes on alertmanager tests and view files

For tests file under frontend/packages/integration-tests-cypress/tests/cluster-settings/alertmanager folder

detailsPage.selectTab('yaml') occurrence should be updated to detailsPage.selectTab('YAML')
detailsPage.selectTab('details'); occurrence should be updated to detailsPage.selectTab('Details');

For view file frontend/packages/integration-tests-cypress/views/alertmanager.ts

  visitYAMLPage: () => {
    detailsPage.selectTab('yaml');
    yamlEditor.isLoaded();
  }

detailsPage.selectTab('yaml'); should be updated to detailsPage.selectTab('YAML')

@yapei
Copy link
Contributor

yapei commented Feb 14, 2025

Observe - Alerting tabs are not properly rendered
Screenshot 2025-02-14 at 2 35 02 PM

how it looks on 4.19.0-0.nightly-2025-02-13-160033
4 19 0-0 nightly-2025-02-13-160033

@logonoff
Copy link
Member Author

logonoff commented Feb 14, 2025

Observe - Alerting tabs are not properly rendered Screenshot 2025-02-14 at 2 35 02 PM

how it looks on 4.19.0-0.nightly-2025-02-13-160033 4 19 0-0 nightly-2025-02-13-160033

I see -- lots of dynamic plugins depend on co-m-horizontal-nav, but I removed the CSS for it.

We previously stated that CSS classes aren't officially supported by the dynamic plugin API, but given the opportunity for breakage, we might want to keep the classes until 4.20.

@rhamilto @jhadvig wdyt?

@logonoff
Copy link
Member Author

logonoff commented Feb 14, 2025

@yapei we discussed in standup that we would remove the CSS for co-m-horizontal-nav anyway and add it as a breaking change for dynamic plugins, since a bunch of other breaking changes are going to be made in 4.19 (e.g., the removal of HTML heading styles). the recommendation for plugins is to use PF6 or PF5 Tabs depending on whether they need the backwards compatibility

/remove-label docs-approved

updated dynamic plugin SDK README to include a new breaking change

/assign @opayne1

@yapei
Copy link
Contributor

yapei commented Feb 17, 2025

/retest-required

1 similar comment
@yapei
Copy link
Contributor

yapei commented Feb 17, 2025

/retest-required

@logonoff
Copy link
Member Author

/retest

@yapei
Copy link
Contributor

yapei commented Feb 19, 2025

tested the new changes and working well
/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Feb 19, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 19, 2025

@logonoff: This pull request references CONSOLE-4484 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

In response to this:

fixes https://issues.redhat.com/browse/CONSOLE-4484

before/after:
image
image
image

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.

@logonoff logonoff requested a review from jhadvig February 19, 2025 18:26
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.

Thanks @logonoff !!! You simple the best 👑
/lgtm
/approve

@jhadvig
Copy link
Member

jhadvig commented Feb 20, 2025

/retest

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2025
Copy link
Contributor

openshift-ci bot commented Feb 20, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhadvig, logonoff

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 Feb 20, 2025
Copy link
Contributor

@opayne1 opayne1 left a comment

Choose a reason for hiding this comment

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

/label docs-approved

@openshift-ci openshift-ci bot added the docs-approved Signifies that Docs has signed off on this PR label Feb 20, 2025
Copy link
Contributor

openshift-ci bot commented Feb 20, 2025

New changes are detected. LGTM label has been removed.

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. component/core Related to console core functionality component/dev-console Related to dev-console component/helm Related to helm-plugin component/knative Related to knative-plugin component/monitoring Related to monitoring component/pipelines Related to pipelines-plugin component/sdk Related to console-plugin-sdk component/topology Related to topology docs-approved Signifies that Docs has signed off on this PR jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. kind/cypress Related to Cypress e2e integration testing px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants