Skip to content

Conversation

@krishagarwal278
Copy link
Member

@krishagarwal278 krishagarwal278 commented Oct 3, 2025

Updated Page/s:

  • api-explorer.tsx
  • namespace.jsx
  • alert-manager.tsx
  • alertmanager-config.tsx
Home_listpages_dataView.mp4

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

openshift-ci-robot commented Oct 3, 2025

@krishagarwal278: This pull request references CONSOLE-4719 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.21.0" version, but no target version was set.

Details

In response to this:

Updated Page/s:

  • api-explorer.tsx

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.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 3, 2025
@openshift-ci openshift-ci bot requested review from sg00dwin and spadgett October 3, 2025 20:48
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: krishagarwal278
Once this PR has been reviewed and has the lgtm label, please assign spadgett for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details 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 component/core Related to console core functionality kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated labels Oct 3, 2025
@krishagarwal278 krishagarwal278 marked this pull request as draft October 3, 2025 21:05
@openshift-ci openshift-ci bot added component/monitoring Related to monitoring kind/cypress Related to Cypress e2e integration testing labels Oct 7, 2025
@krishagarwal278 krishagarwal278 marked this pull request as ready for review October 7, 2025 20:46
@openshift-ci openshift-ci bot requested review from jhadvig and kyoto October 7, 2025 20:47
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 8, 2025

@krishagarwal278: This pull request references CONSOLE-4719 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.21.0" version, but no target version was set.

Details

In response to this:

Updated Page/s:

  • api-explorer.tsx
  • namespace.jsx
  • alert-manager.tsx
  • alertmanager-config.tsx

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.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 8, 2025

@krishagarwal278: This pull request references CONSOLE-4719 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.21.0" version, but no target version was set.

Details

In response to this:

Updated Page/s:

  • api-explorer.tsx
  • namespace.jsx
  • alert-manager.tsx
  • alertmanager-config.tsx
Home_listpages_dataView.mp4

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.

@krishagarwal278 krishagarwal278 changed the title [WIP] CONSOLE-4719: Update Home nav section pages to use DataView CONSOLE-4719: Update Home nav section pages to use DataView Oct 8, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 8, 2025
@krishagarwal278
Copy link
Member Author

/jira refresh

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Oct 8, 2025

@krishagarwal278: This pull request references CONSOLE-4719 which is a valid jira issue.

Details

In response to this:

/jira refresh

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.

@krishagarwal278
Copy link
Member Author

/retest

@krishagarwal278 krishagarwal278 force-pushed the CONSOLE-4719 branch 2 times, most recently from fec76e0 to 710b16a Compare October 18, 2025 00:39
@krishagarwal278
Copy link
Member Author

/retest

@krishagarwal278
Copy link
Member Author

/test e2e-gcp-console
 

@krishagarwal278 krishagarwal278 force-pushed the CONSOLE-4719 branch 2 times, most recently from 89329a5 to 4042610 Compare October 20, 2025 17:58
@krishagarwal278
Copy link
Member Author

/retest

2 similar comments
@krishagarwal278
Copy link
Member Author

/retest

@krishagarwal278
Copy link
Member Author

/retest


return (
<PaneBody>
<Toolbar className="pf-m-toggle-group-container">
Copy link
Member

Choose a reason for hiding this comment

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

We should probably preserve the existing toolbar since it's custom.

hideLabelFilter={hideLabelFilter}
columnLayout={columnLayout}
uniqueFilterName={name}
omitFilterToolbar={omitFilterToolbar}
Copy link
Member

Choose a reason for hiding this comment

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

Why is this necessary? Filter is not output is omitFilterToolbar is true.

Copy link
Member Author

Choose a reason for hiding this comment

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

reverted changes to as seen on main

import { PageHeading } from '@console/shared/src/components/heading/PageHeading';
import { Link, useNavigate } from 'react-router-dom-v5-compat';
import { sortable } from '@patternfly/react-table';
import { Link, useNavigate, useSearchParams } from 'react-router-dom-v5-compat';
Copy link
Member

Choose a reason for hiding this comment

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

return apiGroup ? result.add(apiGroup) : result;
}, new Set<string>());
const sortedGroups: string[] = [...groups].sort();
const groupOptions = sortedGroups.reduce(
Copy link
Member

Choose a reason for hiding this comment

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

Why are you removing all this custom sort code?

},
},
[TableColumnInfo[4].id]: {
cell: <div className="co-line-clamp">{getResourceDescription(model)}</div>,
Copy link
Member

Choose a reason for hiding this comment

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

This cell is empty. Make sure you verify the changes in the browser.

};
NamespacesTableHeader.displayName = 'NamespacesTableHeader';

const NamespacesColumnManagementID = referenceForModel(NamespaceModel);
Copy link
Member

Choose a reason for hiding this comment

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

Still needed as we want to maintain all functionality including column management.

Copy link
Member

Choose a reason for hiding this comment

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

There are a number of issues here. Please double check. And note there are actually two different tables in this file. One for namespaces and one for projects. Both need to be updated.

Copy link
Member

Choose a reason for hiding this comment

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

This is a list of k8sResources, but it doesn't meet the conventions of our DataView implementation (the first column is not Name). Will need a custom implementation.

@openshift-ci openshift-ci bot added the component/dev-console Related to dev-console label Oct 23, 2025
@krishagarwal278 krishagarwal278 force-pushed the CONSOLE-4719 branch 2 times, most recently from b16ee31 to 5cc3b04 Compare October 28, 2025 00:28
	modified:   frontend/packages/integration-tests-cypress/tests/cluster-settings/alertmanager/alertmanager.cy.ts
	modified:   frontend/packages/integration-tests-cypress/tests/crud/other-routes.cy.ts
	modified:   frontend/packages/integration-tests-cypress/views/alertmanager.ts
	modified:   frontend/packages/integration-tests-cypress/views/list-page.ts
	modified:   frontend/public/components/alert-manager.tsx
	modified:   frontend/public/components/api-explorer.tsx
	modified:   frontend/public/components/monitoring/alertmanager/alertmanager-config.tsx
	modified:   frontend/packages/console-app/src/components/data-view/ResourceDataView.tsx
	modified:   frontend/packages/integration-tests-cypress/tests/cluster-settings/alertmanager/alertmanager.cy.ts
	modified:   frontend/packages/integration-tests-cypress/tests/cluster-settings/alertmanager/receivers/email.cy.ts
	modified:   frontend/packages/integration-tests-cypress/tests/cluster-settings/alertmanager/receivers/pagerduty.cy.ts
	modified:   frontend/packages/integration-tests-cypress/tests/cluster-settings/alertmanager/receivers/slack.cy.ts
	modified:   frontend/packages/integration-tests-cypress/tests/cluster-settings/alertmanager/receivers/webhook.cy.ts
	modified:   frontend/packages/integration-tests-cypress/views/alertmanager.ts
	modified:   frontend/packages/integration-tests-cypress/views/list-page.ts
	modified:   frontend/public/components/monitoring/alertmanager/alertmanager-config.tsx
	modified:   frontend/public/locales/en/public.json
…test-fix

	modified:   frontend/packages/console-app/src/components/data-view/useConsoleDataViewData.tsx
	modified:   frontend/packages/console-app/src/components/data-view/useConsoleDataViewFilters.ts
	modified:   frontend/packages/integration-tests-cypress/tests/crud/other-routes.cy.ts
	modified:   frontend/public/components/namespace.jsx
	modified:   frontend/public/locales/en/public.json
@krishagarwal278
Copy link
Member Author

/retest

2 similar comments
@krishagarwal278
Copy link
Member Author

/retest

@krishagarwal278
Copy link
Member Author

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 28, 2025

@krishagarwal278: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-gcp-console 20942b7 link true /test e2e-gcp-console

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@rhamilto
Copy link
Member

Replaced by #15656

@rhamilto rhamilto closed this Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/core Related to console core functionality component/dev-console Related to dev-console component/monitoring Related to monitoring jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. kind/cypress Related to Cypress e2e integration testing kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants