-
Notifications
You must be signed in to change notification settings - Fork 667
CONSOLE-4720: update Workloads list pages to use ResourceDataView #15492
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
Conversation
|
@rhamilto: This pull request references CONSOLE-4720 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. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
1473ef9 to
a1b853c
Compare
801b835 to
9e43c49
Compare
9e43c49 to
67dd8f0
Compare
061cbe5 to
30942f0
Compare
30942f0 to
81aef5a
Compare
|
@rhamilto: This pull request references CONSOLE-4720 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. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
@rhamilto: This pull request references CONSOLE-4720 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. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/label tide/merge-method-squash |
|
/hold cancel |
|
3905e76 restores the namespace column help text that was inadvertently omitted
|
TheRealJon
left a comment
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
|
/label px-approved |
|
/lgtm |
|
/retest |
|
not sure why |
|
@yapei: This PR has been marked as verified by DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
jseseCCS
left a comment
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.
Just a few comments but approved! will add approving label now.
| > | ||
| {!columnLayout?.showNamespaceOverride && | ||
| t('public~The namespace column is only shown when in "All projects"')} | ||
| {!columnLayout?.showNamespaceOverride && <NamespaceColumnHelpText />} |
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.
Please confirm that renders same visible message shown here: “The namespace column is only shown when in ‘All projects’.” If wording/cap differs, I should review it for user-facing consistency/doc alignment.
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 wording has not changed.
| kinds={['Pods']} | ||
| ListComponent={PodList} | ||
| rowFilters={podFilters} | ||
| hideColumnManagement={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.
Please confirm that setting hideColumnManagement and omitFilterToolbar removes those controls from CronJob list page. If any visible UI elements (column selector, filter bar) differ from prior behavior, I should review for user-facing consistency/doc alignment.
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.
No differences.
| }} | ||
| kinds={['Jobs']} | ||
| ListComponent={JobsList} | ||
| hideColumnManagement={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.
ditto above: Confirm hideColumnManagement and omitFilterToolbar...
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.
No differences.
| <span className="co-resource-item"> | ||
| <ResourceLink | ||
| kind="CustomResourceDefinition" | ||
| groupVersionKind={getGroupVersionKindForModel(CustomResourceDefinitionModel)} |
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.
Please confirm that replacing static "CustomResourceDefinition" string with {kind} and {getGroupVersionKindForModel(CustomResourceDefinitionModel)} doesn’t change any visible kind labels/kebab-menu behavior in CustomResourceDefinition list/detail views. If user-facing resource name or actions differ, I should review for consistency/doc alignment.
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.
No differences.
| </TableData> | ||
| </> | ||
| ); | ||
| const rowCells = { |
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.
Please confirm that refactoring HPA list rows to use rowCells + ResourceLink doesn’t change visible table behavior/row actions. If any column layout or kebab-menu options differ, I should review for user-facing consistency/doc alignment.
| } | ||
| describe(kind, () => { | ||
| const name = `${testName}-${_.kebabCase(kind)}`; | ||
| const isDataViewResource = dataViewResources.has(kind); |
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.
Please confirm that adding isDataViewResource logic doesn’t affect expected UI behavior/labeling in resource CRUD tests. If any test-visible elements (resource names, menu options, form fields) differ between DataView/non-DataView resources, I should review for user-facing consistency/doc alignment.
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.
No differences.
| listPage.filter.byName(text); | ||
| listPage.rows.countShouldBeWithin(1, 3); | ||
| listPage.rows.clickRowByName(text); | ||
| listPage.dvFilter.byName(text); |
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.
Please confirm that switching from filter/rows to dvFilter/dvRows doesn’t change user-visible filtering/table behavior on namespace CRUD pages. If any list-page controls, column visibility, selection options differ, I should review for user-facing consistency/doc alignment.
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.
No differences.
| cy.get('@filterDropdownToggleButton').click(); | ||
| }, | ||
| }, | ||
| dvFilter: { |
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.
Please confirm that new dvFilter, dvRows helpers reflect same user-facing list interactions as prior filter/rows functions. If any visible list controls, filter options behave differently, I should review for user-facing consistency/doc alignment.
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.
No differences.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jseseCCS, rhamilto, TheRealJon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/label docs-approved |
|
/retest |
|
@rhamilto: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/retest |
|
Changes are included in #15560, which will merge first. |

Duplicates changes also in #15489
This PR updates list views for the following Workloads: